How to Configure a XenDesktop 5 Site to Use an Existing SQL Database

How to Configure a XenDesktop 5 Site to Use an Existing SQL Database

book

Article ID: CTX128008

calendar_today

Updated On:

Description

This article describes how to configure a XenDesktop 5 site to use an existing SQL database


Instructions

When configuring a XenDesktop 5 site, you can use the default database (If installed) or an existing database.

During installation of XenDesktop, you receive the option to install SQL Express 2008 R2. If you wish to use an existing standalone SQL server, you can choose to not install SQL express and instead configure your XenDesktop 5 site to use the SQL server.

 XenDestop

Note: The Quick deploy option requires all components including SQL server express to be installed on the same controller.
 
Default Instance = .\SQLEXPRESS

Configuring a XenDesktop 5 site to use an existing SQL Database

  1. Launch Desktop Studio.

  2. Select Desktop Deployment.
    Desktop Studio

  3. Enter Site details.

  4. Select Use existing database, type server location, and click Next.
    Desktop Deployment

  5. Click Test connection or click Next.
    Desktop Studio

  6. Click OK to allow XenDesktop to automatically create the database.
    Note: If the logged on user account does not have permissions to automatically create the SQL database through Desktop Studio, then you can manually create the database by clicking on Generate as highlighted in the preceding screen shot. Clicking this generates a script, which includes instructions on how to manually create the database.

Adding a second controller to the XenDesktop 5 site

  1. Launch Desktop Studio and select Join existing deployment:
    Desktop Studio

    Note: In the preceding screen shot, the Quick deploy option is unavailable because SQL Express (2008 R2) is not installed on the broker (Quick deploy requires all components to be installed on the same server).

  2. Type the host name or IP address of an existing controller in the site you wish to join.
    XenDesktop

  3. Select Yes when prompted to allow XenDesktop to automatically update the database.
    Desktop Studio

Issue/Introduction

This article describes how to configure a XenDesktop 5 site to use an existing SQL database.

Additional Information

CTX127998 ‑  Database Access and Permission Model for XenDesktop 5

CTX126916 ‑  XenDesktop Database Transaction Log Growing Excessively

CTX127359 ‑ How to Configure XenDesktop for SQL Database Mirroring

CTX127538 ‑ How to Reconfigure a XenDesktop Site to Use a Mirrored Database