[Pacemaker] different behavior cibadmin -Ql with cman and corosync2

Andrew Beekhof andrew at beekhof.net
Sun Aug 25 19:31:37 EDT 2013

On 23/08/2013, at 9:39 PM, Andrey Groshev <greenx at yandex.ru> wrote:

> Hello,
> Today I try remake my test cluster from cman to corosync2.
> I drew attention to the following:
> If I reset cluster with cman through cibadmin --erase --force
> In cib is still there exist names of nodes.

Yes, the cluster puts back entries for all the nodes it know about automagically.

> cibadmin -Ql
> .....
>    <nodes>
>      <node id="dev-cluster2-node2.unix.tensor.ru" uname="dev-cluster2-node2"/>
>      <node id="dev-cluster2-node4.unix.tensor.ru" uname="dev-cluster2-node4"/>
>      <node id="dev-cluster2-node3.unix.tensor.ru" uname="dev-cluster2-node3"/>
>    </nodes>
> ....
> Even if cman and pacemaker running only one node.

I'm assuming all three are configured in cluster.conf?

> And if I do too on cluster with corosync2
> I see only names of nodes which run corosync and pacemaker.

Since you're not included your config, I can only guess that your corosync.conf does not have a nodelist.
If it did, you should get the same behaviour.

> I'll explain what it is uncomfortable.
> I need set attribute before start resource.
> On cluster with cman I can do it, but with corosync2 don't....
> Exist other way ?
> _______________________________________________
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130826/a1697765/attachment-0003.sig>

More information about the Pacemaker mailing list