After you have restored a vRealize Operations Manager cluster to a remote host, change the IP address of the master nodes and data nodes to point to the new host.

Prerequisites

  • Verify that the restore job has completed successfully.
  • Verify that the datastore on the new host has sufficient capacity for the new cluster.

Procedure

  1. Shut down the vRealize Operations Manager cluster at the original location.
  2. In the Virtual Appliance Management Interface (VAMI), access the machine from the vCenter console and run the /opt/vmware/share/vami/vami_set_network eth0 STATICV4 new IP netmask gateway to change the IP address for each node in the cluster.
    For example:
    /opt/vmware/share/vami/vami_set_network
    				eth0 STATICV4 10.145.152.170 255.255.252.0 10.145.155.253
  3. After the command runs successfully, restart the network, reboot each node, and power on the remote collector node.
  4. Use SSH to access the master, data, and remote collector nodes, and run the $VMWARE_PYTHON_BIN /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin/vcopsConfigureRoles.py --action=bringSliceOffline --offlineReason=restore cluster command to take the cluster offline.
  5. Update the CaSA database with the new IP address first on the master nodes, and then on the data nodes.
    1. Run the vmware-casa stop command to stop the CaSA service.
    2. Open the /storage/db/casa/webapp/hsqldb/casa.db.script file for editing, and replace all instances of the old IP address and with the new IP address.
    3. Run the vmware-casa start command to start the CaSA service.
  6. In the following configuration files, use a text editor to replace all instances of the old IP address with the new IP address.
    • /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. This configuration file only runs on the master node. Edit the locater parameter.
    • /usr/lib/vmware-vcops/user/conf/gemfire.native.properties.
    • /usr/lib/vmware-vcops/user/conf/persistence/persistence.properties.
  7. Navigate to the /usr/lib/vmware-vcops/user/conf/cassandra/ directory, and edit the cassandra.yaml file so that the seeds parameter points to the new IP address of the master node, and the listen_address and broadcast_rpc_address point to the IP addresses of the data nodes.
  8. Log in to the vRealize Operations Manager administration interface, and bring the cluster online.