VMware VS4-ENT-PL-A - vSphere Enterprise Plus Setup Manual page 175

Setup guide
Table of Contents

Advertisement

Procedure
1
Run the
Connect-VIServer
is registered with.
Connect-VIServer 192.XXX.X.XX
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
Using the vSphere Web Client, set up a host with the settings you want to use and create a host profile
from that host.
3
Find the name of the host profile by running
host from which you create a host profile.
4
At the PowerCLI prompt, define a rule in which hosts with certain attributes, for example a range of IP
addresses, are assigned to the host profile.
New-DeployRule -Name "testrule2" -Item my_host_profile -Pattern "vendor=Acme,Zven",
"ipv4=192.XXX.1.10-192.XXX.1.20"
The specified item is assigned to all hosts with the specified attributes. This example specifies a rule
named testrule2. The rule assigns the specified host profile my_host_profile to all hosts with an IP
address inside the specified range and with a manufacturer of Acme or Zven.
5
Add the rule to the rule set.
Add-DeployRule testrule2
By default, the working rule set becomes the active rule set, and any changes to the rule set become
active when you add a rule. If you use the
the active rule set.
What to do next
Upgrade existing hosts to use the new host profile by performing compliance test and repair operations
n
on those hosts. See
Turn on unprovisioned hosts to provision them with the host profile.
n
Assign a Host to a Folder or Cluster
Auto Deploy can assign a host to a folder or cluster. When the host boots, Auto Deploy adds it to the
specified location on the vCenter Server. Hosts assigned to a cluster inherit the cluster's host profile.
The following procedure explains how to write a rule that assigns a host to a folder or cluster. To assign a
host already provisioned with Auto Deploy to a new folder or cluster, you must also perform a test and
repair cycle. See
"Test and Repair Rule Compliance,"
N
The folder you select must be in a datacenter or in a cluster. You cannot assign the host to a
OTE
standalone top-level folder.
Prerequisites
Install VMware PowerCLI and all prerequisite software.
n
If you encounter problems running PowerCLI cmdlets, consider changing the execution policy. See
n
"Using Auto Deploy Cmdlets,"
VMware, Inc.
PowerCLI cmdlet to connect to the vCenter Server system that Auto Deploy
Get-VMhostProfile
NoActivate
"Test and Repair Rule Compliance,"
on page 170.
PowerCLI cmdlet, passing in the ESXi
parameter, the working rule set does not become
on page 176.
on page 176.
Chapter 7 Installing ESXi
175

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VS4-ENT-PL-A - vSphere Enterprise Plus and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Vsphere 5.5

Table of Contents