Integration
Table Of Contents
- View Integration
- Contents
- View Integration
- Introduction to View Integration
- Integrating View with the Event Database
- Using View PowerCLI
- Getting Started with View PowerCLI
- View Administrator, View PowerCLI, and vdmadmin Compared
- View PowerCLI cmdlet Reference
- View PowerCLI cmdlet Parameters
- Examples of Using View PowerCLI cmdlets
- Managing View Connection Server Instances
- Managing vCenter Server Instances 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 and Updating Manual Unmanaged Desktop Pools
- Displaying Information About Users and Groups
- Managing Desktop Entitlements
- Managing Remote Sessions
- Managing Virtual Machines
- Displaying Information About Physical Machines
- Updating Virtual Machine Ownership
- Displaying Event Reports
- Displaying and Updating Global Settings
- Displaying and Adding License Keys
- Examples of Using View PowerCLI to Perform Advanced Tasks
- Assigning Multiple Network Labels to a Desktop Pool
- Network Label Configuration File Format
- Example Network Label Configuration File
- Obtain and Export NIC and Network Label Information
- Verify and Edit a Network Label Configuration File
- Deploy a Desktop Pool That Uses Multiple Network Labels
- Displaying Network Label Assignments for a Pool
- Displaying Network Label Assignments for a Virtual Machine
- Displaying vCenter Server Network Label Assignments for a Virtual Machine
- Disable Automatic Network Label Assignments
- Customizing LDAP Data
- Integrating View with Microsoft SCOM
- Setting Up a SCOM Integration
- Assign a Name to the View Connection Server Group
- View Management Packs
- Import the View Management Packs on the SCOM Server
- Enable a Proxy Agent on a View Connection Server Host or Security Server
- Run the Discovery Script in the Operations Manager Console
- View Connection Server and Security Server Managed Objects
- View Object Classes and Relationships
- Monitoring View in the Operations Manager Console
- Setting Up a SCOM Integration
- Examining PCoIP Session Statistics with WMI
- Setting Desktop Policies with Start Session Scripts
- Index
Procedure
u
Use a View PowerCLI cmdlet to deploy the desktop pool.
Option Action
Deploy a linked-clone pool
Run the Add-AutomaticLinkedClonePool cmdlet and specify the path to
the network label configuration file with the -NetworkLabelConfigFile
parameter.
Deploy a full-clone desktop pool
Run the Add-AutomaticPool cmdlet and specify the path to the network
label configuration file with the -NetworkLabelConfigFile parameter.
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 configuration file named label.txt file.
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 affect network label assignments. Virtual machines continue to
receive the network labels that were assigned to them when they were first provisioned.
Preserving Network Labels During Recompose and Rebalance Operations
During View Composer recompose and rebalance operations, View attempts 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. You can configure 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 configured with a
standard network switch, the network label and MAC address are preserved.
Chapter 3 Using View PowerCLI
VMware, Inc. 55