I plan on deploying two physical servers which will run VMware ESXi and have a number of questions regarding Microsoft licensing. To note, all the VMs on the servers will be configured to run in ESXi's fault tolerance mode. This means that all the VMs on the secondary server will run in lock step with the primary server.
- Would I need to buy Windows Server CAL licenses for each VM on one server? For instance 1 ESXi server has 2 virtual Microsoft servers running on it. Each virtual server has 25 devices (or users) connecting to it. The devices (or users) connecting to each VM would be the same. Would I need 25 or 50 CALs for the physical server?
- Would I need to buy additional Windows 2012 Datacenter Server licenses and the associated CAL licenses for the redundant ESXi server?
Would I need to buy additional SQL 2012 Standard (or Business Intelligence) server licenses and associated CAL licenses for the redundant ESXi server?
And although this doesnt pertain to a virtualized environment, when/how do CALs come in to play with IIS?
Thanks!
Follow-up:
I must admit, I'm struggling to find documentation on this. The only comment I can find on VMware HA is dated 2009:
According to Microsoft, Windows Server Datacenter edition will allow you to run as many VMs on an ESXi server as you like (Standard allows one, and Enterpeise allows four).
When using vSphere's FT or HA features, all you need to do is make sure that your licensing can handle the failover - i.e. if you're already running four VMs on one host, and a FT VM on another host fails, then you'll be in breach of the agreement (four running, plus one failed over).
If in doubt, I'd strongly suggest contacting your Microsoft rep. A good link is here.
Original answer:
VMware HA does mean you technically have two servers running at the same time, however as far as Windows is concerned, it is only running once (the "HA" is transparent to the OS - you can't address the standby instance unless the master fails). As a result, you should treat each HA VM as a single entity.
Your CALs (and any software licences for that matter, Microsoft or otherwise) are tied to your Windows VMs, not to your physical ESXi hosts, so you'll need to purchase as many CALs as you need for your VMs.
Think of your ESXi servers as your racks (loosely speaking), and your Windows VMs as physical servers. Two VMs running on different hosts is the same as having two physical servers running in different racks. Two VMs on the same host equals two servers in the same rack, so in both cases, you'll need CALs for both servers.
You need to contact a MS Reseller and talk out your situation's specifics... The details usually matter!!
With that noted: