Hello everybody, I am new in this list and I thank you for your reactivity. I would like to set up an infra samba 4 with only 1DC which will also be used as a file server. I only have one lan with 300 users, a few apps including a mail server that authenticates on ldap. ?It is a virtual infra with backup of the whole vm every night. I would like to keep an infra as simple as possible. ?The question is: is it a good idea to have only 1 DC which does all this? Thank you for your answers Philippe -- logomarche Philippe Michel Sevice informatique de la Ville de Marche-en-Famenne Rue des Carmes, 22 6900 Marche-en-Famenne T?l: 084 32 70 88 - - Gsm: 0479 50 99 93 philippe.michel at ac.marche.be Retrouvez-nous sur www.marche.be <http://www.marche.be> et sur logofacebook <https://www.facebook.com/pages/Ville-de-Marche-en-Famenne/152999594777489> Disclaimer <https://www.marche.be/disclaimer/> | SVP, pensez ? notre environnement avant d'imprimer ce mail
For reliability / resiliency purposes 1 DC is a poor idea. The samba team does not recommend using a DC as a fileserver. LP On 3 Aug 2023 at 10:52 +0200, Admin\(IT\) <admin at marche.be>, wrote:> > I would like to set up an infra samba 4 with only 1DCBad idea.> which will also be > used as a file server.Very bad idea.
On 03/08/2023 09:17, Admin(IT) via samba wrote:> Hello everybody, > > I am new in this list and I thank you for your reactivity. > > I would like to set up an infra samba 4 with only 1DC which will also be > used as a file server. > > I only have one lan with 300 users, a few apps including a mail server > that authenticates on ldap. > > ?It is a virtual infra with backup of the whole vm every night. > > I would like to keep an infra as simple as possible. > > ?The question is: is it a good idea to have only 1 DC which does all this? > > > Thank you for your answers > > Philippe >This is a very bad idea, if your DC goes down, you lose everything, the more DC's the better. Using a DC as fileserver is possible, but it is so littered with pitfalls that it is better to use a Unix domain member as the fileserver. If there were only a few users, then it would be manageable, but, in my view, 300 is not a few. Rowland
Let?s get a little positive In a VM environment, it?s quite easy to spawn a couple of small machines ( in a similar environment as yours with about 500 users I use 3 DCs with 2 cores and 2GB memory each in different hosts). The file server can also be a VM, maybe 4Gb for your number of users. I use raw disks from the host to the VM. It works like a charm. LP On 3 Aug 2023 at 10:52 +0200, Admin\(IT\) <admin at marche.be>, wrote:> > It is a virtual infra with backup of the whole vm every night.