Adding a node to the cluster using the CLI Nodes Adding a node to a cluster using the svcc application on the master console

A node that has been either removed or rejected by a cluster can be added into the cluster using the following procedure.

Attention: Attention: Before adding a node to a cluster, make sure that the switch zoning is configured such that the node being added is in the same zone as all other nodes in the cluster. In particular, if you are replacing a node and the switch is zoned by worldwide port name (WWPN) rather than by switch port, you must update the switch configuration.
Steps

Use the command line to list node candidates:

  1. Type the following command on the command-line interface to list the node candidates:

    svcinfo lsnodecandidate

    The following example shows what you might see when you use the svcinfo lsnodecandidate command.

    Figure 100. Example of what is displayed when listing the node candidates
    id               panel_name        UPS_serial_number     UPS_unique_id
    5005076801000101 000279            10L3BNZ               202378101C0D27AA

    You can add the node to the cluster by using the addnode command.

  2. Type the following command:

    svcservicetask addnode -panelname panel_name -name new_name_arg -iogrp iogroup_name, where panel_name is the name noted in step 1 (in this example 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 the name of the node noted when the previous node was deleted from the cluster; iogroup_name is the iogroup that was noted when the previous node was deleted from the cluster

    The following example shows the command you might use:

    svcservicetask addnode -panelname 000279 -name node3 -iogrp io_grp1

    This following example shows that output you might see:

    Figure 101. Example of the output when you use the addnode command
    Node, id [5], successfully added
    Attention: Attention: If more than one candidate node exists you must 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 each I/O group, the user will need to shutdown all host systems accessing this cluster before you can proceed and then reboot each system when all the nodes have been added back into the cluster.
  3. To check whether or not you added the node successfully, type the following command:

    svcinfo lsnode

    The following example shows what you might see when you use the svcinfo lsnode command.

    Figure 102. Example of what is displayed when you check to see if you added the node correctly
    id name   UPS_serial_number WWNN             status  IO_group_id IO_group_name config_node UPS_unique_id
    1  node1  10L3ANP           50050768010000F6 online  0           io_grp0       yes         202378101C0D17A0
    2  node2  10L3BNZ           5005076801000184 online  0           io_grp0       no          202378101C0D27AA
    5  node3  10L3BNZ           5005076801000101 online  1           io_grp1       no          202378101C0D27AA
    4  node4  10L3ANP           5005076801000147 online  1           io_grp1       no          202378101C0D17A0

All nodes are now online.

Related topics Nodes Adding a node to a cluster using the svcc application on the master console

(C) Copyright International Business Machines Corporation 2003, 2004