IBM Books

Administration Guide


Managing node and node group information

CSM provides a set of commands for managing nodes and node group information. It stores information about nodes and node groups in the CSM database. These definitions are then accessible:

Setting up node group information

Nodegroups can be either static or dynamic. Static node groups are created by explicitly specifying each node's host name -- the list of nodes in the node group consists of the explicitly specified node host names. Dynamic node groups are created by specifying a selection criteria -- the list of nodes in the node group is determined by applying the selection criteria to the list of nodes in the cluster. The selection criteria is specified by using an SQL-like select string. See the IBM RSCT for Linux: Guide and Reference for more information about the format of the select string.

The persistent node attributes that are used to create the dynamic node group select strings. To determine the persistent attributes, type the following command on the command line:

lsrsrcdef -t -a p IBM.ManagedNode | awk '{print $1}' xargs -n3

The following are some examples of valid select strings and node groups created using those select strings.

To list the names of all the nodes whose Hostname attribute begins with c54:

To list all node names with the InstallOSName attribute set to 'Linux':

The following commands are used for managing node and node group information:

lsnode
Displays information about the nodes in the CSM cluster, for example, the cached status on whether the node is currently reachable.

chnode
Changes an attribute of a node in the CSM cluster database.

definenode
Gathers all the information necessary to install the nodes.

dmsctrl
Displays or changes certain parameters that affect the distributed management server component of CSM.

nodegrp
Defines node groups within the CSM cluster for use by other functions such as the configuration file manager, the dsh command, the event response subsystem, and the hardware control commands.

rmnode
Removes a node from the CSM cluster database.

For more information about CSM commands, see the man pages or CSM Commands.

Predefined dynamic node groups

CSM provides the following predefined dynamic node groups.

Name Select String
AllNodes Hostname like '%'
ManagedNodes Mode='Managed'
PreManagedNodes Mode='PreManaged'
LinuxNodes InstallOSName='Linux'
RedHatNodes InstallDistributionName='Redhat'
RedHat71Nodes InstallDistributionName='7.1'
RedHat72Nodes InstallDistributionName='7.2'
KickstartNodes InstallMethod='kickstart'
NetfinityNodes PowerMethod='netfinity'


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]