Project

General

Profile

Proper Way to Shutdown a neat rack server

User documentation
12/05/2017

  • Last Updated: 08/10/2018

This cmd will shutdown a neat rack server safely:

/sbin/halt -p

You also may want to use virsh to shutdown each of your VMs first. The host system shutdown process should halt each guest first but sometimes its faster to shutdown each guest.

For example for a database server (mysql) you should always issue a proper mysqladmin shutdown command first, then stop the guest.

If you are copying large files to the server, before you shut it down issue a sync command to sync the fscache:

sync
sync
sync

Files