The scripts defined here can be used to retreive information from the GROUPS and NODEGROUP tables. 

fetch-groups

takes no arguments, but returns the groupid, names and descriptions of the defined groups and their titles. For example:

25cal@iepm-bw: fetch-groups
1,ULTRALIGHT,Ultralight nodes
2,LHC-ATLAS,ATLAS nodes

fetch-group-info -i n

fetches the info about groupid n.

130cal@iepm-bw: fetch-group-info -i 1
ULTRALIGHT
Ultralight nodes
31cal@iepm-bw:

fetch-node-group -i n

fetches the nodeids of the nodes in the group. For example:

33cal@iepm-bw: fetch-node-group -i 2
22,23,26,38,94,98,105,106,118

returns the nodeid of all nodes in the group with groupid=2;

fetch-group-id -g groupname

fetches the groupid of the provided groupname. For example:

41cal@iepm-bw: fetch-group-id -g ULTRALIGHT
1
42cal@iepm-bw:

report-nodegroups

generates a web page  detailing the information in the GROUPS and NODEGROUP tables.

  • No labels