[Pacemaker] node status does not change even if pacemakerd dies

David Vossel dvossel at redhat.com
Fri Nov 30 14:52:41 UTC 2012


----- Original Message -----
> From: "Kazunori INOUE" <inouekazu at intellilink.co.jp>
> To: "pacemaker at oss" <pacemaker at oss.clusterlabs.org>
> Sent: Friday, November 30, 2012 2:38:50 AM
> Subject: [Pacemaker] node status does not change even if pacemakerd dies
> 
> Hi,
> 
> I am testing the latest version.
> - ClusterLabs/pacemaker  9c13d14640(Nov 27, 2012)
> - corosync               92e0f9c7bb(Nov 07, 2012)
> - libqb                  30a7871646(Nov 29, 2012)
> 
> 
> Although I killed pacemakerd, node status did not change.
> 
>  [dev1 ~]$ pkill -9 pacemakerd
>  [dev1 ~]$ crm_mon
>    :
>  Stack: corosync
>  Current DC: dev2 (2472913088) - partition with quorum
>  Version: 1.1.8-9c13d14
>  2 Nodes configured, unknown expected votes
>  0 Resources configured.
> 
> 
>  Online: [ dev1 dev2 ]
> 
>  [dev1 ~]$ ps -ef|egrep 'corosync|pacemaker'
>  root     11990     1  1 16:05 ?        00:00:00 corosync
>  496      12010     1  0 16:05 ?        00:00:00
>  /usr/libexec/pacemaker/cib
>  root     12011     1  0 16:05 ?        00:00:00
>  /usr/libexec/pacemaker/stonithd
>  root     12012     1  0 16:05 ?        00:00:00
>  /usr/libexec/pacemaker/lrmd
>  496      12013     1  0 16:05 ?        00:00:00
>  /usr/libexec/pacemaker/attrd
>  496      12014     1  0 16:05 ?        00:00:00
>  /usr/libexec/pacemaker/pengine
>  496      12015     1  0 16:05 ?        00:00:00
>  /usr/libexec/pacemaker/crmd
> 
> 
> We want the node status to change to OFFLINE(stonith-enabled=false),
> UNCLEAN(stonith-enabled=true).
> That is, we want the function of this deleted code.
> https://github.com/ClusterLabs/pacemaker/commit/dfdfb6c9087e644cb898143e198b240eb9a928b4

How are you launching pacemakerd?  The systemd service script relaunches pacemakerd on failure and pacemakerd has the ability to attach to all the old processes if they are still around as if nothing happened.

-- Vossel


> related bugzilla: http://bugs.clusterlabs.org/show_bug.cgi?id=5064
> 
> 
> Best Regards,
> Kazunori INOUE
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started:
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
> 




More information about the Pacemaker mailing list