我有一个带有两个STONITH资源的起搏器安装。它们具有crm configure show列出的以下位置约束:
location loc_stonith_node1 stonith_node1 rule -inf: #id eq node1
location loc_stonith_node2 stonith_node2 rule -inf: #id eq node2然而,crm status表示这两个资源都是在node2上启动的:
stonith_node1 (stonith:external/ipmi): Started node2
stonith_node2 (stonith:external/ipmi): Started node2如果我同时使用crm resource stop和crm resource start,这种情况甚至会持续下去。怎样才能解释位置限制显然没有得到遵守?
更新如果我crm resource migrate stonith_node2 node1,资源开始在node1,但如果我然后crm resource unmigrate stonith_node2它立即返回到node2。
发布于 2017-10-11 09:05:27
我已经克服了这个问题,切换到另一种句法形式来获取不需要引用#id或#uname的位置约束:
location loc_stonith_node1 stonith_node1 -inf: node1
location loc_stonith_node2 stonith_node2 -inf: node2https://serverfault.com/questions/877796
复制相似问题