4.5

Table Of Contents
VMware View Integration Guide
46 VMware, Inc.
Export LDAP Configuration Data
YoucanexportconfigurationdatafromastandardorreplicaViewConnectionServerinstancetoanLDIFfile
byrunningthevdmexportcommandlineutility.
Bydefault,thevdmexportcommandlineutilityisinstalledintheC:\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.
EachVMPoolentrymustbeassociatedwithoneDesktopApplicationentryinaonetoonerelationship.A
DesktopApplicationentrycannotbesharedbetweenVMPoolentries,andaVMPoolentrycanonlybe
associatedwith
oneDesktopApplicationentry.