pdsh
TLDR
Run command on hosts
$ pdsh -w [host1,host2] [command]
Run on host range$ pdsh -w [host[1-10]] [command]
Use SSH$ pdsh -R ssh -w [hosts] [command]
Run with sudo$ pdsh -w [hosts] sudo [command]
Copy files to hosts$ pdcp -w [hosts] [local_file] [remote_path]
SYNOPSIS
pdsh [options] [command]
DESCRIPTION
pdsh runs commands in parallel. Parallel distributed shell.
The tool executes on multiple hosts. High performance cluster administration.
pdsh executes in parallel.
PARAMETERS
-w HOSTS
Target hosts.-R MODULE
Remote shell module.-l USER
Remote username.-t TIMEOUT
Connect timeout.-f FANOUT
Parallel connections.
CAVEATS
Requires remote access configured. Module dependent (ssh, rsh).
HISTORY
pdsh was created for parallel command execution across cluster nodes.


