Re: [Gluster-users] Floating IPv6 in a cluster (as NFS-Ganesha VIP)

2017-06-01 Thread Jan
Hi all,

thank you very much for support! I filed the bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1457724

I'll try to test it again to get some errors / warnings from log.

Best regards,

Jan

On Wed, May 31, 2017 at 12:25 PM, Kaleb S. KEITHLEY 
wrote:

> On 05/31/2017 07:03 AM, Soumya Koduri wrote:
> > +Andrew and Ken
> >
> > On 05/29/2017 11:48 PM, Jan wrote:
> >> Hi all,
> >>
> >> I love this project, Gluster and Ganesha are amazing. Thank you for this
> >> great work!
> >>
> >> The only thing that I miss is IPv6 support. I know that there are some
> >> challenges and that’s OK. For me it’s not important whether Gluster
> >> servers use IPv4 or IPv6 to speak each other and replicate data.
> >>
> >> The only thing that I’d like to have is a floating IPv6 for clients when
> >> I use Ganesha (just IPv6, dual stack isn’t needed).
> >>
> >> I tested it and I put IPv6 into ganesha-ha.conf instead of IPv4 and it
> >> didn’t work. But I think that it might work since Ganesha supports IPv6:
> >>
> >> netstat -plnt
> >>
> >> tcp6   00 :::2049:::*  LISTEN  1856/ganesha.nfsd
> >>
> >> Is there a way how to do that? Maybe build a cluster with IPv4 and then
> >> change “something” in Pacemaker / Corosync and replace IPv4 by IPv6?
> >>
> >
> > At-least from [1] looks like it is supported. Do you see any
> > errors/warnings in the log files? (/var/log/messages,
> > /var/log/pacemaker.log, /var/log/corosync.log)
> >
> >
> > [1] https://www.systutorials.com/docs/linux/man/7-ocf_heartbeat_IPaddr2/
> >
>
> /usr/lib/ocf/resource.d/heartbeat/IPaddr2 does support IPv6:
>
>   ...
>   Manages virtual IPv4 and IPv6 addresses (Linux
> specific version)
>
>   
>   
>   
>   The IPv4 (dotted quad notation) or IPv6 address (colon hexadecimal
> notation)
>   example IPv4 "192.168.1.1".
>   example IPv6 "2001:db8:DC28:0:0:FC57:D4C8:1FFF".
>   
>   ...
>
>
> If it's not working I suspect the ganesha-ha.sh script may not handle
> IPv6 addrs from the ganesha-ha.conf correctly.
>
> Please file a bug at
> https://bugzilla.redhat.com/enter_bug.cgi?product=GlusterFS component:
> common-ha, version: 3.10.
>
> Patches are nice too. ;-)
>
> Thanks
>
> --
>
> Kaleb
>
___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] Floating IPv6 in a cluster (as NFS-Ganesha VIP)

2017-05-31 Thread Kaleb S. KEITHLEY
On 05/31/2017 07:03 AM, Soumya Koduri wrote:
> +Andrew and Ken
> 
> On 05/29/2017 11:48 PM, Jan wrote:
>> Hi all,
>>
>> I love this project, Gluster and Ganesha are amazing. Thank you for this
>> great work!
>>
>> The only thing that I miss is IPv6 support. I know that there are some
>> challenges and that’s OK. For me it’s not important whether Gluster
>> servers use IPv4 or IPv6 to speak each other and replicate data.
>>
>> The only thing that I’d like to have is a floating IPv6 for clients when
>> I use Ganesha (just IPv6, dual stack isn’t needed).
>>
>> I tested it and I put IPv6 into ganesha-ha.conf instead of IPv4 and it
>> didn’t work. But I think that it might work since Ganesha supports IPv6:
>>
>> netstat -plnt
>>
>> tcp6   00 :::2049:::*  LISTEN  1856/ganesha.nfsd
>>
>> Is there a way how to do that? Maybe build a cluster with IPv4 and then
>> change “something” in Pacemaker / Corosync and replace IPv4 by IPv6?
>>
> 
> At-least from [1] looks like it is supported. Do you see any
> errors/warnings in the log files? (/var/log/messages,
> /var/log/pacemaker.log, /var/log/corosync.log)
> 
> 
> [1] https://www.systutorials.com/docs/linux/man/7-ocf_heartbeat_IPaddr2/
> 

/usr/lib/ocf/resource.d/heartbeat/IPaddr2 does support IPv6:

  ...
  Manages virtual IPv4 and IPv6 addresses (Linux
specific version)

  
  
  
  The IPv4 (dotted quad notation) or IPv6 address (colon hexadecimal
notation)
  example IPv4 "192.168.1.1".
  example IPv6 "2001:db8:DC28:0:0:FC57:D4C8:1FFF".
  
  ...


If it's not working I suspect the ganesha-ha.sh script may not handle
IPv6 addrs from the ganesha-ha.conf correctly.

Please file a bug at
https://bugzilla.redhat.com/enter_bug.cgi?product=GlusterFS component:
common-ha, version: 3.10.

Patches are nice too. ;-)

Thanks

-- 

Kaleb
___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] Floating IPv6 in a cluster (as NFS-Ganesha VIP)

2017-05-31 Thread Soumya Koduri

+Andrew and Ken

On 05/29/2017 11:48 PM, Jan wrote:

Hi all,

I love this project, Gluster and Ganesha are amazing. Thank you for this
great work!

The only thing that I miss is IPv6 support. I know that there are some
challenges and that’s OK. For me it’s not important whether Gluster
servers use IPv4 or IPv6 to speak each other and replicate data.

The only thing that I’d like to have is a floating IPv6 for clients when
I use Ganesha (just IPv6, dual stack isn’t needed).

I tested it and I put IPv6 into ganesha-ha.conf instead of IPv4 and it
didn’t work. But I think that it might work since Ganesha supports IPv6:

netstat -plnt

tcp6   00 :::2049:::*  LISTEN  1856/ganesha.nfsd

Is there a way how to do that? Maybe build a cluster with IPv4 and then
change “something” in Pacemaker / Corosync and replace IPv4 by IPv6?



At-least from [1] looks like it is supported. Do you see any 
errors/warnings in the log files? (/var/log/messages, 
/var/log/pacemaker.log, /var/log/corosync.log)



[1] https://www.systutorials.com/docs/linux/man/7-ocf_heartbeat_IPaddr2/


Thank you.

Best regards,

Jan



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


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


[Gluster-users] Floating IPv6 in a cluster (as NFS-Ganesha VIP)

2017-05-29 Thread Jan
Hi all,

I love this project, Gluster and Ganesha are amazing. Thank you for this
great work!

The only thing that I miss is IPv6 support. I know that there are some
challenges and that’s OK. For me it’s not important whether Gluster servers
use IPv4 or IPv6 to speak each other and replicate data.

The only thing that I’d like to have is a floating IPv6 for clients when I
use Ganesha (just IPv6, dual stack isn’t needed).

I tested it and I put IPv6 into ganesha-ha.conf instead of IPv4 and it
didn’t work. But I think that it might work since Ganesha supports IPv6:

netstat -plnt

tcp6   00 :::2049:::*  LISTEN  1856/ganesha.nfsd

Is there a way how to do that? Maybe build a cluster with IPv4 and then
change “something” in Pacemaker / Corosync and replace IPv4 by IPv6?

Thank you.

Best regards,

Jan
___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users