134 Building a Linux HPC Cluster with xCAT
noderange - Generate a list of node names
Synopsis
noderange is defined as a set of [comma delimited nodelists and grouplists]
Description
The noderange variable is the principle argument of the xCAT commands.
noderange is a function in $XCATROOT/lib/functions that is called internally by
most xCAT commands so that a single operation may be applied to a range of
nodes, often in parallel.
noderange lists can be:
An individual node and/or group:
node01
group1
A range of nodes and/or groups:
node01-node10
group1-group3
A regular expression match of nodes and/or groups:
@node[345].*
@group[12].*
An incremented range of nodes:
node10+5
A file containing noderanges of nodes and/or groups:
^/tmp/nodelist
A node ...