1 SHUTDOWN 2 NODE Shuts down one or more nodes in an OpenVMS Cluster. The SHUTDOWN NODE command invokes SYS$SYSTEM:SHUTDOWN to shut down one node or multiple nodes, as you specify, in the current management environment. You can enter the shutdown command in one command line, instead of executing the SHUTDOWN.COM procedure on each node individually. Requires SETPRV privilege or all of the following privileges: CMKRNL, EXQUOTA, LOG_IO, OPER, SYSNAM, SYSPRV, TMPMBX, WORLD. Format SHUTDOWN NODE 3 Qualifiers /AUTOMATIC_REBOOT /AUTOMATIC_REBOOT /NOAUTOMATIC_REBOOT (default) Reboots the system automatically when the shutdown is complete. /CLUSTER_SHUTDOWN /CLUSTER_SHUTDOWN /NOCLUSTER_SHUTDOWN (default) Shuts down the entire cluster. When you use the /CLUSTER_SHUTDOWN qualifier, each node suspends activity just short of shutting down completely, until all other nodes in the cluster have reached the same point in the shutdown procedure. You must specify this option on every cluster node. If any one node is not shut down completely, the clusterwide shutdown cannot occur. You should use the SET ENVIRONMENT/CLUSTER command before you issue a SHUTDOWN NODE/CLUSTER_SHUTDOWN command to ensure that all nodes in the cluster are shutting down. /DISABLE_AUTOSTART Specifies the number of minutes before shutdown when autostart queues running on the node are marked stop pending and are subject to failover to another node. Using this qualifier gives you control over when the autostart failover process begins. By default, the value equals that of the /MINUTES_TO_SHUTDOWN qualifier. Determine the appropriate number of minutes for your configuration by weighing a smoother transition against completing a maximum number of jobs before shutdown. The larger the value, the smoother the transition will be. The smaller the value, the more jobs will execute on the node. /INVOKE_SYSHUTDOWN /INVOKE_SYSHUTDOWN (default) /NOINVOKE_SYSHUTDOWN Invokes a site-specific shutdown procedure. /MINUTES_TO_SHUTDOWN /MINUTES_TO_SHUTDOWN=number The number of minutes until shutdown occurs. If the system logical name SHUTDOWN$MINIMUM_MINUTES is defined, its integer value is the minimum value that you can enter. Therefore, if the logical name is defined as 10, you must specify at least 10 minutes to final shutdown or an error message displays. If the logical name is not defined, and you do not enter a value, 0 minutes is the default. /POWER_OFF Specifies that the system is to power off after shutdown is complete. /REASON /REASON=text The reason for the shutdown (one line). /REBOOT_CHECK /REBOOT_CHECK /NOREBOOT_CHECK (default) Checks for basic operating system files and notifies you if any are missing. Be sure to replace missing files before rebooting. /REBOOT_TIME /REBOOT_TIME=time The time when you expect to reboot the system such as IMMEDIATELY, IN 10 MINUTES, 2 P.M., or 14:00:00. Shutdown displays this time in a shutdown message to users. /REMOVE_NODE /REMOVE_NODE /NOREMOVE_NODE (default) Removes a node from the active cluster quorum. Use this qualifier when you do not expect the shut-down node to rejoin the cluster for an extended period. When you use the /REMOVE_NODE qualifier, active quorum in the remainder of the cluster is adjusted downward to reflect the fact that the removed node's votes no longer contribute to the quorum value. The shutdown procedure readjusts the quorum by issuing the SET CLUSTER/EXPECTED_VOTES command. You can reset options by using the following command: SYSMAN> STARTUP SET OPTIONS/NOVERIFY/NOCHECKPOINTING For more information about cluster management, refer to OpenVMS Cluster Systems. /SAVE_FEEDBACK /SAVE_FEEDBACK /NOSAVE_FEEDBACK (default) Records feedback data collected from the system since it was last booted and creates a new version of the AUTOGEN feedback data file, which you can use the next time you run AUTOGEN. /SPIN_DOWN_DISKS /SPIN_DOWN_DISKS /NOSPIN_DOWN_DISKS (default) Spins down disks. You cannot spin down the system disk. 3 Examples 1.SYSMAN> SET ENVIRONMENT/CLUSTER SYSMAN> SHUTDOWN NODE/MINUTES_TO_SHUTDOWN=15/REBOOT_TIME="later"- _SYSMAN> /REASON="SOFTWARE UPGRADE"/REBOOT_CHECK/CLUSTER_SHUTDOWN The first command in this example ensures that all nodes in the cluster will shut down. The second command requests a shutdown for the entire cluster and a reboot check for any missing operating system files. The following messages are displayed to users on the cluster: SHUTDOWN message on NODE21, from user SYSTEM at NODE21$0PA0: 12:00:00:20. NODE21 will shut down in 15 minutes; back up later. Please log off NODE21. SOFTWARE UPGRADE SHUTDOWN message on NODE22, from user SYSTEM at NODE22$0PA0: 12:00:00:22. NODE22 will shut down in 15 minutes; back up later. Please log off NODE22. SOFTWARE UPGRADE SHUTDOWN message on NODE23, from user SYSTEM at NODE23$0PA0: 12:00:00:24. NODE23 will shut down in 15 minutes; back up later. Please log off NODE23. SOFTWARE UPGRADE 2.SYSMAN> SET ENVIRONMENT/NODE=0 Password: SYSMAN> SHUTDOWN NODE/MINUTES=120 %SYSMAN-I-SHUTDOWN, SHUTDOWN request sent to node SYSMAN> EXIT $ LOGOUT This example shuts down the local node in 2 hours. As long as you set the environment to the local node, a subprocess of the SMISERVER system detached process runs shutdown, and remaining logged into the system during the shutdown is not necessary. If you do not set the environment to the local node, the shutdown runs via a subprocess of the current process, requiring that you remain logged in during the shutdown cycle.