After recovery, you must reconfigure the remote collector node to connect to the changed IP cluster.

About this task

Note:

It is optional to protect remote collector nodes by using Site Recovery Manager. If you decide not to protect a remote collector node by using Site Recovery Manager, you need to redeploy a new remote collector node after recovery.

Use the following steps to configure the remote collector node for non high availability operation.

Procedure

  1. Shut down the cluster at the protected site.
  2. Change the IP addresses for each node in the cluster. Access the virtual machines from the vCenter console and run the /opt/vmware/share/vami/vami_set_network eth0 STATICV4 <new IP> <netmask> <gateway> command on the master node and the data nodes.
  3. After the command is run successfully, restart the network. When the correct network is assigned, reboot each node.
  4. Power on the remote collector node.
    Note:

    Do not change the IP address for the remote collector node, if it was not protected as part of the protection group.

  5. Take the cluster offline by accessing master, data, and remote collector nodes by using ssh and run $VMWARE_PYTHON_BIN /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin/vcopsConfigureRoles.py --action=bringSliceOffline --offlineReason="restore cluster" command.
  6. Update the Cluster and Slice Administration (CaSA) database. Complete the following steps by starting with the master node, followed by the data and remote collector nodes respectively.
    1. Run service vmware-casa stop command to shut down CaSA.

    2. Edit /storage/db/casa/webapp/hsqldb/casa.db.script to replace the old IP addresses with the new IP addresses.

    3. Run service vmware-casa start command to start CaSA.

  7. Edit the following configuration files on all the nodes starting with the master node, followed by the data and remote collector node respectively.
    • /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/data/roleState.properties

    • /usr/lib/vmware-vcops/user/conf/gemfire.properties

    • /usr/lib/vmware-vcops/user/conf/gemfire.locator.properties

    • /usr/lib/vmware-vcops/user/conf/gemfire.native.properties

    • /usr/lib/vmware-vcops/user/conf/persistence/persistence.properties

    Note:

    The Gemfire Locater runs on the master node only. Edit the locater locations accordingly.

  8. Edit the Cassandra configuration /usr/lib/vmware-vcops/user/conf/cassandra/cassandra.yaml. The seeds variable needs to point to the master node. The 2 other variables are the IP address of the node.
  9. Start the cluster. Access the Admin UI from a browser and bring the cluster online.