[Pacemaker] DRBD and Pacemaker/Corosync

emmanuel segura emi2fast at gmail.com
Tue May 1 19:07:21 UTC 2012


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>

> 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**>>
>>
>>    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**
>> >__>>
>>
>>
>>
>>    --
>>    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<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
>> 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  ::  +1.514.447.4918 (x130) ::  www.inverse.ca
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
> www.packetfence.org)
>
> ______________________________**_________________
> Pacemaker mailing list: 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120501/47dcc772/attachment.htm>


More information about the Pacemaker mailing list