ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

VMware vSphere AutoDeploy – Install and configure

By Vladan SEGET | Last Updated: November 1, 2014

Shares

VMware vSphere Autodeploy is another cool feature which is not so cool when you want to implement, because it needs some knowledge to setup and takes some time to get all the pieces work together. Yes it might seems complex and if you're just a SMB it might not be your interest but stateless images might have their advantages even for an SMB. Well, server without internal disks might be cheaper as AutoDeploy automatically boots ESXi sever on the fly using a PXE boot. But to assure HA you would probably need to have a management cluster with vCenter, AD, DNS, DHCP and use Autodeploy only to deploy hosts in a separate cluster. Because if not, you might just create a single point of failure…

The image is loaded in memory, so there are no local disks in the server. The host's resources with the help of vMware vSphere host profiles, gets added into an existing pool or resources at the cluster level. The autodeploy will provide the Image to boot the host, but It's the host profile who will configure the server.

Here is an image from VMware showing the autodeploy architecture.

VMware Autodeploy architecture

Autodeploy is designed to work with vSphere host profiles and also with vSphere ESXi image builder, since this tool allows to build custom images with drivers integrated into the installation ISO or bundle. The whole process should looks like this:

Image builder > Host Profiles > Autodeploy

Autodeploy is not simple, but we'll try to go step-by-step so we'll get all pieces working together. AutoDeploy is also VCP/VCAP topic so it might be useful if you studying towards those exams. We will start with a prerequisites, and the initial configuration first, because if you don't meet the prerequisites you won't be able to implement and fail:

  • A DHCP server – you'll need to be enable options 66 and 67 so beware that not every DHCP server allows that. The one in your ISB box probbably don't…
  • TFTP server – there is many free TFTP servers on the market. In my lab I'm using Solarwind's free TFTP.
  • PowerCLI and vSphere LAB ready – I'm assuming that you have already followed the post with Image Builder and you know that PowerCLI commands are a must.

How to get Started with Autodeploy?

autodeployGo and install the AutoDeploy component which is part of the VMware vCenter Server Installation package. You'll need Windows Server 2008 or later. In my case, for this lab, I'm using Windows vCenter server, and so the Autodeploy component will get deployed there together with all the other vCenter server components. But you can also use VCSA and install autodeploy on a separate W2008 VM. The installation process don't asks you anything fancy, so just go next > next. You should end up with a nice new icon in your vSphere client….

Install TFTP Server

As I told you in this lab I'm using Windows based vCenter server, so I've installed TFTP server there. The installer creates a default directory which can be changed. I changed mine to c:tftp to keep it simple. You can configure the option by going to File > Configure menu. While there, make sure that you start the service. (Note: you can also go to Windows services to make the TFTP service start automatically during the boot as by default it has manual start only).

Setup of TFTP server on vCenter server

That's it for TFTP server. There is nothing else to play with and we can move on.

DHCP Server Options.

Next I'll show you the options you need to configure on your DHCP server. There are just two options which needs to be configured at the scope level. When you click on the Autodeploy icon in vSphere client, you'll end up on this page where you can see some strange name of file. But this exact name will be needed for setting up options in our DHCP server! It's the undionly.kpxe.vmw-hardwired.

How to configure Autodeploy in VMware vSphere

So next step is to click and download the TFTP boot zip files to the c:tftp directory that we created and set up on our TFTP server. Unzip the file into the same directory You should have a view like this:

Deploy and configure AutoDeploy

Once done, we can copy this name of the file (undionly.kpxe.vmw-hardwired) as an option 67 in our DHCP server. In my case I have Windows DHCP server which sits on my domain controller. The second option is my vCenter server, where I installed the Autodeploy add-on. You can click to enlarge.

DHCP server scope options for VMware vSphere AutoDeploy

This is it for the actual setup. We'll move forward with options for creating some AutoDeploy rules in next post. To prepare you for some AutoDeploy commandlets, we will need those commands to remember:

New-DeployRule

Add-DeployRule

If you have PowerCLI installed on your system, you can already get some examples by typing:

Get-help New DeployRule -examples

or

Get-help New DeployRule -detailed

Things might seems to be a bit blur at the moment, but don't worry. We will show some easy options in next post. Stay tuned -:).

The whole serie so far:

  • VMware vSphere AutoDeploy – Run some PowerCLI and you’re the Boss
  • VCAP Diary – VMware vSphere ESXi Image Builder
  • VMware vSphere AutoDeploy – Install and configure (this post)
  • VCAP Diary – VMware vSphere Host Profiles
  • VMware vSphere Host Profiles – options and troubleshooting

Here is quick video from VMware showing how AutoDeploy works:

The article was published first at ESX Virtualization website. Feel free to subscribe via RSS or by e-mail to get the latest news to be delivered via weekly newsletter. The latest 200 articles of daily updates can be found on our daily archives page.

Shares
5/5 - (1 vote)

| Filed Under: How To Tagged With: VMware vSphere AutoDeploy

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Leo says

    November 18, 2013 at 6:33 pm

    Excellent article, it suits me for the VCAP-DCA exam I’m preparing.

    Thank you!

    • Vladan SEGET says

      November 18, 2013 at 7:00 pm

      The same for me. VCAP … -:)

  2. sa says

    January 25, 2017 at 6:43 pm

    Hello,

    Thanks for the article, I followed the same instructions and deployed auto deploy server but I’m stuck at PXE boot file download to zero bytes. I found the below error message on TFTP log.

    Failed to download file from server. Client returned User aborted the transfer.

    Am I missing something in my configuration?

    Many thanks

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in