If you have deployed large numbers of ESX server you are probably familiar with scripted installations, the UDA appliance or things like Rapid Deployment. But did you know VMware also delivers an auto deployment appliance? It is called VMware Auto Deploy and it is slightly different compared to other deployment mechanisms: VMware Auto Deploy does not install a copy of ESX to harddisk but loads ESXi into memory using PXE. ESXi is than started from memory en configured using auto deploy plugins and host profiles. This means you end up with a stateless server which is fully configured every time you boot it. This also means that you don't have to create scripts to install or configure ESX.
I use this appliance in my home lab to quickly deploy any number of (virtual) ESXi servers I need. Of course the Vmware auto deploy server becomes a single point of failure so I doubt if it is usable outside a lab environment for now.
Vmware auto deploy comes as a virtual appliances which is actually the same appliance as the vMA but with some extra's. You can find the appliance at Vmware Labs. You can find administation manual here.
To help you setup the appliance quickly, here are the steps I followed to get the thing up and running:
1: Deploy the appliance Make sure to configure the networking correctly
2: Make sure the appliance is the only DHCP server in your lan or lookup the administrator guide on how to use an external DHCP server
3: Logon to the appliance using the vi-admin account
3: Enable the DHCP server (if you are not using external server) using this command:
sudo deploy-cmd dhcpconfig
4: Add your vCenter server as a target:
sudo vifp addserver <vcenter ip>
5: Now you have to create a new boot profile or edit the default profile. A boot profile determines, among other things, to which vCenter server the ESXi server is added, which host profile to use an in which datacenter and cluster the server will be placed. Add vCenter to the default boot profile:
deploy-cmd updateprofile --name default --vcenter 192.168.0.250
6: Boot the first ESXi server. Make sure it is using PXE.
7: Configure the server and create a host profile
8: Edit the host profile as nessecary. Make sure the profile sets the administrator password
9: Assign the host profile to the boot profile:
deploy-cmd updateprofile --name default --hostprofile autodeploy_profile
10: Additionally you can add vCenter location where the server will be added (datacenter / cluster):
deploy-cmd updateprofile –name –hostfolder=/<datacenter>/<cluster>
11: Start another server to check the results. If everything works correctly start the next server, and the next, and the next.....