Integration

Table Of Contents
Example: Linked-Clone Desktop Pool Deployment
In this example, the Add-AutomaticLinkedClonePool cmdlet creates a linked-clone pool named
POOL_NAME and assigns the network labels in the network label conguration le named label.txt le.
Add-AutomaticLinkedClonePool -Pool_id POOL_NAME -NamePrefix NAME_PREFIX -Vc_id
2162aa44-e99c-4f1a-875d-dd295681d2ca -Persistence Persistent
-VmFolderPath "/resourcepool/vm/Discovered virtual machine"
-ResourcePoolPath "/resourcepool/host/Cluster1/Resources/Cluster1_pool1"
-ParentVmPath "/resourcepool/vm/Win7-Parent" -ParentSnapshotPath
"/780936_agent/noServiceRestart/updatedVPListener" -DatastoreSpecs
"[Conservative,replica]/resourcepool/host/Cluster1/Cluster1_Replica1;[Mod
erate,OS,data]/resourcepool/host/Cluster1/Desktop_FC_9;[Moderate,OS,data]
/resourcepool/host/Cluster1/Desktop_FC_8;[Moderate,OS,data]/resourcepool/
host/Cluster1/Desktop_FC_7” -Composer_ad_id
1a2b3c4d-5d6e-7f-1234-1234abcd -UseUserDataDisk $false -UseTempDisk
$false -MinimumCount 2000 -MaximumCount 2000 -HeadroomCount 1500
-PowerPolicy AlwaysOn -SuspendProvisioningOnError $false
-NetworkLabelConfigFile "C:/label.txt"
Assigning Network Labels
As View provisions virtual machines in a pool, it assigns network labels to the NICs in the virtual machines.
When the maximum number of virtual machines to be assigned a certain network label is reached, View
begins provisioning from the next network label.
After View assigns a network label to a virtual machine, it does not change the assignment.
If virtual machines in a pool are deleted, the associated network label assignments are freed and can be
assigned to any newly provisioned virtual machines in the pool.
View Composer refresh operations do not aect network label assignments. Virtual machines continue to
receive the network labels that were assigned to them when they were rst provisioned.
Preserving Network Labels During Recompose and Rebalance Operations
During View Composer recompose and rebalance operations, View aempts to ensure that the network
label of each NIC aached to each linked-clone desktop is preserved when a linked clone inherits new NICs
from a new base image. View preserves the network label of a NIC that was in place before the recompose
or rebalance operation as long as the new base image has an available NIC congured with the same type of
network switch. You can congure a NIC with a standard network switch or distributed virtual network
switch.
The following examples describe the rules that govern network label preservation during recompose and
rebalance operations.
n
If both the original linked-clone desktop and the new base image have one NIC congured with a
standard network switch, the network label and MAC address are preserved.
n
If both the original linked-clone desktop and the new base image have one NIC congured with a
distributed virtual network switch, the network label and MAC address are preserved.
n
If the original linked-clone desktop has one NIC congured with a standard network switch and the
new base image has one NIC congured with a distributed virtual network switch, the network label is
not preserved. The MAC address is preserved.
n
If the original linked-clone desktop has two NICs, both of which are congured with a standard
network switch, and the new base image has one NIC congured with a standard network switch, the
network label of one original NIC is preserved, but all network properties associated with the other
original NIC are not preserved.
Chapter 3 Using View PowerCLI
VMware, Inc. 57