Configuring Load Scripts; Configuring Unload Scripts; Setting Start, Failover, And Failback Modes - Novell OPEN ENTERPRISE SERVER CLUSTER SERVICES 1.8.2 - ADMINISTRATION Manual

Table of Contents

Advertisement

3.7.9 Configuring Load Scripts

A load script is required for each resource, service, or disk pool in your cluster. The load script
specifies the commands to start the resource or service on a server.
If you are creating a new cluster resource, the load 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
2 Enter the cluster name or browse and select it, then check the box next to the resource whose
3 Click the Scripts tab, then click the Load Script link.
4 Edit or add the necessary commands to the script to load the resource on the server.
5 Specify the Load Script Timeout value, then click Apply to save the script or, if you are creating

3.7.10 Configuring Unload Scripts

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.
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
2 Enter the cluster name or browse and select it, check the box next to the resource whose unload
3 Click the Scripts tab, then click the Unload Script link.
4 Edit or add the necessary commands to the script to unload the resource on the server.
5 Specify the Unload Script Timeout value, then click Apply to save the script or, if you are

3.7.11 Setting Start, Failover, and Failback Modes

You can configure the start, failover, and failback of cluster resources to happen manually or
automatically. With the resource Start Mode set to AUTO, the resource automatically starts on a
42
OES Novell Cluster Services 1.8.2 Administration Guide for Linux
Step
4.
link.
load script you want to edit and click the Properties link.
You can then add any lines to the load script that are required to load needed services like Web
servers, etc.
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.
Step
4.
link.
script you want to edit, then click the Properties link.
You can add any lines to the unload script that are required to unload services that are loaded by
this cluster resource.
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.

Advertisement

Table of Contents
loading

Table of Contents