ocfs2和packemaker没有ocf:心脏起搏器:o2cb

在ubuntu 16.04 ocfs:心脏起搏器:o2cb不工作了,但我无法find任何文件描述ocfs2 packeamker没有OCF:起搏器:o2cb我drbd设备和起搏器工作正常,但ocfs工具不知道pcmk集群:

# mkfs.ocfs2 -T mail --node-slots 2 --label ocfs2_fs --cluster- stack=pcmk --cluster-name=debian /dev/drbd1 mkfs.ocfs2 1.6.4 Cluster stack: pcmk Cluster name: debian NOTE: Selecting extended slot map for userspace cluster stack Overwriting existing ocfs2 partition. mkfs.ocfs2: Unable to access cluster service while initializing the cluster 

我的群集状态:

 # pcs status Cluster name: debian Last updated: Wed Oct 18 17:43:12 2017 Last change: Wed Oct 18 14:45:32 2017 by root via crm_resource on testsvr1 Stack: corosync Current DC: testsvr1 (version 1.1.14-70404b0) - partition with quorum 2 nodes and 10 resources configured Online: [ testsvr1 testsvr2 ] Full list of resources: Clone Set: WebSite-clone [WebSite] Started: [ testsvr1 testsvr2 ] Clone Set: WebFS-clone [WebFS] Stopped: [ testsvr1 testsvr2 ] Master/Slave Set: WebDataClone [WebData] Masters: [ testsvr1 testsvr2 ] vbox_stonith (stonith:fence_vbox): Started testsvr2 Clone Set: dlm-clone [dlm] Started: [ testsvr1 testsvr2 ] 

感谢@Doc我的问题与lsb:o2cb解决

 pcs resource create o2cb lsb:o2cb \ op monitor interval="10" timeout="30" \ op start interval="0" timeout="120" \ op stop interval="0" timeout="120" \ clone o2cb clone-max=2 clone-node-max=1