6
Add the rule to the rule set.
Add-DeployRule testrule
By default, the rule is added to both the working rule set and the active rule set. If you use the
NoActivate
parameter, the working rule set does not become the active rule set.
When the host boots from iPXE, it reports attributes of the machine to the console. Use the same format of
the attributes when writing deploy rules.
******************************************************************
* Booting through VMware AutoDeploy...
*
* Machine attributes:
* . asset=No Asset Tag
* . domain=vmware.com
* . hostname=myhost.mycompany.com
* . ipv4=XX.XX.XXX.XXX
* . mac=XX:Xa:Xb:Xc:Xx:XX
* . model=MyVendorModel
* . oemstring=Product ID: XXXXXX-XXX
* . serial=XX XX XX XX XX XX...
* . uuid=XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX
* . vendor=MyVendor
******************************************************************
What to do next
n
For hosts already provisioned with Auto Deploy, perform the compliance testing and repair operations
to provision them with the new image profile. See
“Test and Repair Rule Compliance,”
on page 176.
n
Turn on unprovisioned hosts to provision them with the new image profile.
Assign a Host Profile to Hosts
Auto Deploy can assign a host profile to one or more hosts. The host profile might include information
about storage configuration, network configuration, or other characteristics of the host. If you add a host to a
cluster, that cluster's host profile is used.
The following procedure explains how to write a rule that assigns a host profile to hosts. To assign the host
profiles to hosts already provisioned with Auto Deploy, you must also perform a test and repair cycle. See
“Test and Repair Rule Compliance,”
on page 176.
In many cases, you assign a host to a cluster instead of specifying a host profile explicitly. The host uses the
host profile of the cluster.
Prerequisites
n
Install vSphere PowerCLI and all prerequisite software.
n
Export the host profile that you want to use.
n
If you encounter problems running PowerCLI cmdlets, consider changing the execution policy. See
“Using Auto Deploy Cmdlets,”
on page 170.
vSphere Installation and Setup
174
VMware, Inc.
Содержание VS4-ENT-PL-A - vSphere Enterprise Plus
Страница 6: ...vSphere Installation and Setup 6 VMware Inc ...
Страница 8: ...vSphere Installation and Setup 8 VMware Inc ...
Страница 10: ...vSphere Installation and Setup 10 VMware Inc ...
Страница 28: ...vSphere Installation and Setup 28 VMware Inc ...
Страница 70: ...vSphere Installation and Setup 70 VMware Inc ...
Страница 100: ...vSphere Installation and Setup 100 VMware Inc ...
Страница 122: ...vSphere Installation and Setup 122 VMware Inc ...
Страница 138: ...vSphere Installation and Setup 138 VMware Inc ...