Understanding that a samba 4.x ADDC should be run on a an os separate than a samba 4. file server, I was thinking of virtualizing both. Is it common to have a single physcial server with two VM's running samba? If some is there a recommendation on how much hardware to start with and how much virtual hardware to give each VM. I'm wondering about virtual nics and if there may be a problems have multiple vm's accessing the network through a single physcial nic. This is an ADDC and file server for a small office so numbers of users will be below 50. Any recommendations? -- David Bear 602-903-6476
Am 12.05.2015 um 21:50 schrieb David Bear:> Understanding that a samba 4.x ADDC should be run on a an os separate > than a samba 4. file server, I was thinking of virtualizing both. Is it > common to have a single physcial server with two VM's running samba? > > If some is there a recommendation on how much hardware to start with and > how much virtual hardware to give each VM. I'm wondering about virtual > nics and if there may be a problems have multiple vm's accessing the > network through a single physcial nic. > > This is an ADDC and file server for a small office so numbers of users > will be below 50. Any recommendations?for below 50 users don't worry any second about virtualization, we have a whole infrastrcuture for hundrets of domains and all sort of services (database, fileserver, webserver, mailserver, spamfirewall, dhcp, dns, voip, fax) on a single server with a identical one as failover the only thing you need take care of is the storage performance and even that is in real life faster in case of virtualization because you can setup one shared storage with a lot of disks in the spindle for performance and redundancy which will outperform a cheap and small storage on several physical servers in most workloads -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20150512/7e51cdc5/attachment.pgp>
2015-05-12 21:50 GMT+02:00 David Bear <dwbear75 at gmail.com>:> Understanding that a samba 4.x ADDC should be run on a an os separate than > a samba 4. file server, I was thinking of virtualizing both. Is it common > to have a single physcial server with two VM's running samba? > > If some is there a recommendation on how much hardware to start with and > how much virtual hardware to give each VM. I'm wondering about virtual nics > and if there may be a problems have multiple vm's accessing the network > through a single physcial nic. >I've about 7 VM in same server with 6 using the same nic and there is no problem, you only have to keep in mind the hardware requirements and nic bandwith. About hardware, I've a fs on a separate physical machine with 4GB RAM (3GB cached) , an Intel(R) Xeon(R) CPU E5410 @ 2.33GHz and a RAID10. About the VM recomendations, i've the AD on a Debian 7 VM with 386MB RAM, 15GB of HDD space, 512MB of swap and 2 VCPUs. 1GB of Swap is recommended (I've to change my server swap). You need a good drive performance for FS then i don't know if is a good idea to use a VM drive instead physical drives. Maybe you can use the VM as domain and the physical machine as FS. Greetings!!> This is an ADDC and file server for a small office so numbers of users > will be below 50. Any recommendations? > > -- > David Bear > 602-903-6476 > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Greetings, David Bear!> Understanding that a samba 4.x ADDC should be run on a an os separate > than a samba 4. file server, I was thinking of virtualizing both. Is it > common to have a single physcial server with two VM's running samba?You don't need VM's.> If some is there a recommendation on how much hardware to start with and > how much virtual hardware to give each VM.None. Seriously, you're overcomplicating things.> I'm wondering about virtual nics and if there may be a problems have > multiple vm's accessing the network through a single physcial nic.No need to wonder. man ip | grep -C7 macvlan> This is an ADDC and file server for a small office so numbers of users > will be below 50. Any recommendations?What is the host OS you're using/plan to use? -- With best regards, Andrey Repin Wednesday, May 13, 2015 02:07:51 Sorry for my terrible english...
On 2015-05-12 21:50, David Bear wrote:> Understanding that a samba 4.x ADDC should be run on a an os separate > than a samba 4. file server, I was thinking of virtualizing both. Is it > common to have a single physcial server with two VM's running samba?Yes. Putting file server and DC on the same logical machine is inviting trouble at best, and at <50 users, one moderately fast server has more than enough resources to deal with client requests. Virtualization is probably the more common form of deployment nowadays?> If some is there a recommendation on how much hardware to start with and > how much virtual hardware to give each VM.Fileserver storage will obviously vary, and RAM depending on how much of said storage you want to keep cached. But neither server will need much CPU power, and 1-2 GiB RAM will suffice for Samba alone (i.e., on the file server you'll want a few gigabytes more for caching/buffering files).> I'm wondering about virtual > nics and if there may be a problems have multiple vm's accessing the > network through a single physcial nic.No, about all virtualization solutions take care of that. DCs don't generate much traffic anyway, so you'd mainly be concerned about making sure there's enough bandwidth to handle the users' fileserver I/O.> This is an ADDC and file server for a small office so numbers of users > will be below 50. Any recommendations?For comparison, we have two servers with one Xeon E3-1230 V2 and 16GiB RAM each per 10-person office in a master-slave setup with only one active at a time, and the CPU load is negligible. At 50 users I'd only be worried about the server's 1GBit NIC being a bottleneck. -- Mit freundlichen Gr??en, / Best Regards, Sven Schwedas Systemadministrator TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz Mail/XMPP: sven.schwedas at tao.at | +43 (0)680 301 7167 http://software.tao.at -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 648 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20150513/d746b88b/attachment.pgp>
Hello Andrey, I am testing a small AD DC setup with 65 users and would like to know if you've had stable experience with running DC and File Server on one server. My test server is Dell Poweredge 2950 with SAS hard drives and 16 GB RAM. So far everything runs normally with no high load and similar I/O on samba ports compared to the old standalone Samba 3 server I will be replacing. Thank you, Mike On Tue, May 12, 2015 at 7:09 PM, Andrey Repin <anrdaemon at yandex.ru> wrote:> Greetings, David Bear! > > > Understanding that a samba 4.x ADDC should be run on a an os separate > > than a samba 4. file server, I was thinking of virtualizing both. Is it > > common to have a single physcial server with two VM's running samba? > > You don't need VM's. > > > If some is there a recommendation on how much hardware to start with and > > how much virtual hardware to give each VM. > > None. Seriously, you're overcomplicating things. > > > I'm wondering about virtual nics and if there may be a problems have > > multiple vm's accessing the network through a single physcial nic. > > No need to wonder. > man ip | grep -C7 macvlan > > > This is an ADDC and file server for a small office so numbers of users > > will be below 50. Any recommendations? > > What is the host OS you're using/plan to use? > > > -- > With best regards, > Andrey Repin > Wednesday, May 13, 2015 02:07:51 > > Sorry for my terrible english... > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Thanks but since I've been watching recommendations related to the deployment of samba, the most consist rule has been to separate the file server from the domain controller. So, while it makes things complex, this does seem to be a recommendation from the samba developers. On Tue, May 12, 2015 at 1:16 PM, Reindl Harald <h.reindl at thelounge.net> wrote:> > Am 12.05.2015 um 21:50 schrieb David Bear: > >> Understanding that a samba 4.x ADDC should be run on a an os separate >> than a samba 4. file server, I was thinking of virtualizing both. Is it >> common to have a single physcial server with two VM's running samba? >> >> If some is there a recommendation on how much hardware to start with and >> how much virtual hardware to give each VM. I'm wondering about virtual >> nics and if there may be a problems have multiple vm's accessing the >> network through a single physcial nic. >> >> This is an ADDC and file server for a small office so numbers of users >> will be below 50. Any recommendations? >> > > for below 50 users don't worry any second about virtualization, we have a > whole infrastrcuture for hundrets of domains and all sort of services > (database, fileserver, webserver, mailserver, spamfirewall, dhcp, dns, > voip, fax) on a single server with a identical one as failover > > the only thing you need take care of is the storage performance and even > that is in real life faster in case of virtualization because you can setup > one shared storage with a lot of disks in the spindle for performance and > redundancy which will outperform a cheap and small storage on several > physical servers in most workloads > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- David Bear mobile: (602) 903-6476
Thanks. this is helpful. I was considering putting all file storage on an iscsi device, and using a dedicated NIC to communicate between the FS and the iscsi hardware. We already have the iscsi hardware. On Tue, May 12, 2015 at 1:29 PM, Daniel Carrasco Mar?n < danielmadrid19 at gmail.com> wrote:> > > 2015-05-12 21:50 GMT+02:00 David Bear <dwbear75 at gmail.com>: > >> Understanding that a samba 4.x ADDC should be run on a an os separate >> than a samba 4. file server, I was thinking of virtualizing both. Is it >> common to have a single physcial server with two VM's running samba? >> >> If some is there a recommendation on how much hardware to start with and >> how much virtual hardware to give each VM. I'm wondering about virtual nics >> and if there may be a problems have multiple vm's accessing the network >> through a single physcial nic. >> > > I've about 7 VM in same server with 6 using the same nic and there is no > problem, you only have to keep in mind the hardware requirements and nic > bandwith. About hardware, I've a fs on a separate physical machine with 4GB > RAM (3GB cached) , an Intel(R) Xeon(R) CPU E5410 @ 2.33GHz and a RAID10. > About the VM recomendations, i've the AD on a Debian 7 VM with 386MB RAM, > 15GB of HDD space, 512MB of swap and 2 VCPUs. 1GB of Swap is recommended > (I've to change my server swap). > > You need a good drive performance for FS then i don't know if is a good > idea to use a VM drive instead physical drives. Maybe you can use the VM as > domain and the physical machine as FS. > > Greetings!! > > >> This is an ADDC and file server for a small office so numbers of users >> will be below 50. Any recommendations? >> >> -- >> David Bear >> 602-903-6476 >> >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> > >-- David Bear mobile: (602) 903-6476