
11
Deploying a Failover Cluster
Configuring Partitions on LUNs
Now that you have created all the necessary partitions, perform the following operations on each
active cluster node:
1 Enable the cluster mode, and stop the vz, parallels-server, vzlmond, and PVA Agent services:
# prlsrvctl set --cluster-mode on
# service vz stop
# service parallels-server stop
# service pvaagentd stop
# service pvapp stop
# service vzlmond stop
2 Move the /vz directory to a temporary directory /vz1 and create a new /vz directory:
# mv /vz /vz1; mkdir /vz
3 Mount one of the shared LUN partitions to /vz, for example:
# mount LABEL=psbm-1 /vz
You need to choose a different LUN partition on each cluster node. Let us assume that you
have a cluster with two active nodes and two shared partitions—psbm-1 and psbm-2. In this
case, if you mount the psbm-1 partition to the /vz directory on the first node, you need to
mount the psbm-2 partition to the /vz directory on the second node.
4 Move all data from the temporary /vz1 directory to /vz, and remove /vz1:
# mv /vz1/* /vz/
# rm -rf /vz1
5 If you plan to use Parallels Virtual Automation to manage your cluster node, also run the
following command:
# /opt/pva/agent/bin/pvacluster.sh private
6 Unmount the shared data storage:
# umount /vz
7 Disable the automatic mounting of the /vz partition on the node start. To do this, remove the
information about the /vz partition from the /etc/fstab file.
Komentarze do niniejszej Instrukcji