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:
# system-config-cluster
/etc/init.d/pvaagentd. This location is created during the PVA Agent installation and should be necessarily specified in this field.
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:
vzscr.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.
