[How to] How to find out the IP address of master node or unregister slave node from Virtuozzo group without access to master node.
It is not possible to login to PIM, the following error is displayed:
The Node you are trying to log in to is a Slave Node of a Virtuozzo Group. Only the address of the Master Node of this Group can be used for logging in.
The IP of master node is unknown or it is not possible to unregister the slave node.
The IP address of master node can be found out using vzagroup utility, e.g. on Virtuozzo for Linux node:
# /opt/vzagent/bin/vzagroup list
The same utility can be used to force unregistering slave node from group – “vzagroup removeFromGroup” command should be used in this case.
Additional information
Other options are available from built-in help, which is shown when utility is invoked with no parameters:
# /opt/vzagent/bin/vzagroup
Master node commands:
vzagroup addSlave [–force] USER[:PASSWORD]@ADDRESS
vzagroup removeSlave USER[:PASSWORD]@ADDRESS
vzagroup list
Note: credentials should be specified to connect to slave
Slave or single node commands:
vzagroup addToGroup USER[:PASSWORD]@ADDRESS
vzagroup removeFromGroup
Note: master node credentials should be specified