Build out Citrix Farm (1)

Planning

Citrix Service Account: sa_ctx@vmlab.local

Database name: Ctx_db on SQLPKI1.vmlab.local

Planning server name and lists

Hostname

Descriptions

DC1

Install Citrix Licensing Server

SQLPKI1

SQL Server for DB

CTXPVS

Citrix Provisioning Server 7.1

CTXMTDImage

Citrix Master Target Device Image Server

CTXA1

XenApp 7.5

CTXA2

XenApp 7.5

CTXA3

XenApp 7.5

CTXA4

XenApp 6.5

CTXA5

XenApp 6.5

CTXA6

XenApp 6.5

CTXD1

XenDesktop 5.5

CTXD2

XenDesktop 5.5

CTXD3

XenDesktop 5.5

CTXD4

XenDesktop 7

CTXD5

XenDesktop 7

CTXD6

XenDesktop 7

NS1

NetScalers VPX 10.1

NS2

NetScalers VPX 10.1

Hypervisor: VMware 5.1 (may upgrade to 5.5)

Downloads Trials


  1. Download all listed below


  2. Upload XenApp7.5 ISO to localdatastore2 on esxi2


Install License Server on DC1

  1. Assign XenApp_and _XenDesktop7_5.iso to dc1


  2. Launch Install media and Start XenApp Deliver Applications


  3. Extended Deployment> install Citrix License Server


           
     


           
     


           
     


           
     


           
     


           
     

  4. Open up Citrix License Administration Console


  5. Log on with the AD account for installing the license server


           
     


           
     


           
     


  6. Follow the instructions below to obtain License file from citrix.com


  7. After log on My Account in citrix.com, go to All Licensing Tools> Single Allocation


  8. Enter the evaluation license code


  9. Review Host Name Warning and Continue


  10. Input hostname (Case sensitive) and continue


  11. Confirm


  12. OK to download license file


  13. Download the flc file to a specific location


  14. Go back to License Admin Console>Administration>Vendor Daemon Configuration>Import License


  15. Input the path



           
     

  16. Click Citrix on the license list


  17. Move up the new license directory above the older one if any and Click Reread License Files button


           
     

  18. Go back out to Dashboard and see the license file shows properly


Create a Citrix Server OU in AD UC

  • Create a “Citrix Servers” OU under Windows Server OU


  • Any GPO for Citrix Servers will be applied to the OU later

Create a Citrix Service Account

  1. Create a user under Managed Service Accounts OU



  2. Add to a group


           
     


Configure a Citrix PVS DHCP Server

  1. On DHCP Server>right click on Address Pool>New Exclusion Range


  2. Add IP range for CITRIX Servers


         
     


  3. Install DHCP Server role on ctxpvs and configure DHCP Server




  4. Open a DHCP Manager on ctxpvs < add a new scope


  5. Add Excluded IP range from existing DHCP Server scope for CTX PVS early


  6. No Exclusion and Delay IP setup on this DHCP Scope




  7. Add 192.168.255.1 as Router (Default Gateway)


         
     


         
     


         
     


         
     


  8. Configure 066 Boot Server Host Name to 192.168.255.11 (CTXPVS) and 067 Bootfile Name to ARDBP32.bin

Reference site: http://support.citrix.com/proddocs/topic/xendesktop-bdx/cds-eval-configure-dhcp-boot-options-bdx.html



Build Out Citrix Provisioning Service Server (CTXPVS)

Reference site: http://www.robinhobo.com/installing-configuring-citrix-provisioning-services-7-1/

  1. Deploy a 2012 R2 Standard Server to build out CTXPVS host
  2. Set Static IP for the host to 192.168.255.11


  3. Create a New Folder and name it vDisks on the root directoy


  4. Create Inbound Firewall Rule (Windows) for SQLPort on TCP 1433


  5. Assign Provisioning Server 7.1 ISO to DVD Rom
  6. Console Installation


  7. Install


           
     


           
     


           
     


           
     


  8. Server Installation


           
     


           
     


  9. Yes


  10. Next


           
     


           
     


           
     

  11. Provisioning Services configuration


  12. Select The service that runs on this computer with MS DHCP

           
     


     

  13. Create Farm


  14. Input Server name, and TCP Port number (No instance name for my setup)


  15. Fill New Farm information


  16. Set Store path


  17. License server name and check validate option


  18. Use Service account you created early




  19. Enable TFTP Service





   
 

Reference sites:

  1.  Add Inbound firewalls

    Provisioning Service Management Ports



    AD Communication (Domain Controller)



    Provisioning UDP Ports



    Provisioning Soap Service



  2. And Ok to continue to settings and Done


DB Permission for the Service Account

  1. On SQLPKI1, browse to Security>Logins>VMLAB\sa_ctx>Properties>General Tab> Set default DB to Provisioning Services


    On User Mapping Tab>Select Provisioning Services and set dbo for Default Schema


  2. Go to Databases>ProvisioningServices>Security>Users>VMLAB\sa_ctx>Properties>Owned Schema> select db_owner


    Membership Tab> Select db_owner