Previous page

Next page

Locate page in Contents

Print this page

Creating PVA Cluster Services

The configuration procedure supposes the usage of the system-config-cluster utility. This is a Linux default utility, which does not need to be additionally installed.

With this utility, you are to add two more services to the cluster configuration - PVA service and Power Panel service. These services are needed to establish a connection between Parallels Virtual Automation and the clustering service itself.

Upon opening the program, you will see the Cluster tree with the settings that you must have set to synchronize Parallels Virtuozzo Containers with the RHCS Clustering service. By clicking the Managed Resources --> Resources link, you will see the list of already created resource entries. They should be the following:

Note: As well as one cluster is created for one physical node, one cluster should be created for every resource.

The instructions on adding Parallels Virtual Automation scripts to the clustering service comprises the following steps:

Adding Parallels Virtual Automation Script

Perform the following actions to register the PVA script:

  1. Log in to any of the physical servers belonging to the cluster and launch the Cluster Configuration Tool as follows:

    # system-config-cluster

  2. In the utility, choose the Management Resource --> Resources section of the tree and click the Create a Resource link. This ensures that the newly created resource is put into the correct section among other resources. The Resource Configuration windows appears.
  3. Specify the resource configuration information.
  4. Click OK to save the changes. The PVA service script is added to the cluster configuration. Pass on to create the second service script.

Adding Power Panel Script

Perform the same actions to add a Power Panel script to the Management Resource --> Resources section as you did with the Parallels Virtual Automation script.

Adding Dependency Between Virtuozzo Service and PVA Scripts

Switch to the Services section in the Cluster tree. The final step is to set up the correct dependency relations between the newly created PVA cluster scripts and the Virtuozzo services.You are to bind the Parallels Virtual Automation script to the Virtuozzo services, and to bind the Power Panel script to the Parallels Virtual Automation script. This would mean that Virtuozzo services invoke the PVA services every time they are active.

Perform the following actions:

  1. From the Services section, select the Virtuozzo service which should be already created.
  2. Click the Edit Service Properties button. The Service Management window is displayed.
  3. From the Service Resource List, choose the Virtuozzo script and click the Attach a Shared Resource to the selection button. In the picture below, the Virtuozzo service is named vzscr.
  4. From the list of scripts, choose the Parallels Virtual Automation script and add it. The dependency between the PVA script and the Virtuozzo resource is created. The Service Management screen is displayed again.
  5. Bind the Power Panel script with the PVA script by selecting the PVa script in the list of service resources and clicking the Attach a Shared Resource to the selection button.
  6. From the list of scripts, choose the Power Panel script and add it. The dependency between the PP script and the PVA script is created.

    After you have built up all the necessary connections between the scripts, they should have the following look. The vzscr stands for the Virtuozzo services, the pvascr - for the Parallels Virtual Automation services; the pvapp - for the Power Panel services.

    Failover Cluster - creating cependencies

  7. Click Close to save the changed cluster configuration.
  8. Save the current cluster configuration by clicking File --> Save on the main menu of the Cluster Configuration Tool.
  9. Reboot all physical servers in the cluster.

See Also

Deploying RHCS Failover Cluster Support

Please send us your feedback on this help page