Configuring An Unload Script For A Cluster Resource - Novell OPEN ENTERPRISE SERVER 2 SP 2 - CLUSTER SERVICES 1.8.7 FOR LINUX Manual

Table of Contents

Advertisement

You can then add any lines to the load script that are required to load needed services like Web
servers, etc.
You also need to personalize the script by replacing variables with actual values for your
specific configuration, such as the mount point, IP address, container name, file system type,
and device.
IMPORTANT: Do not comment out commands that are automatically generated for
parameters that define the cluster resource, such as the mount point, IP address, container
name, file system type, and device. If you need to modify the IP address, administrator
credentials, or other attributes of an existing resource, follow the procedure in
"Moving a Cluster, or Changing IP Addresses, LDAP Server, or Administrator Credentials for
a Cluster," on page
6 Specify the Load Script Timeout value, then click Apply to save the script or, if you are creating
a new cluster resource, click Next.
The timeout value determines how much time the script is given to complete. If the script does
not complete within the specified time, the resource becomes comatose. Cluster Services marks
the process as failed right after the defined timeout expires, but it must wait for the process to
conclude before it can start other resource operations.
7 If you are creating a new cluster resource, continue with
Script for a Cluster Resource," on page
9.5 Configuring an Unload Script for a Cluster
Resource
Depending on your cluster application or resource, you can add an unload script to specify how the
application or resource should terminate. An unload script is not required by all resources, but is
required for cluster-enabled Linux partitions. Consult your application vendor or documentation to
determine if you should add commands to unload the resource.
Example unload scripts are available in the following sections:
Section 10.8, "Configuring an Unload Script for the Shared NSS Pool," on page 150
Section 11.5.2, "Sample Unload Script for the Linux POSIX Volume Cluster Resource," on
page 175
If you are creating a new cluster resource, the unload script page should already be displayed. You
can start with
1 In the left column of the main iManager page, locate Clusters, then click the Cluster Options
link.
2 Browse to locate and select the Cluster object of the cluster you want to manage.
3 Select the check box next to the resource whose unload script you want to edit, then click the
Details link.
4 Click the Scripts tab, then click the Unload Script link.
5 Edit or add the necessary commands to the script to unload the resource on the server.
You can add any lines to the unload script that are required to unload services that are loaded by
this cluster resource.
122 OES 2 SP2: Novell Cluster Services 1.8.7 for Linux Administration Guide
105.
Step
5.
Section 9.5, "Configuring an Unload
122.
Section 8.13,

Advertisement

Table of Contents
loading

Table of Contents