From: Mark A. Grondona <mgrondona@ll...> - 2009-03-19 22:23:12
> i'm new to pdsh, i've used Xcat long time ago where i add all the nodes with
> their groups under /usr/local/xcat/etc/node.conf (i guess!)
> <nodeName> <group1,group2>
> node1 rack1, clusterA, all
> node2 rack2, clusterB, all
> how can i do this with pdsh? where do i list the nodes with their groups?
> i know it's dumb questions, i really appreciate your help.
With pdsh you can use one of several methods to associate node
names with groups. The syntax you list above for xcat looks
suspiciously a lot like genders
which you would access via the pdsh genders module.
[ See the 'genders module options' section in the pdsh(1) man
page for more info ]
You can also group hosts via NIS netgroups or /etc/netgroup
with the pdsh "netgroup" module.
Or, you can use a style of host grouping used by the "dsh"
utility with the pdsh "dshgroup" module. (This method places
all groups of hosts in separate files under /etc/dsh/group/
[ See the 'dshgroup module options' and 'netgroup module options'
section in the pdsh(1) man page for more info ]
Let me know if you have further questions.
Get latest updates about Open Source Projects, Conferences and News.