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.
04Shutdown the Master Node VM and change its IP address. In vROps, this configuration is part of the VM properties.
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:
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:
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.