[Pacemaker] fedora 12 + clvmd/gfs2: resource agent missing and other problems

Andrew Beekhof andrew at beekhof.net
Fri Feb 5 16:16:06 UTC 2010


On Fri, Feb 5, 2010 at 12:31 PM, Raphael Daum <Raphael.Daum at kurier.at> wrote:
> hi all,
>
> i'm trying to setup a 2-node-cluster on fedora 12 with
> pacemaker/corosync. the nodes are connected to a shared fc-storage.
>
> basically i'm trying to setup the access to the shared storage via
> clvmd and gfs2:
>
> clvmd reports
> # clvmd -V
> Cluster LVM daemon version: 2.02.53(1) (2009-09-25)
> Protocol version: 0.2.1
>
> # clvmd -h
>  -I<cmgr> Cluster manager (default: auto)
>   Available cluster managers: corosync cman
>
> everything seems fine until now. but trying to configure clvmd with the
> crm (primitive clvm ocf:lvm2:clvmd)  brings up the first problem. there
> is no resource agent with this name and i'm unable to find a package,
> that provides that ra. (btw: starting clvmd with "service clvmd start"
> works and i'm able to see the configured volume groups and logical
> volumes)
>
> trying to bring up the clvmd via lsb::clvmd fails again. crm_verify
> complains about an "unknown exec error". here the relevant output of
> crm_verify -L -V:
> WARN: unpack_rsc_op: Processing failed op clvm:0_monitor_0 on hypnos:
> unknown exec error (-2)
>
> maybe the reason for this error message is that lsb:clvmd doesn't
> support monitoring the resource.
>
> question: could someone provide advice why this is not working as it
> should? or could someone point me to a working configuration for fedora
> 12/pacemaker/corosync/clvmd/gfs2? finally: does pacemaker on fedora 12
> support clvmd and gfs2?

gfs2 yes, just use the FileSystem agent.
i've no idea about clvmd though... i've never had the opportunity to set it up.
i've just been using gfs2 without clvm.

>
> since clvmd is an elemantary building block for the cluster setup (and
> all services rely on a working cluster-filesystem management), this IS a
> show-stopper.
>
> below you find my configuration and some details about the system
> (kernel and installed packages)
>
> TIA
>
> raphael
>
> # cib configure show
> node node1
> node node2
> primitive ClusterIP ocf:heartbeat:IPaddr2 \
>        op monitor interval="10" timeout="20" start-delay="0" \
>        params ip="192.168.200.205" cidr_netmask="32"
> clusterip_hash="sourceip-sourceport" \
>        meta resource-stickiness="0"
> primitive clvm ocf:lvm2:clvmd \
>        params daemon_timeout="30"
> primitive dlm ocf:pacemaker:controld \
>        op monitor interval="120s" \
>        meta target-role="Started"
> primitive vg-TEST ocf:heartbeat:LVM \
>        params volgrpname="vg-TEST" \
>        meta target-role="Started"
> clone clone_ClusterIP ClusterIP \
>        meta clone-max="2" clone-node-max="2" globally-unique="true"
> clone clone_clvm clvm \
>        meta interleave="true" ordered="true"
> clone clone_dlm dlm \
>        meta interleave="true"
> clone clone_vg-TEST vg-TEST \
>        meta interleave="true" ordered="true"
> colocation colo-vg-TEST-clvm inf: clone_vg-TEST clone_clvm
> order order-vg-TEST-clvm inf: clone_clvm clone_vg-TEST
> property $id="cib-bootstrap-options" \
>        dc-version="1.0.7-d3fa20fc76c7947d6de66db7e52526dc6bd7d782" \
>        cluster-infrastructure="openais" \
>        expected-quorum-votes="2" \
>        stonith-enabled="false" \
>        no-quorum-policy="ignore"
>
> # uname -r
> 2.6.31.12-174.2.3.fc12.x86_64
>
> # relevant cluster-packages
> cluster-glue-1.0-0.11.b79635605337.hg.fc12.x86_64
> cluster-glue-libs-1.0-0.11.b79635605337.hg.fc12.x86_64
> clusterlib-3.0.6-1.fc12.x86_64
> corosync-1.2.0-1.fc12.x86_64
> corosynclib-1.2.0-1.fc12.x86_64
> dlm-pcmk-3.0.6-1.fc12.x86_64
> gfs2-utils-3.0.6-1.fc12.x86_64
> gfs-pcmk-3.0.6-1.fc12.x86_64
> heartbeat-3.0.0-0.5.0daab7da36a8.hg.fc12.x86_64
> heartbeat-libs-3.0.0-0.5.0daab7da36a8.hg.fc12.x86_64
> lvm2-2.02.53-2.fc12.x86_64
> lvm2-cluster-2.02.53-2.fc12.x86_64
> lvm2-libs-2.02.53-2.fc12.x86_64
> openais-1.1.1-1.fc12.x86_64
> openaislib-1.1.1-1.fc12.x86_64
> pacemaker-1.0.7-2.fc12.x86_64
> pacemaker-libs-1.0.7-2.fc12.x86_64
>
>
> Telekurier Online Medien GmbH & Co KG
> 1070 Wien, Lindengasse 52
> FN 216605m, HG Wien
> UID: ATU53024506
> Komplementär: Telekurier Online Medien GmbH, FN209236a, HG Wien
>
> ------------------------------------------------------------------------------------------------
>
> Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzt
> e
> Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich
> erhalten
> haben, informieren Sie bitte sofort den Absender und vernichten Sie
> diese Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist
> nicht
> gestattet.
>
> The information transmitted is intended only for the person or entity to
>
> which it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities
> other than the intended recipient is prohibited. If you received this in
> error,
> please contact the sender and delete the material from any computer.
> ------------------------------------------------------------------------------------------------
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>




More information about the Pacemaker mailing list