Gracefull shutdown/restart nGeniusPULSE: Difference between revisions

From wiki.comcert.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
== Introduction ==
== Introduction ==


To minimize the risk of data loss, it is recommended that all services are stopped before restarting or shutting down the machine.
 
 
{{#invoke:Message box|ambox |type=content|text=If TruView is not working as expected, set aside log files first 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 privided for restarting, rebooting or shutting down the virtual of physical appliance.


 
 
Line 8: Line 14:
== Solution ==
== Solution ==


=== nGeniusPULSE (version 2.5 and above) ===
=== Script location ===
 
You don't have to be root to run these scripts.
 
*Using the SSH client of your choice, login as TVadmin
*Change to /opt/tv
<pre>$ cd /opt/tv</pre>


*Connect to the host&nbsp;using an SSH client of your choice
&nbsp;
*Login as nGPadmin (for default credentials read&nbsp;[[Default_credentials|default credentials]])
 
*Change to the folder /opt/ipm/appliance/
=== Running the script ===
<pre># cd /opt/ngp/appliance/
 
</pre>
==== To restart all services without rebooting the appliance ====
<pre>$ ./tv-stop-services.sh
 
...followed by...


==== To restart all relevant services without restarting the applicance ====
$ ./tv-start-services.sh</pre>


*24 services need to be stopped and started in the reverse order
==== To reboot the appliance ====
*Execute the stop script, followed by the start script
<pre>$ ./tv-reboot.sh
<pre># ./ngp-stop-services.sh
# ./ngp-start-services.sh
</pre>
</pre>


==== To restart the applicance ====
This&nbsp;script will evoke the Stop Services script before reboot.


*24 services need to be&nbsp;stopped first
==== To shutdown the appliance ====
*Execute the stop script, followed by "shutdown -r"&nbsp;
<pre>$ ./tv-shutdown.sh
<pre># ./ngp-stop-services.sh
</pre>
# shutdown -r now</pre>


==== To shutdown&nbsp;the applicance ====
This&nbsp;script will evoke the Stop Services script before reboot.


*24 services need to be&nbsp;stopped first
It may take several minutes before the power is cut-off.
*Execute the stop script, followed by "shutdown -h"
<pre># ./ngp-stop-services.sh
# shutdown -h now</pre>
 
&nbsp;

Revision as of 06:23, 19 April 2020

Introduction

 

 

To minimize the chances of data corruption and consequently loss of data, it is required to use the scripts privided 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 TVadmin
  • Change to /opt/tv
$ cd /opt/tv

 

Running the script

To restart all services without rebooting the appliance

$ ./tv-stop-services.sh 

...followed by...

$ ./tv-start-services.sh

To reboot the appliance

$ ./tv-reboot.sh

This script will evoke the Stop Services script before reboot.

To shutdown the appliance

$ ./tv-shutdown.sh

This script will evoke the Stop Services script before reboot.

It may take several minutes before the power is cut-off.