[Gluster-users] dummy node issue

Marcos Renato da Silva Junior marcosjr at dee.feis.unesp.br
Wed Jan 13 10:41:20 UTC 2016


Said something wrong. Anyway thanks for the help.


Em 12-01-2016 15:52, Marcos Renato da Silva Junior escreveu:
> Hi,
>
> I'm testing a scenario with 3 servers and 1 client.
>
> I wonder if it is the best way for high availability and redundancy.
>
> In my test worked well even when server1 or server2 is down, but i 
> dont now.
>
> Sorry for english.
>
>
> version : glusterfs 3.6.1
>
>
> server1
> server2
> server3 - dummy node/arbiter node
> client
>
>
> on server1 :
>
> gluster peer probe server2
> gluster peer probe server3
>
> gluster volume create testvol replica 2 transport tcp 
> server1:/data/export server2:/data/export
>
> gluster volume start testvol
>
>
> on server2 :
>
> gluster peer probe server1
>
>
> on client :
>
> mount.glusterfs server1:/testvol /mnt/glusterfs -o 
> backupvolfile-server=server2
>
>
>
>
> Hostname: server2
> Uuid: 73ccd5d1-c672-4bc7-875c-d874e568632a
> State: Peer in Cluster (Connected)
>
> Hostname: server3
> Uuid: b712284c-5b42-4c0e-b67c-a908aa47bd3c
> State: Peer in Cluster (Connected)
>
>
> Volume Name: testvol
> Type: Replicate
> Volume ID: f0c7a490-285d-43f6-8e36-c6eb5edb6d20
> Status: Started
> Number of Bricks: 1 x 2 = 2
> Transport-type: tcp
> Bricks:
> Brick1: server1:/data/export
> Brick2: server2:/data/export
>
>
> Gathering list of entries to be healed on volume testvol has been 
> successful
>
> Brick server1:/data/export
> Number of entries: 0
>
> Brick server2:/data/export
> Number of entries: 0
>
>
> Status of volume: testvol
> Gluster process                                    Port    Online Pid
> ------------------------------------------------------------------------------ 
>
> Brick server1:/data/export                    49152    Y    3576
> Brick server2:/data/export                    49152    Y    3370
> NFS Server on localhost                        2049      Y    3583
> Self-heal Daemon on localhost              N/A        Y    3588
> NFS Server on server3                           2049     Y 13095
> Self-heal Daemon on server3                N/A        Y    13108
> NFS Server on server2                           2049     Y    3363
> Self-heal Daemon on server2                N/A        Y    3371
>
> Task Status of Volume testvol
> ------------------------------------------------------------------------------ 
>
> There are no active volume tasks
>
>
>
> Thanks.
>

-- 
Marcos Renato da Silva Junior
Universidade Estadual Paulista - Unesp
Faculdade de Engenharia de Ilha Solteira - FEIS
Departamento de Engenharia Elétrica
15385-000 - Ilha Solteira/SP
(18) 3743-1164



More information about the Gluster-users mailing list