4.6 Comparing File Access Protocol Resource Script Commands

4.6.1 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

NUDP ADD NCS1_P1_SERVER 10.10.10.194

Novell AFP

AFPBIND ADD NCS1_P1_SERVER 10.10.10.204

Novell CIFS

CIFS ADD .CN=NCS1_P1_SERVER.O=novell.T=CLUSTER.

Linux

Protocol

Script Command for Load Scripts

NCP

# 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

Novell AFP

exit_on_error cluster_afp.sh add NCS1_P1_SERVER 10.10.10.204

Novell CIFS

exit_on_error novcifs --add ‑‑vserver=.CN=NCS1_P1_SERVER.O=novell.T=TREE-188. ‑‑ip-addr=<virtual_server_ip_address>

4.6.2 File Access Protocol Resource Unload Scripts

This section provides examples of the Novell AFP commands for unload scripts on NetWare and Linux.

NetWare

Protocol

Script Command for Unload Scripts

NCP

NUDP DEL NCS1_P1_SERVER 10.10.10.194

Novell AFP

AFPBIND DEL NCS1_P1_SERVER 10.10.10.204

Novell CIFS

CIFS DEL .CN=NCS1_P1_SERVER.O=novell.T=TREE-188.

Linux

Protocol

Script Command for Unload Scripts

NCP

ignore_error ncpcon unbind --ncpservername=NCS1_P1_SERVER ‑‑ipaddress=10.10.10.194

# dismount the NCP volume
ignore_error ncpcon dismount $NCP_VOLUME

Novell AFP

ignore_error cluster_afp.sh del NCS1_P1_SERVER 10.10.10.204

Novell CIFS

ignore_error novcifs --remove ‑‑vserver=.CN=NCS1_P1_SERVER.O=novell.T=TREE-188. ‑‑ip‑addr=<virtual_server_ip_address>