Moving your CloudByte ElastiStor setup (ElastiCenter and Node installed together)

Assume that you have to move your existing ElastiStor setup to a different location or network. For example, you have created a setup on staging environment and have performed all the tests. Now your setup is ready for production. In this case, you can move your Storage setup to the production site using the procedures explained in this section.

Note: The activity may incur a downtime. To move the setup with zero downtime, contact Technical Support.

Procedures

  1. Move all Nodes to Maintenance mode. For details, see Configuring High Availability.
  2. On ElastiCenter command line, change the network configurations of Node and the associated ElastiCenter. For details, see Change the network configurations of Node and the associated ElastiCenter
  3. On ElastiCenter command line, update the network configurations of Nodes. For details, see Update the network configurations of Node in the associated ElastiCenter
  4. In ElastiCenter, change the IP address of the HA group. For details, see Creating an HA Group.
  5. Restart the Nodes.
  6. Bring all the Nodes back to Available mode. For details, see Configuring High Availability.
  7. (Optional) Change the network configuration setup for VSM. For details, Provisioning a VSM.

Change the network configurations of Node and the associated ElastiCenter

  1. Log in to ElastiCenter as root.
  2. In the
    /usr/local/cb/bin/
    , run the following command:
    python Change_network_config.py
  3. Perform the steps as shown in the following sample command line :
  4. Choose an option
    1)Change the network configuration details of  ElastiCenter 
    2)Update the network configuration details of Node
    		
     1
    	
    Here, you have to select 1 as highlighted.
    You are going to change some or all of the network configuration details that you specified at the time of installation.
    Specify the New IP address for ElastiCenter
    20.10.83.57
    To change the Netmask, specify the details in the dotted decimal format. To bypass this step, specify No
    255.0.0.0
    To change the Gateway, specify the details. To bypass this step, specify No
    20.10.83.1
    To change the DNS, specify the details. To bypass this step, specify No
    8.8.8.8
    To change the Network Interface card, specify the details. To bypass this step, specify No
    em0
    To change the Domain name, specify the details. To bypass this step, specify No
    cloudbyte.com
    
    The new network details of ElastiCenter are as follows:
    IP address: 20.10.60.50
    Netmask : 255.0.0.0
    Gateway: 20.10.1.1
    DNS: 8.8.8.8
    Network Interface Card:re0
    Domain Name:cloudbyte.com
    
    Review the details and confirm by specifying Yes. Specify No to exit and cancel the changes. To change the details later, rerun the Change_network_config script.
    Yes
    Network details have been changed. Update the same in the associated Nodes.
    Reboot ElastiCenter
    
  5. Reboot ElastiCenter using the following command:
    reboot

Note: Unless you update the ElastiCenter’s new network configuration details on the Nodes, ElastiCenter displays the Node status as offline (though the Node is up and accessible).

Update the network configurations of Node in the associated ElastiCenter

  1. Log in to ElastiCenter as root.
  2. In the
    /usr/local/cb/bin/
    , run the following command:
    python Change_network_config.py
  3. Perform the steps as shown in the following sample command line :
  4.  Choose an option
    1)Change the network configuration details of  ElastiCenter 
    2)Update the network configuration details of Node
    
    2
                             
    Here, you have to select 2 as highlighted.
    You are going to update ElastiCenter with the network configuration details of one of the following Nodes:
    		               
     +-------+--------------+
     | Node | Old IP address|
     +-------+--------------+
     | Node1 | 20.10.83.60  |
     +-------+--------------+
     | Node2 | 20.10.83.6   |
     +-------+--------------+
     Specify the old IP address of the Node
    20.10.83.60
    Specify the New IP address of the Node
    20.10.83.57
    To change the Netmask, specify the details in the dotted decimal format. To bypass this step, specify No
    255.0.0.0
    To change the Gateway, specify the details. To bypass this step, specify No
    20.10.83.1
    To change the DNS, specify the details. To bypass this step, specify No
    8.8.8.8
    To change the Network Interface card, specify the details. To bypass this step, specify No
    em0
    To change the Domain name, specify the details. To bypass this step, specify No
    cloudbyte.com
    
    The new network details of ElastiCenter are as follows:
    Old IP address: 20.10.83.60
    New IP address: 20.10.60.57
    Netmask : 255.0.0.0
    Gateway: 20.10.1.1
    DNS: 8.8.8.8
    Network Interface Card: re0
    Domain Name:  cloudbyte.com
    
    
    Review the details and confirm by specifying Yes. Specify No to exit. To update the details later, rerun the Change_network_config script.
    
    Yes
    				
    Network details have been updated in ElastiCenter.
    Reboot ElastiCenter
      
  5. Reboot ElastiCenter using the following command:
    reboot

After completing the network configuration modifications, go back to the section Procedures and complete the procedures.

Tips

Ensure the following:

  • A physical connectivity between the Nodes and ElastiCenter exists using the command ping.
  • The IP address and Subnet are configured correctly using the command ifconfig -a .
  • The Gateway is configured correctly using the command netstat -rn.