Novell OPEN ENTERPRISE SERVER 2 SP 2 - CLUSTER SERVICES 1.8.7 FOR LINUX Manual page 186

Table of Contents

Advertisement

See the following examples of the default Xen_Template and XenLive_Template unload
scripts:
"Sample Xen_Template Unload Script" on page 186
"Sample XenLive_Template Unload Script" on page 186
2 Click Next, then continue the setup by configuring the resource policies and the resource server
assignments.
For information, see
Resources," on page 125
3 If you want to enable monitoring for the resource, continue with
Script" on page
Sample Xen_Template Unload Script
The Xen_Template unload script appears similar to the following example:
#!/bin/bash
./opt/novell/ncs/lib/ncsfuncs
# filesystem settings
export OCF_RESKEY_device=/dev/evms/$OCF_RESOURCE_INSTANCE
export OCF_RESKEY_directory=/mnt/$OCF_RESOURCE_INSTANCE
export OCF_RESKEY_fstype=reiserfs
#export OCF_RESKEY_options=
# service settings
export OCF_RESKEY_xmfile=$OCF_RESKEY_directory/$OCF_RESOURCE_INSTANCE
# stop the service
ignore_error ocf_stop Xen
# umount the file system
ignore_error ocf_stop Filesystem
# return status
exit 0
Sample XenLive_Template Unload Script
The XenLive_Template unload script appears similar to the following example:
186 OES 2 SP2: Novell Cluster Services 1.8.7 for Linux Administration Guide
Section 9.7, "Setting Start, Failover, and Failback Modes for Cluster
and
Section 9.8, "Assigning Nodes to a Resource," on page
187.
127.
"Configuring the Monitor

Advertisement

Table of Contents
loading

Table of Contents