Set up Primary Site for Citrix Studio

You must set up the primary site for managing the components of
Citrix Virtual Apps and Desktops
.
  1. Launch the
    Citrix Studio
    and enter the FQDN address of the
    Citrix Delivery Controller
    you want to connect.
  2. On the Welcome screen of the
    Citrix Studio
    console, select
    Deliver applications and desktops to your users
    .
  3. Select the option
    An empty, unconfigured Site
    , enter the site name, and click
    Next
    .
  4. Select the option
    Generate scripts to manually set up databases for database server
    and click
    Next
    .
  5. (Optional) select
    Specify additional Delivery Controller for this site
    to add a second
    Citrix Delivery Controller
    .
  6. Click
    Generate Scripts
    .
    Scripts are saved into
    C:\Users\administrator.vmcd\AppData\Local\Temp
    . The following scripts are generated.
    After the scripts are generated, you can run the scripts. However, before running the scripts, you must edit them. If you are using a replica database, you must run the replica scripts. See Databases for different database options and permissions required to set up these databases.
  7. From the local folder where you have saved the scripts, right-click the
    Site_mixed_Principle
    script and open it in Notepad ++ or any other editor of your choice.
  8. Uncomment the
    Monitoring_mixed_Principle
    and
    Logging_Mixed_Principle
    scripts.
    The following screenshots show how the
    Logging_Mixed_Principle
    script is edited. Similarly, you can edit the
    Monitoring_mixed_Principle
    script.
  9. After the scripts are edited, from the SQL Server Management Studio, open the file
    Site_Mixed_Principal
    .
  10. From the
    Query
    menu, select
    SQLCMD Mode
    .
  11. Run the
    Site_Mixed_Principal
    script.
    If the site database is not accessible, then edit the
    Site_Mixed_Principal
    script to manually create the Site Database.
    After the script is executed, the messages are displayed as shown in the following screenshot.
    If you are not an administrator user, then you must create a new login in SQL server and grant public permission by selecting
    Public
    on the
    Server Roles
    page.
  12. Return to
    Citrix Studio
    and click
    Continue database configuration and Site setup
    .
  13. On the Databases page, enter the SQL Database server details and click
    Next
    .
    You may see the following error.
  14. (Optional) install Kerberos Configuration Manager on the VM where you are running
    Citrix Studio
    and ensure that SPN status is
    Good
    to fix the preceding error.
    If the SPN status does display as
    Good
    , click
    Fix
    to rectify the issue. For more information, see Troubleshoot connectivity issues in SQL Server.
  15. On the
    Licensing
    page, do the following:
    1. Ener the license Server address and click
      Connect
      .
    2. Select
      Use an existing license
      Citrix Virtual Apps and Desktops Premium
      , concurrent model, and click
      Next
      .
    3. Click
      Finish
      to complete the site setup.