Please note that the SMB/CIFS protocol itself does not gracefully recover
from a failover.  SMB2 is much better in this regard.  This is a client-side
problem due to limitations in the protocol and client expectations.

Chris -)-----

Frank de Groodt wrote:
> Make sure you use virtual public ip addresses managed by CTDB, not the ones 
> bound to your NICS.
> 
> Frank.
> ________________________________________
> From: [email protected] [[email protected]] On 
> Behalf Of Abhijith Das [[email protected]]
> Sent: Tuesday, June 22, 2010 4:33 PM
> To: linux clustering
> Cc: Sumit Bose; Gunther Deschner; Simo Sorce
> Subject: Re: [Linux-cluster] Samba Statefull Failover
> 
> ----- "Jason Fitzpatrick" <[email protected]> wrote:
> 
>> From: "Jason Fitzpatrick" <[email protected]>
>> To: [email protected]
>> Sent: Tuesday, June 22, 2010 6:43:36 AM GMT -06:00 US/Canada Central
>> Subject: [Linux-cluster] Samba Statefull Failover
>>
>> Hi all
>>
>> Just wondering if it is possible to statefully migrate smb
>> connections
>> between cluster nodes, I am running ctdb (Samba's Cluster software)
>> but all connections are dropped when the service is failed between
>> nodes
>>
>> Setup is as follows
>>
>> 2 node cluster
>> DRBD backend shared storage in Master Master configuration
>> cman presenting GFS2 /Storage folder
>> Samba + Winbind + CTDB used to present /Storage/Test_Share via
>> \\clustername\test_share (both nodes are AD integrated)
>>
>> Connections to replicated storage are working fine, AD accounts are
>> authenticated correcly and smbstatus shows that CTDB is load
>> ballancing the cluster address between nodes correctly,
>>
>> When I run ctdb shutdown I expect existing connections to be migrated
> 
> Also, I think "ctdb shutdown" is not the right command (Use "ctdb disable", it
> should all be in the man pages). Only one node should fail so that the
> other node can take over the IP address. If the IP address is not taken
> over, the clients will probably not be able to reconnect.
> 
> Cheers!
> --Abhi
> 
> --
> Linux-cluster mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/linux-cluster
> 
> --
> Linux-cluster mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/linux-cluster

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   [email protected]
OnLineBook -- http://ubiqx.org/cifs/    -)-----   [email protected]

--
Linux-cluster mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-cluster

Reply via email to