• View Communities
    • Citrix Developer Network
      The place for unfiltered straight talk on Citrix products. Blogs, code downloads, best practices, APIs, and more can all be found here.
    • Citrix Ready Community Verified
      Does it work with Citrix? Application compatibility questions are a thing of the past with the new Citrix Community Verified site.
    • Blogs
      Learn the latest from the Citrix employees who are building application delivery infrastructure technologies.
    • Blogosphere
      The Citrix Blogosphere is a window into the thousands of conversations taking place about Citrix and Application Delivery.
  •  Sign In
The Citrix Blog
Personal Blog
Daniel Feller
Related Tags
posted by Daniel Feller

I got an interesting question the other day regarding Provisioning Server and XenApp.  As you might be aware, I've published many articles on the benefits of integrating XenServer, Provisioning Server and XenApp.  This question sparked an interesting discussion.

Scenario:

Let's say you have 50 XenApp servers total.  Most of the time you have carved out 20 of those servers to deliver Office 2007-type applications and the other 30 servers host another application like SAP.  Then comes month-end when we need more capacity, roughly 10 server, for the SAP.  What is the best approach to dynamically changing your XenApp environment to support these cyclical surges for certain applications?  Two words... Provisioning Server

Within Provisioning Server, we create three device collections:

  1. XenApp 5 - Office Applications Servers: contains 10 servers dedicated to delivering Office-Based applications
  2. XenApp 5 - SAP Servers: contains 30 servers dedicated to delivery SAP
  3. XenApp 5 - Swing Servers: contains 10 servers whose applications can change based on the needs of the business

Within our Provisioning Server vDisk Pool, we have two different vDisks defined (remember a vDisk is just a complete image with Windows 2008, XenApp 5 and the corresponding applications):

  1. XenApp 5 - Office Applications
  2. XenApp 5 - SAP Application

Whenever we reach the month-end timeframe and require more SAP servers, we simply drag-drop the XenApp 5 - SAP Application vDisk onto the XenApp 5 - Swing Servers collection and those swing servers will boot up SAP during the next reboot,

So, this solves the issue of adding/changing XenApp workloads quickly, but that isn't the end of the story. Think about what is going to happen. A swing server, which we will call Smithers1, is set with the Office vDisk.  The XenApp administrator will publish the Office applications for the server Smiters1.  Later, we will assign the SAP vDisk to Smithers1 in Provisioning Server.  When that server starts up, the XenApp Data Store still believes that Smithers1 is delivering Office, but Smithers1 doesn't have Office installed, it has SAP.  We must un-publish office and publish SAP.  As you keep changing the swing server's vDisk, we have to continue this process or else users might experience issues (like being load balanced to Smithers1, trying to start SAP, but the path is invalid). But there is a solution...

Within the SAP vDisk, we create a script that does the following:

  • List all applications published on this server
  • Un-publish all applications from this server
  • Publish the SAP application for this server

When a server starts with the SAP vDisk, it will be automatically publish the SAP application.  Then on the Office vDisk, we create a script that looks like the following:

  • List all applications published on this server
  • Un-publish all applications from this server
  • Publish the Office applications for this server

If we build these scripts into our vDisk, we don't have to worry about publishing, un-publishing, re-publishing applications manually, it will be automatic giving us the truly dynamic XenApp swing server.

Daniel (Sr. Architect)

Labels

pvs pvs Delete
xenapp xenapp Delete
architecture architecture Delete
xenapp xenapp Delete
provisioning server provisioning_server Delete
lang-eng lang-eng Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Dec 17, 2008

    Anonymous says:

    This solution makes life easier to administrators, that is exactly our case. It ...

    This solution makes life easier to administrators, that is exactly our case. It would be nice to have a link or the script to change the published applications in here too.

  2. Dec 19, 2008

    Pete Downing says:

    Nice post Dan! I am curious to see what Systems Administrators think about this...

    Nice post Dan! I am curious to see what Systems Administrators think about this concept.

    1. Anonymous replies:

      You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account. You can also Sign Up for a new account.

  3. Dec 23, 2008

    process automation says:

    Thanks for such a lovely gesture. I too curious to know what Systems Administrat...

    Thanks for such a lovely gesture. I too curious to know what Systems Administrators have to say about this concept.

  4. Jan 12, 2009

    Pierre MARMIGNON says:

    Dear Daniel, Although they are not Officially Supported,  I've designed in...

    Dear Daniel,

    Although they are not Officially Supported,  I've designed in the same spirit Two Freeware Tools : The XenApp Cloning Tool & its Configuration Plugin.

    At the end of the cloning Process, the XenApp Cloning Tool will launch the Configuration Plugin that will configure the XenApp Server (Load Evaluator, Server Settings, even move it to a specified XenApp Server Folder ...) and then unpublish all Server Assigned Applications if existing to Publish all new Specified Applications.

    Just like the project You mentionned, I decided to write these tools during a PVS Project where the customer really wanted "On Demand" Servers without anything else but Boot them.

    I find this concept really powerful and also a great added value to deploying XenApp Servers with PVS.

    Best Regards,

    Pierre Marmignon

    http://www.citrixtools.net

Add Comment