Safe reboot and shutdown

From wiki.comcert.com
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 evokes the Stop Services script before reboot.

To shutdown the appliance

$ ./tv-shutdown.sh

This script evokes the Stop Services script before reboot.

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