Novell OPEN ENTERPRISE SERVER 2 SP 2 - CLUSTER SERVICES 1.8.7 FOR LINUX Manual page 86

Table of Contents

Advertisement

Protocol
Novell CIFS
Linux
Protocol
NCP
Novell AFP
Novell CIFS
File Access Protocol Resource Unload Scripts
This section provides examples of the Novell AFP commands for unload scripts on NetWare and
Linux.
NetWare
Protocol
NCP
Novell AFP
Novell CIFS
Linux
Protocol
NCP
Novell AFP
Novell CIFS
86
OES 2 SP2: Novell Cluster Services 1.8.7 for Linux Administration Guide
Script Command for Load Scripts
CIFS ADD .CN=NCS1_P1_SERVER.O=novell.T=CLUSTER.
Script Command for Load Scripts
# mount the NCP volume
exit_on_error ncpcon mount $NCP_VOLUME=VOL_ID,PATH=$MOUNT_POINT
exit_on_error ncpcon bind --ncpservername=NCS1_P1_SERVER
--ipaddress=10.10.10.194
exit_on_error cluster_afp.sh add NCS1_P1_SERVER 10.10.10.204
exit_on_error novcifs --add
--vserver=.CN=NCS1_P1_SERVER.O=novell.T=TREE-188. --ip-
addr=$CIFS_IP
Script Command for Unload Scripts
NUDP DEL NCS1_P1_SERVER 10.10.10.194
AFPBIND DEL NCS1_P1_SERVER 10.10.10.204
CIFS DEL .CN=NCS1_P1_SERVER.O=novell.T=CLUSTER.
Script Command for Unload Scripts
ignore_error ncpcon unbind --ncpservername=NCS1_P1_SERVER
--ipaddress=10.10.10.194
# dismount the NCP volume
ignore_error ncpcon dismount $NCP_VOLUME
ignore_error cluster_afp.sh del NCS1_P1_SERVER 10.10.10.204
ignore_error novcifs --remove
--vserver=.CN=NCS1_P1_SERVER.O=novell.T=TREE-188.
--ip-addr=$CIFS_IP
ignore_error nss /pooldeact=OESPOOL /overridetype=question

Advertisement

Table of Contents
loading

Table of Contents