首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ocfs2和没有ocf的包装机:起搏器:o2cb

ocfs2和没有ocf的包装机:起搏器:o2cb
EN

Server Fault用户
提问于 2017-10-18 14:16:49
回答 1查看 878关注 0票数 0

在ubuntu16.04中,心脏起搏器:o2cb不再工作了,但是我找不到任何描述ocfs2的文档,这些文档描述了没有ocf的packeamker :起搏器:o2cb,我有drbd设备,可以很好地使用起搏器,但是ocfs工具不知道pcmk集群:

代码语言:javascript
复制
# 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

我的集群状态:

代码语言:javascript
复制
# 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 ]
EN

回答 1

Server Fault用户

发布于 2017-10-25 09:47:28

多亏了@Doc,我的问题用lsb:o2cb解决了。

代码语言:javascript
复制
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
票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/879088

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档