Skip to main content

XenDesktop Installation and configuration



We are assuming that ,  virtual machines are hosted using Citrix XenServer. Each virtual machine is an independent system called a guest operating system. Citrix XenCenter allows you to connect to the XenServer environment and administer guest operating systems

This is also applicable in case of Hyper-V and VMware Environments,

Part 1: Install XenApp

Xenapp Installation and configuration is already covered. Below is the link. there is no need to reinvent the wheel
http://technologyandarchitecture.blogspot.com/2014/06/xenapp-installation-and-configuration.html

Now we have to do following things:

1) Create XenApp Farm SQL Database
2) Install the Desktop Delivery Controller
3) Configure Active Directory Computers
4) Configure Desktop Delivery Controller
Configure Active Directory Computers

Start the virtual machines in the following order:

    1. ABCDMC1
    2. FILER1
    3. ABCSQL1
    4. ABCPVSRV1
    5. ABCPVSRV2
    6. ABCXAMaster
    7. ABCWI1
Wait until each virtual machine is completely powered on and at the authentication screen before powering on the next virtual machine.

·         Log on as a domain administrator to the ABCDMC1 virtual machine.Open the Active Directory Users and Computers console.
·         Expand the ABC.Local node in the left pane and click Computers.
·         Drag the ABCDDC1, ABCDDC2 and ABCDDC3 computers to the Servers > XenDesktop OU. Click Yes in the Active Directory Domain Services warning screen. The three computers move to the XenDesktop OU.
·         Drag the ABCWinXPMaster computer to the Desktops > OS > WinXP OU.
·         Click Yes in the Active Directory Domain Services warning screen. The ABCWinXPMaster computer moves to the WinXP OU.
Create a SQL Farm Database
Use the following procedure to create a SQL farm database on the ABCSQL1 virtual machine.
  1. Log on as a domain administrator to the ABCSQL1 virtual machine.
  2. Open and connect to the Microsoft SQL Server Management Studio console.
  3. Right-click ABCSQL1 > Security and click New > Login . The Login - New screen appears.
  4. Type ABC\_XD in the Login name field and click OK.
  5. Right-click ABCSQL1 > Databases and click New Database. The New Database screen appears.
  6. Type XenDesktop-ABC in the Database name field.
  7. Click ... to select a database owner. The Select Database Owner screen appears.
  8. Type ABC\_XD in the Enter the object names to select pane and click Check Names.
  9. Click OK. The Select Database Owner screen closes.
  10. Click OK. The New Database screen closes.
Install the Desktop Delivery Controller
Use the following procedure to install the Desktop Delivery Controller on the ABCDDC1 virtual machine.
  1. Within the XenCenter console, start the ABCDDC1, ABCDDC2 and ABCDDC3 virtual machines.
  2. Log on as a domain administrator to the ABCDDC1 virtual machine.
  3. Within the XenCenter console, select XD_30.ISO in the DVD Drive drop-down list.
  4. Close the Citrix Desktop Delivery Controller 3.0 Wizard if it appears.
The Desktop Delivery Controller installation can be completed using the wizard. However, for the purposes of this class you will install the Desktop Delivery Controller from a command prompt.
  1. Click Start > Run , type the following:
D:\W2K3\EN\SETUP.EXE -NOSITES
The Citrix Desktop Delivery Controller Setup Wizard appears.
This command prevents the Web Interface and the default sites from installing automatically. For the purposes of this class, Web Interface has already been configured on a separate server.
  1. Read and respond to the license agreement and click Next.
  2. If prompted, click Yes in the warning screen.
  3. Deselect the Citrix License Server component and click Next.
  4. Select Create new farm and type ABC_XD_Farm in the farm name field and click Next.
  5. If prompted, click Yes in the warning screen.
  6. Select XenDesktop Platinum Edition and click Next.
  7. Select Use an existing database server and Configure license server now and click Next.
  8. Verify that SQL Server is selected as the database server type and click Configure. The Create a New Data Source to SQL Server screen appears.
  9. Select ABCSQL1 in the Server field drop-down list and click Next.
  10. Click Next to accept the default authentication settings.
  11. Select Change the default database to and select XenDesktop-ABC from the default database drop-down list.
  12. Click Next to accept the default SQL Server settings.
  13. Click Finish. The ODBC Microsoft SQL Server Setup screen appears.
  14. Click Test Data Source to ensure the connection is configured properly. The Test results should return a success message.
  15. Click OK in the Test Results screen.
  16. Click OK. The ODBC Microsoft SQL Server Setup screen closes.
  17. Click Next.
  18. Authenticate to the database using the following credentials:
  19. Click Next.
  20. Type ABCDMC1 in the License server name field and click Next.
  21. Click Next. The installation begins.
  22. When prompted for the Service Pack 2 CD-ROM, select WIN2K3.ISO in the DVD Drive drop-down list and click OK. The Files Needed screen appears.
  23. Click Browse.
  24. Click the CONVLOG.EX_ file and click Open.
  25. Click OK. The Files Needed screen closes and the Desktop Delivery Controller installation continues..
  26. When prompted for the Desktop Delivery Installation media, select XD_30.ISO in the DVD Drive drop-down list and click OK.
  27. Click Yes to restart ABCDDC1. The ABCDDC1 virtual machine restarts for the first time.
  28. Log on as a domain administrator to the ABCDDC1 virtual machine. The installation automatically continues.
  29. Click Yes to restart ABCDDC1. The ABCDDC1 virtual machine restarts for the second time.
  30. Log on as a domain administrator to the ABCDDC1 virtual machine. The installation automatically continues.
  31. Deselect Start the License Management Console now and click Finish. The Active Directory Configuration Wizard appears.
  32. Click Next.
  33. Click Browse and select ABC > Servers > XenDesktop and click OK.
  34. Click Next.
  35. Click Finish. The Active Directory configuration begins.
  36. Click Close. The Active Directory Configuration Wizard closes.
  37. Click Yes. The Access Management Console and the discovery configuration screen opens.
  38. Click Skip this screen in future and click Next.
  39. Click Next to accept the default components.
  40. Click Add Local Computer and click Next.
  41. Click Next. The discovery process begins.
  42. Click Close this wizard when discovery is successful. The discovery configuration screen closes.
Configure the Desktop Delivery Controller
Use the following procedure to configure the Desktop Delivery Controller on the ABCDDC1 virtual machine.
  1. Click Start > Run . The Run prompt appears.
  2. Type REGEDIT and click OK. The Registry Editor appears.
Using Registry Editor incorrectly can cause serious problems that can require an administrator to reinstall the operating system. Citrix cannot guarantee that problems resulting from incorrect use of Registry Editor can be solved.
  1. Expand the HKEY_LOCAL_MACHINE > SOFTWARE > Citrix > IMA > RUNTIME nodes and double-click UseRegistrySetting.
  2. Type 1 in the Data value field and click OK.
The UseRegistrySetting key determines whether or not an election process is necessary to determine the Desktop Delivery Controller roles.

  1. Double-click the MasterRanking key and verify that the value is set to 1. A MasterRanking registry entry value of 1 identifies the ABCDDC1 virtual machine as the farm master.
  2. Restart the ABCDDC1 virtual machine and log on as a domain administrator

Install Second Desktop Delivery Controller
Use the following procedure to install the Desktop Delivery Controller on the ABCDDC2 virtual machine.
  1. Log on as a domain administrator to the ABCDDC2 virtual machine.
  2. Within the XenCenter console, select XD_30.ISO in the DVD Drive drop-down list.
  3. Close the Citrix Desktop Delivery Controller 3.0 Wizard if it appears.
The Desktop Delivery Controller installation can be completed using the wizard. However, for the purposes of this class you will install the Desktop Delivery Controller from a command prompt.
  1. Click Start > Run , type the following:
D:\W2K3\EN\SETUP.EXE -NOSITES
The Citrix Desktop Delivery Controller Setup Wizard appears.
This command prevents the Web Interface and the default sites from installing automatically. For the purposes of this class, Web Interface has already been configured on a separate server.
  1. Read and respond to the license agreement and click Next.
  2. If prompted, click Yes in the warning screen.
  3. Deselect the Citrix License Server and Citrix Management Consoles components and click Next.
  4. Select Join existing farm and type ABCDDC1 in the controller name field and click Next.
  5. Select Use an existing database server and click Next.
  6. Verify that SQL Server is selected as the database server type and click Configure. The Create a New Data Source to SQL Server screen appears.
  7. Select ABCSQL1 in the Server field drop-down list and click Next.
  8. Click Next to accept the default authentication settings.
  9. Select Change the default database to and select XenDesktop-ABC from the default database drop-down list.
  10. Click Next.
  11. Click Finish. The ODBC Microsoft SQL Server Setup screen appears.
  12. Click Test Data Source to ensure the connection is configured properly. The Test results should return a success message.
  13. Click OK in the Test Results screen.
  14. Click OK. The ODBC Microsoft SQL Server Setup screen closes.
  15. Click Next.
  16. Authenticate to the database using the following credentials:
  17. Click Next.
  18. Click Next. The installation begins.
  19. When prompted for the Service Pack 2 CD-ROM, select WIN2K3.ISO in the DVD Drive drop-down list and click OK. The Files Needed screen appears.
  20. Click Browse.
  21. Click the CONVLOG.EX_ file and click Open.
  22. Click OK. The Files Needed screen closes and the Desktop Delivery Controller installation continues..
  23. When prompted for the Desktop Delivery Installation media, select XD_30.ISO in the DVD Drive drop-down list. and click OK.
  24. Click Yes to restart ABCDDC2. The ABCDDC2 virtual machine restarts for the first time.
  25. Log on as a domain administrator to the ABCDDC2 virtual machine. The installation automatically continues.
  26. Click Yes to restart ABCDDC2. The ABCDDC2 virtual machine restarts for the second time.
  27. Log on as a domain administrator to the ABCDDC2 virtual machine. The installation automatically continues.
  28. Click Finish.
Configure Second Desktop Delivery Controller
Use the following procedure to configure the Desktop Delivery Controller on the ABCDDC2 virtual machine.
  1. Click Start > Run . The Run prompt appears.
  2. Type REGEDIT and click OK. The Registry Editor appears.
Using Registry Editor incorrectly can cause serious problems that can require an administrator to reinstall the operating system. Citrix cannot guarantee that problems resulting from incorrect use of Registry Editor can be solved.
  1. Expand the HKEY_LOCAL_MACHINE > SOFTWARE > Citrix > IMA > RUNTIME nodes and double-click UseRegistrySetting.
  2. Type 1 in the Data value field and click OK.
  3. Double-click the MasterRanking key and verify the value is set to 3. A MasterRanking registry entry value of 3 identifies the ABCDDC2 virtual machine as a member server in the farm.
  4. Restart the ABCDDC2 virtual machine and log on as a domain administrator.
Install Third Desktop Delivery Controller
Use the following procedure to install the Desktop Delivery Controller on the ABCDDC3 virtual machine.
  1. Log on as a domain administrator to the ABCDDC3 virtual machine.
  2. Within the XenCenter console, select XD_30.ISO in the DVD Drive drop-down list.
  3. Close the Citrix Desktop Delivery Controller 3.0 Wizard if it appears.
The Desktop Delivery Controller installation can be completed using the wizard. However, for the purposes of this class you will install the Desktop Delivery Controller from a command prompt.
  1. Click Start > Run , type the following:
D:\W2K3\EN\SETUP.EXE -NOSITES
The Citrix Desktop Delivery Controller Setup Wizard appears.
This command prevents the Web Interface and the default sites from installing automatically. For the purposes of this class, Web Interface has already been configured on a separate server.
  1. Read and respond to the license agreement and click Next.
  2. If prompted, click Yes in the warning screen.
  3. Deselect the Citrix License Server and Citrix Management Consoles components and click Next.
  4. Select Join existing farm and type ABCDDC1 in the controller name field and click Next.
  5. Select Use an existing database server and click Next.
  6. Verify that SQL Server is selected as the database server type and click Configure. The Create a New Data Source to SQL Server screen appears.
  7. Select ABCSQL1 in the Server field drop-down list and click Next.
  8. Click Next to accept the default authentication settings.
  9. Select Change the default database to and select XenDesktop-ABC from the default database drop-down list.
  10. Click Next.
  11. Click Finish. The ODBC Microsoft SQL Server Setup screen appears.
  12. Click Test Data Source to ensure the connection is configured properly. The Test results should return a success message.
  13. Click OK in the Test Results screen.
  14. Click OK. The ODBC Microsoft SQL Server Setup screen closes.
  15. Click Next.
  16. Authenticate to the database using the following credentials:
  17. Click Next.
  18. Click Next. The installation begins.
  19. When prompted for the Service Pack 2 CD-ROM, select WIN2K3.ISO in the DVD Drive drop-down list and click OK. The Files Needed screen appears.
  20. Click Browse.
  21. Click the CONVLOG.EX_ file and click Open.
  22. Click OK. The Files Needed screen closes and the Desktop Delivery Controller installation continues..
  23. When prompted for the Desktop Delivery Installation media, select XD_30.ISO in the DVD Drive drop-down list. and click OK.
  24. Click Yes to restart ABCDDC3. The ABCDDC3 virtual machine restarts for the first time.
  25. Log on as a domain administrator to the ABCDDC3 virtual machine. The installation automatically continues.
  26. Click Yes to restart ABCDDC3. The ABCDDC3 virtual machine restarts for the second time.
  27. Log on as a domain administrator to the ABCDDC3 virtual machine. The installation automatically continues.
  28. Click Finish.
Configure Third Desktop Delivery Controller
Use the following procedure to configure the Desktop Delivery Controller on the ABCDDC3 virtual machine.
  1. Click Start > Run . The Run prompt appears.
  2. Type REGEDIT and click OK. The Registry Editor appears.
Using Registry Editor incorrectly can cause serious problems that can require an administrator to reinstall the operating system. Citrix cannot guarantee that problems resulting from incorrect use of Registry Editor can be solved.
  1. Expand the HKEY_LOCAL_MACHINE > SOFTWARE > Citrix > IMA > RUNTIME nodes and double-click UseRegistrySetting.
  2. Type 1 in the Data value field and click OK.
  3. Double-click the MasterRanking key and verify the value is set to 3. A MasterRanking registry entry value of 3 identifies the ABCDDC3 virtual machine as a member server in the farm.
  4. Restart the ABCDDC3 virtual machine and log on as a domain administrator.
Part 3: Configure the XenDesktop Farm
Configure the XenDesktop Farm
Use the following procedure to configure the XenDesktop farm on the ABCDDC1 virtual machine.
  1. Open the Access Management Console.
  2. Expand the ABC_XD_Farm > Controllers node and verify that the following Desktop Delivery Controllers appear:
  3. Right-click the ABC_XD_Farm farm and click Properties. The Desktop Groups Properties screen appears.
  4. Click the Session Reliability node in the left pane.
  5. Verify that Session Reliability is enabled.
  6. Click the License Server node in the left pane.
  7. Verify that ABCDMC1 is identified as the license server.
  8. Click the Browser Acceleration node in the left pane.
  9. Select Compress JPEG images to improve bandwidth.
  10. Select Adjust compression level based on available bandwidth and click OK. The Desktop Groups Properties screen closes.
Create a USB Support Policy
Use the following procedure to create a USB support policy on the ABCDDC1 virtual machine.
  1. Launch the Presentation Server Console.
  2. Select Enable pass-through authentication and click OK. The Presentation Server Console appears.
  3. Right-click Policies and click Create Policy. The New Policy screen appears.
  4. Type USB Support in the Policy Name field and click OK. The New Policy screen closes.
  5. Click Policies in the left pane and right-click the USB Support policy.
  6. Click Properties. The USB Support Properties screen appears.
  7. Expand the Client Devices > Resources > USB folders and click USB.
  8. Select Enabled and Allow mapping of client USB devices and click OK. The USB Support Properties screen closes.
  9. Right-click the USB Support policy and click Apply this policy to. The USB Support Policy Filters screen appears.
  10. Click Users in the left pane.
  11. Select Filter based on users and click Add List of Names.
  12. Type ABC\Domain Users in the Name field and click OK.
  13. Click OK. The USB Support Policy Filters screen closes.
Configure Web Interface for XenDesktop
Use the following procedure to configure the Web Interface for XenDesktop on the ABCWI1 virtual machine.
  1. Log on as a domain administrator to the ABCWI1 virtual machine.
  2. Open the Access Management Console and expand the Citrix Resources > Configuration Tools > Web Interface node.
  3. Right-click the http://ABCWI1.ABC.Local/Citrix/XenApp Web Interface site and click Manage server farms. The Manage Server Farms screen appears.
  4. Click Add and type ABC_XD_Farm in the Farm name field.
  5. Click Add and type ABCDDC2 in the Server name field.
  6. Click OK.
  7. Click Add and type ABCDDC3 in the Server name field.
  8. Click OK.
ABCDDC1 is not added to the Web Interface site configuration list because it is used as a dedicated Desktop Delivery Controller in this course.
  1. Verify that Use the server list for load balancing is selected and click OK. The Add Farm screen closes.
  2. Click OK. The Manage Server Farms screen closes.



Popular posts from this blog

HP CSA Implementation

I know the above picture is little confusing but don’t worry I break it down and explain in detail. By the time I am done explaining you all will be happy. HARDWARE AND SOFTWARE REQUIREMENTS 1.VMware vSphere infrastructure / Microsoft Hyper V: For the sake of Simplicity we will use VMware vSphere. We Need vSphere 4.0 /5/5.5 and above and vCenter 4.0 and above ready and installed. This is the first step. 2.We need Software medias for HP Cloud Service Automation, 2.00, HP Server Automation, 9.02, HP Operations Orchestration (OO)9.00.04, HP Universal CMDB 9.00.02, HP Software Site Scope, 11.01,HP Insight Software6.2 Update 1 3.DNS, DHCP and NTP systems are already installed and configured. NTP information should be part of VM templates 4.SQL Server 2005 or Microsoft® SQL Server 2008 or Microsoft® SQL Server 2012 , Oracle 11g, both 32-bit and 64-bit versions may be used for CSA database.
5.We will install  HP Cloud Service Automation, 2.00, HP Server Automation, 9.02, HP Operations Orchestra…

Data Center Migration

Note: This blog is written with the help of my friend Rajanikanth
Data Center Migrations / Data Center Consolidations
Data Center Consolidations, Migrations are complex projects which impact entire orgnization they support. They usually dont happen daily but once in a decade or two. It is imperative to plan carefully, leverage technology improvements, virtualization, optimizations.
The single most important factor for any migration project is to have high caliber, high performing, experienced technical team in place. You are migrating business applications from one data center to another and there is no scope for failure or broken application during migration. So testing startegy should be in place for enterprise business applications to be migrated.
Typical DCC and Migrations business objectives
Business Drivers
·Improve utilization of IT assets ·DC space & power peaked out - business growth impacted ·Improve service levels and responsiveness to new applications ·Reduce support complexi…

Openstack- Its importance in Cloud. The HP Helion Boost

Every enterprise expects few things from cloud computing, mainly:

· Auto scaling: The workload should increase and decrease as needed by the IT environment.

· Automatic repair: If there is any fault or crash of the application or the server, it automatically fix it

· Fault tolerant: The application or underlying technology is intelligent enough to make itself fault torrent

· Integrated lifecycle: It should have integrated lifecycle

· Unified management: Its easy to manage all different aspects of technology

· Less cost

· Speed


Its year 2014. till now only 5% to 7% enterprises are using cloud computing. Such a small number. Its a huge opportunity and a vast majority for anyone who is interested in providing cloud computing services.
Current IT environment is very complex. You just cant solve all your problems with cloud computing.
There are legacy systems, databases, data processors, different hardware and software. You name it , there are so many technology available in just o…