Sample Scripts For A Linux Posix Volume Cluster Resource - Novell OPEN ENTERPRISE SERVER 2 SP 2 - CLUSTER SERVICES 1.8.7 FOR LINUX Manual

Table of Contents

Advertisement

9 In iManager, modify the load script for the Linux POSIX volume cluster resource by adding a
line that binds the virtual NCP server name to the IP address.
For example, if you named the virtual server's Server object as
the IP address of the cluster resource is 10.10.10.44, add the following lines:
# define NCP server name
NCP_SERVER=CLUS1_SHVOL44_SERVER
# define resource IP address
RESOURCE_IP=10.10.10.44
# bind the NCP volume
exit_on_error ncpcon bind --ncpservername=$NCP_SERVER --
ipaddress=$RESOURCE_IP
10 In iManager, modify the unload script for the Linux POSIX volume cluster resource by adding
a line that unbinds the virtual NCP server name from the IP address.
For example, if you named the virtual server's Server object as
the IP address of the cluster resource is 10.10.10.44, add the following lines:
# define NCP server name
NCP_SERVER=CLUS1_SHVOL44_SERVER
# define resource IP address
RESOURCE_IP=10.10.10.44
# unbind the NCP volume
ignore_error ncpcon unbind --ncpservername=$NCP_SERVER --
ipaddress=$RESOURCE_IP
11.5 Sample Scripts for a Linux POSIX Volume
Cluster Resource
The scripts in this section are based on the sample values in the following table. Make sure to
replace the sample values with the ones you used in your solution.
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 later need to modify the IP address, administrator credentials, or other attributes of an existing
resource, follow the procedure in
LDAP Server, or Administrator Credentials for a Cluster," on page
Variable
RESOURCE_IP
container_name
172 OES 2 SP2: Novell Cluster Services 1.8.7 for Linux Administration Guide
Section 8.13, "Moving a Cluster, or Changing IP Addresses,
Template Value
a.b.c.d
name
CLUS1_SHVOL44_SERVER
CLUS1_SHVOL44_SERVER
105.
Sample Value
10.10.10.44
csm44
, and
, and
Description
IP address of the virtual
cluster server for this
cluster resource
The name you gave to
the cluster segment
manager.

Advertisement

Table of Contents
loading

Table of Contents