How To Change Vrops Master Node IP Address

How To Change Vrops Master Node IP Address

From time to time a change is needed and in the case of vROps, changing the Master Node IP address is not something you will do via the GUI (well, at least not all the configurations 🙂 ).

Note: As always, it’s better to be safe than sorry so don’t be a hero and take a snapshot on vROps virtual machine before you start.

The first thing you need to do is to make sure you bring vROps cluster offline. This can be done via vROps admin UI at https:///admin/

As a result of taking the cluster offline, the Master Node will be brought offline as well.

01

02

03

04Shutdown the Master Node VM and change its IP address. In vROps, this configuration is part of the VM properties.

05

06

Before powering on the VM, make sure to change any DNS A record you might have pointing to the old IP address.

Once the VM is up and running, open SSH console session. If you don’t how to do it, check out my previous post.

10Changing the IP in the VM properties is not enough, we also need to make sure the GemFire and the vROps cluster service are also aware of the change.

Navigate to /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin and run the following script:

./vcopsConfigureRoles.py –adminCS

09If you feel like manual process is your thing (or if you just want to validate the script did its job), edit the IP address in the following 3 configuration files:

/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

10.1
roleState.properties
gemfire.properties
gemfire.properties
persistence.properties
persistence.properties
After the change has been made, all that is left is to login to the admin UI again (using the new IP address of course) and bring the cluster (and the Master Node for that matter) online again.

Leave a Reply

Your email address will not be published. Required fields are marked *