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
- Open a console on a virtual machine or start an SSH session on the virtual machine, if SSH is enabled.
- 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.
- Shut down the virtual machine gracefully and change the IP address.
- 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.
- 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.
- Verify that the slice is offline. Run the service vmware-casa stop command to stop the CaSA service.
- 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.
- Update the $VCOPS_BASE/user/conf/cassandra/cassandra.yaml file with the new IP address for
address
,broadcast_rpc_address
, andseeds
values. - Run the service vmware-casa start command to start the CaSA service.
- 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
- Bring the slice online. From /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin, run the $VMWARE_PYTHON_BIN ./vcopsConfigureRoles.py --action bringSliceOnline command.
- 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.