Hi there, I have a problem getting my Samba installation redundant. I installed a PDC and a BDC working with 2 LDAP servers. The problem is, when users are logged in and the BDC fails, the PDC does not take over the running sessions and vice versa. The clients have a hanging explorer and so on. When the failing server gets back online again, everything works, no lags anymore. Is it possible to configure the samba servers to take over these running sessions? New logon sessions are working as expected. Thanks Florian
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/17/2007 07:32 AM, Florian Zierer escreveu:> Hi there, > I have a problem getting my Samba installation redundant. > I installed a PDC and a BDC working with 2 LDAP servers. > > The problem is, when users are logged in and the BDC fails, > the PDC does not take over the running sessions and vice versa.And it shouldn't. :-) PDC/BDC strategy is used to share the load and keep your network running logons and so on, if you have a common backend then you can share the files and work something like a High Avaliability or CLustered environment. You might be interested in the [1]wiki page about Samba & Cluster, it is a work in progress, but could help you achieve what you want. 1. http://wiki.samba.org/index.php/Samba_%26_Clustering> The clients have a hanging explorer and so on. > When the failing server gets back online again, everything > works, no lags anymore.Exactly, so it seems to be working the way it should be.> Is it possible to configure the samba servers to take over > these running sessions?Hmmm... _maybe_. :-) Check the above wiki page.> New logon sessions are working as expected. > Thanks > FlorianKind regards, - -- Felipe Augusto van de Wiel <felipe@paranacidade.org.br> Coordenadoria de Tecnologia da Informa??o (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFFr6ATCj65ZxU4gPQRAo5SAJ4gStwRq82h9F0t+i7vHzB8nixyOgCgilay 746pIIRg8yUIpmqPJ00J9NQ=xR7V -----END PGP SIGNATURE-----
On Thu, Jan 18, 2007 at 02:28:04PM -0200, Felipe Augusto van de Wiel wrote:> > Is it possible to configure the samba servers to take over > > these running sessions? > > Hmmm... _maybe_. :-) Check the above wiki page.No, this is not possible. The current development sketched in the wiki also does not have that feature. Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20070118/276efff8/attachment.bin
Hi Felipe, Felipe Augusto van de Wiel wrote:> On 01/17/2007 07:32 AM, Florian Zierer escreveu: >> Hi there, >> I have a problem getting my Samba installation redundant. >> I installed a PDC and a BDC working with 2 LDAP servers. >> >> The problem is, when users are logged in and the BDC fails, >> the PDC does not take over the running sessions and vice versa. > > And it shouldn't. :-)Ah, ok. Thanks for the clarification. I have nowhere read something like a table about the features of a bdc. Perhaps this would be good to mention in the official samba howto at http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/samba-bdc.html. There is something written about bdcs but it would be good to have a section like: What does it do? - load balancing - logons still possible if one dc fails - ... What does it NOT do? - take over running session - ... There is so much Samba Documentation out there but it is difficult to find the right answers. What are the differences between a BDC and a PDC?> PDC/BDC strategy is used to share the load and keep your > network running logons and so on, if you have a common backend > then you can share the files and work something like a High > Avaliability or CLustered environment.perhaps this should also be written on the official howto. There is not that much written about failure scenarios and redundancy. What is going on if my pdc and the master ldap server fail. Can the bdc still operate with the slave ldap? What is going on if the machine trust passwords are changed in such a scenario? Do i have to "propagate" the bdc to a pdc (in smb.conf)? >> The clients have a hanging explorer and so on. >> When the failing server gets back online again, everything >> works, no lags anymore. > Exactly, so it seems to be working the way it should be. Thanks Flo