Previous page

Next page

Locate page in Contents

Print this page

Setting Up Red Hat Cluster

After you have successfully installed the clustering software on each cluster node, you should set up a Red Hat cluster that will ensure the high-availability of your Virtuozzo Containers 4.0 installations. You can use one of the following tools to set up a new cluster:

The example below demonstrates how to set up a new Red Hat cluster using the system-config-cluster cluster configuration GUI tool:

  1. Log in to any of you cluster nodes (this node should have the 'X-Window' component installed) and launch the Cluster Configuration Tool as follows:

    # system-config-cluster

  2. Your further steps will be different depending on whether you are starting the tool for the first time or have already launched it before:
  3. In the New Configuration window, enter a descriptive name for the cluster in the field provided and click OK. Please keep in mind that you will need to specify this name when creating a GFS file system with the gfs_mkfs utility. Please see Step 4 in the Configuring Shared Storage subsection for more information.
  4. Set one or more fence devices for the cluster:
  5. Add all your Virtuozzo servers to the cluster:
  6. Add one or more failover domains to the cluster. This step is optional and should be performed if you wish to specify one or more subsets of cluster nodes that will be eligible to run the corresponding cluster services. For more information on cluster services, please refer to the Creating and Configuring Cluster Services subsection.
  7. Save the current cluster configuration by clicking File --> Save on the main menu of the Cluster Configuration Tool. By default, you are offered to save the cluster configuration into the cluster.conf file in the /etc/cluster directory. Click OK to confirm the offered file name and location or change them to your preference.
  8. Distribute the cluster configuration file (/etc/cluster/cluster.conf by default) to all nodes in the cluster. For example, you can do it using the scp utility.
  9. Start the Red Hat clustering service on each server in the cluster by executing the following command:

    # service cman start

Please send us your feedback on this help page