[mdlug] Samba and F5 for Failover?
Wojtak, Greg
GregWojtak at quickenloans.com
Wed Oct 7 10:18:07 EDT 2009
Thanks Rob. I think this gives me all I need. I am failing across datacenters in different cities. The requirement is for a DR situation, so *immediate* failover is not a requirement. Our samba servers are on our SAN and the disk is being replicated from one to the other. So it sounds like I can just keep the configs in sync (maybe put all the required configuration info on a small replicated volume?) and when our primary datacenter gets exploded (ha!) I can just fire up the "DR" samba server and set the F5 to send requests to that server.
Thanks again!
-----Original Message-----
From: mdlug-bounces at mdlug.org [mailto:mdlug-bounces at mdlug.org] On Behalf Of Robert Adkins
Sent: Wednesday, October 07, 2009 9:52 AM
To: 'MDLUG's Main discussion list'
Subject: Re: [mdlug] Samba and F5 for Failover?
Both Samba Servers can be named exactly the same and use all of the same
configuration files.
One server will lay dormant with a heartbeat monitor checking the status of
the second server and when that server fails, it would start up it's own
instance of smbd, nmbd and run with it.
I have no idea how you could overcome the few seconds between Samba dying
and the new Samba coming back up though.
I do know that you can NFS mount drives and then share those via Samba. You
could NFS share the smb configurations to ensure that they are the same on
both systems (or setup an rsync, which might be wiser) and have all the
shared data on a NAS that supports NFS and work out your shares via the
samba servers.
There's plenty of choices about how to make this all work.
Regards,
Rob
> -----Original Message-----
> From: mdlug-bounces at mdlug.org
> [mailto:mdlug-bounces at mdlug.org] On Behalf Of Wojtak, Greg
> Sent: Wednesday, October 07, 2009 9:20 AM
> To: MDLUG's Main discussion list
> Subject: [mdlug] Samba and F5 for Failover?
>
> Say I have two samba servers, ServerA and ServerB. In front
> of those, I want to set up a failover mechanism by
> leveraging an F5. The idea is that the data is that the data
> is replicated with less than a 4ms lag between the two
> servers (backend disk replication). My question is, is there
> anything special I need to do with Samba to get this to work?
> I want the F5 virtual name that users will hit to be, say,
> "smb." Would I then configure the samba servers' names to be
> "smb" or would it be something else, like smbA and smbB? Any
> other considerations?
>
> TIA
>
> Greg Wojtak
> Unix Systems
> Quicken Loans
> O (734) 805-5980
> C (734) 718-8472
> http://www.quickenloans.com
>
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
>
_______________________________________________
mdlug mailing list
mdlug at mdlug.org
http://mdlug.org/mailman/listinfo/mdlug
More information about the mdlug
mailing list