Library /sys$common/syshlp/SYSMANHELP.HLB  —  DO  Examples
    1.SYSMAN> SET ENVIRONMENT/CLUSTER/NODE=NODE21
      SYSMAN> DO/OUTPUT SHOW DEVICE

      The first command in this example defines the management
      environment to be the cluster where NODE21 is a member. The
      second command executes a DCL command on each node in the
      cluster. Output goes to the file SYSMAN.LIS rather than to
      the terminal.

    2.SYSMAN> SET ENVIRONMENT/NODE=NODE21
      SYSMAN> SET PROFILE /DEFAULT=[CJ.PROGRAMS] -
      _SYSMAN> /PRIVILEGES=NOSYSPRV
      SYSMAN> DO/OUTPUT @PROCESS_INFO

      The commands in this example define the environment as a single
      node and adjust the current privileges and directory. The
      DO command executes the command procedure PROCESS_INFO.COM,
      located in directory [CJ.PROGRAMS] and writes any output to
      SYSMAN.LIS in the directory from which SYSMAN is running.

    3.$ CREATE/NAME_TABLE/PARENT=LNM$SYSTEM_DIRECTORY SYSMAN$NODE_TABLE
      $ DEFINE/TABLE=SYSMAN$NODE_TABLE ALPHA_NODES NODE21,NODE22,NODE23
      $ DEFINE/TABLE=SYSMAN$NODE_TABLE VAX_NODES NODE24,NODE25,NODE26
      $ RUN SYS$SYSTEM:SYSMAN
      SYSMAN> SET ENVIRONMENT/NODE=ALPHA_NODES
      %SYSMAN-I-ENV, current command environment:
               Individual nodes: NODE21,NODE22,NODE23
               Username BOUCHARD will be used on nonlocal nodes

      SYSMAN> DO INSTALL REPLACE SYS$LIBRARY:DCLTABLES.EXE
      %SYSMAN-I-OUTPUT, command execution on node NODE21
      %SYSMAN-I-OUTPUT, command execution on node NODE22
      %SYSMAN-I-OUTPUT, command execution on node NODE23
      SYSMAN> DO INSTALL REPLACE SYS$SYSTEM: COM_FORTRAN.EXE
      %SYSMAN-I-OUTPUT, command execution on node NODE21
      %SYSMAN-I-OUTPUT, command execution on node NODE22
      %SYSMAN-I-OUTPUT, command execution on node NODE23

      SYSMAN> SET ENVIRONMENT/NODE=VAX_NODES
      %SYSMAN-I-ENV, current command environment:
               Individual nodes: NODE24,NODE25,NODE26
               Username BOUCHARD will be used on nonlocal nodes

      SYSMAN> DO INSTALL REPLACE SYS$LIBRARY:DCLTABLES.EXE
      %SYSMAN-I-OUTPUT, command execution on node NODE24
      %SYSMAN-I-OUTPUT, command execution on node NODE25
      %SYSMAN-I-OUTPUT, command execution on node NODE26
      SYSMAN> DO INSTALL REPLACE SYS$SYSTEM:FORTRAN$MAIN.EXE
      %SYSMAN-I-OUTPUT, command execution on node NODE24
      %SYSMAN-I-OUTPUT, command execution on node NODE25
      %SYSMAN-I-OUTPUT, command execution on node NODE26

      This example shows how you can define logical names for VAX,
      Alpha, and Integrity server nodes in a multi-architecture
      heterogeneous cluster, so that you can use the DO command
      to install architecture-specific images.

    4.$ RUN SYS$SYSTEM:SYSMAN

      SYSMAN> SET ENVIRONMENT/CLUSTER
      %SYSMAN-I-ENV, current command environment:
              Clusterwide on local cluster
              Username STEIN   will be used on nonlocal nodes
      SYSMAN> DO/CONFIRM SHOW TIME
      Execute command for node EXPERT? [N]: Y <Return>
      %SYSMAN-I-OUTPUT, command execution on node EXPERT
        22-MAR-2002 09:40:28

      Execute command for node MODERN? [N]: Y <Return>

      %SYSMAN-I-OUTPUT, command execution on node MODERN
        22-MAR-2002 09:40:56

      Execute command for node IMPOSE? [N]: N <Return>

      Execute command for node ADU26A? [N]: Y <Return>
         .
         .
         .

      The commands in this example show how to control whether the
      system displays time for each node in a cluster.

    5.SYSMAN> DO/PAUSE SHOW TIME

      %SYSMAN-I-OUTPUT, command execution on node EXPERT
        22-MAR-2002 09:40:13

      Press return to continue <Return>

      %SYSMAN-I-OUTPUT, command execution on node MODER
        22-MAR-2002 09:40:41

      Press return to continue <Return>

      %SYSMAN-I-OUTPUT, command execution on node IMPOSE
        22-MAR-2002 09:39:46

      Press return to continue <Return>
         .
         .
         .
         .

      The commands in this example show how you can control the rate
      at which information is displayed on your system.
Close Help