Rocket iCluster

Changing iCluster Node IP Addresses

  • 1.  Changing iCluster Node IP Addresses

    Posted 10-19-2020 12:13
    Edited by William Shubin 10-19-2020 15:20

    Once iCluster nodes are configured using a specific IP address, they will continue to use this IP address, however what if your network changes? How do you change the IP address used by iCluster? Luckily there is a TechNote on how to perform this procedure:

     

    How do I change the IP Address of my node?

    Answer:           

    1. Stop all groups that use the node whose IP address is going to be changed by running the command

    DMENDGRP—End Cluster Operations for Group

     

    1. From an active Node (e.g. Node Alpha), run the DMCHGNODE command specifying the Node name and the new I.P. address for the Node whose I.P. address has been changed. The node you are changing (Node Beta) must be active when you run this command.

    DMCHGNODE NODE(Beta) IPADDR('2.3.4.5')

    Go to the other nodes in the cluster and view the node that was changed to see they reflect the new IP address before continuing.

     

    1. From an active Node (e.g. Node Alpha), end the node (Node Beta) by running the command

    DMENDNODE—End Cluster Operations at Node

     

    1. Configure Node Beta's I.P. address, and configure your hardware, host table entries etc., as required in your environment.

    Note:

    The new address being assigned does not have to belong to the same subnet as the other Nodes in the cluster.
    Make sure that the new address being assigned is going to be I.P.- reachable from all the other Nodes in the cluster.

     

    1. Refresh the XDMCLUSTER subsystem on Node Beta by ending and then starting it using the following commands:
    ENDSBS SBS(XDMCLUSTER) OPTION(*IMMED)
    After you end the SBS, go to NETSTAT *CNN and end all the connections for user DMCLUSTER before restarting the SBS.  Since the other nodes have remained active, I would only do that on the changed node.  After the node was ended, while the other node was active, the node that remained active is now the ‘Metadata Owner’.
    STRSBS SBSD(XDMCLUSTER)
    You must end the subsystem with the *IMMED option.

     

    1. From an active Node (e.g. Node Alpha), start the node whose I.P. address was just changed (Node Beta) using the menu option

    DMSTRNODE—Start Cluster Operations at Node

     

    1. Go to the system that you prefer to be the Metadata Owner and run command
    DMSETMSTR
    to make this node the new ‘master or Metadata Owner.

    1. Start all groups that use the node using the command

    DMSTRGRP—Start Cluster Operations at Group

     

    The cluster will now use the new IP address to connect to the node. You may now go back to the node whose IP address was changed (Node Beta) and disable or remove the old IP address.

     

    Use the steps above for any other node whose I.P. address needs to be changed.