eu estou tentando montar um cluster de storage utilizando o glustefs mas infelizmente eu estou tendo problemas. até agora eu fiz o seguinte:
2. Teoria
2.1. Topologia
srv1 192.168.0.5 (server)
srv2 192.168.0.6 (server)
srv3 192.168.0.7 (cliente)
3. Pratico
3.1. Servidor1 (192.168.0.5)
# Instalacao do software glusterFS
$ sudo aptitude install glusterfs-server
# Diretorio para formar o Gluster File Sistem
$ sudo mkdir /home/export
# Arquivo de configuracao do glusterFS
$ sudo vi /etc/glusterfs/glusterfsd.vol
volume posix
type storage/posix
option directory /home/export
end-volume
volume locks
type features/locks
subvolumes posix
end-volume
volume brick
type performance/io-threads
option thread-count 8
subvolumes locks
end-volume
volume server
type protocol/server
option transport-type tcp
option auth.addr.brick.allow 192.168.0.7
subvolumes brick
end-volume
# Reinicializacao do software
$ sudo /etc/init.d/glusterfs-server restart
3.2. Servidor2 (192.168.0.6)
# Instalacao do software glusterFS
$ sudo aptitude install glusterfs-server
# Diretorio para formar o Gluster File Sistem
$ sudo mkdir /home/export
# Arquivo de configuracao do glusterFS
$ sudo vi /etc/glusterfs/glusterfsd.vol
volume posix
type storage/posix
option directory /home/export
end-volume
volume locks
type features/locks
subvolumes posix
end-volume
volume brick
type performance/io-threads
option thread-count 8
subvolumes locks
end-volume
volume server
type protocol/server
option transport-type tcp
option auth.addr.brick.allow 192.168.0.7
subvolumes brick
end-volume
# Reinicializacao do software
$ sudo /etc/init.d/glusterfs-server restart
3.3. Servidor3 (192.168.0.7)
# Instalacao do software glusterFS
$ sudo aptitude install glusterfs-server
# Diretorio para formar o Gluster File Sistem
$ sudo mkdir /mnt/glusterfs
# Arquivo de configuracao do glusterFS
$ sudo vi /etc/glusterfs/glusterfs.vol
volume remote1
type protocol/client
option transport-type tcp
option remote-host 192.168.0.5
option remote-subvolume brick
end-volume
volume remote2
type protocol/client
option transport-type tcp
option remote-host 192.168.0.6
option remote-subvolume brick
end-volume
volume replicate
type cluster/replicate
subvolumes remote1 remote2
end-volume
volume writebehind
type performance/write-behind
option window-size 1MB
subvolumes replicate
end-volume
volume cache
type performance/io-cache
option cache-size 512MB
subvolumes writebehind
end-volume
# Reinicializacao do software
$ sudo /etc/init.d/glusterfs-server restart
# Montando o diretorio do glusterFS
$ sudo mount -t glusterfs /etc/glusterfs/glusterfs.vol /mnt/glusterfs
Não esta aparecendo nenhuma mensagem de erro quando eu monto, mas quando eu executo o comando ls para visualizar o conteúdo do diretório /mnt/glusterfs aparece a seguinte mensagem de erro.
ls: cannot access /mnt/glusterfs: Transport endpoint is not connected
Alguém por acaso já chegou a trabalhar com o glusterfs?
desde já obrigado pela atenção.