I am not able to connect, when the gluster server is located remotely

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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://zresearch.com/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://zresearch.com/pipermail/gluster-users/attachments/20090310/537c7c34/attachment-0001.obj>


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux