我正在单节点系统上运行起搏器(1.x)和corosync。 我需要configuration的方式,如果任何资源不能启动,即已经达到了最大阈值,那么起搏器应该停止所有其他资源。
作为参考,我的configuration文件如下所示:
节点Node1 \
attributes maintenance=off
原始alert_gen failoverscript \
op start interval=0s timeout=20 \ op stop interval=0s timeout=20 \ op monitor interval=30s on-fail=restart \ meta target-role=Started is-managed=true
原始mon_RRDCache lsb:rrdcached \
op monitor interval=30 timeout=60 \ op start interval=0 timeout=60 \ op stop interval=0 timeout=60 \ meta is-managed=true on-fail=standby migration-threshold=2 failure-timeout=60
属性cib-bootstrap-options:\
dc-version="1.1.12-1.1.12+git20140723.483f48a" \ cluster-infrastructure="classic openais (with plugin)" \ last-lrm-refresh=1461912140 \ no-quorum-policy=ignore \ expected-quorum-votes=1 \ start-failure-is-fatal=false \ stonith-enabled=false
我已经尝试使用on-fail = standby,但它只停止mon_RRDCache监视。 但我希望起搏器应该停止所有的资源。