conf/groups.conf.d/xcat.conf.example
raw| 1 | # Additional ClusterShell group source config file |
| 2 | # |
| 3 | # Please see `man 5 groups.conf` for further details. |
| 4 | # |
| 5 | |
| 6 | # xCAT static node group binding |
| 7 | # |
| 8 | [xcat] |
| 9 | |
| 10 | # list the nodes in the specified node group |
| 11 | map: lsdef -s -t node "$GROUP" | cut -d' ' -f1 |
| 12 | |
| 13 | # list all the nodes defined in the xCAT tables |
| 14 | all: lsdef -s -t node | cut -d' ' -f1 |
| 15 | |
| 16 | # list all groups |
| 17 | list: lsdef -t group | cut -d' ' -f1 |