We would like to increase the memory on the NagiosXI virtual server and our server admins mentioned that this would require a reboot. We are using the CentOS image that we downloaded for the trial.
Found these steps in one of the forum threads and wanted to make sure that these commands are still valid:
Step 1: Shutdown NagiosXI
service nagiosxi stop
service npcd stop
service ndo2db stop
service nagios stop
service postgresql stop
service mysqld stop
service httpd stop
Step 2: Shutdown the Virtual Machine
shutdown -h now
Step 3: Make memory changes
Step 4: Restart the server
Step 5: Restart NagiosXI
service httpd start
service mysqld start
service postgresql start
service nagios start
service ndo2db start
service npcd start
service nagiosxi start
Shutdown and Restart NagiosXI and the VM
Shutdown and Restart NagiosXI and the VM
Last edited by dwhitfield on Wed Mar 01, 2017 10:49 am, edited 1 time in total.
Reason: marking with green check mark
Reason: marking with green check mark
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Shutdown and Restart NagiosXI and the VM
Yes, that will work is the simple answer.
All of those services should start up when you start the VM. Also, the shutdown command doesn't necessarily need a -h. I generally use -P.
On a new install, you won't need to stop/start postgres, but it won't hurt anything.
All of those services should start up when you start the VM. Also, the shutdown command doesn't necessarily need a -h. I generally use -P.
On a new install, you won't need to stop/start postgres, but it won't hurt anything.
Re: Shutdown and Restart NagiosXI and the VM
Thank you for confirming!
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Shutdown and Restart NagiosXI and the VM
Do you want to lock this up or leave it open in case you run into issues?
Re: Shutdown and Restart NagiosXI and the VM
This request can be closed. Thank you for your support.