Digging deeper, it seems that the /usr/sbin/ocfs2_controld.pcmk script was removed upstream (see https://lists.debian.org/debian- user/2014/06/msg01224.html) due to openais no longer being part of the system - and oracle have yet to update the ocfs2-tools package to provide a non-openais version.
/usr/lib/ocf/resource.d/pacemaker/o2cb should probably be removed from the resource agents. I am have managed to find what appears to be a workaround With reference to http://drbd.linbit.com/users- guide/s-ocfs2-pacemaker.html#s-ocfs2-pacemaker-drbd The recommended way to configure an ocfs2 resource for pacemaker management is to use "crm configure" to add the stanzas primitive p_controld ocf:pacemaker:controld primitive p_o2cb ocf:ocfs2:o2cb group g_ocfs2mgmt p_controld p_o2cb clone cl_ocfs2mgmt g_ocfs2mgmt meta interleave=trueprimitive p_fs_ocfs2 ocf:heartbeat:Filesystem \ params device="/dev/drbd/by-res/ocfs2/0" directory="/srv/ocfs2" \ fstype="ocfs2" options="rw,noatime" clone cl_fs_ocfs2 p_fs_ocfs2 Howevr, this no longer works as the ocf approach is not possible under Ubuntu 14.04. Using the lsb script appears to be the best way to manage the resource i.e. Edit /etc/default/o2cb and set: O2CB_ENABLED=true Ensure that o2cb does not start automatically: sudo update-rc.d o2cb remove and use crm configure to add somehhing like primitive p_o2cb lsb:o2cb \ op monitor interval="10" timeout="30" \ op start interval="0" timeout="120" \ op stop interval="0" timeout="120" clone cl_ocfs2mgmt p_o2cb \ meta interleave="true" primitive p_fs_disk2 ocf:heartbeat:Filesystem \ params device=""/dev/drbd/by-res/ocfs2/0" directory="/srv/ocfs2" fstype="ocfs2" options="rw,noatime" \ op monitor timeout="40" interval="20" depth="0" clone cl_fs_disk2 p_fs_disk2 However, there is still a further bug to workaround before ocfs2 works with pacemaker under 14.04. See https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1412548 Finally with the workaround and the bug fix, it all seems to work... -- You received this bug notification because you are a member of Ubuntu High Availability Team, which is subscribed to ocfs2-tools in Ubuntu. https://bugs.launchpad.net/bugs/1412438 Title: OCF:pacemaker:o2cb broken in 14.04 Status in ocfs2-tools package in Ubuntu: New Bug description: The pacemaker resource agent ocf:pacemaker:o2cb requires /usr/sbin/ocfs2_controld.pcmk in order to execute correctly. This binary used to be in ocsf2-tools- pacemaker in earlier releases (e.g. 12.04). However, this is omitted from 14.04. As a result, resource agent is broken and pacemaker cannot be used to manage ocfs2 file systems To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1412438/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-ha Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-ha More help : https://help.launchpad.net/ListHelp

