login vsi company logo login vsi company logo 250x40

 

Avoid VDI problems. Test with Login VSI.

Learn how our industry-standard software solutions can benefit your business

Learn more about our products

  • Home
  • Blog
  • Login AM
  • Automating your XenDesktop/XenApp deployment: Everything you need to know about the Delivery Controller

Automating your XenDesktop/XenApp deployment: Everything you need to know about the Delivery Controller

Automating your XenDesktop/XenApp deployment: Everything you need to know about the Delivery Controller

Our community is constantly growing. One of the great things about that is the fact that you get to talk to a lot of different people. After a while you start noticing certain trends. One thing I recently noticed is that there is a lot of confusion when it comes to deploying a virtualized desktop environment. So, I think it’s time to get technical and clarify a few important things you need to know when, for example, automating a Citrix XenDesktop/XenApp environment. There are many pieces involved in deploying Citrix XenDesktop/XenApp for your company. For simplification purposes while discussing automation, let’s focus on a single feature of a Citrix deployment- the Delivery Controller.

Just to make sure we are all on the same page: The Delivery Controller is responsible for the delivery of either applications or desktops to end users.

The components of a Delivery Controller are:

  • Database – SQL – Pre-requisite
  • Application – Citrix Delivery Controller

Generally speaking, installing each of these components individually is straight forward.  The applications are packaged in such a way that you can utilize a few switches to install the software.

SQL

Now that we are on the same page and understand what a Delivery Controller is and does, it’s time to get technical. Ps. I hope you guys love this part as much as I do.

Let’s start with an example:

C:\{Location}\setup.exe /QUIET /IACCEPTSQLSERVERLICENSETERMS /ACTION=install /FEATURES=SQL,Tools /INSTANCENAME=MSSQLSERVER /SQLSVCACCOUNT="NT Authority\Network Service" /SQLSYSADMINACCOUNTS=domain.local\Administrator /AGTSVCACCOUNT="NT Authority\Network Service"

This will install SQL on a Windows Server OS silently, and create a database named MSSQLSERVER.

The same can be done with the Delivery Controller.

XenDesktop/XenApp Delivery Controller

Time for another example:

C:\{Location}\x64\XenDesktop Setup\XenDesktopServerSetup.exe /PASSIVE /NOREBOOT /CONFIGURE_FIREWALL /COMPONENTS CONTROLLER /NOSQL

This will install the Delivery Controller portion of a XenDesktop/XenApp silently, deferring the reboot and not installing SQL. You can run this string as many times as you would like and the end result will be the same.

Now, let’s get fancy.

In order for the Delivery Controller to function a “Site” must be present. A site contains all of the data necessary for a Delivery Controller to function, and is stored in your SQL database; this includes configuration and logging information.

A site is the first step necessary to deliver resources with Citrix for your end users. With PowerShell you can configure this without user interaction, thus enabling you to automate the deployment process.

You will need 3 databases:

  • Site
  • Configuration
  • Logging

You can utilize PowerShell to create these with the “New-XDDatabase” command.  This is a function of the “Citrix.XenDesktop.Admin.V1” PowerShell snap-in.  This will enable you to create the three database necessary for a “Site” to function properly.  Once the databases are created, you can create your “Site”.

You can also utilize PowerShell to create your “Site” with the “New-XDSite” command.  This is a function of the “Citrix.XenDesktop.Admin.V1” PowerShell snap-in as well.

Combining packages from Microsoft, Citrix and PowerShell, you are able to automate the process of creating your first “Site” for a critical component of your Citrix deployment, the Delivery Controller.

automating your xendesktop xenapp deployment everything you need to know about the delivery controller powershell

PowerShell

If you have a need for automating your virtualized desktop environment, you all know that Login AM offers some great possibilities that rely heavily on PowerShell to automate the deployment of things, such as a fully function Citrix environment. It creates a logical organization structure for doing so, variables necessary and provides an interface for management.

Please get in touch with me via b.martynowicz@loginvsi.com, if you are interested in finding out more about this. Also, if you have any neat tricks with PowerShell please share them in the comment section. Happy automating.

About the author

Brian is Login VSI’s Support and Services Manager. He is responsible for ensuring operational excellence in supporting and implementing our solutions within customer environments. Having worked in IT consulting for the last 15 years he loves to share field engineering expertise, and customer services management experience with others. In his free time, you will find him blogging or producing vlogs for LinkedIn. His written content is syndicated on Citrixology.


Tags: Login VSI, Citrix, XenApp, XenDesktop, Login AM

Popular Blogs

Login VSI Blog - Ongoing Effects CPU Flaws

The Ongoing Effects of Intel CPU Flaws

The Ongoing Effects of Intel CPU Flaws Over the last year, we’ve seen many Intel CPU hardware flaws come to light and when news first broke about Meltdown & Spectre there was a lot of panic: "should we patch?", "What’s the performance impact?", "Can we still rely on this hardware?" Continue Reading
Login VSI Blog - How-To Update, Protect Against RIDL, Fallout MDS Vulnerability

How-To: Update, Protect Against RIDL, Fallout MDS Vulnerability

RIDL & Fallout MDS vulnerabilities, impact on VDI performance & actions to take. FAQs we’re receiving & updates on performance tests executed to patch flaws Intel calls “Microarchitectural Data Sampling (M.D.S.)” aka: Rogue In-Flight Data Load (RIDL), Fallout, ZombieLoad & Store-to-Leak Forwarding. Continue Reading
Login VSI Blog - Teaser Image - A Practical Guide to VDI Change Management - Part 1

A Practical Guide to VDI Change Management

Part 1: IT Change Management in general The first in an 8-part series, this practical guide to VDI Change Management will guide you through the transformation of the IT department from a back-end function into a core competency for every modern organization. Continue Reading
Login VSI - Blog - Login PI Blog Teaser Image - Windows Virtual Desktop: How To Monitor User Experience With Login PI

Windows Virtual Desktop – How to Monitor User Experience?

Microsoft has just announced the public preview of their new Windows Virtual Desktop (WVD) offering at Microsoft Ignite on Tour in Amsterdam today. For those of you who’ve not followed the rumors or the private beta, here’s the outline... Continue Reading
A Practical Guide To VDI Change Management, Part 3

A Practical Guide to VDI Change Management

Part 3: Change Accelerates with Windows 10 The third in an 8-part series, this practical guide to VDI Change Management gives you the low-down on the what, why and how of Windows 10 updates and changes Continue Reading
Login VSI Blog - Teaser Image - A Practical Guide to VDI Change Management - Part 2

A Practical Guide to VDI Change Management

Part 2: Why VDI is very sensitive to change The second in an 8-part series, this practical guide to VDI Change Management highlights the importance of effective Change Management. With all the complexities of VDI environments, any failure can severely impact your business. Continue Reading
Cookie Settings