Re: Connect to ec2 instance via libgfapi

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

 



On Wed, Jan 11, 2017 at 01:25:16PM +0000, David Spisla wrote:
> 
> Hello,
> 
> I am from germany and have this issue for discussion: I am running a gluster volume (/gv0) on a CentOS Machine (ec2 instance from Amazon AWS) and want to use libgfapi to connect from my CentOS VM (local computer) to this volume.
> 
> For this purpose I use the GlusterClient class to connect. This is my initialization:
> 
> GlusterClient cl = new GlusterClient(""ec2-54-xxx-xxx-xx.eu-west-1.compute.amazonaws.com"",  24007, "tcp").
> 
> It seems to be that I have a connection and my programming starts to create a file. But after start creating a file my program hanging around and there is no response from the system.
> Does anybody has experiences using libgfapi to an ec2-instance?

You need port tcp/24007 to connect to the GlusterD process to get the
volume layout (.vol file). After that, gfapi will connect to all the
bricks of the volume. That means, you need to open many more ports on
all your Gluster servers in order to get a usable GlusterFS connection.
The gfapi log will most likely show you connection errors.

For questions and discussions related to gfapi, you can also use our
relatively new integration@xxxxxxxxxxx list.

HTH,
Niels


> 
> Thank you for your attention!
> 
> 
> David Spisla
> Software Developer
> david.spisla@xxxxxxxxxxxx<mailto:david.spisla@xxxxxxxxxxxx>
> www.iTernity.com<http://www.iternity.com/>
> Tel:       +49 761-590 34 841
> 
> [cid:image001.png@01D239C7.FDF7B430]
> 
> iTernity GmbH
> Heinrich-von-Stephan-Str. 21
> 79100 Freiburg - Germany
> ---
> unseren technischen Support erreichen Sie unter +49 761-387 36 66
> ---
> Geschäftsführer: Ralf Steinemann
> Eingetragen beim Amtsgericht Freiburg: HRB-Nr. 701332
> USt.Id de-24266431
> 



> _______________________________________________
> Gluster-users mailing list
> Gluster-users@xxxxxxxxxxx
> http://lists.gluster.org/mailman/listinfo/gluster-users

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users

[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