Open digimer opened 11 months ago
if hostname != dc-uuid-name; then
echo not for us
fi
if [ "$1" = "status" ]; then
pcs $@
return $?
fi
flock....
Should be if [ "$1" == "status" ]; then
Local serialization is now in place in pr#408. Can now successfully recover multiple servers simultaneously without breaking the updates to the constraints. This means servers no longer migrate when the peer recovers.
If testing proves this successful, please change this ticket to pre-GA for the serialization across nodes component.
Should be
if [ "$1" == "status" ]; then
== is a bash´ism. Not a big deal but the correct version is with one =.
pcs doesn't like being called in parallel, from anywhere. So use the DC;
Which appears to be
dc-uuid
in the CIB;Translate the node 1 to host name and run all pcs calls (other than status) there using the
alteeve-pcs-wrapper
.