3.4 Comparing Master IP Address Scripts

IMPORTANT:You can modify the Master IP Address of the cluster only after the cluster conversion is finalized. See Moving a Cluster or Changing IP Addresses of Cluster Nodes and Resources in the OES 11 SP2: Novell Cluster Services for Linux Administration Guide.

3.4.1 Master IP Address Resource Load Script

This section provides examples of the master IP address resource load scripts on NetWare and Linux.

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

3.4.2 Master IP Address Resource Unload Script

This section provides examples of the master IP address resource unload scripts on NetWare and Linux.

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
ignore_error del_secondary_ipaddress 10.1.1.175
exit 0