
42
OES Novell Cluster Services 1.8.2 Administration Guide for Linux
no
vd
ocx (
E
NU)
29
Ja
nua
ry
200
7
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
Step 4
.
1
In the left column of the main iManager page, locate
Clusters,
then click the
Cluster Options
link.
2
Enter the cluster name or browse and select it, then check the box next to the resource whose
load script you want to edit and click the
Properties
link.
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.
You can then add any lines to the load script that are required to load needed services like Web
servers, etc.
5
Specify the
Load Script Timeou
t 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.
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
Step 4
.
1
In the left column of the main iManager page, locate
Clusters
, then click the
Cluster Options
link.
2
Enter the cluster name or browse and select it, check the box next to the resource whose unload
script you want to edit, then click the
Properties
link.
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.
You can add any lines to the unload script that are required to unload services that are loaded by
this cluster resource.
5
Specify the
Unload 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.
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
Содержание OPEN ENTERPRISE SERVER CLUSTER SERVICES 1.8.2 - ADMINISTRATION
Страница 4: ...novdocx ENU 29 January 2007...
Страница 8: ...8 OES Novell Cluster Services 1 8 2 Administration Guide for Linux novdocx ENU 29 January 2007...
Страница 14: ...14 OES Novell Cluster Services 1 8 2 Administration Guide for Linux novdocx ENU 29 January 2007...
Страница 16: ...16 OES Novell Cluster Services 1 8 2 Administration Guide for Linux novdocx ENU 29 January 2007...