My customer has 2 Production DC sites & one DR site.
The production DC sites has 8 web servers (all on Win
The DR site currently has 8 VMs up & running, ready to
take over when any one of the Production DC site is
down. However, the customer only have 8 Win 2008
licences for the 8 VMs in an ESXi host.
We're assuming that at any one time, only one of the
Production DC site is down. The customer wants the
DR site to be able to provide full support (ie provide
8 full VMs to support whichever DC that was hit).
Anyone has any solution without buying more Win 2008
server licences for the DR site to meet the customer's
I thought of configuring 4 active VMs to support the 1st
Production site with another 4 'shutdown' or 'network-
disconnected' VMs for the 1st Production site. Similarly
configure 4 active VMs (with another 4 'shutdown' VMs)
to support the 2nd Production site. So in the event a
disaster strikes Production Site 1, a script in the ESXi
host will shut down the 4 active VMs for Site 2 &
bring up (or boot up) the 4 'shutdown' VMs for Site 1,
thus providing the full 8 Web servers to Site 1.
In this way, I will not be violating Windows 2008 server
licencing as I only have 8 VMs up at any one time.
Does anyone has any PowerCLI (for ESXi Ver 5) scripts
& commands to perform the above requirement?
Pls suggest a few good websites/links that give good
examples on ESXi automation (esp using scripts )