4.6
Table Of Contents
- VMware 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 VMware 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
- Creating and Updating Desktops Provisioned by Terminal Servers
- Obtaining Information About Users and Groups from Active Directory
- Managing Desktop Entitlements
- Managing Local Desktops
- 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 VMware View
- Managing View Licenses
- Examples of Using View PowerCLI for Enhanced Functionality
- 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
- Index
VMware, Inc. 53
Chapter 4 Customizing LDAP Data
Table 4‐1liststheattributesthatareimportantwhenyoumodifyadesktoppooldefinition.
Inasimilarmannertodesktoppools,youcancreatecustomizedLDIFfilesforotherobjectsthataredefined
intheLDAPrepository,forexample:
Globalconfigurationsettings.
ConfigurationsettingsforaspecificViewConnectionServerinstanceorsecurityserver.
Configurationsettingsforaspecificuser.
Import LDAP Configuration Data
YoucanimportconfigurationdatafromanLDIFfileintoastandardorreplicaViewConnectionServerby
runningthevdmimportcommand.
ThevdmimportcommandisavailablefromVMwareView4.5.Inpreviousreleases,youmustusetheLDIFDE
commandinstead.See“ImportLDAPConfigurationDataUsingtheLDIFDECommand”onpage 54.
By
default,thevdmimportcommand‐lineutilityisinstalledintheC:\Program Files\VMware\VMware
View\Server\tools\bindirectory.
Thevdmimportcommanddoesnotupdate,create,ordeleteanyLDAPrecordsthatarenotdefinedintheLDIF
file.ThisallowsyoutocustomizeanLDIFfilesothatonlyselectedrecordsareaffectedwhenyouimport
the
file.
YoumustbeloggedintoaViewConnectionServerinstanceasauserintheAdministratorsroletoimport
configurationdatasuccessfullyintotheViewconfigurationrepository.
To import configuration data into a View Connection Server instance
1 SelectStart>CommandPrompt.
2Atthecommandprompt,typethevdmimportcommandandspecifyanexistingLDIFfileasanargument
tothe -foption.
vdmimport -f myexport.LDF
TheconfigurationofyourViewConnectionServerinstanceisupdatedwiththedatafromthefile,andthe
numberofrecordsthathavebeensuccessfullyupdatedisdisplayed.Errorsaredisplayedifsomerecords
couldnotbeupdatedbecauseyourrolehasinsufficientprivileges.
Table 4-1. Important Attributes for Defining a Desktop Pool
Entry Attribute Description
VirtualDesktopVM
VMPool
DesktopApplication
cn Specifiesthecommonnameofanentry.Ifyourequirenamestobe
generatedautomatically,specifygloballyuniqueidentifier(GUID)
strings.YoucanuseanyreliableGUIDgenerator,suchasthe
mechanismprovidedby.NET(forexample,bycalling
System.Guid.NewGuid().ToString()inVisualBasic).
DesktopApplication
member Specifiesalist ofActiveDirectory(AD)usersandgroupswhoare
entitledtoaccessthedesktoppool.Theattributeisspecifiedinthe
formofaWindowsSecurityIdentifier(SID)reference.Amember
valueof<SID=S-1-2-3-4>representsanADuserorgroupwiththe
SIDvalueS-1-2-3-4.InLDIF
format,theleftangle(<)characteris
reserved,soyoumustplacetwocolons(::)aftertheattributename
andspecifytheSIDvalueinbase64format(forexample,
PFNJRD1TLTEtMi0zLTQ+IA==).Becausethisattributeis
multivalued,youcanuseitonmultiplelinestorepresenteachentry
inalist
ofSIDs.