page1
on new primary:
marsadm primary <res>
on new primary:
marsadm disconnect <res>
on new primary:
marsadm --force primary <res>
fails
on new primary:
marsadm connect <res>
marsadm --force --host=<new secondary> leave-resource <res>
succeeds
login on
new secondary possible
?
on new secondary:
marsadm down <res>
marsadm --force leave-resource <res>
yes
on new primary:
marsadm view-is-split-brain <res>
on new primary:
marsadm --force log-purge-all <res>
1 (still split brain)
new primary running and usable
0 (no split brain)
Recreation of resource
situation can be
corrected
?
fails
yes
no
on new primary:
marsadm secondary <res>
marsadm down <res>
marsadm leave-resource <res>
marsadm --force delete-resource <res>
marsadm --force create-resource <res> /dev/...
on new primary:
marsadm wait-resource <resource-name> is-device