#
Install Genders and PDSH
A combination of genders and pdsh can allow for management and monitoring of multiple nodes at a time.
This only needs to be done on the head node.
Swap to the head node (unless already on it).
Install flight-pdsh.
sudo yum -y install flight-pdsh
Navigate to the genders file at
/opt/flight/etc/genders
, and open it.Add a gender in the following format to the genders file. Then save and close the file.
cnode01,cnode02 nodes
Log out and log back in for the environment to load.
#
Testing
If all was successful, then the following should be the case on the head node:
The following commands should run without errors:
nodeattr -s nodes
pdsh -g nodes uptime
The file
/opt/flight/etc/genders
should contain genders for use with the installed commands.