Citrix Smart Tools does not yet officially support deployment of blueprints on Azure Resource Manager (ARM) but with some effort it is possible to deploy component blueprints in ARM and combine these blueprints to implement proof of concept Citrix Solutions such as XenApp and XenDesktop Proof of Concept or XenApp and XenDesktop Service: Resource Location - this article will show you how!
1. Import the component blueprint from catalog
This document is going to describe deployment of the Domain Controller component blueprint (a list of component blueprints that you can deploy in this way is provided later in the article). Click on the Blueprint Catalog tab in the Citrix Smart Tools console, scroll down to the Components section and import the Domain Controller blueprint into your library using the + button:
2. Create a new virtual machine in Azure Resource Manager
To get started with a deployment into Azure Resource Manager you first need to manually provision a new Windows virtual machine. Use the Azure portal at https://portal.azure.com to create a server in your chosen region and resource group. Deploy into a virtual network (a single subnet is recommended) and use the default Network Security group settings. A useful tip is to use the recommendations from the blueprint you wish to deploy to determine the size of virtual machine to create.
3. Download the latest Citrix Smart Tools agent
Connect and log on to the new virtual machine from the Azure portal, open a browser and log on to your Citrix Smart Tools account at https://smart.cloud.com/. Click on the Resources and Settings tab followed by Add Resource Location:
Select the XenServer resource location type and press Next (note that we are using the XenServer resource location type just to get access to the latest Smart Tools agent – we won’t be actually creating a XenServer resource location…)
Check the box labelled Prepare a new connector and press Next.
Select Windows as the operating system and press Download Agent:
Now press Cancel to exit the Resource Location Wizard.
4. Install the Citrix Smart Tools agent
Locate the file CitrixLifecycleManagementAgent.exe that you downloaded in step 3, and double click on it to run the agent installer. Check the box to accept terms & conditions and press Install to install the Smart Tools Agent.
Make a note of the computer name and IP address for this virtual machine as this information will be required when deploying the blueprint. The computer name can be found from the Control Panel, to find the IP address open a console window and type ipconfig:
You should now log off from the Azure virtual machine as it will shortly be used as the target of a blueprint deployment (and the blueprint may need to reboot the machine as part of the deployment).
5. Check the new virtual machine has registered
From your workstation log on to your Smart Tools account at https://smart.cloud.com/ and click on the Manage tab followed by Servers to check that your new virtual machine has called home and registered into your account. If you don’t see it in the list of managed servers, you may need to refresh the page.
If the server does not register check that you followed the procedure described above – the executable for the Smart Tools agent is pre-configured to register with the account from which it has been downloaded – you must download the agent from the account you wish the server to register with.
6. Deploy the blueprint
Switch to the library view by clicking on the Smart Build tab and select the Deploy option from the drop down Action menu of the imported Domain Controller blueprint:
Click through the Deploy Wizard until you reach the Resource Location step. Here you should select the All Existing Machines option followed by Next
Click through to the Size step of the Deploy Wizard and select the managed server that you created and registered in steps 2 – 4 (check the name and IP address to ensure you select the correct server) and then press Next
Click through to the parameters section of the Deploy Wizard and enter the same computer name, administrator name and password that you chose for when creating the virtual machine in section 2 plus a name and safe mode password for your new domain and press Next. If you are unsure of the value to enter for any parameter click on the “?” symbol by the parameter to obtain help.
Save a deployment profile if you wish and then press Deploy to start the blueprint deployment on your new virtual machine.
That's it! The component blueprint will deploy on your Azure Resource Manager server.
The following component blueprints have been tested with this approach, but please note that deployment on Azure Resource Manager is not yet officially supported by Citrix Smart Tools. If you encounter difficulties deploying them on Azure Resource Manager - just start a conversation on the Citrix Smart Tools forum and one of the team will do their best to assist you:
The following sections illustrate how to build Citrix Solutions from component blueprints
XenApp and XenDesktop Proof of Concept
Using a combination of the component blueprints listed above you can implement any of the supported XenApp and XenDesktop Proof of Concept variants in Azure Resource Manager
XenApp and XenDesktop Service: Resource Location
Using a combination of the component blueprints listed above you can implement any of the supported XenApp and XenDesktop Service: Resource Location variants in Azure Resource Manager like this:
One of the advantages of using the component blueprint approach is increased failure resilience when compared with the traditional Citrix Smart Tools Solution blueprints:
Smart Tools does not yet support Azure Resource Manager, but if you are willing to put in a little effort, then you can deploy Citrix Solutions now on the Azure Resource Manager platform.