If your disaster recovery plan requires, change the IP address for the vRealize Operations Manager node to update the new IP address for the virtual machine.

Procedure

  1. Open a console on a virtual machine or start an SSH session on the virtual machine, if SSH is enabled.
  2. Take the slice offline. From /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin, run the $VMWARE_PYTHON_BIN ./vcopsConfigureRoles.py --action bringSliceOffline --offlineReason <Put Comment Here> command.
  3. Shut down the virtual machine gracefully and change the IP address.
  4. Power on the virtual machine. If the slice was not offline, the reboot might take 15 minutes. If it takes more than 15 minutes, take the slice offline.
  5. Take the slice offline if the virtual machine is not powered on in 15 minutes. From /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin, run the $VMWARE_PYTHON_BIN ./vcopsConfigureRoles.py --action bringSliceOffline --offlineReason <Put Comment Here> command.
  6. Verify that the slice is offline. Run the service vmware-casa stop command to stop the CaSA service.
  7. Edit the /storage/db/casa/webapp/hsqldb/casa.db.script file to update the old IP address with the new IP address for the master node for all the instances.
  8. Update the $VCOPS_BASE/user/conf/cassandra/cassandra.yaml file with the new IP address for address, broadcast_rpc_address, and seeds values.
  9. Run the service vmware-casa start command to start the CaSA service.
  10. Update the master node IP. From /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin, run the $VMWARE_PYTHON_BIN ./vcopsConfigureRoles.py --adminCS <New IP Here>.
    This command updates the IP address in the following files. You can also change the IP address in these files manually.
    • /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/data/roleState.properties
    • /usr/lib/vmware-vcops/user/conf/gemfire.properties
    • /usr/lib/vmware-vcops/user/conf/persistence/persistence.properties
  11. Bring the slice online. From /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin, run the $VMWARE_PYTHON_BIN ./vcopsConfigureRoles.py --action bringSliceOnline command.
  12. Verify that the slice is online. Log in to the administration UI of the master node and verify that the node is up and collecting data.