
Installation and Setup
25
no
vd
ocx (
E
NU)
29
Ja
nua
ry
200
7
Unlike NetWare cluster load and unload scripts which are stored in eDirectory, the Linux cluster
load and unload scripts are stored in files on Linux cluster servers. The files are automatically
updated each time you make changes to resource load and unload scripts for NetWare cluster
resources. The cluster resource name is used in the load and unload script filenames. The path to the
files is
/etc/opt/novell/ncs/
.
The following examples provide a sample comparison between NetWare cluster load and unload
scripts, and their corresponding Linux cluster load and load scripts.
Master IP Address Resource Load Script
NetWare
IGNORE_ERROR set allow ip address duplicates = on
IGNORE_ERROR CLUSTER CVSBIND ADD BCCP_Cluster 10.1.1.175
IGNORE_ERROR NUDP ADD BCCP_Cluster 10.1.1.175
IGNORE_ERROR add secondary ipaddress 10.1.1.175
IGNORE_ERROR HTTPBIND 10.1.1.175 /KEYFILE:"SSL CertificateIP"
IGNORE_ERROR set allow ip address duplicates = off
Linux
#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
ignore_error add_secondary_ipaddress 10.1.1.175 -np
exit 0
Master IP Address Resource Unload Script
NetWare
IGNORE_ERROR HTTPUNBIND 10.1.1.175
IGNORE_ERROR del secondary ipaddress 10.1.1.175
IGNORE_ERROR NUDP DEL BCCP_Cluster 10.1.1.175
IGNORE_ERROR CLUSTER CVSBIND DEL BCCP_Cluster 10.1.1.175
Linux
#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
Replace
NUDP ADD
clusterservername ipaddress
exit_on_error ncpcon bind --
ncpservername=
ncpservername
--
ipaddress=
ipaddress
Replace
NUDP DEL
clusterservername ipaddress
ignore_error ncpcon unbind --
ncpservername=
ncpservername
--
ipaddress=
ipaddress
Delete
CLUSTER CVSBIND (deletes entire line)
Delete
CIFS (deletes entire line)
Action
NetWare Cluster Command
Linux Cluster Command