Sorry, my mistake. I should use the second id. It is ok now. Thanks Tomas.
-邮件原件-
发件人: 范国腾
发送时间: 2018年5月15日 16:19
收件人: users@clusterlabs.org
主题: 答复: [ClusterLabs] 答复: How to change the "pcs constraint colocation set"
It could not find the id of constraint set.
[root@node1 ~]# pcs constr
It could not find the id of constraint set.
[root@node1 ~]# pcs constraint colocation --full
Colocation Constraints:
clvmd-clone with dlm-clone (score:INFINITY)
(id:colocation-clvmd-clone-dlm-clone-INFINITY)
pgsql-master-ip with pgsql-ha (score:INFINITY) (rsc-role:Started)
(with-rsc-role:Mas