Gracefull shutdown/restart nGeniusPULSE
Introduction
If nGeniusPULSE is not working as expected, create a set of log files BEFORE stopping the services. Valuable information for troubleshooting may be lost after restart/reboot. |
To minimize the chances of data corruption and consequently loss of data, it is required to use the scripts provided for restarting, rebooting or shutting down the virtual of physical appliance.
Solution
Script location
You don't have to be root to run these scripts.
- Using the SSH client of your choice, login as nGPadmin
- Change to /opt/ngp/appliancetv
$ cd /opt/ngp/appliance
Running the script
To restart all services without rebooting the appliance
$ ./ngp-stop-services.sh ...followed by... $ ./ngp-start-services.sh
To reboot the appliance
$ ./ngp-stop-services.sh ...wait until all services have been stopped... $ sudo reboot
To shutdown the appliance
$ ./ngp-stop-services.sh ...wait until all services have been stopped... $ sudo shutdown -h now
It may take several minutes before the power is cut-off.