Lucid cluster stack with OCFS2

Frank Lahm franklahm at googlemail.com
Sat Mar 27 16:38:57 UTC 2010


Hi list,

I'm trying to build a OCFS2 on iSCSI cluster with clusterwide locking
and have been told that using this guide

<https://wiki.ubuntu.com/ClusterStack/LucidTesting>

should be worth a try.

As I wont be using drdb but just plain iSCSI devices imported from
Opensolaris COMSTAR, I have to defer a little bit, but that would work
out. What does not work out is, there is no package
"libdlm3-pacemaker" available. I've of course added

deb http://ppa.launchpad.net/ubuntu-ha/ppa/ubuntu lucid main

to sources.list and reloaded the package cache. I've tried installing
plain "libdlm3" instead (ocfs2-tools and pacemaker are installed of
course), but when configuring crm I get:
---8<---
$ crm_mon

============
Last updated: Sat Mar 27 17:31:18 2010
Stack: openais
Current DC: ocfs1 - partition with quorum
Version: 1.0.7-0bf7d14dd5541b31f7dee605e5041bb44d78b336
2 Nodes configured, 1 expected votes
2 Resources configured.
============

Online: [ ocfs1 ocfs2 ]


Failed actions:
    dlm:0_monitor_0 (node=ocfs1, call=2, rc=5, status=complete): not installed
    o2cb:0_monitor_0 (node=ocfs1, call=3, rc=5, status=complete): not installed
    dlm:1_monitor_0 (node=ocfs2, call=2, rc=5, status=complete): not installed
    o2cb:1_monitor_0 (node=ocfs2, call=3, rc=5, status=complete): not installed
---8<---

`crm configure edit`:
---8<---
node ocfs1
node ocfs2
primitive dlm ocf:pacemaker:controld \
        op monitor interval="120s"
primitive o2cb ocf:pacemaker:o2cb \
        op monitor interval="120s"
clone dlm-clone dlm \
        meta globally-unique="false" interleave="true"
clone o2cb-clone o2cb \
        meta globally-unique="false" interleave="true"
colocation o2cb-with-dlm inf: o2cb-clone dlm-clone
order start-o2cb-after-dlm 0: dlm-clone o2cb-clone
property $id="cib-bootstrap-options" \
        dc-version="1.0.7-0bf7d14dd5541b31f7dee605e5041bb44d78b336" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="1" \
        stonith-enabled="false"
---8<---

Anybody? Thanks!

Cheers, Frank




More information about the ubuntu-server mailing list