[FUG-BR] Off - Gluster não replica
Marcus Lahr
marcus em iel.unicamp.br
Quinta Maio 28 17:08:40 BRT 2009
Senhores, boa tarde!
Estou tentando montar um ambiente com replicação de dados, utilizando o
Gluster.
Segui um tutorial da própria página do aplicativo para montar a
replicação, aparentemente tudo está funcionando sem problemas, mas a
replicação não ocorre.
Segue abaixo os arquivos de configuração dos servidores e também um cat
do meu log.
Abraços,
Marcus
Server1:
volume brick1
type storage/posix
option directory /usr/jail1/web
end-volume
volume brick2
type protocol/client
option transport-type tcp/client
option remote-host 143.106.176.5 # IP address of server2
option remote-subvolume brick1 # use brick1 on server2
option transport-timeout 5
end-volume
volume afr
type cluster/afr
subvolumes brick1 brick2
end-volume
volume server
type protocol/server
option transport-type tcp/server
subvolumes brick1 afr
option auth.addr.brick1.allow 143.106.176.*,127.0.0.1
option auth.addr.afr.allow 143.106.176.*,127.0.0.1
end-volume
Server2:
volume brick1
type storage/posix
option directory /usr/jail1/web
end-volume
volume brick2
type protocol/client
option transport-type tcp/client
option remote-host 143.106.176.4 # IP address of server1
option remote-subvolume brick1 # use brick1 on server1
option transport-timeout 5
end-volume
volume afr
type cluster/afr
subvolumes brick2 brick1
end-volume
volume server
type protocol/server
option transport-type tcp/server
subvolumes brick1 afr
option auth.addr.brick1.allow 143.106.176.*,127.0.0.1
option auth.addr.afr.allow 143.106.176.*,127.0.0.1
end-volume
log-file:
Version : glusterfs 2.0.0rc1 built on May 27 2009 08:56:52
TLA Revision : glusterfs--mainline--3.0--patch-844
Starting Time: 2009-05-28 15:54:01
Command line : glusterfs --log-file=/var/log/glusterfs.log
given volfile
+-----
1: volume brick1
2: type storage/posix
3: option directory /usr/jail1/web
4: end-volume
5:
6: volume brick2
7: type protocol/client
8: option transport-type tcp/client
9: option remote-host 143.106.176.5 # IP address of server2
10: option remote-subvolume brick1 # use brick1 on server2
11: option transport-timeout 5
12: end-volume
13:
14: volume afr
15: type cluster/afr
16: subvolumes brick1 brick2
17: end-volume
18:
19: volume server
20: type protocol/server
21: option transport-type tcp/server
22: subvolumes brick1 afr
23: option auth.addr.brick1.allow 143.106.176.*,127.0.0.1
24: option auth.addr.afr.allow 143.106.176.*,127.0.0.1
25: end-volume
+-----
Mais detalhes sobre a lista de discussão freebsd