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 6.5 AutoDeploy Rules

By Vladan SEGET | Last Updated: January 4, 2017

Shares

We have started to work with VMware vSphere 6.5 AutoDeploy recently, just before the End of the year. We have played in a lab with the Image Builder GUI and we have created new customized image with drivers which were needed for the hardware we're using in our lab. What is Image profile? Image Profile is a simple collection of VIBs that are used to install ESXi server. The Image Profiles are stored in Software Depots which we have already explored in our post here.

The Image Builder GUI has several TABs and we have only worked with the first one – Software depots. It's there where you can now easily manage your customized images. Previously, AutoDeploy and Image Builder were managed through PowerCLI only and it was a VCP and VCAP Exam topic too!!. Things have changed in vSphere 6.5 and now you have a possibility to build a custom image within the vSphere Web Client as the new GUI allows you to do that. This does not mean that for the exam you'll have to know that PowerCLI stuff too.

The Deploy Rules tab offers the functionality previously only available through the PowerCLI Auto Deploy cmdlets. vSphere admins can now create and edit rules which then tell how the stateless host will behave upon booting. We will try to do some lab today to explore the feature closer.

VMware vSphere 6.5 AutoDeploy and Deploy Rules Button

Let's click the New Deploy Rule button to start creating rules. You'll see a new assistant will pop-up. On the page you'll see that you can specify to which host the rules will apply. You can use All hosts but most likely you'll want to use the “Hosts that much the following pattern”.

The screenshot from the lab showing the different patterns (the screenshot was taken with few difficulties as I had to “glue” few images together to get All the patterns on the image.)

vSphere 6.5 Autodeploy Rules

When choosing one of the patterns the rule provides you with other options. Deploy rule has to have a unique name and one or more patterns that will match hosts when they boot from the Auto Deploy server.

AutoDeploy server has to be also ready to provide Elements to use for patterns such as IP address, hostname, MAC address or other identifiers which are unique and which are part of typical server attributes.  You can enter multiple values separated by a comma.  An IP address pattern is able to accept a range of values, separated by a hyphen.

You might want to check our post How to Migrate Windows Based vCenter to VCSA 6.5.

Next page invites us to select an image profile. I pick one of the images we have created during the previous articles.

You can optionally assign a host profile to the hosts that match the rule criteria. If you do not want to include an image profile, then check the box “Do not include an image profile”.

AutoDeploy vSphere 6.5 and Selection of Image Profile

Click Next. On the next screen you'll have to make a choice of using host profile or not.

We can skip host profile as we don't use host profiles (for now, for this test).

AutoDeploy vSphere 6.5 and Selection Host Profile

On the next screen we're able to select a location. You would usually select a cluster where you would like to join the host. You can do this here.

vSphere 6.5 AutoDeploy and Location Selection

Final screen. Just a recap of what we have included. You can still go back and correct things if you want to.

AutoDeploy rules creation in vSphere 6.5

Hit the Finish button to create the rule.

After creating a new AutoDeploy rule you must activate the rule. If not the rule is not active and the host won't “pick it up”.
Activate AutoDeploy Rule in vSphere 6.5
Note that ruleRules can also be re-ordered, if necessary, to make sure that the desired matches are made in the event of ambiguity.

To activate an image, click on it from the bottom list and then click on the Activate button.

Activate and Order AutoDeploy Rule in vSphere 6.5

Hit the next button to continue…

Activate and reorder AutoDeploy rules in vSphere 6.5

This is it. You can hit the finish button to end the assistant. The rule is created and active.

But, for the autodeploy we need much more than just to create a rule. We also need a DHCP server being configured, but also other compoents. Let's have a look.

DHCP Server will also give IP address of the TFTP server and the name of the iPXE boot loader. Yes, there is also a TFTP Server which is hosting iPXE boot loader and configuration files.

Last but not least we also need to have Auto Deploy Server. (actually, we already have it as a part of our VCSA 6.5 as we have migrated the lab to VCSA 6.5).
It is built in vCSA, no need to execute the separate installer as you would have to do when staying on Windows. Yes, if you're still planning to stay on vCenter on Windows, you will need to install Auto Deploy server separately.

Check the previous posts:

  • vSphere 6.5 Image Builder GUI and AutoDeploy.
  • VMware vSphere 6.5 and New Image Builder GUI – Cloning a profile.
  • VMware vSphere 6.5 AutoDeploy Rules – (This post).

Check our Dedicated vSphere 6.5 Page here.

Also:

  • How to create a USB media with ESXi 6.5 Installation

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

Last Note: This post was created on a MAC. Yes, since X-mass I'm a MAC user. While the hardware is beautiful, I had few gotchas, starting with the keyboard where I wasn't able to find keys which I was using on Windows….. for decades. But I needed a change, a new challenge. The keyboard is otherwise pretty good even if the travel of the keys isn't big. It do not bothers me.

Shares
5/5 - (1 vote)

| Filed Under: Server Virtualization Tagged With: VMware vSphere 6.5 AutoDeploy Rules

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.

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

  • Nakivo Backup and Replication v11.1 BETA adds more Proxmox friendly features
  • 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!
  • Installation of StarWind VSAN Plugin for vSphere
  • Protect Mixed environments with Nakivo Physical Machine recovery (bare metal)
  • No more FREE licenses of VMware vSphere for vExperts – What’s your options?
  • Tails – Your Private OS on USB Stick
  • StarWind V2V Converter Now has CLI

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