The cluster Master_IP_Address_Resource scripts are blank

  • 7006781
  • 03-Sep-2010
  • 08-Nov-2012

Environment

Novell Cluster Services 1.8.4
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 2

Situation

There is a bug that if you look at the "Master_IP_Address_Resource" Properties in iManager and then hit the "OK" or "Apply" button that it will clear out the Master_IP_Address_Resource scripts.

This will only take effect the next time the resource is migrated so it may be some time before you notice any problems.  The resource will still come online, the problem is that the IP address will no longer be bound.  This will cause a "file protocol error ..." when you try to manage the cluster in iManager.

Resolution

  1. In iManager select "Directory Administration" then "Modify Object" then select the "Master_IP_Address_Resource" object.
  2. Highlight the NCS:CRM Load Script and choose the "Edit..." button.
  3. Copy in the below corresponding script and modify the IP Address to be you Master IP Address for your cluster.
  4. Modify the NCS:CRM Monitor Script the same way.
  5. Modify the NCS:CRM Unload Script the same way.
  6. Select "OK" or "Apply"
  7. Do a cluster leave on the server that is currently running the Master_IP_Address_Resource.  This will migrate the resource to a different node and load up the new load script.
Master_IP_Address_Resource.load
#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
ignore_error add_secondary_ipaddress 151.155.132.80 -np

Master_IP_Address_Resource.monitor
#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
exit_on_error status_secondary_ipaddress 151.155.132.80

Master_IP_Address_Resource.unload
#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
ignore_error del_secondary_ipaddress 151.155.132.80
exit 0

Additional Information

The bug is in the novell-plugin-cluster-services-3.3.282-0.5 RPM
In iManager the installed Novell Plug-in Module will list it as:
  Cluster Services  3.3.0.20091012  Cluster Services Management Plugin

The fix will be in the novell-plugin-cluster-services-3.3.313-0.6.1 RPM version and higher.  After the updated novell-plugin-cluster-services RPM is installed you will need to update the cluster services plug-in inside of iManager.
  1. In iManager select the "configure" icon from the top, it looks like a person sitting at a desk.
  2. Under "Plug-in Installation" select "Available Novell Plug-in Modules"
  3. Check the "Cluster Services" plugin and select "Install".  The plug-in module should then install successfully.
  4. "Close"
  5. You will get a message to restart tomcat.  Do this with "rcnovell-tomcat5 restart"