Starts the sequential daemon for the Distributed System Management Interface Tool (DSMIT).
srex [ -w Machine [ ,Machine ] ... ] [ -W Domain [ ,Domain ] ... ] Command
Note: Add a space after the -w and -W flags. Do not put a space between the comma and multiple values for the Machine or Domain parameters. If the Command includes any spaces, then the Command must be enclosed in double quotes (").
The srex command allows you to bypass the DSMIT interface by entering commands at the command line. The command will be sent to all the machines specified in sequential mode. To send commands to machines specified in concurrent mode, see the crexcommand.
Note: If the command contains any reserved shell characters such as a single quote ('), ampersand (&), or pipe symbol (|), use double quotes to enclose the command as in the example below. If the command contains double quotes ("), use single quotes to enclose the command.
To use the srex command, you must have your system configured correctly as a DSMIT server. To learn more about DSMIT and configuring your system, see the Distributed System Management Interface Tool (DSMIT) Overview, in the Distributed SMIT 2.3 for AIX: Guide and Reference.
-w Machine | Specifies the machines to be in the working collective. |
-W Domain | Specifies the domains to be in the working collective. |
Access Control: You must be a registered DSMIT administrator to run this command.
srex -w M1,M2 "lsuser -c -a id home ALL | sed '/^#.*/d' | tr ':' '\011'"
srex -w M1 -W D1 "passwd guest"
The crex command, dsmit command.
Distributed System Management Interface Tool (DSMIT) Overview in the &BkSym.dsmitref;.