Red Hat Bugzilla – Bug 1251462
[rfe] Identify which path of the mirror was the last to be modified
Last modified: 2015-08-21 12:08:10 EDT
In the following scenario (HA cluster storage split):
RHEL 6.6 stretch cluster with lvm2-2.02.111-2.el6_6.1.x86_64 using lvm mirror with segment_type=raid1
- Service running in node1
- The storage that becomes split.
The cluster is happy because quorum is maintained. Granted, only one side will be running and there is no corruption yet.
- But the service could be relocated to the other side for any number of reasons.
- Both sites believe the disk from the other site has failed and both sites have changed the contents of their storage.
There are ways to avoid this scenario from resource manager point of view, for instance using partial_activation in pacemaker lvm resource agent, but is there a way to prevent this from a storage point of view?
What if the service is stopped and need to be started while the storage is still split, how can we identify which path of the mirror was the last to be modified?
I want to point out that if a storage (but not cluster) split is a concern, multipathing should be employed to ensure redundancy of the storage connections.