I'm beginning to test HA clusters with GNU/Linux and for that I decided
to try Pacemaker + Corosync in Debian Lenny following this [1] howto.
Both packages were installed from the Backports repositories. But I am
observing that if after configuration I reboot a node, it fails to join
to the cluster after the boot.
This is what I see in /var/log/daemon.log:
--------------------------------------------------------------------------
Dec 19 17:13:13 atlantis corosync[1508]: [pcmk ] WARN: route_ais_message: Sending message to local.crmd failed: unknown (rc=-2)
Dec 19 17:13:13 atlantis corosync[1508]: [pcmk ] WARN: route_ais_message: Sending message to local.cib failed: unknown (rc=-2)
Dec 19 17:13:13 atlantis corosync[1508]: [pcmk ] WARN: route_ais_message: Sending message to local.attrd failed: unknown (rc=-2)
Dec 19 17:13:13 atlantis corosync[1508]: [pcmk ] WARN: route_ais_message: Sending message to local.cib failed: unknown (rc=-2)
Dec 19 17:13:14 atlantis corosync[1508]: [pcmk ] WARN: route_ais_message: Sending message to local.cib failed: unknown (rc=-2)
Dec 19 17:13:14 atlantis corosync[1508]: [pcmk ] WARN: route_ais_message: Sending message to local.cib failed: unknown (rc=-2)
Dec 19 17:13:21 atlantis corosync[1508]: [TOTEM ] A processor failed, forming new configuration.
Dec 19 17:13:25 atlantis corosync[1508]: [pcmk ] notice: pcmk_peer_update: Transitional membership event on ring 72: memb=1, new=0, lost=1
Dec 19 17:13:25 atlantis corosync[1508]: [pcmk ] info: pcmk_peer_update: memb: atlantis 335544586
Dec 19 17:13:25 atlantis corosync[1508]: [pcmk ] info: pcmk_peer_update: lost: daedalus 369099018
Dec 19 17:13:25 atlantis corosync[1508]: [pcmk ] notice: pcmk_peer_update: Stable membership event on ring 72: memb=1, new=0, lost=0
Dec 19 17:13:25 atlantis corosync[1508]: [pcmk ] info: pcmk_peer_update: MEMB: atlantis 335544586
Dec 19 17:13:25 atlantis corosync[1508]: [pcmk ] info: ais_mark_unseen_peer_dead: Node daedalus was not seen in the previous transition
Dec 19 17:13:25 atlantis corosync[1508]: [pcmk ] info: update_member: Node 369099018/daedalus is now: lost
Dec 19 17:13:25 atlantis corosync[1508]: [pcmk ] info: send_member_notification: Sending membership update 72 to 0 children
Dec 19 17:13:25 atlantis corosync[1508]: [TOTEM ] A processor joined or left the membership and a new membership was formed.
Dec 19 17:13:25 atlantis corosync[1508]: [MAIN ] Completed service synchronization, ready to provide service.
--------------------------------------------------------------------------
I also tried compiling Pacemaker using these [2] steps, but I get the
same result.
Thanks in advance for your reply.
Regards,
Daniel
[1] http://www.clusterlabs.org/wiki/Debian_Lenny_HowTo
[2] http://www.clusterlabs.org/wiki/Install#Building_from_Source
--
Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598
12-22-2010, 11:10 PM
Peter Beck
Problems with Pacemaker + Corosync after reboot
On Sun, 2010-12-19 at 21:06 -0300, Daniel Bareiro wrote:
> Hi all!
>
> I'm beginning to test HA clusters with GNU/Linux and for that I
> decided to try Pacemaker + Corosync in Debian Lenny following this [1]
> howto.
>
> Both packages were installed from the Backports repositories. But I am
> observing that if after configuration I reboot a node, it fails to
> join to the cluster after the boot.
Hi there,
I am trying the same with Squeeze (in VMs) and there are the same
issues. Sometimes it seems to work fine, but then there is the same
issue with just corosync. I also bought the Clusterbook from O'Reilly
(no idea if this is available in english [1]) but I have no clue what I
am doing wrong. I haven't found much useful documentation (beside the
same links you've already mentioned).
I've heard that Pacemaker and Corosync causes a lot of issues and it's
not very reliable and better to run Pacemaker with Heartbeat. Is this
true ?
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1293063058.3531.19.camel@peanut.datentraeger.li">h ttp://lists.debian.org/1293063058.3531.19.camel@peanut.datentraeger.li
have you tried to kill corosync with "killall -9 corosync"
and then to restart via "/etc/init.d/corosync start" ?
This seems to bring back my nodes. If I do this, both nodes here are
back. But it does not solve the issue, every reboot I have to do it
again. Maybe corosync starts too early at bootup and one of the
depending services is not ready at this time ?
Best Regards
Peter
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1293314479.2491.10.camel@peanut.datentraeger.li">h ttp://lists.debian.org/1293314479.2491.10.camel@peanut.datentraeger.li
12-29-2010, 02:43 PM
Peter Beck
Problems with Pacemaker + Corosync after reboot
On Sun, 2010-12-19 at 21:06 -0300, Daniel Bareiro wrote:
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1293637381.26493.9.camel@peanut.datentraeger.li">h ttp://lists.debian.org/1293637381.26493.9.camel@peanut.datentraeger.li