Resolution
In case it is needed to move master role to other server and then make its old master Parallels Infrastructure Manager (PIM) as slave on new master PIM node, please use the following procedure (it is applicable for both Linux and Windows platforms):1. Make backup of PIM infrastructure as described here.
2. Check all available node in old master PIM node:
[root@oldmaster ~]# vzagroup list
TITLE STATUS ROLE
oldmaster.hostname online master
slave.hostname online slave
newmaster.hostname online slave
Operation 'list' completed successfully3. On the master node destroy the group by removing all slaves:
[root@oldmaster ~]# vzagroup removeSlave slave.hostname
[root@oldmaster ~]# vzagroup removeSlave newmaster.hostname4. On the slave node (which should be new master node) create new group by adding slaves ('vzagroup' will ask you for credentials):
[root@newmaster ~]# vzagroup addSlave oldmaster.hostname
[root@newmaster ~]# vzagroup addSlave slave.hostnamePlease see another related article for PIM clustering.