On Mon, Sep 8, 2008 at 14:09, Christian Lox <[EMAIL PROTECTED]> wrote:
>
> Am 25.08.2008 um 12:33 schrieb Andrew Beekhof:
>
>> Incidentally, we've spent some time over the last few weeks adding
>> Pacemaker support to OCFS2 (but only when using the OpenAIS messaging
>> layer - not Heartbeat).
>>
>> The latest rpms at
>>
>> http://download.opensuse.org/repositories/server:/ha-clustering:/UNSTABLE/openSUSE_Factory/src
>> contains almost everything you need to get started.
>> The only thing that's missing is a patch for ocfs2-tools which I need
>> to package up.
>>
>> Let me know if you're interested in giving it a spin.
>
> Hi Andrew,
>
> yes, for sure I am.


There was a small problem with the ocfs2-tools package, but I've fixed it now.
So just re-grab and install everything there and use something like
the following config.

You should then be able to create and mount a OCFS2 filesystem

<configuration>
<crm_config>
  <cluster_property_set id="cib-bootstrap-options">
    <nvpair id="cib-bootstrap-options-no-quorum-policy"
name="no-quorum-policy" value="ignore"/>
  </cluster_property_set>
</crm_config>
<resources>
<clone id="o2cb-clone">
        <meta_attributes id="o2cb-options">
                <nvpair id="o2cb-unique" name="globally-unique" value="false"/>
                <nvpair id="o2cb-interleave" name="interleave" value="true"/>
        </meta_attributes>
        <primitive id="o2cb" class="lsb" type="o2cb">
                <operations>
                        <op id="o2cb-check" name="monitor" interval="60s" 
timeout="30s"/>
                </operations>
        </primitive>
</clone>
<clone id="dlm-clone">
        <meta_attributes id="dlm-options">
                <nvpair id="dlm-unique" name="globally-unique" value="false"/>
                <nvpair id="dlm-interleave" name="interleave" value="true"/>
        </meta_attributes>
        <primitive id="dlm" class="ocf" provider="pacemaker" type="controld">
                <operations>
                        <op id="dlm-check" name="monitor" interval="60s" 
timeout="30s"/>
                </operations>
        </primitive>
</clone>
</resources>
<constraints>
        <rsc_order id="ocfs2-order" first="dlm-clone" then="o2cb-clone"
score="INFINITY"/>
        <rsc_colocation id="ocfs2-coloc" with-rsc="dlm-clone"
rsc="o2cb-clone" score="INFINITY"/>
</constraints>
</configuration>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to