Comparing File Access Protocol Resource Script Commands - Novell OPEN ENTERPRISE SERVER 2 SP 2 - CLUSTER SERVICES 1.8.7 FOR LINUX Manual

Table of Contents

Advertisement

Linux
#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
exit_on_error nss /poolact=HOMES_POOL
exit_on_error ncpcon mount HOMES=254
exit_on_error add_secondary_ipaddress 10.1.1.180
exit_on_error ncpcon bind --ncpservername=BCC_CLUSTER_HOMES_SERVER
--ipaddress=10.1.1.180
exit 0
NSS Pool Resource Unload Script
This section provides examples of the NSS pool resource unload scripts on NetWare and Linux.
NetWare
del secondary ipaddress 10.1.1.180
CLUSTER CVSBIND DEL BCC_CLUSTER_HOMES_SERVER 10.1.1.180
NUDP DEL BCC_CLUSTER_HOMES_SERVER 10.1.1.180
nss /pooldeactivate=HOMES_POOL /overridetype=question
CIFS DEL .CN=BCC_CLUSTER_HOMES_SERVER.OU=servers.O=lab.T=TEST_TREE.
Linux
#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
ignore_error ncpcon unbind --ncpservername=BCC_CLUSTER_HOMES_SERVER
--ipaddress=10.1.1.180
ignore_error del_secondary_ipaddress 10.1.1.180
ignore_error nss /pooldeact=HOMES_POOL
exit 0
6.6.4 Comparing File Access Protocol Resource Script
Commands
"File Access Protocol Resource Load Scripts" on page 85
"File Access Protocol Resource Unload Scripts" on page 86
File Access Protocol Resource Load Scripts
This section provides examples of the file access protocol commands for load scripts on NetWare
and Linux.
NetWare
Protocol
Script Command for Load Scripts
NCP
TM
NUDP ADD NCS1_P1_SERVER 10.10.10.194
Novell AFP
AFPBIND ADD NCS1_P1_SERVER 10.10.10.204
Converting NetWare 6.5 Clusters to OES 2 Linux
85

Advertisement

Table of Contents
loading

Table of Contents