<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<font size="2" face="Courier 10 Pitch">hi guys,<br>
<br>
Is this below not the weirdest thing?<br>
<br>
-> $ pcs constraint ref PGSQL-PAF-5435<br>
Resource: PGSQL-PAF-5435<br>
colocation-HA-10-1-1-84-PGSQL-PAF-5435-clone-INFINITY<br>
colocation-REDIS-6385-clone-PGSQL-PAF-5435-clone-INFINITY<br>
order-PGSQL-PAF-5435-clone-HA-10-1-1-84-Mandatory<br>
order-PGSQL-PAF-5435-clone-HA-10-1-1-84-Mandatory-1<br>
colocation_set_PePePe<br>
<br>
Here Redis master should folow pgSQL master.<br>
Which such constraint:<br>
<br>
-> $ pcs resource status PGSQL-PAF-5435<br>
* Clone Set: PGSQL-PAF-5435-clone [PGSQL-PAF-5435] (promotable):<br>
* Promoted: [ ubusrv1 ]<br>
* Unpromoted: [ ubusrv2 ubusrv3 ]<br>
-> $ pcs resource status REDIS-6385-clone<br>
* Clone Set: REDIS-6385-clone [REDIS-6385] (promotable):<br>
* Unpromoted: [ ubusrv1 ubusrv2 ubusrv3 ]<br>
<br>
If I remove that constrain:<br>
-> $ pcs constraint delete
colocation-REDIS-6385-clone-PGSQL-PAF-5435-clone-INFINITY<br>
-> $ pcs resource status REDIS-6385-clone<br>
* Clone Set: REDIS-6385-clone [REDIS-6385] (promotable):<br>
* Promoted: [ ubusrv1 ]<br>
* Unpromoted: [ ubusrv2 ubusrv3 ]<br>
<br>
and ! I can manually move Redis master around, master moves to
each server just fine.<br>
I again, add that constraint:<br>
<br>
-> $ pcs constraint colocation add master REDIS-6385-clone with
master PGSQL-PAF-5435-clone<br>
<br>
and the same...<br>
<br>
<br>
</font>
</body>
</html>