To change the master node IP address:
- Log in to vRealize Operations Manager admin UI as the local admin user.
- Click Take Offline under Cluster Status.
Note: Wait for Cluster Status to show as Offline.
- In vCenter, preform a Guest Shutdown on the master node.
- Select the virtual machine and click Edit Settings.
- Navigate to vApp Options (Web client) or Options > vApp Options (C# client), and verify that the vApp options are enabled.
- Navigate to vApp Options > Networking Properties (Web client) or Options > vApp Options > Properties (C# client), and enter the new IP address.
- Power on the master node.
- Log in to the console of the vRealize Operations Manager Master node.
- Run this command to change the IP address:
/opt/vmware/share/vami/vami_config_net
Note: If running the stand alone Linux version, change the IP address as you normally would for that distro.
- Preform a Guest Restart on the Master node.
- Stop the CaSA service:
service vmware-casa stop
- Open /storage/db/casa/webapp/hsqldb/casa.db.script in a text editor.
- Locate any instances of the old IP address, and update them to the new IP address.
- Save and close the file.
- Start the CaSA service:
service vmware-casa start
- Navigate to the /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin directory.
- Run this command:
$VMWARE_PYTHON_BIN ./vcopsConfigureRoles.py --adminCS=new_IP_address
Note: Replace new_IP_address with the newly assigned IP address.
The script updates the IP address in these files. Alternatively, you could edit the files with a text editor, replacing any instances of the old IP address with the new one.
/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
- Open /usr/lib/vmware-vcops/user/conf/gemfire.locator.properties in a text editor.
- Locate instances of the old IP address, if any, and update them to the new IP address, then save and close the file.
- Open /usr/lib/vmware-vcops/user/conf/gemfire.native.properties in a text editor.
- Locate instances of the old IP address, if any, and update them to the new IP address, then save and close the file.
- Stop the CaSA service:
service vmware-casa stop
- Make a backup of the /usr/lib/vmware-vcops/user/conf/cis.properties file:
cp /usr/lib/vmware-vcops/user/conf/cis.properties /usr/lib/vmware-vcops/user/conf/cis.properties.bak
- Open /usr/lib/vmware-vcops/user/conf/cis.properties file using a text editor.
- Ensure hosts= and MY_LDUID= show the correct cluster name, then save and close the file.
Example: If your cluster name is ops.vcloud.local, then the entries should look like the following:
hosts=opsvcloudlocal,localhost:6061
MY_LDUID=opsvcloudlocal
- Open /usr/lib/vmware-vcops/user/conf/cassandra/cassandra.yaml in a text editor.
- Find the line listen_address: old_IP.
Note: old_IP will be the old IP address assigned to the node.
- Replace old_IP with the new IP address assigned to the node.
Example: listen_address: 192.168.1.10
- Save and close the file.
- Open /etc/apache2/listen.conf in a text editor.
- Find the line Listen old_IP:443.
Note: old_IP will be the old IP address assigned to the node.
- Replace old_IP with the new IP address assigned to the node.
Example: Listen 192.168.1.10:443
- Save and close the file.
- Start the CaSA service:
service vmware-casa start
- Log in to vRealize Operations Manager admin UI as the local admin user.
- Click Bring Online under Cluster Status.
Note: Wait for the Cluster Status to show as Online.