<div dir="ltr">Hi, all!<br clear="all"><div><br></div><div>While building a 2-node cluster on recent CentOS, I ran into a problem: when configured cman/corosync (just copied from first node) and started pacemaker - resources started to move to the new node.<br>
<br></div><div>However:<br><br># pcs constraint<br>Location Constraints:<br>Ordering Constraints:<br> promote ms_u01 then start u01_fs<br> promote ms_oracle then start oracle_fs<br> promote ms_shared then start shared_fs<br>
Colocation Constraints:<br> u01_fs with ms_u01 (with-rsc-role:Master)<br> oracle_fs with ms_oracle (with-rsc-role:Master)<br> shared_fs with ms_shared (with-rsc-role:Master)<br><br># pcs resource defaults<br>migration-threshold: 3<br>
resource-stickness: 100<br><br></div><div>All resources were up and running, and where cleaned up before starting pacemaker on second node. Why could this be?<br><br># cat /etc/issue<br>Oracle Linux Server release 6.5<br>
Kernel \r on an \m<br><br># rpm -qa | grep pacemaker<br>pacemaker-1.1.10-14.el6.x86_64<br><br></div><div><br>-- <br>Best regards,<br></div><div>Alexandr A. Alexandrov<br></div></div>