Configuring Virtual Machine Load, Unload, And Monitor Scripts - Novell OPEN ENTERPRISE SERVER 2 SP 2 - CLUSTER SERVICES 1.8.7 FOR LINUX Manual

Table of Contents

Advertisement

12.2.2 Configuring Virtual Machine Load, Unload, and Monitor
Scripts
The Xen resource templates configure the virtual machine resource by automatically creating load,
unload, and monitor scripts, setting failover and failback modes, and assigning the virtual machine
as a resource to all nodes in the cluster.
The load, unload, and monitor scripts for virtual machine cluster resources do not need to be
modified if all the following are true:
The resource name is the same as the virtual machine name.
The configuration filename is the same as the virtual machine name.
The mount point directory name is the same as the virtual machine name.
You are using the Reiser file system.
If you are not modifying the scripts, continue the setup by configuring the resource policies and the
resource server assignments. For information, see
Modes for Cluster Resources," on page 125
page
127.
If you are modifying the scripts, continue with the following sections:
"Configuring the Load Script" on page 184
"Configuring the Unload Script" on page 185
"Configuring the Monitor Script" on page 187
Configuring the Load Script
The virtual machine resource load script page should already be displayed. The load script contains
commands to start the virtual machine. You can customize some commands for your specific
configuration.
1 View and, if necessary, edit the lines in the script for your specific directory structure, mount
point, configuration file, and file system type (in the Xen_Template).
See the following examples of the default Xen_Template and XenLive_Template load scripts:
"Sample Xen_Template Load Script" on page 184
"Sample XenLive_Template Load Script" on page 185
2 Click Next and continue with
Sample Xen_Template Load Script
The Xen_Template load script appears similar to the following example:
184 OES 2 SP2: Novell Cluster Services 1.8.7 for Linux Administration Guide
Section 9.7, "Setting Start, Failover, and Failback
and
Section 9.8, "Assigning Nodes to a Resource," on
"Configuring the Unload Script" on page
185.

Advertisement

Table of Contents
loading

Table of Contents