[Pacemaker] DRBD and Pacemaker/Corosync
Francois Gaudreault
fgaudreault at inverse.ca
Tue May 1 22:51:31 UTC 2012
Hi,
Thanks for you help so far Emmanuel. However, the last change did not
work, services are still kept on the NODE B, and are not migrating back
to NODE A.
On 12-05-01 3:07 PM, emmanuel segura wrote:
> This it's wrong in your configuration
>
> colocation fs_on_drbd inf: DRBD_fs DRBD_ms:Master
>
> it must be
>
> colocation fs_on_drbd inf: data_group DRBD_ms:Master
>
> 2012/5/1 Francois Gaudreault <fgaudreault at inverse.ca
> <mailto:fgaudreault at inverse.ca>>
>
> Hi Emmanuel,
>
> Thanks, that did resolve our split brain issue :)
>
> The only thing, is that the services are not migrating back to the
> primary node like expected
>
> On 12-05-01 1:35 PM, emmanuel segura wrote:
>
> try to change your constrain like this, if you
> ==============================__====
> location DRBD_ms-master-on-pf1 data_group \
> rule $id="DRBD_ms-master-on-pf1-__rule" $role="master" inf:
> #uname eq npf1
> ==============================__====
> if you look your order, when DRBD_FS:stop then DRBD_ms:demote
> and become
> master on the other node
>
> order DRBD_fs-after-DRBD_ms inf: DRBD_ms:promote DRBD_fs:start
>
> if i say something wrong tell me what :-)
>
>
> 2012/5/1 Francois Gaudreault <fgaudreault at inverse.ca
> <mailto:fgaudreault at inverse.ca>
> <mailto:fgaudreault at inverse.ca <mailto:fgaudreault at inverse.ca>__>>
>
> Hi,
>
> Here is the corosync.conf:
> http://pastebin.com/xLKdURwA
>
> Here is the cib.xml:
> http://pastebin.com/g2pf0Dhy
>
> Let me know if you also need the DRDB config.
>
> Thanks!
>
>
> On 12-05-01 12:51 PM, emmanuel segura wrote:
>
> Hello Francois
>
> can you post your cluster configuration using pastebin?
>
> Thanks
>
> 2012/5/1 Francois Gaudreault <fgaudreault at inverse.ca
> <mailto:fgaudreault at inverse.ca>
> <mailto:fgaudreault at inverse.ca <mailto:fgaudreault at inverse.ca>__>
> <mailto:fgaudreault at inverse.ca <mailto:fgaudreault at inverse.ca>
> <mailto:fgaudreault at inverse.ca
> <mailto:fgaudreault at inverse.ca>__>__>>
>
>
>
> --
> Francois Gaudreault, ing. jr
> fgaudreault at inverse.ca <mailto:fgaudreault at inverse.ca>
> <mailto:fgaudreault at inverse.ca
> <mailto:fgaudreault at inverse.ca>__> ::
> +1.514.447.4918 <tel:%2B1.514.447.4918> <tel:%2B1.514.447.4918>
> (x130) :: www.inverse.ca <http://www.inverse.ca>
> <http://www.inverse.ca>
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu
> <http://www.sogo.nu>
> <http://www.sogo.nu>) and PacketFence (www.packetfence.org
> <http://www.packetfence.org>
> <http://www.packetfence.org>)
>
> ___________________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> <mailto:Pacemaker at oss.clusterlabs.org>
> <mailto:Pacemaker at oss.__clusterlabs.org
> <mailto:Pacemaker at oss.clusterlabs.org>>
> http://oss.clusterlabs.org/____mailman/listinfo/pacemaker
> <http://oss.clusterlabs.org/__mailman/listinfo/pacemaker>
> <http://oss.clusterlabs.org/__mailman/listinfo/pacemaker
> <http://oss.clusterlabs.org/mailman/listinfo/pacemaker>>
>
> Project Home: http://www.clusterlabs.org
> Getting started:
> http://www.clusterlabs.org/____doc/Cluster_from_Scratch.pdf
> <http://www.clusterlabs.org/__doc/Cluster_from_Scratch.pdf>
> <http://www.clusterlabs.org/__doc/Cluster_from_Scratch.pdf
> <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf>>
> Bugs: http://bugs.clusterlabs.org
>
>
>
>
> --
> esta es mi vida e me la vivo hasta que dios quiera
>
>
> _________________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> <mailto:Pacemaker at oss.clusterlabs.org>
> http://oss.clusterlabs.org/__mailman/listinfo/pacemaker
> <http://oss.clusterlabs.org/mailman/listinfo/pacemaker>
>
> Project Home: http://www.clusterlabs.org
> Getting started:
> http://www.clusterlabs.org/__doc/Cluster_from_Scratch.pdf
> <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf>
> Bugs: http://bugs.clusterlabs.org
>
>
>
> --
> Francois Gaudreault, ing. jr
> fgaudreault at inverse.ca <mailto:fgaudreault at inverse.ca> ::
> +1.514.447.4918 <tel:%2B1.514.447.4918> (x130) :: www.inverse.ca
> <http://www.inverse.ca>
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu
> <http://www.sogo.nu>) and PacketFence (www.packetfence.org
> <http://www.packetfence.org>)
>
> _________________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> <mailto:Pacemaker at oss.clusterlabs.org>
> http://oss.clusterlabs.org/__mailman/listinfo/pacemaker
> <http://oss.clusterlabs.org/mailman/listinfo/pacemaker>
>
> Project Home: http://www.clusterlabs.org
> Getting started:
> http://www.clusterlabs.org/__doc/Cluster_from_Scratch.pdf
> <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf>
> Bugs: http://bugs.clusterlabs.org
>
>
>
>
> --
> esta es mi vida e me la vivo hasta que dios quiera
>
>
> _______________________________________________
> 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
--
Francois Gaudreault, ing. jr
fgaudreault at inverse.ca :: +1.514.447.4918 (x130) :: www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)
More information about the Pacemaker
mailing list