84
OES 2 SP2: Novell Cluster Services 1.8.7 for Linux Administration Guide
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
Linux
#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
ignore_error add_secondary_ipaddress 10.1.1.175 -np
exit 0
Master IP Address Resource Unload Script
This section provides examples of the master IP address resource unload scripts on NetWare and
Linux.
NetWare
IGNORE_ERROR HTTPUNBIND 10.1.1.175
IGNORE_ERROR del secondary ipaddress 10.1.1.175
IGNORE_ERROR NUDP DEL BCCP_Cluster 10.1.1.175
IGNORE_ERROR CLUSTER CVSBIND DEL BCCP_Cluster 10.1.1.175
Linux
#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
ignore_error del_secondary_ipaddress 10.1.1.175
exit 0
6.6.3 Comparing NSS Pool Resource Scripts
“NSS Pool Resource Load Script” on page 84
“NSS Pool Resource Unload Script” on page 85
NSS Pool Resource Load Script
This section provides examples of the NSS pool resource load scripts on NetWare and Linux.
NetWare
nss /poolactivate=HOMES_POOL
mount HOMES VOLID=254
CLUSTER CVSBIND ADD BCC_CLUSTER_HOMES_SERVER 10.1.1.180
NUDP ADD BCC_CLUSTER_HOMES_SERVER 10.1.1.180
add secondary ipaddress 10.1.1.180
CIFS ADD .CN=BCC_CLUSTER_HOMES_SERVER.OU=servers.O=lab.T=TEST_TREE.