Change the IP Address of a vRealize Operations Manager 7.x Single Node Deployment
search cancel

Change the IP Address of a vRealize Operations Manager 7.x Single Node Deployment

book

Article ID: 344546

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This article provides steps to change the master node IP address after vRealize Operations Manager is installed and configured in a single-node vRealize Operations Manager vApp or Linux based cluster.

Environment

VMware vRealize Operations Manager 7.5.x
VMware vRealize Operations 8.0.x
VMware vRealize Operations Manager 7.0.x

Resolution

To change the master node IP address:
  1. Log in to vRealize Operations Manager admin UI as the local admin user.
  2. Click Take Offline under Cluster Status.
Note: Wait for Cluster Status to show as Offline.
  1. In vCenter, preform a Guest Shutdown on the master node.
  2. Select the virtual machine and click Edit Settings.
  3. Navigate to vApp Options (Web client) or Options > vApp Options (C# client), and verify that the vApp options are enabled.
  4. Navigate to vApp Options > Networking Properties (Web client) or Options > vApp Options > Properties (C# client), and enter the new IP address.
  5. Power on the master node.
  6. Log in to the console of the vRealize Operations Manager Master node.
  7. 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.
  1. Preform a Guest Restart on the Master node.
  2. Stop the CaSA service:
service vmware-casa stop
  1. Open /storage/db/casa/webapp/hsqldb/casa.db.script in a text editor.
  2. Locate any instances of the old IP address, and update them to the new IP address.
  3. Save and close the file.
  4. Start the CaSA service:
service vmware-casa start
  1. Navigate to the /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin directory.
  2. 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
  1. Open /usr/lib/vmware-vcops/user/conf/gemfire.locator.properties in a text editor.
  2. Locate instances of the old IP address, if any, and update them to the new IP address, then save and close the file.
  3. Open /usr/lib/vmware-vcops/user/conf/gemfire.native.properties in a text editor.
  4. Locate instances of the old IP address, if any, and update them to the new IP address, then save and close the file.
  5. Stop the CaSA service:
service vmware-casa stop
  1. 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
  1. Open /usr/lib/vmware-vcops/user/conf/cis.properties file using a text editor.
  2. 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
  1. Open /usr/lib/vmware-vcops/user/conf/cassandra/cassandra.yaml in a text editor.
  2. Find the line listen_address: old_IP.
Note: old_IP will be the old IP address assigned to the node.
  1. Replace old_IP with the new IP address assigned to the node.
Example: listen_address: 192.168.1.10
  1. Save and close the file.
  2. Open /etc/apache2/listen.conf in a text editor.
  3. Find the line Listen old_IP:443.

    Note:
    old_IP will be the old IP address assigned to the node.
     
  4. Replace old_IP with the new IP address assigned to the node.

    Example:
    Listen 192.168.1.10:443
     
  5. Save and close the file.
  6. Start the CaSA service:
service vmware-casa start
  1. Log in to vRealize Operations Manager admin UI as the local admin user.
  2. Click Bring Online under Cluster Status.
Note: Wait for the Cluster Status to show as Online.

Additional Information

When adding a new node to the cluster, the LDUID on the newly added node should match the LDUID set in /usr/lib/vmware-vcops/user/conf/cis.properties on the other nodes.
 
For translated versions of this article, see: