Library /sys$common/syshlp/sysmanhelp.hlb
SHUTDOWN, NODE, Examples

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    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.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.