csmport -i fails with "Cluster ID doesn't match."

  • 7014770
  • 20-Mar-2014
  • 20-Mar-2014

Environment

Novell Open Enterprise Server 11 (OES 11) Linux Support Pack 1
Novell Open Enterprise Server 11 (OES 11) Linux Support Pack 2
Novell Cluster Services 2.x

Situation

csmport -i fails with error: "Cluster ID doesn't match. On disk = 4011314305, in memory = -283542991"

Resolution

This might be caused by a bug in csmport where it doesn't properly handle a negative Panning ID.  This is fixed in novell-cluster-services-2.1.0.904-0 for OES11-SP1.

Additional Information

The "in memory" value is the Novell Cluster Services Panning ID and is cached in /var/opt/novell/ncs/gipc.conf.  These steps can be used to modify the Panning ID

- In iManager open the properties of the cluster services object
- Within the NCS:GIPC Config attribute, change the Panning ID to match the value on disk
- Stop novell-ncs on all cluster nodes (NCS must be unloaded on all nodes at the same time)
- Load novell-ncs on all cluster nodes

See KB 3075104 for more information on modifying the Panning ID.


The "on disk" value is stored at the beginning of the device.  These steps can be used to view and modify the value on disk.

- Read the info from disk and write it to a file, such as /tmp/csm
     dd iflag=direct count=1 bs=512 if=/dev/sdi | xxd > /tmp/csm  (replace /dev/sdi with the correct device)
- Make a backup copy of /tmp/csm
- Modify /tmp/csm and change the codes in the middle to reflect the correct HEX values for the Panning ID
- Write the contents of /tmp/csm to disk
     xxd -r /tmp/csm | dd oflag=direct count=1 bs=512 of=/dev/sdi  (replace /dev/sdi with the correct device)