In most of the projects I've been involved in, time was not on our side and deadlines had to be met. As the IT department, we are expected to create a solution infrastructure in the shortest time possible. To meet the business requirements, we need to automate various steps to win time and save effort, and do this all at breakneck speed. At the on-premises data centre, you can use Microsoft System Center, for example, to script deployment of an infrastructure solution, and in the cloud you can use Azure Automation Services to do the same.
In this blog, I’ll explain how to automate deployment of a Citrix XenApp infrastructure, including Citrix NetScaler VPX BYOL appliance, from Visual Studio.
Before we start using Visual Studio, you will need to install the Visual Studio extension:
• Azure SDK for Visual Studio
You can also download Citrix Developer SDK for Visual Studio, for example, and explore the possibilities for managing various Citrix components. Have a look at: https://www.citrix.com/community/citrix-developer.
Just as an aside, the Citrix Open Source project offers various SDK packages. At https://github.com/citrix you will find a lot of cool stuff to manage your Citrix infrastructure through scripting.
First create an Azure Resource Group and build a Citrix infrastructure in the Azure Cloud. Because I’m focusing on creating templates for Azure automation, we’ll use the preconfigured templates available in the Azure Marketplace. Just search (in my case as a Citrix enthusiast) for XenApp in the “new” section of your Azure portal.
When you select this template, you’ll be offered the option of downloading the complete template or just the main template (maintemplate.json). If you opt to download the complete template, a Power Shell script you can execute in your local Power Shell console is already available; keep in mind, however, that you will need to import the Azure module to execute the script. When executing the script, a popup screen will appear asking you to authenticate on the Azure Portal and allow the script to run.
Once you’ve downloaded the complete template from Azure, you can import it into Visual Studio for editing and testing. Create an empty project template in Visual Studio. Select “Cloud” and select “Azure Resource Group”.
Now you can import the Citrix XenApp 7.13 Trial template into the Visual Studio project you created. From here you can edit the parameters-template and main-template JSON files. For Example I want to change the server names of the VMs, so I can see what VMs are mine.
Save the project and import it into Microsoft System Center, for example, or deploy it from Visual Studio.
When executed in Visual Basic or start the powershell script, you can also edit the different parameters, passwords of your deployed Azure Resource Group, although it is very limited and I prefer editing in the json files itself.
You can monitor the progress of your deployment in Visual Studio output and when finished you can see your newly deployed Azure Resource Group in the Azure Cloud.
This looks fun, and it is too. With Azure automation, Microsoft has created a solution that is simple to implement and that makes it easy to edit various variables prior to multiple deployments in the Azure Cloud. You can create runbooks for deploying hybrid infrastructures or different kind of other services in the Cloud.
7 november (online seminar op 1 middag)Praktische tutorial met Alec Sharp Alec Sharp illustreert de vele manieren waarop conceptmodellen (conceptuele datamodellen) procesverandering en business analyse ondersteunen. En hij behandelt wat elke data-pr...
18 t/m 20 november 2024Praktische workshop met internationaal gerenommeerde spreker Alec Sharp over het modelleren met Entity-Relationship vanuit business perspectief. De workshop wordt ondersteund met praktijkvoorbeelden en duidelijke, herbruikbare ...
De DAMA DMBoK2 beschrijft 11 disciplines van Data Management, waarbij Data Governance centraal staat. De Certified Data Management Professional (CDMP) certificatie biedt een traject voor het inleidende niveau (Associate) tot en met hogere niveaus van...
3 april 2025 (halve dag)Praktische workshop met Alec Sharp [Halve dag] Deze workshop door Alec Sharp introduceert conceptmodellering vanuit een non-technisch perspectief. Alec geeft tips en richtlijnen voor de analist, en verkent datamodellering op c...
10, 11 en 14 april 2025Praktische driedaagse workshop met internationaal gerenommeerde spreker Alec Sharp over herkennen, beschrijven en ontwerpen van business processen. De workshop wordt ondersteund met praktijkvoorbeelden en duidelijke, herbruikba...
Alleen als In-house beschikbaarWorkshop met BPM-specialist Christian Gijsels over business analyse, modelleren en simuleren met de nieuwste release van Sparx Systems' Enterprise Architect, versie 16.Intensieve cursus waarin de belangrijkste basisfunc...
Deel dit bericht