Creating Cluster Resource Templates - Novell OPEN ENTERPRISE SERVER CLUSTER SERVICES 1.8.2 - ADMINISTRATION Manual

Table of Contents

Advertisement

In the above example, if you specified
123.123.12.12 as the IP address
cont1 as the container name
/mnt/vol_onemount as the mount point
Your unload 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 container name
container_name=cont1
# define the mount point
MOUNT_POINT=/mnt/vol_onemount
#dismount the volume
exit_on_error ncs_dismount $MOUNT_POINT
# del the IP address
ignore_error del_secondary_ipaddress $RESOURCE_IP
# deport the container
exit_on_error deport_evms_container $container_name
# return status
exit 0

3.7.7 Creating Cluster Resource Templates

Templates simplify the process of creating similar or identical cluster resources. For example,
templates are helpful when you want to create multiple instances of the same resource on different
servers. You can create templates for any server application or resource you want to add to your
cluster.
Novell Cluster Services provides the following cluster resource templates:
1 Start your Internet browser and enter the URL for iManager.
40
OES Novell Cluster Services 1.8.2 Administration Guide for Linux
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.
DHCP
DNS
iFolder 2
iPrint
MYSQL
Samba
Generic IP SERVICE
This template can be modified to create cluster resources for certain server applications that run
on your cluster.

Advertisement

Table of Contents
loading

Table of Contents