[Pacemaker] gfs2: ping_pong test fails
Andrew Beekhof
andrew at beekhof.net
Mon Feb 22 20:23:35 UTC 2010
On Mon, Feb 22, 2010 at 4:12 PM, Raphael Daum <Raphael.Daum at kurier.at> wrote:
> dear all,
>
> the ping_pong test (which can be found here:
> http://wiki.samba.org/index.php/Ping_pong) fails with pacemaker 1.0.7
> and gfs_controld.pcmk (3.0.7) on a gfs2 filesystem. the fs is mounted by
> the cluster infrastructure, dlm_controld.pcmk and gfs_controld.pcmk are
> running. here comes the relevant snippet from my cluster config:
>
> node node1
> node node2
> primitive clvm lsb:clvmd
> primitive dlm ocf:pacemaker:controld \
> op monitor interval="120s"
> primitive gfsd lsb:gfsd
Wait a second, thats not right. You want:
primitive gfsd ocf:pacemaker:controld
params daemon=gfs_controld.pcmk args="-g 0"
op monitor interval=120s
> primitive data-cluster ocf:heartbeat:Filesystem \
> params device="/dev/vg-sas/data-cluster"
> directory="/data/cluster" fstype="gfs2" \
> op monitor interval="120s"
> clone clvm-clone clvm \
> meta interleave="true" ordered="true"
> clone dlm-clone dlm \
> meta interleave="true" ordered="true"
> clone gfsd-clone gfsd \
> meta interleave="true" ordered="true"
> clone data-cluster-clone data-cluster \
> meta interleave="true" ordered="true"
>
> mounting the filesystem seems to work fine:
>
> Feb 22 15:57:27 kernel: GFS2: fsid=: Trying to join cluster "lock_dlm",
> "pcmk:data-cluster"
> Feb 22 15:57:27 kernel: GFS2: fsid=pcmk:data-cluster.0: Joined cluster.
> Now mounting FS...
> Feb 22 15:57:27 kernel: GFS2: fsid=pcmk:data-cluster.0: jid=0, already
> locked for use
> Feb 22 15:57:27 kernel: GFS2: fsid=pcmk:data-cluster.0: jid=0: Looking
> at journal...
> Feb 22 15:57:27 kernel: GFS2: fsid=pcmk:data-cluster.0: jid=0: Done
> Feb 22 15:57:27 kernel: GFS2: fsid=pcmk:data-cluster.0: jid=1: Trying
> to acquire journal lock...
> Feb 22 15:57:27 kernel: GFS2: fsid=pcmk:data-cluster.0: jid=1: Looking
> at journal...
> Feb 22 15:57:27 kernel: GFS2: fsid=pcmk:data-cluster.0: jid=1: Done
> Feb 22 15:57:27 kernel: GFS2: fsid=pcmk:data-cluster.0: jid=2: Trying
> to acquire journal lock...
> Feb 22 15:57:27 kernel: GFS2: fsid=pcmk:data-cluster.0: jid=2: Looking
> at journal...
> Feb 22 15:57:27 kernel: GFS2: fsid=pcmk:data-cluster.0: jid=2: Done
> Feb 22 15:57:27 kernel: GFS2: fsid=pcmk:data-cluster.0: jid=3: Trying
> to acquire journal lock...
> Feb 22 15:57:27 kernel: GFS2: fsid=pcmk:data-cluster.0: jid=3: Looking
> at journal...
> Feb 22 15:57:27 kernel: GFS2: fsid=pcmk:data-cluster.0: jid=3: Done
>
> running the ping_pong test fails with the following messages:
>
> # ./ping_pong /data/cluster/test.dat 1
>
> lock at 0 failed! - Function not implemented
> unlock at 0 failed! - Function not implemented
>
> is this supposed to work? or i'm doing something wrong here?
>
> thanks in advance
> raphael
>
>
> 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 geschuetzte
> 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