You can use the vdmimport command to import configuration data from an LDIF configuration file into a standard or replica Connection Server instance.

Prerequisites

  • Export LDAP configuration data to an LDIF configuration file. See Export LDAP Configuration Data.
  • If you are importing a Cloud Pod Architecture global LDIF configuration file, verify that the Cloud Pod Architecture feature is initialized on the Connection Server instance.

Procedure

  1. Log in to a Connection Server instance as a user in the Administrators role.
    You must be logged in as a user in the Administrators role to import configuration data into the Horizon configuration repository.
  2. At the command prompt, type the vdmimport command.
    By default, the vdmimport command-line utility is installed in the C:\Program Files\VMware\VMware View\Server\tools\bin directory.
    The vdmimport command has the following options.
    Option Description
    -f Input file name.
    -i Shows file information about the specified LDIF configuration file.
    -d Decrypts the specified LDIF configuration file.
    -p Specifies the recovery password for decryption of an encrypted LDIF configuration file. Type "" to enter the password at the prompt.
    -g Specifies that the restore is for a Cloud Pod Architecture environment.
    For example, the following commands decrypt and import a local LDIF configuration file.
    vdmimport -d -p mypassword -f MyEncryptedxport.LDF > MyDecryptedexport.LDF
    vdmimport -f MyDecryptedexport.LDF
    The following commands decyrypt and import a Cloud Pod Architecture global LDIF configuration file.
    vdmimport -d -p mypassword -f MyEncryptedCPAexport.LDF > MyDecryptedCPAexport.LDF
    vdmimport -g -f MyDecryptedCPAexport.LDF

Results

After the vdmimport command runs, the configuration of your Connection Server instance is updated with the data from the file, and the number of records that have been successfully updated is displayed. Errors appear if some records could not be updated because your role has insufficient privileges.