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://<your Master Node IP>/admin/
As a result of taking the cluster offline, the Master Node will be brought offline as well.
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.
Navigate to /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin and run the following script:
./vcopsConfigureRoles.py –adminCS <Your New Master Node IP>
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.
That’s it – New IP, simple as that…