Safe reboot and shutdown: Difference between revisions

From wiki.comcert.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
 
 


{{#invoke:Message box|ambox |type=content|text=If TruView is not working properly, try [[Restart_all_services|restarting all services]] first.}}
{{#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 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.
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.


 
 

Revision as of 06:13, 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

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.