5 Specify the Load Script Timeout value, then click Apply to save the script or, if you are creating
In the above example, if you specified
123.123.12.12 as the IP address
reiserfs as the file system type
cont1 as the container name
vol_one as the device
/mnt/vol_onemount as the mount point
your load script would appear like the script below.
#! /bin/bash
. /opt/novell/ncs/lib/ncsfuncs
# define the IP address
RESOURCE_IP=123.123.12.12
# define the file system type
MOUNT_FS=reiserfs
#define the container name
container_name=cont1
# define the device
MOUNT_DEV=/dev/evms/$container_name/vol_one
# define the mount point
MOUNT_POINT=/mnt/vol_onemount
#activate the container
exit_on_error activate_evms_container $container_name $MOUNT_DEV
38
OES Novell Cluster Services 1.8.2 Administration Guide for Linux
#define the container name
container_name=name
# define the device
MOUNT_DEV=/dev/evms/$container_name/volume_name
# define the mount point
MOUNT_POINT=/mnt/mount_point
#activate the container
exit_on_error activate_evms_container $container_name $MOUNT_DEV
# mount the file system
ignore_error mkdir -p $MOUNT_POINT
exit_on_error mount -t $MOUNT_FS $MOUNT_DEV $MOUNT_POINT
# add the IP address
exit_on_error add_secondary_ipaddress $RESOURCE_IP
exit 0
The first section of the above load script example contains mount point, IP address, container
name, and file system type/device variables that you must change to customize the script for
your specific configuration.
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.
Need help?
Do you have a question about the OPEN ENTERPRISE SERVER CLUSTER SERVICES 1.8.2 - ADMINISTRATION and is the answer not in the manual?
Questions and answers