VMware Cloud Community
benkhart
Contributor
Contributor
Jump to solution

Upgrading Hyperic server...

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
Reply
0 Kudos
1 Solution

Accepted Solutions
jduino
Enthusiast
Enthusiast
Jump to solution

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?



View solution in original post

Reply
0 Kudos
13 Replies
benkhart
Contributor
Contributor
Jump to solution

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?
Reply
0 Kudos
admin
Immortal
Immortal
Jump to solution

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
jduino
Enthusiast
Enthusiast
Jump to solution

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?



Reply
0 Kudos
benkhart
Contributor
Contributor
Jump to solution

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
Reply
0 Kudos
benkhart
Contributor
Contributor
Jump to solution

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.
Reply
0 Kudos
jtravis_hyperic
Hot Shot
Hot Shot
Jump to solution

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.
>



Reply
0 Kudos
benkhart
Contributor
Contributor
Jump to solution

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.
Reply
0 Kudos
jtravis_hyperic
Hot Shot
Hot Shot
Jump to solution

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.
>



Reply
0 Kudos
jduino
Enthusiast
Enthusiast
Jump to solution

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.
>



benkhart
Contributor
Contributor
Jump to solution

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
Reply
0 Kudos
benkhart
Contributor
Contributor
Jump to solution

File
Reply
0 Kudos
benkhart
Contributor
Contributor
Jump to solution

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!
Reply
0 Kudos
admin
Immortal
Immortal
Jump to solution

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
Reply
0 Kudos