Henrik Bach
2009-Mar-10 04:45 UTC
[Gluster-users] I am not able to connect, when the gluster server is located remotely
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? -Henrik
Sean Davis
2009-Mar-10 12:14 UTC
[Gluster-users] I am not able to connect, when the gluster server is located remotely
And what does the server log look like? And the server volfile? Sean On Tue, Mar 10, 2009 at 12:45 AM, Henrik Bach <bach.henrik at gmail.com> wrote:> 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? > > -Henrik > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090310/6419f436/attachment.html>
Henrik Bach
2009-Mar-10 18:17 UTC
[Gluster-users] I am not able to connect, when the gluster server is located remotely
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>
Lyric Hartley
2009-Mar-10 18:24 UTC
[Gluster-users] I am not able to connect, when the gluster server is located remotely
are you using any authorization by ip in gluster? e.g. option auth.ip.brick.allow 10.* On Mon, Mar 9, 2009 at 9:45 PM, Henrik Bach <bach.henrik at gmail.com> wrote:> 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? > > -Henrik > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users >
Henrik Bach
2009-Mar-10 19:32 UTC
[Gluster-users] I am not able to connect, when the gluster server is located remotely
2009/3/10 Lyric Hartley <lyric at aboutus.org>:> yep, sorry, saw the attached vol after sending...I am still new to > gluster, but "connection refused" to me sounds like more at the os > level...i would recheck the firewallMy local/remote server is an Ubuntu 8.10 server installed right out of the box. To my knowledge there is no default firewall started. Correct me, if I am wrong.> > On Tue, Mar 10, 2009 at 11:39 AM, Henrik Bach <bach.henrik at gmail.com> wrote: >> 2009/3/10 Lyric Hartley <lyric at aboutus.org>: >>> are you using any authorization by ip in gluster? >>> e.g. option auth.ip.brick.allow 10.* >> >> I use >> >> option auth.ip.brick.allow * >> >>> >>> On Mon, Mar 9, 2009 at 9:45 PM, Henrik Bach <bach.henrik at gmail.com> wrote: >>>> 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? >>>> >>>> -Henrik >>>> >>>> _______________________________________________ >>>> Gluster-users mailing list >>>> Gluster-users at gluster.org >>>> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users >>>> >>> >> >> >> >> -- >> 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? >> >-- 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? -- 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?