Safe reboot and shutdown: Difference between revisions

From wiki.comcert.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
=== Reboot ===
=== Reboot ===


*You don't have to be root to reboot the server  
You don't have to be root to reboot the server.
*Log in as TVadmin with SSH
 
*Using the SSH client of your choice, login as TVadmin  
*Change to /opt/tv  
*Change to /opt/tv  
<pre>$ cd /opt/tv</pre>
<pre>$ cd /opt/tv</pre>
Line 22: Line 23:
=== Shutdown ===
=== Shutdown ===


*You don't have to be root to shutdown&nbsp;the server  
You don't have to be root to shutdown&nbsp;the server.


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

Revision as of 04:43, 5 December 2017

Introduction

To minimize the chance of data corruption and the loss of data, it is highly recommended to use the provided reboot and shutdown script to reboot and shutdown the server. 

 

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.