Integration

Table Of Contents
VMware, Inc. 53
Chapter 3 Using View PowerCLI
The maxvm parameter defines the maximum number of IP assignments that can be made to virtual
machines from the network label. The value of the maxvm parameter is generated by the
-maxVMsPerNetworkLabel parameter in the Export Network Label cmdlet. You can manually edit this
value in the configuration file.
If the parent virtual machine or template has two NICs, each network label discovered by the Export
Network Label cmdlet is associated with both NICs. Warning messages explain that IP address
assignments can become oversubscribed because the assignment function for one NIC is not aware of the
assignments that are made from the same network label for the second NIC. Each NIC is only aware of its
own network label assignments.
Example Network Label Configuration File
#Network Label Configuration Spec
#WARNING! Setting enabled flag to false will
#turn off the automatic network label assignment
#for newly provisioned desktops.
enabled=true
#Parameter Definition for NIC
nic1=Network adapter 1
nic2=Network adapter 2
#Parameter Definition for Network
network01=dv_2k_2004
network02=dv_2kclient_2164
network03=dv_2kdt1_2084
network04=dv_2kInfra_1924
network05=dv_vMotion
network06=desktop-auto01-230
network07=desktop-auto02-240
network08=desktop-auto03-250
network09=desktop-auto04-260
network10=desktop-auto05-270
#Network Label Attribute Definition
#Expected format:
#<nic_param>.<network_param>.maxvm=<max vm for network label>
#WARNING! Multiple NICs:(nic1,nic2) detected against network01,
#total port count against network01: 488.
#IP address might be over-subscribed.
#WARNING! Multiple NICs:(nic1,nic2) detected against network02,
#total port count against network02: 488.
#IP address might be over-subscribed.
...
...
#WARNING! Multiple NICs:(nic1,nic2) detected against network02,
#total port count against network10: 488.
#IP address might be over-subscribed.
####nic1.network01.maxvm=244
####nic1.network02.maxvm=244
####nic1.network03.maxvm=244
####nic1.network04.maxvm=244
####nic1.network05.maxvm=244
####nic1.network06.maxvm=244
####nic1.network07.maxvm=244
####nic1.network08.maxvm=244
####nic1.network09.maxvm=244