Adding a node to the cluster using the CLI

You can use the command-line interface (CLI) to add a node that has either been removed or rejected by a cluster, into the cluster.

Attention: Before you add a new node to a cluster, make sure that you configure the switch zoning so that the node you are adding is in the same zone as all other nodes in the cluster. If you are replacing a node and the switch is zoned by worldwide port name (WWPN) rather than by switch port, you must follow the service instructions carefully to continue to use the same WWPNs.
Perform the following steps to add a node to a cluster:
  1. Issue the following CLI command to list the node candidates:
    svcinfo lsnodecandidate

    The following output is an example of what you might see after you issue the svcinfo lsnodecandidate command:

    id               panel_name        UPS_serial_number     UPS_unique_id     hardware
    50050768010037DA 104615            10004BC047            20400001124C0107  8G4
    id               panel_name        UPS_serial_number     UPS_unique_id     hardware
    5005076801000149 106075            10004BC031            20400001124C00C1  8G4
  2. Issue the following CLI command to add the node:

    svctask addnode -panelname panel_name -name new_name_arg -iogrp iogroup_name

    where panel_name is the name that is noted in step 1 (in this example, the panel name is 000279). This is the number that is printed on the front panel of the node that you are adding back into the cluster; new_name_arg is optional to specify a name for the new node; iogroup_name is the I/O group that was noted when the previous node was deleted from the cluster.

    Note: In a service situation, a node should normally be added back into a cluster using the original node name. As long as the partner node in the I/O group has not been deleted too, the default name is used if -name is not specified.

    The following example shows the command that you might issue:

    svctask addnode -panelname 000279 -name newnode -iogrp io_grp1

    The following output is an example of what you might see:

    Node, id [newnode], successfully added
    Attention: If more than one candidate node exists, ensure that the node that you add into an I/O group is the same node that was deleted from that I/O group. Failure to do so might result in data corruption. If you are uncertain about which candidate node belongs to the I/O group, shut down all host systems that access this cluster before you proceed. Reboot each system when you have added all the nodes back into the cluster.
  3. Issue the following CLI command to ensure that the node was added successfully:
    svcinfo lsnode

    The following output is an example of what you might see when you issue the svcinfo lsnode command:

id name   UPS_serial_number WWNN             status  IO_group_id IO_group_name config_node UPS_unique_id    hardware
1  node1  1000877059        5005076801000EAA online  0           io_grp0       yes         20400002071C0149 8F2
2  node2  1000871053        500507680100275D online  0           io_grp0       no          2040000207040143 8F2

All nodes are now online.

Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.