Auto Deploy design concern

I’ve been working away on both the ESXi Host and ESXi Install sections for the vReference card, and I came across something I found interesting about the all new Auto Deploy tool. Here’s a quote from the penultimate paragraph on Page 68 of the current Installation and Setup Guide PDF for vSphere 5:

If the vCenter Server system is unavailable, the host contacts the Auto Deploy server for image profiles and host profiles and the host reboots. However, Auto Deploy cannot set up vSphere distributed switches if vCenter Server is unavailable, and virtual machines are assigned to hosts only if they participate in an HA cluster. Until the host is reconnected to vCenter Server and the host profile is applied, the switch cannot be created and, because the host is in maintenance mode, virtual machines cannot start.

So if you are running a fully virtualized environment, and planning to use Auto Deploy to build and configure all the hosts via Image Profiles and Host Profiles, then you need think twice about the design. Imagine you were ever faced with a complete power outage in your datacenter. Now in this day and age, you’d hope that this never happens. However, considering the number of complete outages I’ve seen at sites, I know I wouldn’t bet my job against it never happening.

So here’s the scenario. Everything powers off, all at once. You hit the power button on the servers. The hosts boot up, but stay in Maintenance Mode because they can’t hit the vCenter VM or Auto Deploy VM for their Host Profile. In Maintenance Mode the VMs won’t power on. The vDS switch cannot be created. You can’t power on your vCenter VM. You can’t power on your Auto Deploy VM.

Now, I’m not saying that you couldn’t get out of this situation if you knew what you were doing. Presumably you could recreate some Standard vSwitches from the ESXi Shell and force the host out of Maintenance Mode. And through good prior planning you’d already pinned your vCenter VM to a set host so you knew which one to start working on.

So how do you design around this? A physical server, a separate management cluster, a remote secondary Auto Deploy instance, …

This is certainly something to consider carefully before jumping into a full-scale Auto Deploy rollout.

Update: Michael Webster (AKA @vcdxnz001) just sent in the following addtional Auto Deploy design consideration. vShield App isn’t supported with Auto Deploy.

 

 

 

 

Update 2: VMware has released a new video-based technical note explaining how to build a Highly Available Auto Deploy Infrastructure. Their recommended path is to create a separate management cluster in which the hosts are not deployed via Auto Deploy.  In the video, they call-out the following services as important to segragate:

Infrastructure VMs

  • vCenter
  • Active Directory
  • DNS

PXE Boot Infrastructure

  • TFTP
  • DHCP

Auto Deploy Environment

  • PowerCLI
  • Auto Deploy
  • vCenter

Highly Available Auto Deploy Infrastructure

vSphere 5 vReference card – vCenter section

Here is another preview of the upcoming vSphere 5 vReference Card – the vCenter section.  I’d love to hear your feedback, as I’m likely to drop anything I can’t be sure is absolutely correct. Anything still in grey are areas I’ve not been able to confirm that they are still valid with vCenter 5.

Just drop your comments below or catch me on twitter (@forbesguthrie).

Click on the images below to see it full size or you can view/print it as a PDF.

And…

And…

 

vSphere 5 vReference card – VM section

Here is another preview of the upcoming vSphere 5 vReference Card – the VM section. There are several areas that I’ve shaded in grey as I’ve not been able to confirm that they are still valid with vSphere 5 VMs. I’d love to hear your feedback, as I’m likely to drop anything I can’t be sure is absolutely correct or just not relevant enough anymore.

Just drop your comments below or catch me on twitter (@forbesguthrie).

Click on the two images below to see it full size or you can view/print it as a PDF.

 

 

 

 

 

 

 

 

and

 

vSphere 5 vReference card – availability section

Here is a third preview of the upcoming vSphere 5 vReference Card – the availability section. As HA has been re-written (AAM > FDM), this section has quite a lot of new content over the vSphere 4 card – I’d love to hear any of your feedback. As before, the green text identifies bits that I’ve not been able to confirm yet.  Unfortunately, I suspect that the MSCS stuff will need to be dropped as the card fills up to make space for other more relevant content.  Just drop your comments below or catch me on twitter (@forbesguthrie).

Click on the image to see it full size or you can view/print it as a PDF.

(Update – thumbnail linked PNG quality improved)