In certain situations, you might have to reinstall the current version of a Connection Server instance and restore the existing Horizon 7 configuration by importing a backup LDIF file that contains the View LDAP configuration data.

About this task

For example, as part of a business continuity and disaster recovery (BC/DR) plan, you might want to have a procedure ready to implement in case a datacenter stops functioning. The first step in such a plan is to ensure that the View LDAP configuration is backed up in another location. A second step is to install Connection Server in the new location and import the backup configuration, as described in this procedure.

You might also use this procedure when you set up a second datacenter with the existing Horizon 7 configuration. Or you might use it if your Horizon 7 deployment contains only a single Connection Server instance, and a problem occurs with that server.

You do not have to follow this procedure if you have multiple Connection Server instances in a replicated group, and a single instance goes down. You can simply reinstall Connection Server as a replicated instance. During the installation, you provide connection information to another Connection Server instance, and Horizon 7 restores the View LDAP configuration from the other instance.


  • Verify that the View LDAP configuration was backed up to an encrypted LDIF file.

  • Familiarize yourself with restoring a View LDAP configuration from an LDIF backup file by using the vdmimport command.

    See "Backing Up and Restoring Horizon 7 Configuration Data" in the Horizon 7 Administration document.

  • Familiarize yourself with the steps for installing a new Connection Server instance. See Install Horizon Connection Server with a New Configuration.


  1. Install Connection Server with a new configuration.
  2. Decrypt the encrypted LDIF file.

    For example:

    vdmimport -d -p mypassword -f MyEncryptedexport.LDF > MyDecryptedexport.LDF
  3. Import the decrypted LDIF file to restore the View LDAP configuration.

    For example:

    vdmimport -f MyDecryptedexport.LDF

    At this stage, the Horizon 7 configuration is not yet accessible. Clients cannot access Connection Server or connect to their desktops.

  4. Uninstall the Connection Server from the computer by using the Windows Add/Remove Programs utility.

    Do not uninstall the View LDAP configuration, called the AD LDS Instance VMwareVDMDS instance. You can use the Add/Remove Programs utility to verify that the AD LDS Instance VMwareVDMDS instance was not removed from the Windows Server computer.

  5. Reinstall Connection Server.

    At the installer prompt, accept the existing View LDAP directory.

What to do next

Configure Connection Server and your Horizon 7 environment as you would after you install a Connection Server instance with a new configuration.