[Pacemaker] cman+qdisk+pacemaker - pacemaker qdisk node offline

Andrew Beekhof andrew at beekhof.net
Mon Dec 17 03:24:49 UTC 2012


On Fri, Dec 14, 2012 at 1:37 PM, Rob <pacemaker at rarforge.com> wrote:
> Hey all, first time here.
>
> Two node cluster
> Centos 6.3 x86_64
> cman-3.0.12.1-32.el6_3.2.x86_64
> pacemaker-1.1.7-6.el6.x86_64
>
> I have a two node cluster using qdisk. The 'three' nodes work great so far,
> but I have an issue with pacemaker importing the qdisk as a node and showing
> it offline. As a second issue, the qdisk device seems to change after
> reboots causing pacemaker, when started, to import another new qdisk name as
> an offline node.
>
> Here are the examples:
>
> $ cman_tool nodes
> Node  Sts   Inc   Joined               Name
>    0   M      0   2012-12-13 09:50:58  /dev/block/8:176
>    1   M   1796   2012-12-13 09:50:46  node-1
>    3   M   1808   2012-12-13 10:31:59  node-2
>
> now for the fun, crm_mon output: (as you will notice it has old
> /dev/block/<ids> as offline nodes from previous starts)
>
>  $ crm_mon -V1
> ============
> Last updated: Thu Dec 13 18:33:47 2012
> Last change: Thu Dec 13 17:52:34 2012 via crm_resource on node-1
> Stack: cman
> Current DC: node-1 - partition with quorum
> Version: 1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14
> 7 Nodes configured, 2 expected votes
> 38 Resources configured.
> ============
>
> Online: [ bigeye blindpig ]
> OFFLINE: [ /dev/block/8:64 /dev/block/8:208 /dev/block/8:48 /dev/block/8:176
> /dev/block/8:192 ]
>
>
> 1) Is there any way to bring the real qdisk online?
> 2) Is there something I am missing to not import the qdisk as a node?

Probably this patch:
   https://github.com/beekhof/pacemaker/commit/ea8aaa1

Looking through all the code, I _think_ that should be sufficient.

>
> Thanks for the time!
> Rob
>
> _______________________________________________
> 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