pdsh.1 (2012 03)

pdsh(1) pdsh-2.16 pdsh(1)
(hpux11.31)
rms Module Options
The rms module allows pdsh to target nodes based on an RMS resource. The rms module is typically
called after all other node selection options, and if no nodes have been selected, the module will examine
the RMS_RESOURCEID environment variable and attempt to set the target list of hosts to the nodes in
the RMS resource. If an invalid resource is denoted, the variable is silently ignored.
SDR Module Options
The SDR module supports targeting hosts via the System Data Repository on IBM SPs.
-a Target all nodes in the SDR. The list is generated from the "reliable hostname" in the SDR by
default.
-i Translate hostnames between reliable and initial in the SDR, when applicable. If the a target
hostname matches either the initial or reliable hostname in the SDR, the alternate name will be
substitued. Thus a list composed of initial hostnames will instead be replaced with a list of reli-
able hostnames. For example, when used with -a above, all initial hostnames in the SDR are tar-
geted.
-v Do not target nodes that are marked as not responding in the SDR on the targeted interface. (If a
hostname does not appear in the SDR, then that name will remain in the target hostlist.)
-G In combination with -a, include all partitions.
nodeattr Module Options
The nodeattr module supports access to the genders database via the nodeattr(1) command. See the
genders section above for a list of support options with this module. The option usage with the nodeattr
module is the same as genders, above, with the exception that the -i option may only be used with -a or
-g.
dshgroup Module Options
The dshgroup module allows pdsh to use dsh (or Dancer’s shell) style group files from /etc/dsh/group/
or ˜/.dsh/group/.
-g groupname,...
Target nodes in dsh group file "groupname" found in either ˜/.dsh/group/groupname or
/etc/dsh/group/groupname.
-X groupname,...
Exclude nodes in dsh group file "groupname."
netgroup Module Options
The netgroup module allows pdsh to use standard netgroup entries to build lists of target hosts.
(/etc/netgroup or NIS)
-g groupname,...
Target nodes in netgroup "groupname."
-X groupname,...
Exclude nodes in netgroup "groupname."
ENVIRONMENT VARIABLES
PDSH_RCMD_TYPE
Equivalent to the -R option, the value of this environment variable will be used to set the default
rcmd module for pdsh to use (e.g. ssh, rsh).
PDSH_SSH_ARGS
Override the standard arguments that pdsh passes to the ssh(1) command ("-2 -a -x").
PDSH_SSH_ARGS_APPEND
Append additional options to the ssh(1) command invoked by pdsh. For example,
PDSH_SSH_ARGS_APPEND="-q" would run ssh in quiet mode, or "-v" would increase the verbos-
ity of ssh.
WCOLL
If no other node selection option is used, the WCOLL environment variable may be set to a filename
from which a list of target hosts will be read. The file should contain a list of hosts, one per line
(though each line may contain a hostlist expression. See HOSTLIST EXPRESSIONS section
below).
4 Hewlett-Packard Company 4 HP-UX 11i Version 3: March 2012