[Gluster-users] Bricks suggestions
Arnold Krille
arnold at arnoldarts.de
Wed May 2 19:46:56 UTC 2012
On Monday 30 April 2012 18:17:02 Gandalf Corvotempesta wrote:
> Is possible to add a third server for replication in a working cluster?
> If yes, how can I do this?
As far as I understand it (and for the current stable 3.2) there are two ways
depending on what you want:
When you want a third copy of the data, it seems you can't simply increase
the replication-level and add a brick. Instead you have to stop usage, delete
the volume (without deleting the underlying bricks of course) and then rebuild
the volume with the new number of replication and bricks. Then self-heal
should do the trick and copy the data onto the third machine.
When you are fine with two-out-of-three replication, you would use two bricks
per server and combine these three pairs of bricks for a distributed-
replicated volume and spread the bricks to the servers so that each server has
bricks of two different pairs. When you think of this when building the two-
node setup, you would first build a distributed-replicated volume with two
bricks per server (thus four bricks in two pairs). When the third node is
needed, you first move one brick (with the replace-brick), then build the third
pair of bricks.
Have fun,
Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120502/2c8fc8c4/attachment.sig>
More information about the Gluster-users
mailing list