Technical data

Using OpenVMS System Management Utilities and Tools
2.3 Using SYSMAN to Centralize System Management
In an OpenVMS Cluster environment, SYSMAN executes DO commands
sequentially on all nodes in the cluster. After a command completes or times
out on one node, SYSMAN sends it to the next node in the environment. Any
node that is unable to execute a command returns an error message.
For more information about using the DO command to manage an OpenVMS
Cluster system, see Section 22.6. You can also refer to the OpenVMS System
Management Utilities Reference Manual for a complete description of the
SYSMAN command DO.
Example
In the following example, SYSMAN runs the INSTALL utility and makes a file
known on all nodes in the cluster when you enter the commands from the local
node:
$ RUN SYS$SYSTEM:SYSMAN
SYSMAN> SET ENVIRONMENT/CLUSTER
SYSMAN> SET PROFILE/PRIVILEGE=CMKRNL
SYSMAN> DO INSTALL ADD/OPEN/SHARED WORK4:[CENTRAL]STATSHR
.
.
.
%SYSMAN-I-OUTPUT, Command execution on node NODE21
%SYSMAN-I-OUTPUT, Command execution on node NODE22
2.3.9 Creating SYSMAN Command Procedures
The SYSMAN execute procedure (@) command executes SYSMAN command
procedures on each node in the environment.
Example
The following example creates and executes a SYSMAN command procedure to
display the current date and system time for each OpenVMS Cluster node:
$ CREATE TIME.COM
SET ENVIRONMENT/CLUSTER
CONFIGURATION SHOW TIME
Ctrl/Z
$ RUN SYS$SYSTEM:SYSMAN
SYSMAN> @TIME
%SYSMAN-I-ENV, Current command environment:
Clusterwide on local cluster
Username SYSTEM will be used on nonlocal nodes
System time on node NODE21: 19-JUN-2000 13:32:19.45
System time on node NODE22: 19-JUN-2000 13:32:27.79
System time on node NODE23: 19-JUN-2000 13:32:58.66
SYSMAN>
2.3.10 Setting Up SYSMAN with an Initialization File
You can create an initialization file that is used each time you invoke SYSMAN.
In the initialization file, you can perform tasks such as defining keys and setting
up your environment.
The default file specification for the SYSMAN initialization file is
SYS$LOGIN:SYSMANINI.INI. If you want your SYSMAN initialization file to
have a different file specification, you must define the logical name SYSMANINI
to point to the location of the file. The following is a sample initialization file that
defines several keys:
Using OpenVMS System Management Utilities and Tools 2–19