Adding nodes to a GPFS cluster
You can add nodes to an existing GPFS cluster by issuing the mmaddnode command or by using the IBM Storage Scale installation toolkit. The new nodes are available immediately after the successful completion of the process.
Note: This topic provides details about how to add a node in the cluster by using
the mmaddnode command. For more information about how to add a node to the
cluster by using the installation toolkit, see Adding nodes, NSDs, or file systems to an existing cluster.
You must follow these rules when adding nodes to a GPFS cluster:
- You can issue the command only from a node that already belongs to the GPFS cluster.
- A node can belong to only one GPFS cluster at a time.
- IBM Storage Scale must be installed on the nodes before you run the mmaddnode command to add those nodes to the cluster. If you add a node by using the installation toolkit, you do not need to manually install IBM Storage Scale before you run the installation toolkit.
- A node must be available for the command to be successful. If any of the nodes listed are not available when the command is issued, a message listing those nodes is displayed. You must correct the problem on each node and reissue the command to add those nodes.
- To designate an IBM
Storage Scale license to a node, you can use either of two methods:
- Designate a license to the node with the mmaddnode command at the same time that you add the node to the cluster. For more information, see mmaddnode command.
- Designate a license to the node with the mmchlicense command after you add it to the cluster. For more information, see mmchlicense command.
To add node
k164n01.kgn.ibm.com
to the GPFS cluster, issue the following
command:mmaddnode -N k164n01.kgn.ibm.com
The system displays information
similar to the
following:Mon Aug 9 21:53:30 EDT 2004: 6027-1664 mmaddnode: Processing node k164n01.kgn.ibm.com
mmaddnode: Command successfully completed
mmaddnode: 6027-1371 Propagating the cluster configuration data to all
affected nodes. This is an asynchronous process.
To confirm the addition of the nodes,
issue the mmlscluster command.The command displays information similar to the following:
GPFS cluster information
========================
GPFS cluster name: cluster1.kgn.ibm.com
GPFS cluster id: 15529849231188177215
GPFS UID domain: cluster1.kgn.ibm.com
Remote shell command: /usr/bin/ssh
Remote file copy command: /usr/bin/scp
Repository type: CCR
Node Daemon node name IP address Admin node name Designation
------------------------------------------------------------------------------
1 k164n01.kgn.ibm.com 198.117.68.66 k164n01.kgn.ibm.com
2 k164n02.kgn.ibm.com 198.117.68.67 k164n02.kgn.ibm.com
3 k164n03.kgn.ibm.com 198.117.68.68 k164n03.kgn.ibm.com quorum
4 k164n04.kgn.ibm.com 198.117.68.69 k164n04.kgn.ibm.com quorum
3 k164n05.kgn.ibm.com 198.117.68.70 k164n05.kgn.ibm.com quorum-manager
For more information, see mmaddnode command, mmlscluster command, and mmchlicense command.