ResolutionIn case it is necessary to move a master role to another server and then make its old master Parallels Infrastructure Manager (PIM) a slave on the new master PIM node, please use the following procedure (it is applicable to both the Linux and Windows platforms):
1. Make a backup of the PIM infrastructure as described here.
2. Check all available nodes in the 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 successfully
3. On the master node, destroy the group by removing all of the slaves:
[root@oldmaster ~]# vzagroup removeSlave slave.hostname
[root@oldmaster ~]# vzagroup removeSlave newmaster.hostname
4. On the slave node (which should be the new master node), create a new group by adding the slaves (vzagroup will ask you for credentials):
[root@newmaster ~]# vzagroup addSlave oldmaster.hostname
[root@newmaster ~]# vzagroup addSlave slave.hostname
Please also see this related article about PIM clustering.