On Mon, Feb 22, 2010 at 4:12 PM, Raphael Daum <raphael.d...@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 > 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?
I've never tried it myself, but I did do some manual testing. Ie. changes files in both places and confirm the contents was consistent. Never tried with clvm involved though. Could that be a factor? _______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker