2
Place the host in maintenance mode.
Host Type
Host is part of a DRS cluster
Host is not part of a DRS cluster
3
Reboot the host.
The host shuts down. When the host reboots, it uses the image profile that the Auto Deploy server provides.
The Auto Deploy server also applies the host profile stored on the vCenter Server system.
Reprovision a Host with a New Image Profile
You can reprovision the host with a new image profile, host profile, or vCenter Server location by changing
the rule for the host and performing a test and repair compliance operation.
Several options for reprovisioning hosts exist.
If the VIBs that you want to use support live update, you can use an
n
that case, you must also update the rule set to use an image profile that includes the new VIBs.
During testing, you can apply an image profile to an individual host with the
n
cmdlet and reboot the host so the change takes effect. The
association between the host and the image profile but does not install VIBs on the host.
In all other cases, use this procedure.
n
Prerequisites
Create the image profile you want to boot the host with. Use the Image Builder PowerCLI, discussed in
n
"Using vSphere ESXi Image Builder CLI,"
Make sure that the setup that you performed during the first boot operation is in place.
n
Procedure
1
At the PowerShell prompt, run the
system that Auto Deploy is registered with.
Connect-VIServer myVCServer
The cmdlet might return a server certificate warning. In a production environment, make sure no server
certificate warnings result. In a development environment, you can ignore the warning.
2
Determine the location of a public software depot that contains the image profile that you want to use,
or define a custom image profile with the Image Builder PowerCLI.
3
Run
Add-EsxSoftwareDepot
session.
Depot Type
Remote depot
ZIP file
4
Run
Get-EsxImageProfile
VMware, Inc.
Action
VMware DRS migrates virtual machines to appropriate hosts when you
place the host in maintenance mode.
You must migrate all virtual machines to different hosts and place each
host in maintenance mode.
on page 225.
Connect-VIServer
to add the software depot that contains the image profile to the PowerCLI
Cmdlet
Run Add-EsxSoftwareDepot depot_url.
a
Download the ZIP file to a local file path or create a mount point local
to the PowerCLI machine.
b
Run
Add-EsxSoftwareDepot C:\file_path\my_offline_depot.zip.
to see a list of image profiles, and decide which profile you want to use.
esxcli software vib
Apply-EsxImageProfile
Apply-EsxImageProfile
PowerCLI cmdlet to connect to the vCenter Server
Chapter 7 Installing ESXi
command. In
cmdlet updates the
179
Need help?
Do you have a question about the VS4-ENT-PL-A - vSphere Enterprise Plus and is the answer not in the manual?