Overview of Steps involved in setting up XenDesktop 7 on Windows Server 2012 from scratch with VMware ESXi 5.1.0 as Hypervisor

 

  1. Install Windows Server 2012 with all of the Windows Updates and add it to the Domain.  Refer to Step-By-Step Screencast of Installing Windows Server 2012
    1. Install Updates
    2. Add to the Domain
    3. The XenDesktop installer will take care of installing all of the pre-requisite software on the server along with enabling the required Server Roles and Features.
  2. Install XenDesktop 7 with all of the features on the same server.  Refer to Installing Citrix XenDesktop 7 on Windows Server 2012 image_thumb184
    1. Delivery Controller
    2. Studio
    3. Director
    4. License Server
    5. StoreFront
    6. Along with features XenDesktop will also
      1. installs Microsoft SQl Server 2012 Expressimage
      2. Allows FireWall Rules image_thumb244
  3. Configuring XenDesktop Components: via Citrix XenDesktop Studio
    1. Create a new XenDesktop Site
    2. Install XenDesktop Server License on Controller server, refer to Configuring Licensing section in Configuring XenDesktop 7 on Windows Server 2012
    3. Setup a Connection to Hosting Hypervisor
    4. Prepare a Master VM
      1. Create a VM with all required settings and environment that is going to be used as Master Image for Machine Catalog in XenDesktop
      2. Update/Configure the Network configuration to be able to access the Domain as well as Delivery controller systems
      3. Install Hypervisor Tools (VMware/Xen Tools)
      4. Join to a Domain
      5. Install VDA and Citrix Receiver
      6. Shutdown the VM
      7. Create a Snapshot of the VM
      8. Keep this Master Image VM in shutdown state
      9. Refer to Preparing Master VM Image on VMware for XenDesktop 7
    5. Create a Machine Catalog by choosing the previously created Master Image VM
    6. If you are planning to use NetScalar for your networking and Firewall setup, you need to have it now ready so that youcan configure it in your StoreFront, otherwise you can specify it at a later point
    7. Create and Configure StoreFront site, Refer to Configuring Citrix StoreFront for XenDesktop 7 on Windows Server 2012
      1. As part of which you’ll be installed Citrix Receiver
      2. If you are to access/test XenDesktop session from the same server you’ll need to have the StoreFront site added to IE trusted sites list so that it’ll be able to run the JavaScripts
    8. Have appropriate Active Directory infrastructure setup like OU to store the computer Objects, Users accounts and a group account who going to access the created VMs
    9. Create Delivery Group
      1. choose the Catalog to be used
      2. assign the users group
      3. link the access to the StoreFront site
    10. Users will login from the StoreFront web store site and can start using the resources assigned for their login
  4. Setting up connection to VMWare ESXi 5.1.0 with vSphere 5.1.0
    1.   In order to establish a connection from XenDesktop 7 running on Windows Server 2012 to VMware Host running ESXI 5.1.0, you need to allow both HTTP and HTTPS access using below given steps:
      1. SSH to the vCenter, use WinSCP for GUI based access
      2. Edit the File /etc/vmware-vpx/proxy.xml
      3. Replace httpsAndRedirect with httpAndHttps for SDK XML tag image
      4. Refer to Fix: Cannot connect to the VCenter server due to a certificate error for detailed list of issues that may arise otherwise.

       

    2. Ensure proper DNS access to the vCenter system from XenDesktop Controller server so as to make sure the web based SSL access works in order to establish the secure communication channel.
      1. In case if you don’t have a proper DNS setup/network access for any reason, setup the vCenter server DNS name and IP entries in "C:WindowsSystem32driversetchosts" file as shown below image
    3. Add the SSL certificate of the vCenter server to the Trusted People list for both Local Computer as well as Current User  on XenDesktop 7 Controller Server
      1. To find the certificate navigate to the https://vCenter/
      2. Choose Copy to File option in Details of the certificate
      3. Open MMC, load Certificates for both Local Computer as well as Current User
      4. Navigate to Trusted People > right and Import and browse to the certificate file and click import
      5. Upon successful import you’ll see the certificate as shown below image
    4. On the XenDekstop 7 Controller server, add the vCenter server URL to the  Trusted Sites list. In my lab my vCenter server is localhost.localdomimage
    5. d
    6. g

  5. g
  6. fg

Leave a Reply

Your email address will not be published. Required fields are marked *