User`s guide

Upgrading Nodes in Clusters 24
# ./vzinstall-linux-x86_64.bin install --vzinstall-opts "--clustermode"
If you use the install utility, run this command:
# ./install --clustermode
a If you used the Parallels Infrastructure Manager application for administering your
cluster nodes, you also need to upgrade this application. First of all, update Parallels
Infrastructure Manager to its latest version. When installing Parallels Virtuozzo
Containers 4.6, specify the --pva-agent option, for example:
# ./vzinstall-linux-x86_64.bin install --vzinstall-opts "--clustermode --pva-
agent"
or
# ./install --clustermode --pva-agent
3 Disable the startup of the pvapp and pvaagentd services:
# chkconfig pvapp off
# chkconfig pvaagentd off
For detailed information on installing Parallels Virtuozzo Containers 4.6, see the Parallels
Virtuozzo Containers 4.6 Installation Guide. For upgrade details, see the Upgrading from SWsoft
Virtuozzo 3.0 Service Pack 1 (p. 7) and Upgrading from Parallels Virtuozzo Containers 4.0 (p. 14)
chapters.
Finishing the Upgrade
Once you upgrade all active and passive nodes, configure the cluster configuration file
(/etc/cluster/cluster.conf) as follows:
1 Add to the <resources> section these lines:
<script file="/etc/init.d/pvaagentd" name="pvascr"/>
<script file="/etc/init.d/pvapp" name="ppscr"/>
2 Add to the <service> section of each clustered service these lines:
<script ref="pvascr"/>
<script ref="ppscr"/>
3 Increase the value of the config_version parameter by 1.
4 Save the file, and run the ccs_tool utility to update the cluster configuration.
5 Restart all cluster nodes one by one.
Finally, you need to unfreeze the clustered services on all active nodes:
# clusvcadm -U clustered_service_name
If you used the -l option to lock the clustered service, specify the -u option after clusvcadm
to unlock the service. Unlock all services on all nodes where you locked them.