Upgrading Hobbit
list Frank M. Ramaekers
I attempting to determine the best method to upgrade my hobbit 4.2-alpha-20060527 to the 4.2 version w/o losing history and keeping monitoring disruption to a minimum. Currently hobbit is installed at /home/hobbit. Any thoughts, experiences, horror stories, etc. Thanks, Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life Insurance Co. Phone: (XXX)XXX-XXXX XXXX Wooded Acres Dr. Fax: (XXX)XXX-XXXX Waco, Texas 76701 This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid. This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.
list Rich Smrcina
Frank, I've done a number of in-place upgrades. Shut down Hobbit right before you do the make install and bring it back up when it's done. I would strongly suggest getting the latest all-in-one patch, though.
▸
Frank M. Ramaekers wrote:I attempting to determine the best method to upgrade my hobbit 4.2-alpha-20060527 to the 4.2 version w/o losing history and keeping monitoring disruption to a minimum. Currently hobbit is installed at /home/hobbit. Any thoughts, experiences, horror stories, etc. Thanks, Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life Insurance Co. Phone: (XXX)XXX-XXXX XXXX Wooded Acres Dr. Fax: (XXX)XXX-XXXX Waco, Texas 76701
--
Rich Smrcina VM Assist, Inc. Phone: XXX-XXX-XXXX Ans Service: XXX-XXX-XXXX user-61add9955ef9@xymon.invalid Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008
list Frank M. Ramaekers
▸
-----Original Message----- From: Rich Smrcina [mailto:user-cf452ff334e0@xymon.invalid] Sent: Thursday, June 07, 2007 11:09 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Upgrading Hobbit Frank, I've done a number of in-place upgrades. Shut down Hobbit right before you do the make install and bring it back up when it's done. I would strongly suggest getting the latest all-in-one patch, though. Frank M. Ramaekers wrote:
I attempting to determine the best method to upgrade my hobbit 4.2-alpha-20060527 to the 4.2 version w/o losing history and keeping monitoring disruption to a minimum. Currently hobbit is installed at /home/hobbit. Any thoughts, experiences, horror stories, etc. Thanks, Frank M. Ramaekers Jr.
-- Rich Smrcina VM Assist, Inc. Phone: XXX-XXX-XXXX Ans Service: XXX-XXX-XXXX user-61add9955ef9@xymon.invalid Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008 ---
I'm installing on a CentOs 4.4 system (Red Hat based). I'll be using
the .rpm. I don't know where the RPM wants to install the product. How
can I tell?
▸
Frank M. Ramaekers Jr.
Systems Programmer MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co. Phone: (XXX)XXX-XXXX
XXXX Wooded Acres Dr. Fax: (XXX)XXX-XXXX
Waco, Texas 76701
This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited.
If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.
This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited.
If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.
list Henrik Størner
▸
On Thu, Jun 07, 2007 at 10:55:02AM -0500, Frank M. Ramaekers wrote:
I attempting to determine the best method to upgrade my hobbit 4.2-alpha-20060527 to the 4.2 version w/o losing history and keeping monitoring disruption to a minimum. Currently hobbit is installed at /home/hobbit.
Grab the hobbit-4.2.0.tar.gz file, unpack it and apply the allinone
patch. Configure it just like you did for the current install. Run
"make" to build it, stop your current Hobbit, run "make install"
and start Hobbit.
If you do want to use the RPM version of Hobbit as you wrote elsewhere,
the directories will probably be different from what you have now.
Moving the old files in data/{hist,histlogs,rrd} should be OK, and you
can also copy the bb-hosts, hobbit-alerts.cfg, hobbit-clients.cfg files
over from the old server/etc directory. If you made any changes to
hobbitserver.cfg, however, those will have to be hand-made in the new
setup. And the Apache setup will probably also have to be tuned to the
new directory layout.
Regards,
Henrik
list Rich Smrcina
Frank, Try rpm -qpl <rpm filename>
▸
Frank M. Ramaekers wrote:-----Original Message----- From: Rich Smrcina [mailto:user-cf452ff334e0@xymon.invalid] Sent: Thursday, June 07, 2007 11:09 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Upgrading Hobbit Frank, I've done a number of in-place upgrades. Shut down Hobbit right before you do the make install and bring it back up when it's done. I would strongly suggest getting the latest all-in-one patch, though. Frank M. Ramaekers wrote:I attempting to determine the best method to upgrade my hobbit 4.2-alpha-20060527 to the 4.2 version w/o losing history and keeping monitoring disruption to a minimum. Currently hobbit is installed at /home/hobbit. Any thoughts, experiences, horror stories, etc. Thanks, Frank M. Ramaekers Jr.
-- Rich Smrcina VM Assist, Inc. Phone: XXX-XXX-XXXX Ans Service: XXX-XXX-XXXX user-61add9955ef9@xymon.invalid Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008
list Frank M. Ramaekers
▸
-----Original Message----- From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Thursday, June 07, 2007 2:40 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Upgrading Hobbit On Thu, Jun 07, 2007 at 10:55:02AM -0500, Frank M. Ramaekers wrote:
I attempting to determine the best method to upgrade my hobbit 4.2-alpha-20060527 to the 4.2 version w/o losing history and keeping monitoring disruption to a minimum. Currently hobbit is installed at /home/hobbit.
Grab the hobbit-4.2.0.tar.gz file, unpack it and apply the allinone
patch. Configure it just like you did for the current install. Run
"make" to build it, stop your current Hobbit, run "make install"
and start Hobbit.
If you do want to use the RPM version of Hobbit as you wrote elsewhere,
the directories will probably be different from what you have now.
Moving the old files in data/{hist,histlogs,rrd} should be OK, and you
can also copy the bb-hosts, hobbit-alerts.cfg, hobbit-clients.cfg files
over from the old server/etc directory. If you made any changes to
hobbitserver.cfg, however, those will have to be hand-made in the new
setup. And the Apache setup will probably also have to be tuned to the
new directory layout.
Regards,
Henrik
---
I think I'll go without using the RPMs...too much work.
Thanks for the heads up!
▸
Frank M. Ramaekers Jr.
Systems Programmer MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co. Phone: (XXX)XXX-XXXX
XXXX Wooded Acres Dr. Fax: (XXX)XXX-XXXX
Waco, Texas 76701
This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited.
If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.
This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited.
If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.
list Frank M. Ramaekers
▸
-----Original Message----- From: Rich Smrcina [mailto:user-cf452ff334e0@xymon.invalid] Frank, Try rpm -qpl <rpm filename> Frank M. Ramaekers wrote:
-----Original Message----- From: Rich Smrcina [mailto:user-cf452ff334e0@xymon.invalid] Sent: Thursday, June 07, 2007 11:09 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Upgrading Hobbit Frank, I've done a number of in-place upgrades. Shut down Hobbit right before you do the make install and bring it back up when it's done. I would strongly suggest getting the latest all-in-one patch, though. Frank M. Ramaekers wrote:I attempting to determine the best method to upgrade my hobbit 4.2-alpha-20060527 to the 4.2 version w/o losing history and keeping monitoring disruption to a minimum. Currently hobbit is installed at /home/hobbit. Any thoughts, experiences, horror stories, etc. Thanks, Frank M. Ramaekers Jr.
Rich Smrcina ---
Well, from the source, I get:
$ rpm -qpl hobbit-4.2.0-1.src.rpm
hobbit-4.2.0.tar.gz
hobbit-client.default
hobbit-client.init
hobbit-init.d
hobbit.logrotate
hobbit.spec
(Notice no directories)
The install package:
$ rpm -qpl FC5-hobbit-4.2.0-1.i386.rpm | more
/etc/hobbit
/etc/hobbit/bb-hosts
/etc/hobbit/bb-services
/etc/hobbit/bbcombotest.cfg
/etc/hobbit/client-local.cfg
/etc/hobbit/columndoc.csv
/etc/hobbit/hobbit-alerts.cfg
/etc/hobbit/hobbit-clients.cfg
/etc/hobbit/hobbit-nkview.cfg
/etc/hobbit/hobbit-nkview.cfg.bak
:
:
(Notice directory names included)
But when I tried to install the source, I got (because of permissions):
$ rpm -i ../hobbit-4.2.0-1.src.rpm
error: cannot write to %sourcedir /usr/src/redhat/SOURCES
So, it appears that there is some directory information that the -qpl
switch doesn't display
▸
Frank M. Ramaekers Jr.
Systems Programmer MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co. Phone: (XXX)XXX-XXXX
XXXX Wooded Acres Dr. Fax: (XXX)XXX-XXXX
Waco, Texas 76701
This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited.
If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.
This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited.
If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.
list Rich Smrcina
You should be root or use sudo when installing RPMs.
▸
Frank M. Ramaekers wrote:-----Original Message----- But when I tried to install the source, I got (because of permissions): $ rpm -i ../hobbit-4.2.0-1.src.rpm error: cannot write to %sourcedir /usr/src/redhat/SOURCES So, it appears that there is some directory information that the -qpl switch doesn't display Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life Insurance Co. Phone: (XXX)XXX-XXXX XXXX Wooded Acres Dr. Fax: (XXX)XXX-XXXX Waco, Texas 76701
-- Rich Smrcina VM Assist, Inc. Phone: XXX-XXX-XXXX Ans Service: XXX-XXX-XXXX user-61add9955ef9@xymon.invalid Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008
list Frank M. Ramaekers
Oh, I understand that...I just didn't want it to install it there (/usr/src/redhat/SOURCES). (Good thing I wasn't root.) I'm just going with the tarball where I have more control over the installation process. Thanks all!
▸
Frank M. Ramaekers Jr.
Systems Programmer MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co. Phone: (XXX)XXX-XXXX
XXXX Wooded Acres Dr. Fax: (XXX)XXX-XXXX
Waco, Texas 76701
-----Original Message-----
▸
From: Rich Smrcina [mailto:user-cf452ff334e0@xymon.invalid]
Sent: Thursday, June 07, 2007 3:31 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Upgrading Hobbit
You should be root or use sudo when installing RPMs.
Frank M. Ramaekers wrote:-----Original Message----- But when I tried to install the source, I got (because of permissions): $ rpm -i ../hobbit-4.2.0-1.src.rpm error: cannot write to %sourcedir /usr/src/redhat/SOURCES So, it appears that there is some directory information that the -qpl switch doesn't display Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life Insurance Co. Phone: (XXX)XXX-XXXX XXXX Wooded Acres Dr. Fax: (XXX)XXX-XXXX Waco, Texas 76701
-- Rich Smrcina VM Assist, Inc. Phone: XXX-XXX-XXXX Ans Service: XXX-XXX-XXXX user-61add9955ef9@xymon.invalid Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008 This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid. This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.
list Frank M. Ramaekers
▸
-----Original Message----- From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Thursday, June 07, 2007 2:40 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Upgrading Hobbit On Thu, Jun 07, 2007 at 10:55:02AM -0500, Frank M. Ramaekers wrote:I attempting to determine the best method to upgrade my hobbit 4.2-alpha-20060527 to the 4.2 version w/o losing history and keeping monitoring disruption to a minimum. Currently hobbit is installed at /home/hobbit.Grab the hobbit-4.2.0.tar.gz file, unpack it and apply the allinone patch. Configure it just like you did for the current install. Run "make" to build it, stop your current Hobbit, run "make install" and start Hobbit. If you do want to use the RPM version of Hobbit as you wrote elsewhere, the directories will probably be different from what you have now. Moving the old files in data/{hist,histlogs,rrd} should be OK, and you can also copy the bb-hosts, hobbit-alerts.cfg, hobbit-clients.cfg files over from the old server/etc directory. If you made any changes to hobbitserver.cfg, however, those will have to be hand-made in the new setup. And the Apache setup will probably also have to be tuned to the new directory layout. Regards, Henrik
This worked great (first suggestion), except now I'm getting a WHITE status for the PROCS on the hobbit server itself....gotta hunt down which configuration file got modified...
▸
Frank M. Ramaekers Jr.
Systems Programmer MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co. Phone: (XXX)XXX-XXXX
XXXX Wooded Acres Dr. Fax: (XXX)XXX-XXXX
Waco, Texas 76701
This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited.
If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.
This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited.
If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.
list Martin Flemming
Sorry, does anybody know why or how long http://www.trantor.org/theshire/doku.php/about is / should be down .. ? Cheers, Martin
list Henrik Størner
▸
On Fri, Jun 08, 2007 at 08:43:09AM -0500, Frank M. Ramaekers wrote:
This worked great (first suggestion), except now I'm getting a WHITE status for the PROCS on the hobbit server itself....gotta hunt down which configuration file got modified...
"white" (or "clear") just means that you haven't configured any process- checks. I cannot recall, but it's possible this changed between the alpha version you ran and the release version. Regards, Henrik
list Tom Diehl
▸
On Fri, 8 Jun 2007, Martin Flemming wrote:
Sorry, does anybody know why or how long http://www.trantor.org/theshire/doku.php/about is / should be down .. ?
I can reach it from here. Regards, Tom