IBM Support

Enable pdsh nodegroup options (-g and -X)

Troubleshooting


Problem

Enable pdsh nodegroup options (-g and -X)

Resolving The Problem

If you run command 'pdsh -g groupname command' to execute the command on some of nodes in your cluster, but you get the message 'no remote hosts specified'. You have to define the node group first.

Normally PCM/Platform HPC installs pdsh with netgroupmodule (pdsh-mod-netgroup-2.x.x). You have to define the list of node on the head node firstbefore use nodegroup options.

1. Create file /etc/netgroup on head node. Add node group's name and its list of nodesone group per line. e.g.

compute (compute-00-00,,) (compute-00-01,,) (compute-00-02,,)

lsf-master (installer,,) (lsfmaster-00-00,,) (lsfmaster-00-01,,)

 

2. Edit file /etc/nsswitch.conf. Find the netgroup line, add the textfiles to netgroup entry.

netgroup: files nisplus

 

Then you can use pdsh -g

pdsh -g compute hostname

pdsh -X lsf-master hostname

[{"Product":{"code":"SSZUCA","label":"IBM Spectrum Cluster Foundation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"2.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Product":{"code":"SSZUCA","label":"IBM Spectrum Cluster Foundation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":null,"Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 September 2018

UID

isg3T1014676