Shut Down the System Using the Automation File

Alternate method to shut down the system.

The preferred method to shut down the system is to use the xtbootsys command with the auto shutdown file as follows:
crayadm@smw> xtbootsys -s last -a auto.hostname.stop
Or, for a partitioned system with partition pN:
smw# xtbootsys --partition pN -s last -a auto.hostname.stop

This method shuts down the compute nodes (which are commonly also Lustre clients), then executes xtshutdown on service nodes, halting the nodes and then stopping processes on the SMW. A system administrator can shut down the system using both user-defined and built-in procedures in the auto.xtshutdown file, which is located on the SMW in the /opt/cray/hss/default/etc directory. Before modifying the auto.xtshutdown file, Cray recommends making a copy because it will be replaced by an SMW software upgrade. Avoid strict boot ordering of service nodes in an automated boot file. Rename the copied file with the host name of the system for which it will be used (auto.hostname.stop).

For related procedures, see XC Series Software Installation and Configuration Guide (S-2559). For more information about using automation files, see the xtbootsys(8) man page.