Hi, Today I installed a new vRops version 8.6, and I realized, that it’s name is photon-machine.
Before I start my cluster, I want to change it.
How?
1- First, SSH to vRops server or appliance address and login as a root user.
2- write this command
$VMWARE_PYTHON_BIN /usr/lib/vmware-vcopssuite/utilities/bin/sethostname.py <NewHostName>
For example:
My old name is photon-machine and I want to change it to vrops01.
$VMWARE_PYTHON_BIN /usr/lib/vmware-vcopssuite/utilities/bin/sethostname.py vrops01
3- After that, Type reboot, then press Enter to reset your server.
4- Use the vRops admin UI to bring the cluster online.
Reference:
https://kb.vmware.com/s/article/2108689
Finish 🙂