4.5
Table Of Contents
- VMware View Integration Guide
- 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
- 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 View Integration Guide
46 VMware, Inc.
Export LDAP Configuration Data
YoucanexportconfigurationdatafromastandardorreplicaViewConnectionServerinstancetoanLDIFfile
byrunningthevdmexportcommand‐lineutility.
Bydefault,thevdmexportcommand‐lineutilityisinstalledintheC:\Program Files\VMware\VMware
View\Server\tools\bindirectory.
InViewManager3.1andearlier,youmustbeloggedintoa
standardorreplicainstanceViewConnection
ServerinstanceasanadministratorandbeamemberoftheLocalAdministratorsusergroup.
InVMwareView4.5,youmustbeloggedintoaViewConnectionServerinstanceasauserinthe
AdministratorsorAdministrators(Readonly)roletoexportconfigurationdata
successfullyfromtheView
configurationrepository.
To export configuration data from a View Connection Server instance
1 SelectStart>CommandPrompt.
2Atthecommandprompt,typethevdmexportcommandandredirecttheoutputtoafile.
vdmexport > myexport.LDF
InVMwareView4.5,youcanspecifytheoutputfilenameasanargumenttothe -foption.
vdmexport -f myexport.LDF
ThecommandwritestheconfigurationofyourViewConnectionServerinstancetothefilethatyou
specify.Thecommanddisplayserrorsifyourrolehasinsufficientprivilegestoviewthedatainthe
configurationrepository.
Modify LDAP Configuration Data
YoucanmodifytheLDAPconfigurationdatathatyouhaveexportedfromaViewConnectionServerinstance
toanLDIFfileandusethemodifiedfiletoperformautomaticbulkconfigurationoperationsonView
ConnectionServerinstances.
YoucanobtainanexampleoftheLDIFsyntaxforanyitemofLDAP
configurationdatainVMwareView.For
example,youcanextractthedataforadesktoppoolandusethisasatemplatetocreatealargenumberof
desktoppools.
To modify LDAP configuration data
1UseViewAdministratortoaddasingledesktoppoolwiththedefaultattributevaluesthatyourequire.
Ifrequired,youcan
modifythesevalueswhenyoucreateyourcustomizedconfigurationfile.
2UsethevdmexportcommandtoexporttheconfigurationdataasanLDIFfile.
See“ExportLDAPConfigurationData”onpage 46.
3ExaminethecontentsoftheLDIFfiletofindtheentrydefinitionsofthedesktoppoolthatyoucreated.
Youcanuse
thisentryasatemplateforaddingalargenumberofdesktoppools.
UsethevdmimportcommandtoimportyourcustomizedLDIFfileandupdatetheconfigurationoftheView
ConnectionServerinstance.See“ImportLDAPConfigurationData”onpage 49.
YoumustaddthefollowingentriestoanLDIFfiletodefine
adesktoppool:
AVirtualDesktopVMentryforeachvirtualdesktopinthedesktoppool.
AVMPoolentryforeachdesktoppool.
ADesktopApplicationentrythatdefinestheentitlementofthedesktoppool.
EachVMPoolentrymustbeassociatedwithoneDesktopApplicationentryinaone‐to‐onerelationship.A
DesktopApplicationentrycannotbesharedbetweenVMPoolentries,andaVMPoolentrycanonlybe
associatedwith
oneDesktopApplicationentry.