Page 1 of 2
RHEL Upgrade
Posted: Thu Sep 19, 2013 11:37 pm
by siriideepak
Hi,
I installed NagiosXI in RHEL 32 bit version, now the load got increased i need to increase the ram to 8GB but it will not support. When i upgrade RHEL to 64 bit is there a way to migrate the existing NagiosXI to new one without reinstalling NagiosXI. Thanks!!
Regards,
Deepak.P
Re: RHEL Upgrade
Posted: Fri Sep 20, 2013 10:51 am
by sreinhardt
You will definitely need to reinstall RHEL and Nagios. You can however, do a backup and restore by following the documentation below. As you are changing architecture, there will be additional things that are outlined towards the end of the document.
http://assets.nagios.com/downloads/nagi ... ing_XI.pdf
Re: RHEL Upgrade
Posted: Sat Sep 21, 2013 11:27 pm
by siriideepak
Hi,
Thanks for the prompt reply.
Regards,
Deepak.P
Re: RHEL Upgrade
Posted: Mon Sep 23, 2013 6:53 am
by siriideepak
Hi,
As per your document i installed in 64 bit version after restoring nagiosXI i ran the final step ./A-subcomponents it generates the error subcomponents installation failed.
Kindly update on this issue.Attached screenshot for your ref.
Regards,
Deepak.P
Re: RHEL Upgrade
Posted: Mon Sep 23, 2013 9:39 am
by sreinhardt
This appears only after a ./update, is there a reason that this was done on a new system? I would have expected you to install the latest version on the new system. Otherwise to avoid this simply do the following:
Code: Select all
cd /tmp/nagiosxi
export INSTALL_PATH=`pwd`
./A-subcomponents
./upgrade
Re: RHEL Upgrade
Posted: Mon Sep 23, 2013 11:59 pm
by siriideepak
Hi,
I initially took backup from the 32 bit(RHEL) system and restored in the newly installed latest nagiosxi 64 bit version(RHEL). As per the doc Backing_Up_And_Restoring_XI.pdf i restored and run the following commands.
cd /tmp/nagiosxi
rm -f installed.subcomponents
./A-subcomponents
./build-perms-bin
After running ./A-subcomponents command i got the error. But after running the command
export INSTALL_PATH=`pwd`
./A-subcomponents
it works fine. One more thing i need to ask if we are doing this change whether the RHEL version should be same or not.example(RHEL 5.5).
Thanks!!
Regards,
Deepak.P
Re: RHEL Upgrade
Posted: Tue Sep 24, 2013 9:22 am
by sreinhardt
OH right I forgot that it has you rerun those parts. As to your question of versions, it does not need to be the same. The extra scripts that you rerun, recompile the nagios binaries and plugins so that it will work with any version that is supported. The one exception to this, is third party compiled plugins that may need to be recompiled.
Re: RHEL Upgrade
Posted: Tue Sep 24, 2013 11:27 pm
by siriideepak
Hi,
Thanks for the support.
Regards,
Deepak.P
Re: RHEL Upgrade
Posted: Tue Sep 24, 2013 11:49 pm
by siriideepak
Hi,
While taking NagiosXI backup it causes the following errors. Is it ok or anything will get affected while restoring in new VM. Thanks!!
Regards,
Deepak.P
Re: RHEL Upgrade
Posted: Wed Sep 25, 2013 10:35 am
by abrist
Do you have passive checks reporting to this system? If not, did you stop the nagios process before running the backup?
I ask because the files that are failing to stat are checkresults and perfdata that is constantly reaped by nagios. Once reaped, they will lead to stat errors as they are removed post reap and no longer exist.
The other possible cause is that you are out of disk space: