Hi Just an update. So I upgraded to pacemaker 1.1.6 and tried to configure it all again, without dlm. It didn't work, I still got the " OCF_ERR_INSTALLED so I started looking through the setup and found that I didn't specify the drbd.conf path. When I added that meta and boom, it mounted like a dream.
Wasn't it supposed to return a OCF_ERR_CONFIGURED? And is that meta even required? I wonder if I messed something up(that is very likely) or maybe I missed something. I'll try to add the dlm today and see if it works. Cheers. Den 22. feb. 2012 12.34 skrev Florian Haas <flor...@hastexo.com>: > > ============ > > Last updated: Wed Feb 22 11:51:22 2012 > > Stack: openais > > Current DC: cluster01 - partition with quorum > > Version: 1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b > > Please go to 1.1.5, at least, as soon as you can. > > > primitive Cluster-FS-DLM ocf:pacemaker:controld \ > > op monitor interval="120s" > > > > primitive Cluster-FS-DRBD ocf:linbit:drbd \ > > params drbd_resource="cluster-ocfs" \ > > operations $id="Cluster-FS-DRBD-ops" \ > > op monitor interval="20" role="Master" timout="20" \ > > op monitor interval="30" role="Slave" timeout="20" > > > > primitive Cluster-FS-Mount ocf:heartbeat:Filesystem \ > > params device="/dev/drbd/by-res/cluster-ocfs" > > directory="/cluster" fstype="ocfs2" \ > > op monitor interval="120" > > > > primitive Cluster-FS-O2CB ocf:pacemaker:o2cb \ > > op monitor interval="120" > > > > primitive ClusterIP ocf:heartbeat:IPaddr2 \ > > params ip="212.70.2.110" cidr_netmask="24" \ > > op monitor interval="30s" \ > > meta target-role="Started" > > > > ms Cluster-FS-DRBD-Master Cluster-FS-DRBD \ > > meta resource-stickines="100" notify="true" interleave="true" > > master-max="2" > > > > clone Cluster-FS-DLM-Clone Cluster-FS-DLM \ > > meta globally-unique="false" interleave="true" > > > > clone Cluster-FS-Mount-Clone Cluster-FS-Mount \ > > meta interleave="true" ordered="true" > > > > clone Cluster-FS-O2CB-Clone Cluster-FS-O2CB \ > > meta globally-unique="false" interleave="true" > > > > colocation Cluster-FS-Colocation inf: Cluster-FS-DLM-Clone > > Cluster-FS-DRBD-Master:Master > > > > colocation Cluster-FS-Mount-Colocation inf: Cluster-FS-Mount-Clone > > Cluster-FS-O2CB-Clone > > > > colocation Cluster-FS-O2CB-Colocation inf: Cluster-FS-O2CB-Clone > > Cluster-FS-DLM-Clone > > > > order Cluster-FS-DLM-Order 0: Cluster-FS-DRBD-Master:promote > > Cluster-FS-DLM-Clone > > > > order Cluster-FS-Mount-Order 0: Cluster-FS-O2CB-Clone > Cluster-FS-Mount-Clone > > > > order Cluster-FS-O2CB-Order 0: Cluster-FS-DLM-Clone Cluster-FS-O2CB-Clone > > Rather than having all those individual clones and constraints between > them, you can greatly simplify your configuration with a cloned group: > > primitive p_dlm_controld ocf:pacemaker:controld \ > op start interval="0" timeout="90" \ > op stop interval="0" timeout="100" \ > op monitor interval="10" > primitive p_o2cb ocf:pacemaker:o2cb \ > op start interval="0" timeout="90" \ > op stop interval="0" timeout="100" \ > op monitor interval="10" > primitive p_fs_ocfs2 ocf:heartbeat:Filesystem \ > params device="<your drbd device>" \ > directory="<your mountpoint>" \ > fstype="ocfs2" > group g_ocfs2 p_dlm_controld p_o2cb p_fs_ocfs2 > clone cl_ocfs2 g_ocfs2 \ > meta interleave="true" > > You'll still need that one order and colo constraint linking your cloned > group to the DRBD master/slave set, of course. > > And if you're getting an OCF_ERR_INSTALLED error from > ocf:pacemaker:o2cb, then there definitely will be an error message in > the logs preceding that. > > grep -E 'o2cb.*ERROR' /var/log/{messages,syslog} > > Hope this helps. > > Cheers, > Florian > > -- > Need help with High Availability? > http://www.hastexo.com/now > > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org > -- MVH Johan Bergkvist
_______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org