All of lore.kernel.org
 help / color / mirror / Atom feed
* Question on IPv6 failover.
@ 2013-10-03 21:04 Ben Greear
       [not found] ` <524DDBF7.5050709-my8/4N5VtI7c+919tysfdA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ben Greear @ 2013-10-03 21:04 UTC (permalink / raw)
  To: linux-cifs-u79uwXL29TY76Z2rM5mHXA

One of our users is reporting that the CIFS failover case is not working
properly.  They have a cluster of CIFS servers that migrate an IPv6 addr
to the active system.

Evidently, our client-side CIFS connection follows the first migration,
but fails to go back to the original on a second failover.

It could be any number of things, but I wanted first to see if anyone
knows how long client-side CIFS will keep attempting to regain contact with it's
server?  Forever?

Thanks,
Ben

-- 
Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
Candela Technologies Inc  http://www.candelatech.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Question on IPv6 failover.
       [not found] ` <524DDBF7.5050709-my8/4N5VtI7c+919tysfdA@public.gmane.org>
@ 2013-10-03 22:30   ` Steve French
       [not found]     ` <CAH2r5mtirrcvkqQho7QvMDJ8eZWGT5Q2S9w=GLKuGiwM1z29GQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2013-10-04  1:41   ` Jeff Layton
  1 sibling, 1 reply; 4+ messages in thread
From: Steve French @ 2013-10-03 22:30 UTC (permalink / raw)
  To: Ben Greear; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On Thu, Oct 3, 2013 at 4:04 PM, Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org> wrote:
> One of our users is reporting that the CIFS failover case is not working
> properly.  They have a cluster of CIFS servers that migrate an IPv6 addr
> to the active system.
>
> Evidently, our client-side CIFS connection follows the first migration,
> but fails to go back to the original on a second failover.
>
> It could be any number of things, but I wanted first to see if anyone
> knows how long client-side CIFS will keep attempting to regain contact with
> it's
> server?  Forever?
>
> Thanks,
> Ben

Depends on kernel version and also hard vs. soft (default) mount options.

The "smb echo" approach that cifs moved to a few years ago allows
the cifs kernel client to notice more quickly that the server is down,
and significantly improved failover.

Which kernel version?


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Question on IPv6 failover.
       [not found]     ` <CAH2r5mtirrcvkqQho7QvMDJ8eZWGT5Q2S9w=GLKuGiwM1z29GQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-10-03 23:08       ` Ben Greear
  0 siblings, 0 replies; 4+ messages in thread
From: Ben Greear @ 2013-10-03 23:08 UTC (permalink / raw)
  To: Steve French; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On 10/03/2013 03:30 PM, Steve French wrote:
> On Thu, Oct 3, 2013 at 4:04 PM, Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org> wrote:
>> One of our users is reporting that the CIFS failover case is not working
>> properly.  They have a cluster of CIFS servers that migrate an IPv6 addr
>> to the active system.
>>
>> Evidently, our client-side CIFS connection follows the first migration,
>> but fails to go back to the original on a second failover.
>>
>> It could be any number of things, but I wanted first to see if anyone
>> knows how long client-side CIFS will keep attempting to regain contact with
>> it's
>> server?  Forever?
>>
>> Thanks,
>> Ben
>
> Depends on kernel version and also hard vs. soft (default) mount options.
>
> The "smb echo" approach that cifs moved to a few years ago allows
> the cifs kernel client to notice more quickly that the server is down,
> and significantly improved failover.
>
> Which kernel version?

3.7.10

The hard v/s soft is not being specified when mounting unless the
customer did something interesting, so I guess it is soft.

I'm still waiting on a network dump, so at this time I have no
reason to believe that Linux CIFS is actually to blame...just
trying to understand the possibilities better.

Thanks,
Ben

-- 
Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
Candela Technologies Inc  http://www.candelatech.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Question on IPv6 failover.
       [not found] ` <524DDBF7.5050709-my8/4N5VtI7c+919tysfdA@public.gmane.org>
  2013-10-03 22:30   ` Steve French
@ 2013-10-04  1:41   ` Jeff Layton
  1 sibling, 0 replies; 4+ messages in thread
From: Jeff Layton @ 2013-10-04  1:41 UTC (permalink / raw)
  To: Ben Greear; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA

On Thu, 03 Oct 2013 14:04:55 -0700
Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org> wrote:

> One of our users is reporting that the CIFS failover case is not working
> properly.  They have a cluster of CIFS servers that migrate an IPv6 addr
> to the active system.
> 
> Evidently, our client-side CIFS connection follows the first migration,
> but fails to go back to the original on a second failover.
> 
> It could be any number of things, but I wanted first to see if anyone
> knows how long client-side CIFS will keep attempting to regain contact with it's
> server?  Forever?
> 

Yep, forever. The address to connect to is determined by the mount
helper and passed down to the kernel at mount time. This is the same
for IPv4 and IPv6. If the address is floating between servers then
it'll just look like the server rebooted when you fail over, and the
client should just keep trying to reconnect indefinitely.

-- 
Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-04  1:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-03 21:04 Question on IPv6 failover Ben Greear
     [not found] ` <524DDBF7.5050709-my8/4N5VtI7c+919tysfdA@public.gmane.org>
2013-10-03 22:30   ` Steve French
     [not found]     ` <CAH2r5mtirrcvkqQho7QvMDJ8eZWGT5Q2S9w=GLKuGiwM1z29GQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-03 23:08       ` Ben Greear
2013-10-04  1:41   ` Jeff Layton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.