I went to upgrade our XI 2009R1.3G installation on Centos 5.5, when I realized I am not clear on how to shutdown, then restart XI.
I figure: "/etc/init.d/nagios stop" and "/etc/init.d/nagiosxi stop", but that doesn't seem to stop php, postgres, and several other processes.
Same question on restarting (other than reboot).
Thanks....Lyle
XI shutdown & restart method
Re: XI shutdown & restart method
All of the key daemons for XI are defined as services, so you can start and stop them with the service command
service nagios restart (This is usually adequate for most changes)
service npcd restart
service ndo2db restart
service nsca restart (if you're using passive checks)
service postgresql restart
service mysqld restart
service nagios restart (This is usually adequate for most changes)
service npcd restart
service ndo2db restart
service nsca restart (if you're using passive checks)
service postgresql restart
service mysqld restart
-
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: XI shutdown & restart method
This will bring all the different parts down and back up in a sane order:
Code: Select all
service nagiosxi stop
service npcd stop
service ndo2db stop
service nagios stop
service postgresql stop
service mysqld stop
service httpd stop
Code: Select all
service httpd start
service mysqld start
service postgresql start
service nagios start
service ndo2db start
service npcd start
service nagiosxi start