Configuring A Load Script For The Shared Nss Pool - Novell OPEN ENTERPRISE SERVER 2 SP 2 - CLUSTER SERVICES 1.8.7 FOR LINUX Manual

Table of Contents

Advertisement

10.7 Configuring a Load Script for the Shared
NSS Pool
A cluster resource load script is automatically generated for the pool when you cluster-enable it. You
can modify the script as needed to suit your needs by using iManager. For information about how to
access scripts for the cluster resource, see
Resource," on page
121.
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
Addresses, LDAP Server, or Administrator Credentials for a Cluster," on page
If you specified the following values for the variables in the template, your load script would appear
like the script below.
Variable
Cluster resource's virtual server name
Resource IP address
Pool name
Volume name
Volume ID
#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
exit_on_error nss /poolact=SHPOOL43
exit_on_error ncpcon mount SHVOL43=252
exit_on_error add_secondary_ipaddress 10.10.10.43
exit_on_error ncpcon bind --ncpservername=NCS1_SHPOOL43_SERVER --
ipaddress=10.10.10.43
exit 0
If you change the name space for an existing shared volume by using NSSMU or the NSS plug-in
for iManager, you must modify the load script for the pool cluster resource to add the name space to
the
command for the volume. Otherwise, the cluster assumes the default name space
ncpcon mount
for mounting the volume. You can do this by using the
the command. For information about default name spaces for NSS volumes, see
Namespace" in the
OES 2 SP2: NSS File System Administration
For example, to specify the Long name space, add the
ncpcon mount /opt=ns=long <VOLUMENAME>=<VOLUMEID>
For example, to specify the Unix name space, add the
ncpcon mount /opt=ns=unix <VOLUMENAME>=<VOLUMEID>
Section 9.4, "Configuring a Load Script for a Cluster
Section 8.13, "Moving a Cluster, or Changing IP
Your Value
NCS1_SHPOOL43_SERVER
10.10.10.43
SHPOOL43
SHVOL43
252 (valid values are 0 to 254)
/opt=ns=<long|unix|dos|mac>
/opt=ns=long
/opt=ns=unix
Configuring Cluster Resources for Shared NSS Pools and Volumes 149
105.
"Lookup
Guide.
switch as follows:
switch as follows:
switch in

Advertisement

Table of Contents
loading

Table of Contents