Hi, I am trying to setup two redundant Samba Servers. The file shares are on both servers and needs to be synced. My best solution is to run an rsync between them every 5 min ? Are there any smarter solution to this? Another problem is how I could solve the kerberos authentication in the best possible way? We have a Windows AD server and authenticate through kerberos. If server1 is down I want to switch to server2 but use the same DNS / Computer name because all users have it mapped. It also saves the profiles. I have tried to set up a DNS alias on the AD server's DNS and my idea was that I just could switch the alias to the server I want to use. But that doesn't work because it is the alias name that tries to authenticate to kerberos and I then get: "Server not found in Kerberos database" on the kerberos server. I hope someone has a smart solution to this? / Linus
Linux HA might work for you. Linus Hedstr?m wrote:> Hi, > > I am trying to setup two redundant Samba Servers. > > The file shares are on both servers and needs to be synced. > My best solution is to run an rsync between them every 5 min ? > Are there any smarter solution to this? > > Another problem is how I could solve the kerberos authentication in > the best possible way? > We have a Windows AD server and authenticate through kerberos. > > If server1 is down I want to switch to server2 but use the same DNS / > Computer name because all users have it mapped. It also saves the > profiles. > > I have tried to set up a DNS alias on the AD server's DNS and my idea > was that I just could switch the alias to the server I want to use. > > But that doesn't work because it is the alias name that tries to > authenticate to kerberos and I then get: "Server not found in Kerberos > database" on the kerberos server. > > > I hope someone has a smart solution to this? > > / > Linus >-- Matt Lung Midwest Tool & Die, Corp.
Am Mittwoch, 19. April 2006 15:25 schrieb Linus Hedstr?m:> I am trying to setup two redundant Samba Servers. > > The file shares are on both servers and needs to be synced. > My best solution is to run an rsync between them every 5 min ? > Are there any smarter solution to this? > > Another problem is how I could solve the kerberos authentication in the > best possible way? > We have a Windows AD server and authenticate through kerberos. > > If server1 is down I want to switch to server2 but use the same DNS / > Computer name because all users have it mapped. It also saves the profiles. > > I have tried to set up a DNS alias on the AD server's DNS and my idea > was that I just could switch the alias to the server I want to use. > > But that doesn't work because it is the alias name that tries to > authenticate to kerberos and I then get: "Server not found in Kerberos > database" on the kerberos server. > I hope someone has a smart solution to this?drbd and carp. that should imho even work with kerberos. not sure, though :) HTH, Jonas Jochum archIT - Faculty of Architecture - University of Karlsruhe -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20060419/4df310cf/attachment.bin
Hi Linus, I have been using heartbeat + DRBD for serveral years now, very reliable and excellent setup. I highly recommend it. If you are having issues with heartbeat V2 try version 1.XXX; I still use version 1. DRBD replicates the drives (raid1 over lan) very cool; heartbeat gives you a vurtual cluster IP. Time to do some reading ;) Adrian Sender From: Linus Hedström <linus@further.se> To: samba@lists.samba.org Subject: [Samba] Reduntant Samba servers? Sent: Wednesday, 19 April 2006 11:25:15 PM Hi, I am trying to setup two redundant Samba Servers. The file shares are on both servers and needs to be synced. My best solution is to run an rsync between them every 5 min ? Are there any smarter solution to this? Another problem is how I could solve the kerberos authentication in the best possible way? We have a Windows AD server and authenticate through kerberos. If server1 is down I want to switch to server2 but use the same DNS / Computer name because all users have it mapped. It also saves the profiles. I have tried to set up a DNS alias on the AD server's DNS and my idea was that I just could switch the alias to the server I want to use. But that doesn't work because it is the alias name that tries to authenticate to kerberos and I then get: "Server not found in Kerberos database" on the kerberos server. I hope someone has a smart solution to this? / Linus
adrian sender ha scritto:> Hi Linus, > > I have been using heartbeat + DRBD for serveral years now, very reliable > and excellent setup. I highly recommend it. If you are having issues > with heartbeat V2 try version 1.XXX; I still use version 1. > > DRBD replicates the drives (raid1 over lan) very cool; heartbeat gives > you a vurtual cluster IP.Do you also replicate openldap in this way? Or are you using tdb backend for samba? Alan
Hi Linus I use openldap with the slurpd to replicate the ldap database; this is the propper way to replicate ldap to slave servers - there can only be one master ldap server. For further information about replicating openldap to slave ldap servers, refer to samba 3 by example chapter 6 on the samba web site, it is pretty easy to setup. Cheers, Adrian Sender From: Alan Dodd <alan.dodd@tele2.it> To: samba@lists.samba.org Subject: [Samba] Re: Reduntant Samba servers? Sent: Wednesday, 26 April 2006 4:34:06 PM adrian sender ha scritto: Hi Linus, I have been using heartbeat + DRBD for serveral years now, very reliable and excellent setup. I highly recommend it. If you are having issues with heartbeat V2 try version 1.XXX; I still use version 1. DRBD replicates the drives (raid1 over lan) very cool; heartbeat gives you a vurtual cluster IP. Do you also replicate openldap in this way? Or are you using tdb backend for samba? Alan