In Part 1 we provisioned  a Web interface.  This second part will guide you through provisioning XenApp Controllers and XenApp Workloads.

Provisioning XenApp Controllers

The App Delivery Setup Tools require a XenApp Primary Data Collector machine and a XenApp Backup Data Collector machine.  Along with the two machines you will need the following:

  • A valid Citrix license server.
  • A database server to host the farm database and credentials with the ability to create a database.  The App Orchestration server can be used.
  • The path to the XenApp DVD including credentials with read access.
  • A name to give the farm.
  • The Configuration server name.
  • A Farm Catalog import OU.

Clicking the link How do I do this? under “Add farms to YOUR_FARM_CATALOG_NAME” of the “Provision farms and workloads” step of the App Studio configuration wizard will also provide you with some of the information you will need.  From the Configuration Server, open the App Delivery Setup Tools PowerShell window from Start>All Programs>Citrix>App Delivery Setup Tools.  Run the New-CamFarm.ps1 script once the window opens.
The script will take you through a series of prompts.  Provide the information you gathered from above.

XenApp Controller Provisioning
XenApp Controller Provisioning

From here the script will prompt you for Database credentials and credentials with read access to the share containing the XenApp DVD.
If any steps fail during the script’s execution, simply restart the script.  It will only preform the steps that have not yet completed.
This will complete “Add farms to NAME_OF_FARM_CATALOG” within “Provision farms and workloads” step of the App Studio configuration wizard. Once the script completes and the workflows within App Orchestration have complete you will see this step as complete.
The same procedure can be used for private farms as well.  Make sure to use the correct Farm Catalog import OU when running the script.  This will ensure App Orchestration designates the farm to the correct catalog.

Provisioning XenApp Workloads

The App Delivery Setup Tools are capable of preparing multiple servers as XenApp Workers in parallel. As with the other scripts, once the machines have been prepared they will be copied to an OU.  Here is a list of what will be required to run the script:

  • A list of machine names you would like to prepare as Workers.
  • The path to the XenApp DVD including credentials with read access.
  • The import OU of a Workload catalog.

From the Configuration Server, open the App Delivery Setup Tools PowerShell window from Start>All Programs>Citrix>App Delivery Setup Tools.  Run New-CamSessionHosts.ps1
Again, you will be prompted for the information you gathered.  You will be prompted to enter every machine name.  If you have a large list this could be time consuming and error prone.  A quick way to do this is to pass the machine names in as a parameter to the script.  This might allow you to copy/paste a large list.

New-CamSesionHosts.ps1 –SessionHosts @("XAWorker1", "XAWorker2", "XAWorker3")

If you are uncertain about any of the parameters click the How do I do this? link under “Add machines to YOUR_WORKLOAD_CATALOG” within the App Studio configuration wizard.

XenApp Workload Provisioning
XenApp Workload Provisioning

Once this script is finished and the workflows in App Orchestration are complete the “Provision farms and workloads” step of the App Studio configuration wizard will be complete.

The App Delivery Setup Tools installed with App Orchestration have been created to automate the tasks of deploying XenApp, Web Interface and the App Orchestration components.  These scripts also help to put the machines in a location App Orchestration can automatically include them into your environment.  If you would like to have an even more automated setup I would encourage you to take a deeper look into the App Delivery Setup Tools scripts.

Concepts
Architecture
Provisioning machines Part 1 & Part 2
• Managing Tenants (this blog)
Managing Advertisements
• Managing Subscriptions (coming soon)
• Patching Workload Machines (coming soon)
Understanding Workflows Part 1, Part 2, Part 3
• Troubleshooting (coming soon)
• Integration with CloudPortal Services Manager (coming soon)