Safe reboot and shutdown

From wiki.comcert.com
Revision as of 08:36, 13 April 2018 by Bert (talk | contribs)
Jump to navigation Jump to search

Introduction

 

 

To minimize the chance of data corruption and the loss of data, it is required to use the provided scripts for rebooting and shutdown of the underlying physical server or virtual machine. The risk of data corruption is very real on a heavily loaded system.

 

Solution

Reboot

You don't have to be root to reboot the server.

  • Using the SSH client of your choice, login as TVadmin
  • Change to /opt/tv
$ cd /opt/tv
  • Run the reboot script
$ ./tv-reboot.sh

Shutdown

You don't have to be root to shutdown the server.

Make sure iDRAC Virtual Console is accessible or someone is physically present in the datacenter to power on the server if needed.

  • Log in as TVadmin with SSH
  • Change to /opt/tv
$ cd /opt/tv
  • Run the shutdown script
$ ./tv-shutdown.sh

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