A load script is required for each resource, service, disk, or pool in your cluster. The load script specifies the commands to start the resource or service on a server.
Example load scripts are available in the following sections:
If you are creating a new cluster resource, the load script page should already be displayed. You can start with Step 5.
In iManager, clickthen click .
Browse to locate and select the Cluster object of the cluster you want to manage.
Select the check box next to the resource whose load script you want to edit, then click thelink.
Click thetab, then click the link.
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, and so on.
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 Section 8.9, Moving a Cluster, or Changing IP Addresses, LDAP Server, or Administrator Credentials for a Cluster.
Specify thevalue, then click to save the script or, if you are creating a new cluster resource, click .
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.
The timeout value is applied only when the resource is migrated to another node. It is not used during resource online/offline procedures.
Do one of the following:
If you are configuring a new resource, click Section 10.5, Configuring an Unload Script for a Cluster Resource., then continue with
Clickto save your changes.
Changes for a resource’s properties are not applied while the resource is loaded or running on a server. You must offline, then online the resource to activate the changes for the resource.