Article ID: 6744, created on Oct 5, 2009, last review on Aug 12, 2014

  • Applies to:
  • Virtuozzo containers Tools

Resolution

In 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.

dec9992cb67244932723f716e20b57d9 d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF