On 09/22/2017 02:25 AM, Kotresh Hiremath Ravishankar wrote:
The volume layout of geo-replication slave volume could be different from master volume. It's not mandatory that if the master volume is arbiter type, the slave also needs to be arbiter. But if it's decided to use the arbiter both at master and slave, then the expansion rules is
applicable both at master and slave.

Adding Ravi for arbiter related question

On Thu, Sep 21, 2017 at 2:07 PM, Marcus <[email protected] <mailto:[email protected]>> wrote:

    Hi all!

    Today I have a small gluster replication on 2 machines.
    My plan is to scale this, I though need some feedback that how I
    plan things is in the right direction.

    First of all I have understood the need of an arbiter.
    When I scale this, say that I just have 2 replica and 1 arbiter,
    when I add another two machines can I still use the same physical
    machine as the arbiter?
    Or when I add additional two machines I have to add another
    arbiter machine as well?



You can use the same physical machine for hosting multiple arbiter bricks. The general rule of brick placement is the same for any type of replica volume: No 2 bricks of the same replica subvolume should be on the same node.

Thanks,
Ravi


    My second question is about geo-replication.
    If I want to setup a geo-replication on above gluster cluster do I
    need to have the exact "same" machines in the reo-replication?
    I know that disk size should be same size on both the brick and on
    the geo-replication side.
    So if I have 2 replica and 1 arbiter, do I need 2 replica and 1
    arbiter for the geo-replication?
    Or is it sufficient for a 2 replica and 1 arbiter to use 1 replica
    for the geo-replication?
    What I wonder is when I scale my gluster with additional 2
    machines, do I need 2 machines for geo-replication or 1 machine
    for geo-replication?
    So adding 2 machines means adding 4 machines in total or do I just
    need 3 in total?
    Is there a need for a arbiter in the geo-replication?

    Many questions, but I hope that you can help me out!

    Many thanks in advance!

    Best regards
    Marcus Pedersén


-- ------------------------------------------------------------------------
    *Marcus Pedersén*
    /System administrator/


    *Interbull Centre*
    Department of Animal Breeding & Genetics — SLU
    Box 7023, SE-750 07
    Uppsala, Sweden

    Visiting address:
    Room 55614, Ulls väg 26, Ultuna
    Uppsala
    Sweden

    Tel: +46-(0)18-67 1962 <tel:+46%2018%2067%2019%2062>
        Interbull Logo


    ISO certification logo

    _______________________________________________
    Gluster-users mailing list
    [email protected] <mailto:[email protected]>
    http://lists.gluster.org/mailman/listinfo/gluster-users
    <http://lists.gluster.org/mailman/listinfo/gluster-users>




--
Thanks and Regards,
Kotresh H R

_______________________________________________
Gluster-users mailing list
[email protected]
http://lists.gluster.org/mailman/listinfo/gluster-users

Reply via email to