Book Image

VMware vSphere 5.5 Cookbook

By : Abhilash G B
Book Image

VMware vSphere 5.5 Cookbook

By: Abhilash G B

Overview of this book

Table of Contents (22 chapters)
VMware vSphere 5.5 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a deploy rule


A deploy rule is created to deploy a chosen ESXi image onto a server or group of servers chosen based on a supported pattern. Without a deploy rule, Auto Deploy server will not be able to associate an ESXi image with a server to boot.

The pattern used to choose a server for deploying ESXi uniquely identifies the machine or a group of machines. The pattern can be an IPv4 address range, a MAC address, hardware vendor name, asset tag, domain name, server model, serial number, and so on.

Getting ready

Prior to creating a deploy rule, it is a prerequisite to connect to the vCenter server to which Auto Deploy is registered to, using the Connect-VIServer cmdlet. Unless this is done, you will not be able to create a new deploy rule.

How to do it…

To create a new deploy rule, the PowerCLI cmdlet New-DeployRule is used. The command can accept different patterns:

  • Syntax:

    New-DeployRule –Name "<Name of the Rule>" –Item <Image Profile>, "<Name of the Cluster>", "&lt...