This section provides examples of the file access protocol commands for NSS pool cluster resource load scripts on NetWare and Linux.
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. |
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> |
This section provides examples of the Novell AFP commands for NSS pool cluster resource unload scripts on NetWare and Linux.
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. |
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> |
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 2018 SP2: OES Cluster Services for Linux Administration Guide.
The Monitor script feature is not available in Novell Cluster Services for NetWare.
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 |