What does gpssh do?
gpssh is a utility that facilitates secure and efficient remote execution of commands on multiple hosts within a Greenplum Database cluster.
Why is it important?
Efficiently executing commands across multiple hosts is crucial for managing and maintaining a Greenplum Database cluster. gpssh simplifies tasks such as configuration, monitoring, and maintenance.
How to use gpssh:
You can use gpssh to execute commands remotely on hosts within a Greenplum Database cluster. For example, to check the status of the database on multiple hosts:
gpssh -f hostfile 'gpstate -s'
gpssh
{ -f hostfile | -h host1 [ -h host2 ... ] }
'command'
[ -l username ] [ -t timeout ] [ -e ] [ -v ] [ -q ]
[ --winsspi | --clear ]
[ --cn | --mdw | --smdw | --sdw | --all ]
[ -? | -h | --help ]
[ -V | --version ]