Sunday 30 January 2011

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
Master node commands:
Note: master node credentials should be specified
Note: master node credentials should be specified

Other options are available from built-in help, which is shown when utility is invoked with no parameters:
# /opt/vzagent/bin/vzagroup

Usage: vzagroup
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

Slave or single node commands:
vzagroup addToGroup USER[:PASSWORD]@ADDRESS

vzagroup removeFromGroup

No comments:

Post a Comment