VMware View Manager Configuration Data Export and Import VMware View Manager 3.0



Similar documents
VMware Virtual Desktop Manager User Authentication Guide

Command-Line Tool for View Manager View Manager 4.0

Upgrading Horizon Workspace

Virtual Machine Encryption Basics

Configuring Multiple ACE Management Servers VMware ACE 2.0

Configuration Maximums VMware Infrastructure 3

VMware vcenter Configuration Manager Backup and Disaster Recovery Guide vcenter Configuration Manager 5.4.1

VMware vcenter Configuration Manager SQL Migration Helper Tool User's Guide vcenter Configuration Manager 5.6

Active Directory Solution 1.0 Guide

Reconfiguration of VMware vcenter Update Manager

Legacy Host Licensing with vcenter Server 4.x ESX 3.x/ESXi 3.5 and vcenter Server 4.x

VMware View Backup Best Practices

VMware vcenter Configuration Manager and VMware vcenter Application Discovery Manager Integration Guide

VMware User Environment Manager

vcenter Configuration Manager Backup and Disaster Recovery Guide VCM 5.3

VMware vcenter Configuration Manager Software Provisioning Components Installation and User Guide

Step-by-Step Guide to Active Directory Bulk Import and Export

VMware View Upgrade Guide

vcloud Suite Licensing

ThinPrint GPO Configuration for Location-Based Printing

VMware vcenter Configuration Manager Backup and Disaster Recovery Guide vcenter Configuration Manager 5.7

Migrating a Windows PC to Run in VMware Fusion VMware Fusion 2.0

WHITE PAPER. VMware Infrastructure 3 Pricing, Packaging and Licensing Overview

ACE Management Server Deployment Guide VMware ACE 2.0

vcenter Chargeback User s Guide vcenter Chargeback 1.0 EN

Installing and Configuring vcloud Connector

Direct virtual machine creation from backup with BMR

Migrating to vcloud Automation Center 6.1

Getting Started with VMware Fusion

Upgrading VMware Identity Manager Connector

Reconfiguring VMware vsphere Update Manager

Advanced Service Design

vsphere Upgrade vsphere 6.0 EN

W H I T E P A P E R. Understanding VMware Consolidated Backup

Cloud Director User's Guide

vsphere Upgrade Update 1 ESXi 6.0 vcenter Server 6.0 EN

VMware Identity Manager Administration

Remote Printing VMware ACE 2

Integration with Active Directory

VMware Consolidated Backup

Using the vcenter Orchestrator Plug-In for Microsoft Active Directory

VMware vcenter Update Manager Administration Guide

Using VMware ESX Server With Hitachi Data Systems NSC or USP Storage ESX Server 3.0.2

vcenter Chargeback User s Guide

Running VirtualCenter in a Virtual Machine

VMware Auto Deploy GUI. VMware Auto Deploy Gui 5.0 Practical guide

Getting Started with ESXi Embedded

VMware Remote Console for vrealize Automation

Step-by-Step Guide to Bulk Import and Export to Active Directory

Installation and Configuration Guide

Web Services for Management Perl Library VMware ESX Server 3.5, VMware ESX Server 3i version 3.5, and VMware VirtualCenter 2.5

Using LDAP Authentication in a PowerCenter Domain

Configuring Single Sign-on from the VMware Identity Manager Service to AirWatch Applications

Directory Configuration Guide

VMware Data Recovery. Administrator's Guide EN

Reconfiguring VMware vsphere Update Manager

Installing and Administering VMware vsphere Update Manager

Adding a DNS Update Step to a Recovery Plan VMware vcenter Site Recovery Manager 4.0 and later

QuickStart Guide vcenter Server Heartbeat 5.5 Update 2

VMware Mirage Web Manager Guide

Setup for Failover Clustering and Microsoft Cluster Service

Solution Brief Availability and Recovery Options: Microsoft Exchange Solutions on VMware

Administering View Cloud Pod Architecture

Getting Started with VMware Fusion. VMware Fusion for Mac OS X

What s New in VMware Data Recovery 2.0 TECHNICAL MARKETING DOCUMENTATION

Modifying the Active Directory Schema to Support Mac Systems

Replacing vcenter Server 4.0 Certificates VMware vsphere 4.0

Scalability Tuning vcenter Operations Manager for View 1.0

W H I T E P A P E R. Optimized Backup and Recovery for VMware Infrastructure with EMC Avamar

Using VMware ESX Server with IBM System Storage SAN Volume Controller ESX Server 3.0.2

Configuration Maximums VMware vsphere 4.1

vsphere Host Profiles

VMware Horizon Mobile Secure Workplace User Installed Applications Support with Liquidware Labs HOW-TO GUIDE

Getting Started with Database Patching

Managing Remote Access

vcloud Automation Center Self-Service Portal Guide

Installing and Configuring vcenter Multi-Hypervisor Manager

Security Guide vcenter Operations Manager for Horizon View 1.5 TECHNICAL WHITE PAPER

Enabling NetFlow on Virtual Switches ESX Server 3.5

Migration Guide Software, Database and Version Migration

Implementing Cloud Solutions Within Your Existing IT Environment. White paper

VMware vcenter Discovered Machines Import Tool User's Guide Version for vcenter Configuration Manager 5.3

Converting a Parallels Virtual Machine to Run in VMware Fusion VMware Fusion 1.0

Cloud Attached Storage

Obtaining SSL Certificates for VMware View Servers

Integration Guide. SafeNet Authentication Service. Integrating Active Directory Lightweight Services

Setup for Failover Clustering and Microsoft Cluster Service

Best Practices for Patching VMware ESX/ESXi VMware ESX 3.5/ESXi 3.5

Mastering Disaster Recovery: Business Continuity and Virtualization Best Practices W H I T E P A P E R

Integrated Virtual Debugger for Visual Studio Developer s Guide VMware Workstation 8.0

W H I T E P A P E R. VMware Software Lifecycle Automation Solutions

VMware Virtual Machine Importer User s Manual

VMware vrealize Operations for Horizon Security

Getting Started with Capacity Planner

vsphere App HA Installation and Configuration Guide

Troubleshooting Active Directory Server

Transcription:

Technical Note VMware View Manager Configuration Data Export and Import VMware View Manager 3.0 This document describes how VMware View Manager can use VMware and Microsoft command tools to export and import configuration data. It is intended for administrators and script writers who want to be able to import configuration data into View Connection Server in bulk without entering the data manually through View Administrator. All configuration data in View Manager is stored in an LDAP directory. Each View Connection Server (standard and replica instances) contains a local LDAP configuration repository and a replication agreement between the View Connection Servers. This arrangement ensures that changes to any repository are automatically replicated to the others. View Administrator manages most of the LDAP data in View Manager. Some data is managed by View Connection Server automatically. When desktop pools are added, the information concerning their users, user groups, and entitlements are stored in LDAP. The View Connection Server software uses this information to control View operations. The View LDAP configuration data can be exported to a standard plain an ASCII text file format known as a Lightweight Directory Interchange Format (LDIF). This format is defined in the Internet Engineering Task Force (IETF) RFC 2849 standard. The LDAP data interchange format, is typically used to import and export directory information between LDAP based directory servers, or to describe a set of changes that are to be applied to a directory. As an alternative to adding a large number of virtual desktop entries using View Administrator, this document includes information that can be used to define an LDIF format that contains these entry definitions. These definitions can be added automatically to the View Connection Server configuration repository. Data Export View LDAP configuration data can be exported in LDIF file format using the View Connection Server ViewExport.EXE command line utility. To read all of the View LDAP data and export it in LDIF format to a specified file, run this utility on any standard or replica instance View Connection Server. This command should be run by a user with administrator privileges. This is a user who is a member of the Local Administrators user group. To view an example of an LDIF export file On a View Connection Server, open a command prompt and run the following command: VDMExport >VDMExport.LDF Copyright 2008 VMware, Inc. All rights reserved. 1

The output LDIF file is useful for two purposes: As a View configuration backup. If the View Connection Server is rebuilt or the software reinstalled, you can use this exported LDIF file to restore the configuration into the new environment. To transfer configuration data from one environment to another. The LDIF file can be taken to another environment and the configuration data imported. Data Import You can use the Microsoft LDIFDE.EXE command to import an LDIF format file into a View Connection Server using the Microsoft LDIFDE.EXE command. This command can read an LDIF file and perform LDAP operations based on the contents of the input file. This command should be run by a user with administrator privileges. This is a user who is a member of the Local Administrators user group. To view an example of an LDIF import file to a View Connection Server LDAP repository 1 On a View Connection Server, open the ADAM Tools Command Prompt, choose Start > Tools > All Programs > ADAM > ADAM Tools Command Prompt. 2 Run the following command: LDIFDE i f VDMExport.LDF s 127.0.0.1 -z The LDIFDE.EXE command can import data from a file that was created by VDMExport.EXE and import an LDIF file created by other methods such as a script. This is useful to perform bulk load operations such as defining a set of virtual desktop pools and so on. To do this, you must understand the LDAP data format that View Connection Server uses. View Connection Server LDAP Definitions One way to view an example of the LDIF syntax for View LDAP configuration data is to use View Administrator to add a single desktop pool and then use VDMExport.EXE to export this data. You can view the LDIF syntax entries that View Administrator creates by viewing the output LDIF file. You must add a minimum of three entries to View LDAP when a desktop pool is defined: Each virtual desktop is represented by a virtual machine entry. Each virtual desktop pool representing one or more virtual machines is represented by a virtual machine pool entry. Each Pool entry has a paired Desktop Application entry that is used for entitlement purposes. A Desktop Application entry and a virtual machine pool entry have a one to one relationship. The following LDIF format definition shows an example of the entries for adding a desktop pool that contains two virtual desktops: Virtual Desktop VM entry VM1 DN: CN=vm1,OU=Servers,DC=vdi,DC=vmware,DC=int objectclass: pae-server objectclass: pae-winserver objectclass: pae-thinwinserver Copyright 2008 VMware, Inc. All rights reserved. 2

objectclass: pae-vm cn: vm1 description: sample virtual desktop entry pae-vmsuspended:: IA== pae-optignoreprocesslist: 0 pae-moid: vm-1 pae-vmstate: READY pae-servermanaged: 1 pae-ssoenabled: 1 pae-displayname: virtual desktop 1 pae-tunneledconnection: 1 pae-pwdencryption: KERB5 iphostnumber: vm1 pae-clientprotversion: 1 pae-windomain: NULL pae-thinproto: XP_RDP pae-services: SESSION, HEARTBEAT, EVENTS, USED pae-vmpath: /New Datacenter/vm/vm-1 pae-optsuspendtimeout: 0 pae-optdisconnectlimittimeout: 0 pae-optmaximumsessions: 0 Virtual Desktop VM entry VM2 DN: CN=vm2,OU=Servers,DC=vdi,DC=vmware,DC=int objectclass: pae-server objectclass: pae-winserver objectclass: pae-thinwinserver objectclass: pae-vm cn: vm2 description: sample virtual desktop entry pae-vmsuspended:: IA== pae-optignoreprocesslist: 0 Copyright 2008 VMware, Inc. All rights reserved. 3

pae-moid: vm-2 pae-vmstate: READY pae-servermanaged: 1 pae-ssoenabled: 1 pae-displayname: virtual desktop 2 pae-tunneledconnection: 1 pae-pwdencryption: KERB5 iphostnumber: vm2 pae-clientprotversion: 1 pae-windomain: NULL pae-thinproto: XP_RDP pae-services: SESSION, HEARTBEAT, EVENTS, USED pae-vmpath: /New Datacenter/vm/vm-2 pae-optsuspendtimeout: 0 pae-optdisconnectlimittimeout: 0 pae-optmaximumsessions: 0 VM Pool entry Pool1 DN: CN=Pool1,OU=Server Groups,DC=vdi,DC=vmware,DC=int objectclass: pae-serverpool cn: Pool1 pae-vcdn: CN=b180b93b-2dd3-4b58-8a81-b8534a4b7565,OU=VirtualCenter,OU=Properties,DC=vdi,DC=vmwar e,dc=int pae-memberdn: CN=vm1,OU=Servers,DC=vdi,DC=vmware,DC=int pae-memberdn: CN=vm2,OU=Servers,DC=vdi,DC=vmware,DC=int pae-vmpowerpolicy: remainon pae-vmprovenabled: 1 pae-vmprovsuspendonerror: 1 pae-vmstartclone: 1 pae-vmpoolcalculatedvalues: 1 pae-serverpooltype: 0 pae-vmminimumcount: 0 Copyright 2008 VMware, Inc. All rights reserved. 4

pae-vmheadroomcount: 0 pae-vmmaximumcount: 0 Desktop Application entry Pool1 DN: CN=Pool1,OU=Applications,DC=vdi,DC=vmware,DC=int objectclass: pae-entity objectclass: pae-app objectclass: pae-winapp objectclass: pae-thinwinapp objectclass: pae-desktopapplication cn: Pool1 member:: PFNJRD1TLTEtMi0zLTQ+IA== pae-icon: /thinapp/icons/desktop.gif pae-url: \ pae-servers: CN=Pool1,OU=Server Groups,DC=vdi,DC=vmware,DC=int pae-serverprotocollevel: OSX_NETOP pae-serverprotocollevel: OS2_NETOP pae-serverprotocollevel: NT4_NETOP pae-serverprotocollevel: WIN2K_NETOP pae-serverprotocollevel: NT4_RDP pae-serverprotocollevel: WIN2K_RDP pae-serverprotocollevel: XP_RDP The settings available through the View Administrator define the values for each of the attributes supported in a particular View Connection Server. To view the corresponding values of each attribute, use View Administrator to configure the correct settings so that you can add sample entries. The definitions can then be exported using VDMExport.EXE to view a sample LDIF entry. You can use those same values as a template definition for the entries to be added. The member attribute in a Desktop Application entry is a multivalued attribute that specifies the list of AD users and AD user groups representing the set of users who are entitled to access the desktop pool. This attribute is specified in the form of a Windows SID reference. A member value of <SID=S 1 2 3 4> represents an AD user or AD group with SID value S 1 2 3 4. In LDIF format, the left angle (<) character has special meaning and so the value <SID=S 1 2 3 4> has to be represented in base 64 format as PFNJRD1TLTEtMi0zLTQ+IA== and this requires two colons (:) after the attribute name of member as the previous example shows. Because member is multivalued, multiple member lines can be specified to represent the list of SIDs for the desktop application entitlement. Copyright 2008 VMware, Inc. All rights reserved. 5

The common names (CN) attribute used for each entry is arbitrary. If the names need to be generated automatically, use generated GUID strings for CN values. Other View Connection Server LDAP configuration entries can be added in a similar way. The preceding examples are the minimum set of entries needed to add a desktop pool that contains two virtual machines. The LDAP configuration repository for the View Connection Server contains other entries that represent configuration data for View Connection Server. Using VDMExport.EXE allows you to view the complete set of entries. If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com VMware, Inc. 3401 Hillview Ave., Palo Alto, CA 94304 www.vmware.com Copyright 2008 VMware, Inc. All rights reserved. Protected by one or more of U.S. Patent Nos. 6,397,242, 6,496,847, 6,704,925, 6,711,672, 6,725,289, 6,735,601, 6,785,886, 6,789,156, 6,795,966, 6,880,022, 6,944,699, 6,961,806, 6,961,941, 7,069,413, 7,082,598, 7,089,377, 7,111,086, 7,111,145, 7,117,481, 7,149, 843, 7,155,558, 7,222,221, 7,260,815, 7,260,820, 7,269,683, 7,275,136, 7,277,998, 7,277,999, 7,278,030, 7,281,102, 7,290,253, 7,356,679, 7,409,487, 7,412,492, 7,412,702, 7,424,710, 7,428,636, 7,433,951, 7,434,002, and 7,447,854; patents pending. VMware, the VMware boxes logo and design, Virtual SMP, and VMotion are registered trademarks or trademarks of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies. Item: EN-000092-00 6