vCenter

 View Only
Expand all | Collapse all

Upgrading Hyperic server...

  • 1.  Upgrading Hyperic server...

    Posted Jun 11, 2007 03:46 PM
    I log on today and see there's a new release.. is there a How-To or something somewhere on how to upgrade the application?

    thanks


  • 2.  RE: Upgrading Hyperic server...

    Posted Jun 11, 2007 08:05 PM
    I found some old threads (not dealing with the current version) that mention to run ./setup.sh -upgrade

    However wtf is the full path to the server to upgrade? I tried every combination of /home/hyperic/server-3.0.4\ *.* minus the asterisks of course, and nothing works. Do people generally not upgrade and prefer to install fresh? If that's the case is there a How-To anywhere on that procedure?


  • 3.  RE: Upgrading Hyperic server...

    Posted Jun 11, 2007 08:13 PM
    Hi Ben,

    Upgrade docs are linked from the release notes:

    http://support.hyperic.com/confluence/display/DOCSHQ30/Release+Notes+3.0.0

    The process you are using is correct. Shut down the old server, run the installer with upgrade flag and give it the upgrade path of /home/hyperic/server-3.0.4

    It will ask you where to put new installation, which will default for you to /home/hyperic

    Hope that helps,
    -Ryan


  • 4.  RE: Upgrading Hyperic server...
    Best Answer

    Posted Jun 11, 2007 08:14 PM
    If I recall (it's been a few months), the "server to upgrade" path is,
    typically, /home/hyperic. The installer will find the "server" under that.

    Of course, the "setup.sh" is the NEW one from the new version.

    John

    > I found some old threads (not dealing with the current version) that
    > mention to run ./setup.sh -upgrade
    >
    > However wtf is the full path to the server to upgrade? I tried every
    > combination of /home/hyperic/server-3.0.4\ *.* minus the asterisks of
    > course, and nothing works. Do people generally not upgrade and prefer to
    > install fresh? If that's the case is there a How-To anywhere on that
    > procedure?





  • 5.  RE: Upgrading Hyperic server...

    Posted Jun 11, 2007 08:23 PM
    oh geez.. looks like I overcomplicated things again. In my defense though, I did enter /home/hyperic like three times to which it didnt take. Then the last time I saw how the line had changed to "HQ Server Installation Path [default ' '] to [Default '/home/hyperic'] so then hitting Enter is began the upgrade process. Odd there but hey whatever works right? Thanks guys.

    Message was edited by: benkhart


  • 6.  RE: Upgrading Hyperic server...

    Posted Jun 11, 2007 08:55 PM
    Should've known something wouldnt work out right.. after upgrading and a subsequent reboot I can no longer pull up the dashboard page... should I do a reconfigure.


  • 7.  RE: Upgrading Hyperic server...

    Posted Jun 11, 2007 08:59 PM
    An error message or stacktrace would be useful here. You haven't
    given us anything with which to help.

    -- Jon



    On Jun 11, 2007, at 1:55 PM, Ben Hart wrote:

    > Should've known something wouldnt work out right.. after upgrading
    > and a subsequent reboot I can no longer pull up the dashboard
    > page... should I do a reconfigure.
    >





  • 8.  RE: Upgrading Hyperic server...

    Posted Jun 11, 2007 09:12 PM
    No error message to speak of other than "Unable to connect" from within Firefox. If it'll help Ill post up a stack trace..lol once I figure out how to do that.


  • 9.  RE: Upgrading Hyperic server...

    Posted Jun 11, 2007 09:16 PM
    Errors should be in server-x.x.x/logs/server.log

    If you're unable to connect, it's probably something very
    fundamental ... like not starting the server.

    -- Jon


    On Jun 11, 2007, at 2:11 PM, Ben Hart wrote:

    > No error message to speak of other than "Unable to connect" from
    > within Firefox. If it'll help Ill post up a stack trace..lol once
    > I figure out how to do that.
    >





  • 10.  RE: Upgrading Hyperic server...

    Posted Jun 11, 2007 10:03 PM
    Ok attached is the server.log file from /home/hyperic/server-3.0.4/logs.... There wasnt any log other than hqdb.log in server-3.0.5 logs folder. Also yeah I have to manually start the service as I never could get it to start automatically so yeah I did start it prior to trying the website. I know what you mean though sometimes those stupid little things getcha.. lol


  • 11.  RE: Upgrading Hyperic server...

    Posted Jun 11, 2007 10:04 PM
    File


  • 12.  RE: Upgrading Hyperic server...

    Posted Jun 11, 2007 10:12 PM
    Ok so you know how people can miss the little things.. and it's usually those little htings that jump up and bite you in the southern region... Well I have cause to apologize if my first posts had some edge to them. I'm not only with stupid..I'm at least his brother right now. See since I never could get the hyperic registered as an autorun service I had created a launcher on the desktop and of course that launcher was pointed to the 3.0.4 directory instead of the new 3.0.5.


    due to my own incompetence I was starting the service wrong. But I did learn some stuff today from you guys so I thank you for that. I am currently logged into my dashboard page and it seems like nothing changed for the worse.

    Thanks guys!


  • 13.  RE: Upgrading Hyperic server...

    Posted Jun 11, 2007 10:18 PM
    To understand what is going wrong, we really need the log from your 3.0.5 server. When you start up the 3.0.5 server there should at least be a server.out log file. Since you don't have one, you have either not started the 3.0.5 server, or it's failing to start because your old database from the 3.0.4 installation is still running.

    The upgrades are non-destructive, so you can always just go back to your 3.0.4 server and start that if you don't want to complete the upgrade to 3.0.5.

    -Ryan


  • 14.  RE: Upgrading Hyperic server...

    Posted Jun 11, 2007 09:34 PM
    First obvious question: did you restart hyperic server and agent? The
    installer does not install init scripts. If yuo had pre-existing ones then
    chances are it's pointing to the wrong directory since the install dir's
    tend to have the version # in them.

    Also, don't forget it takes a little time for it to start up, but I assume
    you've tried over a short period.

    And sorry for getting the previous question backwards before....the
    'upgrade' path is the actual existing install path
    (/home/hyperic/server-XXX) and the new-install is simply /home/hyperic.

    John

    > No error message to speak of other than "Unable to connect" from within
    > Firefox. If it'll help Ill post up a stack trace..lol once I figure out
    > how to do that.
    >