[Linux-HA] Node ha2 is not sync with node ha1

Ahmed Munir ahmedmunir007 at gmail.com
Wed Jul 22 02:02:12 MDT 2009


Hi all,
Hoping you all fine. I've got 2 machines and I've installed Linux HA and
OpenSIPs on them and configured them as an active-active scenario. Machine 1
named ha1, is assigned with virtual IP 192.168.0.184 and machine 2 named
ha2, is assigned with virtual IP 192.168.0.185.

The integration between HA and OpenSIPs is working fine. Like if I stop the
service of  HA, machine ha1 comes down, its resources are taken by machine
ha2 and when ha1 comes online, ha1 take its resources back from machine ha2
and vice versa.

If I turn off ha1 machine its resources are taken by machine ha2 and
when ha1 comes online, ha1 take its resources back from machine ha2 which is
working fine. But when I turn off ha2 machine its resources are taken by
machine ha1 and when ha2 comes online, and I check the status of ha2 using
crm_mon command,
it shows me weird status as I'm listing down below;

On ha1 machine;

Node: ha1 (e651c120-b9a1-489a-baf7-caf0028ad540): online
Node: ha2 (70503c2e-bb4a-48f8-aab3-53696656a4d0): offline

IPaddr_1           (heartbeat::ocf:IPaddr):        Started ha1
IPaddr_2           (heartbeat::ocf:IPaddr):        Started ha1
OpenSips_1      (heartbeat::ocf:OpenSips):      Started ha1
OpenSips_2      (heartbeat::ocf:OpenSips):      Started ha1

On ha2 machine;

Node: ha1 (e651c120-b9a1-489a-baf7-caf0028ad540): offline
Node: ha2 (70503c2e-bb4a-48f8-aab3-53696656a4d0): online

IPaddr_1           (heartbeat::ocf:IPaddr):        Started ha2
IPaddr_2           (heartbeat::ocf:IPaddr):        Started ha2
OpenSips_1      (heartbeat::ocf:OpenSips):      Started ha2
OpenSips_2      (heartbeat::ocf:OpenSips):      Started ha2

Or sometimes on ha2 machine;

Node: ha1 (e651c120-b9a1-489a-baf7-caf0028ad540): online
Node: ha2 (70503c2e-bb4a-48f8-aab3-53696656a4d0): offline

IPaddr_1           (heartbeat::ocf:IPaddr):        Started ha1
IPaddr_2           (heartbeat::ocf:IPaddr):        Started ha1
OpenSips_1      (heartbeat::ocf:OpenSips):      Started ha1
OpenSips_2      (heartbeat::ocf:OpenSips):      Started ha1

After that I've checked logs and I'm getting these errors as listed below;

Jul 22 14:12:06 ha1 cib: [9978]: WARN: cib_peer_callback: Discarding
cib_apply_diff message (3a9) from ha2: not in our membership
Jul 22 14:12:06 ha1 cib: [9978]: WARN: cib_peer_callback: Discarding
cib_apply_diff message (3aa) from ha2: not in our membership
Jul 22 14:12:06 ha1 cib: [9978]: WARN: cib_peer_callback: Discarding
cib_apply_diff message (3ab) from ha2: not in our membership
Jul 22 14:12:06 ha1 cib: [9978]: WARN: cib_peer_callback: Discarding
cib_apply_diff message (3ac) from ha2: not in our membership
Jul 22 14:12:06 ha1 cib: [9978]: WARN: cib_peer_callback: Discarding
cib_apply_diff message (3ad) from ha2: not in our membership
Jul 22 14:12:07 ha1 cib: [9978]: WARN: cib_peer_callback: Discarding
cib_apply_diff message (3b0) from ha2: not in our membership
Jul 22 14:12:07 ha1 ccm: [9977]: ERROR: llm_set_uptime: Negative uptime
-1778384896 for node 0 [ha1]
Jul 22 14:12:07 ha1 ccm: [9977]: ERROR: llm_set_uptime: Negative uptime
-1879048192 for node 1 [ha2]

Even I've configured same settings on both machines but I don't know  why
I'm getting these errors.

Further added I'm attaching cib.xml, OpenSips (which I created resource file
for OpenSIPs), ha.cf and log files. Kindly do have a look and update
me ASAP.


-- 
Regards,

Ahmed Munir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cib.xml
Type: text/xml
Size: 7032 bytes
Desc: not available
Url : http://lists.linux-ha.org/pipermail/linux-ha/attachments/20090722/d5660e21/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenSips
Type: application/octet-stream
Size: 3276 bytes
Desc: not available
Url : http://lists.linux-ha.org/pipermail/linux-ha/attachments/20090722/d5660e21/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ha.cf
Type: application/octet-stream
Size: 11229 bytes
Desc: not available
Url : http://lists.linux-ha.org/pipermail/linux-ha/attachments/20090722/d5660e21/attachment-0004.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log
Type: application/octet-stream
Size: 33933 bytes
Desc: not available
Url : http://lists.linux-ha.org/pipermail/linux-ha/attachments/20090722/d5660e21/attachment-0005.obj 


More information about the Linux-HA mailing list