120
OES 2 SP2: Novell Cluster Services 1.8.7 for Linux Administration Guide
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
11
On the Unload Script page, configure the unload script for the cluster resource template.
11a
Edit or add variables with example values for your template configuration, such as the
mount point, IP address, container name, file system type, and device.
11b
Edit or add the necessary commands to the script to unload the resource from the server.
For example, this might include unbind command for the NCP service and the dismount
commands for the shared disks and file systems.
11c
Edit or add any lines to the unload script that are required to unload the dependent services
that are loaded by this cluster resource.
11d
Specify the default
Unload Script Timeout
value, then click
Next
to continue to the
Monitor Script page.
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 when
migrating to another node. 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.
12
On the Monitor Script page, configure the monitor script for the cluster resource template.
12a
Edit or add the variables with example values for your template configuration, such as the
mount point, IP address, container name, file system type, and device.
12b
Edit or add the necessary commands to the script to monitor the resource on the server.
You can use the same commands that are used at the Linux terminal console.
The resource templates included with Novell Cluster Services for Linux include resource
monitoring scripts that you can customize.
12c
Specify the default
Monitor Script Timeout
value, then 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 failure action the administrator chooses
for monitoring (comatose or migrate) initiates. 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.
13
On the Resource Policies page, specify the default
Start
,
Failover
, and
Failback
modes, then
click
Next.
14
On the Resource Preferred Nodes page, specify the node assignments for the resource template,
then click
Finish
.
The template you created is saved to the Cluster container of the cluster you selected. If you
personalized an existing template, both the old template and the new template are in the
container.
9.3 Creating Cluster Resources
Cluster resources must be created for every resource or application you run on servers in your
cluster. Cluster resources can include Web sites, e-mail servers, databases, and any other server-
based applications or services you want to make available to users at all times.
1
Start your Internet browser and enter the URL for iManager.