[Gluster-users] I am not able to connect, when the gluster server is located remotely

Henrik Bach bach.henrik at gmail.com
Tue Mar 10 18:17:30 UTC 2009


2009/3/10 Henrik Bach <bach.henrik at gmail.com>:
> Hi,
>
> I am following the tutorial in the user guide.
>
> I am able to connect to the local glusterfs server with a client, but
> I am not able to connect, when the server is located remotely:
>
> --------- client log -----------
> 2009-03-10 05:38:16 E [tcp-client.c:190:tcp_connect] client:
> non-blocking connect() returned: 111 (Connection refused)
> 2009-03-10 05:38:24 E [tcp-client.c:190:tcp_connect] client:
> non-blocking connect() returned: 111 (Connection refused)
> 2009-03-10 05:38:37 E [tcp-client.c:190:tcp_connect] client:
> non-blocking connect() returned: 111 (Connection refused)
> 2009-03-10 05:38:58 E [tcp-client.c:190:tcp_connect] client:
> non-blocking connect() returned: 111 (Connection refused)
> --------- client log -----------
>
> Both the local and remote server share the same vol-files. There is no
> firewall blocking the server. Any ideas?

I've found that I can not specify a dns-name in the remote-host
option. This gives, that If I use absolute addressing 127.0.0.1
(localhost), I am able to connect and sync. If I use the dhcp assigned
host address, I am still not able to connect.

I've started the gluster server with:

sudo /etc/init.d/glusterfs-server restart
 * Restarting GlusterFS server glusterfsd
   ...done.

I've started the client with:

sudo glusterfs -f /etc/glusterfs/glusterfs-client.vol /mnt/glusterfs/

There is no output in the glusterfsd.log file. The output in
glusterfs.log is like the above shown.

The vol-files are attached to this mail.

>
> -Henrik
>



-- 
Med venlig hilsen/Kind regards
Henrik Bach

Civilingeniør/Cand. Polyt./M.Sc.E.
LLVM Open Source Developer,
MCPD: Web Developer,
MCTS: .Net Framework 2.0: Windows Applications, Web Applications,
Distributed Applications,
MCTS: SQL Server 2005

Email: bach dot henrik at gmail dot com
Mobile: +45 25 88 96 29

Fight back globalism - Take ownership of your life!
Been there, done that, what's up?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glusterfs-server.vol
Type: application/octet-stream
Size: 1788 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090310/537c7c34/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glusterfs-client.vol
Type: application/octet-stream
Size: 2100 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090310/537c7c34/attachment-0001.obj>


More information about the Gluster-users mailing list