< Back | Next>
Your vSphere environment is quickly growing. Deploying new ESXi hosts and updating ESXi hosts is taking a lot of your time. Simplify the process for deploying and updating ESXi servers by implementing Auto Deploy, importing the standard image profile, and creating appropriate rules.
- Enable Auto Deploy on a vCenter Server Appliance.
- Use PowerCLI to:
- Add a specific repository file as an offline software depot.
- List the image profiles in the repository, and verify one is named ESXi-5.1.0-20130402001-standard.
- Create a rule that assigns the ESXi-5.1.0-20130402001-standard profile to all ESXi hosts.
- Create a rule that assigns all hosts to the cluster.
- Add both rules to the current working rule set
- List the rules in the current working rule set.
- vCenter Server Appliance = vc-app-01.lab.local
- Software repository: update-from-esxi5.1-5.1_update01.zip
- Cluster: Cluster-01
VDCA510 Objective: 9.1 Install ESXi hosts with custom settings
VDCA550 Objective: 7.1 Execute VMware Cmdlets and Customize Scripts Using PowerCLI
- Chapter 9 – Auto Deploy Architecture – Image Profiles Using Image Builder
- Chapter 10 – Scenario 10-26
Click Here For Solution
- User PowerCLI to run the following commands:
Add-EsxSoftwareDepot d:\ update-from-esxi5.1-5.1_update01.zip
Get-EsxImageProfile | Select Name
New-DeployRule –name Rule01 –item ESXi-5.1.0-20130402001-standard -allhosts
New-DeployRule –name Rule02 –item “Cluster-01”
Add-DeployRule –deployrule Rule01
Add-DeployRule –deployrule Rule02