
14
Deploying a Failover Cluster
Creating and Configuring a Failover Cluster
Before you start creating and configuring the failover cluster, perform the operations below.
On each active node:
1 Make sure the vz and parallels-server services are stopped and disable them:
# service vz stop
# service parallels-server stop
# chkconfig vz off
# chkconfig parallels-server off
2 Edit the /usr/share/cluster/fs.sh script by locating the following string in this script
<parameter name="mountpoint" unique="1" required="1">
and setting the value of the unique parameter to 0:
<parameter name="mountpoint" unique="0" required="1">
On each passive node:
1 Enable the cluster mode, stop the vz and parallels-server services if they are running, and
disable them:
# prlsrvctl set --cluster-mode on
# service vz stop
# service parallels-server stop
# chkconfig vz off
# chkconfig parallels-server off
2 Edit the /usr/share/cluster/fs.sh script by locating the following string in this script
<parameter name="mountpoint" unique="1" required="1">
and setting the value of the unique parameter to 0:
<parameter name="mountpoint" unique="0" required="1">
3 If you have created the /vz partition when installing Parallels Server Bare Metal, also ensure
that the /vz partition is unmounted. If it is not, unmount the partition:
# umount /vz
4 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.
Creating the Cluster
Now you can start creating the failover cluster. The example below demonstrates how to set up a
new cluster using the ccs_tool command-line tool:
1 Log in to any of your cluster nodes, and create a configuration file for the cluster, for example:
# ccs_tool create psbmCluster
This command creates a new configuration file for the psbmCluster cluster with the default
path /etc/cluster/cluster.conf.
Komentarze do niniejszej Instrukcji