6.2
Table Of Contents
- View Integration
- Contents
- Introduction
- Integrating with the Event Database
- Using View PowerCLI
- Introduction to View PowerCLI
- View PowerCLI Cmdlets
- View Administrator, View PowerCLI Cmdlet, and vdmadmin Operations
- View PowerCLI Cmdlet Parameters
- Examples of Using View PowerCLI Cmdlets
- Displaying Information About a View Connection Server Instance
- Updating the Configuration of a View Connection Server Instance
- Managing the Configuration of vCenter Servers in View
- Managing Desktop Pools
- Creating and Updating Automatically Provisioned Desktop Pools
- Creating and Updating Linked-Clone Desktop Pools
- Creating and Updating Manually Provisioned Desktop Pools
- Creating Manual Unmanaged Desktop Pools
- Obtaining Information About Users and Groups from Active Directory
- Managing Desktop Entitlements
- Managing Remote Sessions
- Managing Virtual Machines
- Displaying Information About Physical Computers
- Updating the Ownership of Machines
- Displaying Information About Events
- Managing the Global Configuration of View
- Managing View Licenses
- Examples of Using View PowerCLI for Enhanced Functionality
- Assign Multiple Network Labels to a Desktop Pool
- Customizing LDAP Data
- Integrating with SCOM
- View Management Packs
- Name a View Connection Server Group
- Import the View MPs
- View Discovery Script
- Run the Discovery Script
- Display Discovered Objects
- Display Managed Objects
- Views and Monitors
- Enable a Proxy Agent on a Server
- Display Performance Data
- Display Information About an Alert
- Restart a Service
- Exclude a Domain from Connectivity Monitoring
- Close Alerts
- Class and Relationship Definitions
- Examining PCoIP Session Statistics
- Dynamically Setting Desktop Policies with Start Session Scripts
- Index
VMware, Inc. 55
Chapter 3 Using View PowerCLI
Network Label Preservation During Recompose and Rebalance Operations
During View Composer recompose and rebalance operations, a best effort is made to ensure that the network
label of each NIC attached 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 configured with the same type of
network switch. (A NIC can be configured with a standard network switch or distributed virtual network
switch.)
The following examples illustrate the rules governing network label preservation during recompose and
rebalance operations:
If both the original linked-clone desktop and the new base image have one NIC configured with a
standard network switch, the network label and MAC address are preserved.
If both the original linked-clone desktop and the new base image have one NIC configured with a
distributed virtual network switch, the network label and MAC address are preserved.
If the original linked-clone desktop has one NIC configured with a standard network switch and the new
base image has one NIC configured with a distributed virtual network switch, the network label is not
preserved. The MAC address is preserved.
If the original linked-clone desktop has two NICs, both of which are configured with a standard network
switch, and the new base image has one NIC configured 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.
Display the Network Label Assignments for an Existing Pool or Desktop
To display the network label assignments for a pool, use the Get-Pool cmdlet. The NetworkLabelSpecs
output parameter shows the network labels that are assigned to the pool. You do not have to add a parameter
in the command line to display this information. It is displayed automatically with the Get-Pool cmdlet.
The NetworkLabelSpecs output displays infomation in the following format:
nl - Network label name.
nic - NIC name
enabled - A value of 1 means the label is active. A value of 0 means it is disabled.
max - Maximum number of virtual machines that can be assigned the network label
usage - Number of virtual machines currently assigned to the network label.
When the usage value equals the max value, View stops assigning that network label and starts making
assignments from the next available label.
The following example displays network label assignments for the pool Pool2.
> get-pool -pool_id Pool2
...
networkLabelSpecs : [nl=desktop-auto01-230;nic=Network adapter 1;enable
d=1;max=239;usage=239];[nl=desktop-auto02-240;nic=N
etwork adapter 1;enabled=1;max=239;usage=239];[nl=vie
wscale-auto03-250;nic=Network adapter 1;enabled=1;max
=239;usage=239];[nl=desktop-auto04-260;nic=Network
adapter 1;enabled=1;max=239;usage=239];[nl=desktop-
auto05-270;nic=Network adapter 1;enabled=1;max=239;us
age=239];[nl=desktop-auto06-280;nic=Network adapter
1;enabled=1;max=239;usage=239];[nl=desktop-auto07-
290;nic=Network adapter 1;enabled=1;max=239;usage=239
];[nl=desktop-auto08-300;nic=Network adapter 1;enab
led=1;max=239;usage=239];[nl=desktop-auto09-310;nic
=Network adapter 1;enabled=1;max=239;usage=88] ...