I have 2 gluster clusters of type distributed-replicated:
Cluster 1 (C1): with bricks in machines M1 and M2.
Cluster 2 (C2): with bricks in machines M3 and M4.
I want to expand C1 by adding M4 (already part of C2) and another machine M5.
For adding the bricks, first I need to add M4 and M5 into C1 by probing M4 and M5 from either M1 or M2. When I do peer probe, I am able to add machine M5, but when I try to add M4 to C1 by
sudo gluster peer probe M4
I get:
peer probe: failed: M4 is either already part of another cluster or having volumes configured
I have two questions:
Is it even possible to achieve what I want (since I am mixing two different clusters)?
If yes, how to do it?
PS: I have read the following links but my issue still is not resolved: redhat mailing list, redhat mailing list-2