Which hardware to VM ratio for Build-Server virtualization?

Posted by Martin on Server Fault See other posts from Server Fault or by Martin
Published on 2012-03-20T13:03:04Z Indexed on 2012/03/20 17:31 UTC
Read the original article Hit count: 223

Let's start with saying that I'm a total noob wrt. to server virtualization. That is, I use VMs often during development, but they're simple desktop machine things for me.

Now to my problem: We have two (physical) build servers, one master, one slave running Jenkins to do daily tasks and build (Visual C++ Builds) our release packages for our software. As such these machines are critical to our company, because we do lot's releases and without a controlled environment to create them, we can't ship fixes. (And currently there's no proper backup of these machines in place, because they do not hold any data as such - it just would be a major pain to setup them again should they go bust. (But setting up backup that I'd know would work in case of HW failure would even be more pain, so we have skipped that until now.))

Therefore (and for scaling purposes) we would like to go virtual with these machines.

Outsourcing to the cloud is not an option, not at all, so we'll have to use on-premises hardware and VM hosts.

Each Build-Server (master or slave) is a fully configured (installs, licenses, shares in case of the master, ...) Windows Server box. I would now ideally like to just convert the (two) existing physical nodes to VM images and run them. Later add more VM slave instances as clones of the existing ones.

And here begin my questions:

  • Should I go for one VM per one hardware-box or should I go for something where a single hardware runs multiple VMs?
    • That would mean a single point of failure hardware wise and doesn't seem like a good idea ... or??
    • Since we're doing C++ compilation with Visual Studio, I assume that during a build the hardware (processor cores + disk) will be fully utilized, so going with more than one build-node per hardware doesn't seem to make much sense??
  • Wrt. to hardware options, does it make any difference which VM software we use (VMWare, MS, Virtualbox, ... ?) (We're using Windows exclusively for our builds.)

Regarding budget: We have a normal small company (20 developers) budget for this. ;-) That is, if it's going to cost a few k$ it's going to cost. If it's free - the better. I strongly prefer solutions where there's no multi-k$ maintenance costs per year.

© Server Fault or respective owner

Related posts about virtualization

Related posts about virtual-machines