3.6 Comparing File Access Protocol Commands in NSS Pool Resource Scripts

3.6.1 File Access Protocol Commands for Load Scripts

This section provides examples of the file access protocol commands for NSS pool cluster resource 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>

3.6.2 File Access Protocol Commands for Unload Scripts

This section provides examples of the Novell AFP commands for NSS pool cluster resource 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>

3.6.3 File Access Protocol Commands for Monitor Scripts

This section provides examples of the Novell AFP commands for NSS pool cluster resource monitor scripts on Linux.

If AFP is enabled as an advertising protocol on an NSS pool cluster resource on NetWare, the AFP monitoring command is added to the new monitor script for the resource on OES.

If CIFS is enabled as an advertising protocol on an NSS pool cluster resource on NetWare, the CIFS monitoring command is added to the new monitor script for the resource on OES.

The default Time-out value for the Monitor script is set to 6 minutes.

Monitoring is disabled while the cluster is in mixed mode. Monitoring can be enabled for the resource after the final cluster conversion is complete. See Enabling Monitoring and Configuring the Monitor Script in the OES 2015 SP1 Beta: Novell Cluster Services for Linux Administration Guide.

NetWare

The Monitor script feature is not available in Novell Cluster Services for NetWare.

Linux

Protocol

Script Command for Load Scripts

NCP

exit_on_error ncpcon volume V_D

Novell AFP

exit_on_error afpstat

Novell CIFS

exit_on_error rcnovell-cifs monitor