Hi all, As many of us, I'm trying to find a way to have a failover solution for a Samba domain. The actual choice has been (because of hardware cost) to have only 1 physical xen-based server (ubuntu 14.04) that do (dom0) : - DHCP server (LAN) - NTP server - firewall - proxy - DNS server Then 4 VMs running for: - Samba Domain controller - Samba Domain member (file server) - Apache2 server - email server As all eggs are in the same basket (French talking), I've setup a 2nd xen-based server that uses DRBD/Pacemaker to provide the basic dom0 functions. Now it's time about Samba ... ( I've read : https://wiki.samba.org/index.php/Clustered_Samba ) From other readings, it seems that GlusterFS is not actually a valid solution (permissions troubles from Windows side). I was wondering if setting up Samba VMs that would use a RAID1 DRBD network (RAID1 between xen-host1 and xen-host2) filesystem would be an acceptable solution. Thanks in advance for your thoughts. Nicolas
I am running with Openldap/samba3 PDC/BDC ucarp(for floating ip)/glusterfs!!!! on two centos hosts for years without any issue. Just was setting up a samba4 2DCs replicating with glusterfs (for file sharing) last 2 months. Running well so far EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von me at electronico.nc Gesendet: Donnerstag, 26. Juni 2014 00:09 An: samba at lists.samba.org Betreff: [Samba] about samba failover Hi all, As many of us, I'm trying to find a way to have a failover solution for a Samba domain. The actual choice has been (because of hardware cost) to have only 1 physical xen-based server (ubuntu 14.04) that do (dom0) : - DHCP server (LAN) - NTP server - firewall - proxy - DNS server Then 4 VMs running for: - Samba Domain controller - Samba Domain member (file server) - Apache2 server - email server As all eggs are in the same basket (French talking), I've setup a 2nd xen-based server that uses DRBD/Pacemaker to provide the basic dom0 functions. Now it's time about Samba ... ( I've read : https://wiki.samba.org/index.php/Clustered_Samba ) From other readings, it seems that GlusterFS is not actually a valid solution (permissions troubles from Windows side). I was wondering if setting up Samba VMs that would use a RAID1 DRBD network (RAID1 between xen-host1 and xen-host2) filesystem would be an acceptable solution. Thanks in advance for your thoughts. Nicolas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
im having it like this Xen 6.2 servers with. DC1 ( ntp/dns/ldap/dhcp ) ! dhcp can be in failover mode, but not with bind9_DLZ must be bind9_flate file. DC2 ( ntp/dns/ldap/dhcp backup ) same install as above incase server 1 is down. data files ares synced. ntp1/2 dns1/2 and ldap1/2 are set as alias in dns. member1 CTDB setup member2 CTDB setup proxy1 and 2 with kerberos and ldap auth as fallback. ( squidclamav icap anti-ads setup and proxy ssl with ssl-bump ) webserver with sso for webmail ( kerberos auth ) lan site / Wan site ldap auth with group control email server im using zarafa , but on physical hardware, because of my database size 110Gb+ software used Debian wheezy on all servers. sernet samba 4 for DC and Member servers. Debian Samba 4 from backports for proxy servers ( and you need squid 3.3.x for kerberos and icap to work correctly ) webserver debian wheezy no samba ( sso setup ) example here : https://community.zarafa.com/pg/blog/read/18332/zarafa-outlook-amp-webaccess-sso-with-samba4 mail server zarafa 7.1.10 added in Samba AD, and transports/aliasses in AD, almost no postfix changed needed. 90% is done in ad, last 10% im working on.. Push mail. In sort almost a MS SBS based on samba4 thanks to these great samba developers AND all the people of the samba communitie who are helping everyone. ;-) Greetz, Louis>-----Oorspronkelijk bericht----- >Van: me at electronico.nc [mailto:samba-bounces at lists.samba.org] >Namens me at electronico.nc >Verzonden: donderdag 26 juni 2014 0:09 >Aan: samba at lists.samba.org >Onderwerp: [Samba] about samba failover > >Hi all, > >As many of us, I'm trying to find a way to have a failover >solution for >a Samba domain. > >The actual choice has been (because of hardware cost) to have only 1 >physical xen-based server (ubuntu 14.04) that do (dom0) : >- DHCP server (LAN) >- NTP server >- firewall >- proxy >- DNS server >Then 4 VMs running for: >- Samba Domain controller >- Samba Domain member (file server) >- Apache2 server >- email server > >As all eggs are in the same basket (French talking), I've setup a 2nd >xen-based server that uses DRBD/Pacemaker to provide the basic dom0 >functions. > >Now it's time about Samba ... >( I've read : https://wiki.samba.org/index.php/Clustered_Samba ) > From other readings, it seems that GlusterFS is not actually a valid >solution (permissions troubles from Windows side). >I was wondering if setting up Samba VMs that would use a RAID1 DRBD >network (RAID1 between xen-host1 and xen-host2) filesystem would be an >acceptable solution. > >Thanks in advance for your thoughts. > >Nicolas > > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
On Thu, 2014-06-26 at 09:08 +1100, me at electronico.nc wrote:> Hi all, > > As many of us, I'm trying to find a way to have a failover solution for > a Samba domain. > > The actual choice has been (because of hardware cost) to have only 1 > physical xen-based server (ubuntu 14.04) that do (dom0) : > - DHCP server (LAN) > - NTP server > - firewall > - proxy > - DNS server > Then 4 VMs running for: > - Samba Domain controller > - Samba Domain member (file server) > - Apache2 server > - email server > > As all eggs are in the same basket (French talking), I've setup a 2nd > xen-based server that uses DRBD/Pacemaker to provide the basic dom0 > functions. > > Now it's time about Samba ... > ( I've read : https://wiki.samba.org/index.php/Clustered_Samba ) > From other readings, it seems that GlusterFS is not actually a valid > solution (permissions troubles from Windows side). > I was wondering if setting up Samba VMs that would use a RAID1 DRBD > network (RAID1 between xen-host1 and xen-host2) filesystem would be an > acceptable solution. > > Thanks in advance for your thoughts. > > Nicolas > >Hi Sorry that this is just a 'me too' but I've been trying to get information on failover too. This may give you some ideas other than clustering as I believe that drdb will not wor with samba. Evidently dfs can be used for this. I know it works great on windows DCs and file servers but try as I may, I cannot get a single answer from either the cifs nor samba lists on anything t do with it on samba. Here is what I've tried so far: https://lists.samba.org/archive/samba/2014-June/182371.html https://lists.samba.org/archive/samba/2014-June/182387.html http://article.gmane.org/gmane.linux.kernel.cifs/9768/match=domain+dfs HTH Steve