2 pdsh utility wrappers, Pdsh architecture – HP Linux Server Management Software User Manual
Page 84
•
Parallel copy command
The pdcp command provides a parallelized copy command to copy a local source file to
multiple targets.
•
Setting ssh arguments
Users can set the PDSH_SSH_ARGS environment variable with any ssh arguments that
ssh
should use while connecting to remote systems. For example, to obtain verbose output,
use the following command;
# export PDSH_SSH_ARGS="-v"
Figure 4-1: “pdsh Architecture ”
, shows the components of pdsh and its architecture.
Figure 4-1 pdsh Architecture
For more information on pdsh and dshbak, refer to their reference manpages.
4.2 pdsh Utility Wrappers
Administrators can build wrapper commands around pdsh for commands that are frequently
used across multiple systems and Serviceguard clusters. Several such wrapper commands are
provided with DSAU. These wrappers are Serviceguard cluster-aware and default to fanning
out cluster-wide when used in a Serviceguard environment. These wrappers support most
standard pdsh command line options and also support long options (--option syntax) .
cexec
cexec
is a general purpose pdsh wrapper. In addition to the standard pdsh features,
cexec
includes a reporting feature. Use the --report_loc option to have cexec
display the report location for a command. The command report records the
command issued in addition to the nodes where the command succeeded, failed,
or the nodes that were unreachable. The report can be used with the --retry option
to replay the command against nodes that failed, succeeded, were unreachable, or
all nodes.
ccp
ccp
is a wrapper for pdcp and copies files cluster-wide or to the specified set of
systems.
cps
cps
fans out a ps command across a set of systems or cluster.
84
Command Fanout