Mirror volumes with odd number of servers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ok, will request someone from my team to send it  .. but you will need to remember the caveat about the inadequate testing and non availability of quick support for the non-standard volume configs :-)

----- Original Message -----
From: "James Burnash" <jburnash at knight.com>
To: "Gluster General Discussion List" <gluster-users at gluster.org>
Sent: Wednesday, July 28, 2010 10:11:08 PM
Subject: Re: Mirror volumes with odd number of servers

Thanks Tejas.

If an actual example of the glusterfs.vol was available showing this setup was available, that would be a valuable sanity check against what I will build.

James Burnash, Unix Engineering
T. 201-239-2248 
jburnash at knight.com | www.knight.com

545 Washington Ave. | Jersey City, NJ


-----Original Message-----
From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Tejas N. Bhise
Sent: Wednesday, July 28, 2010 12:26 PM
To: Gluster General Discussion List
Subject: Re: Mirror volumes with odd number of servers

James,

You can do that, but you will have to hand craft the volume file. volgen looks for even numbers as you have already noticed.

With hand crafting of volume files, you can even have a replicate distribute .. so e.g. 2 copies of file, and each replicate node of the graph can have a differing number of distribute servers under it.

something like this can be done to have a replica count of two with 5 servers... 
       
   
         |      R1   |----------R1D1
mount--- |-----------|----------R1D2
         |
         |      R2   |-----------R2D1
         |-----------|-----------R2D2
                     |-----------R2D3


The design of translators is so modular that they can be used in any combination. This however used to lead to confusion and hence we developed volgen that produced easy to use and default best-fit configuration.



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux