High Availability for TFTP with Citrix Provisioning Service

Written by Thomas Poppelgaard. Posted in Netscaler, Provisioning, XenApp, XenDesktop

Citrix Consulting have created this great whitepaper that describes how you create High Availability for TFTP with Citrix Provisioning Services and Netscaler

Overview

Citrix Provisioning Services is a software streaming technology that allows servers and desktops to be provisioned and re-provisioned in real time from a single shared-disk image
1. The service is commonly integrated with Citrix virtualization solutions to optimize Operating System delivery and management. Often these solutions are critical to the operation of organizations and require high availability. Providing high availability for Provisioning Services requires designing each component of the service without a single point of failure across the network. The „bootstrap file‟, named ardbp32.bin, is a key component that must be delivered to Provisioning Services target devices in order for them to communicate with Provisioning Services over the network.

The bootstrap file is typically delivered via Trivial File Transfer Protocol (TFTP) services hosted on Provisioning Servers. This document focuses specifically on comparing high availability options fordelivery of the bootstrap file to target devices via TFTP. The advantages and disadvantages of each option are outlined as well as the steps to implement the load balancing options with NetScaler. The document scope does not include details of the implementation or operation of other aspects of Provisioning Services.

Read the full whitepaper Implementation Guide for High Availability for TFTP here

This document applies to:

The Ultimate RES Software BuildingBlock for Citrix

Written by Thomas Poppelgaard. Posted in Provisioning, RES, SQL, Uncategorized, XenApp, XenDesktop

Short info about RES Automation Manager

The RES Automation Manager is a small-footprint, yet highly scaleable infrastructure management platform that allows you to make changes to any kind of Windows server or computer, without having to create a single script or policy. Automation Manager (abreviated AM) is driven by a userfriendly and easy-to-use management console, that allows for massive parallel operation: Multiple admins can schedule multiple jobs on multiple AM agents all at the same time. While retaining the ability to interface with Active Directory for the purpose of managing AD objects, RES Automation Manager itself does not need AD as a prereqisite to run. This means you can manage machines even outside of your own domain. AM supports multiple administrative roles, which will allow you to securely define exactly who can create or run jobs on what target computers. You can add the Service Orchestration Module to AM, which will allow you to deliverIT as a Service. (source resguru)

The Ultimate RES Software BuildingBlock for Citrix

Mr. Luca Lo Castro and Max Ranzau (resguru.com) have created this most awesome Run Books for RES Automation Manager.

The Runbook does the following:

  • Unattended installation of Citrix Provisioning Server 6.0 (PVS)
  • Unattended installation of Citrix XenApp 6.5 (XA)
  • Unattended installation of Xen Desktop 5.5 (XD)
  • Preparation of a Windows 7 image (application of best practices, per Citrix’s recommendations.

This is quite valuable for anyone who installs these products for a living, no matter if you are a consultant, a Citrix SE or perhaps a Citrix admin. Note * SQL express is used in this Building block, for enterprise environments i would use a SQL server std/ent or HA.

The cool part is that ALL of the above is done in less than 45 minutes! Add that to the approx. 15 minutes it takes to stand up the RES Automation Manager infrastructure, and ask yourself this: How long does it take you to stand up a XenDesktop + PVS + XA environment under normal circumstances? I trust you see my point. So what are the prerequisites for all this? You’ll need the following:

  • Your 3 .ISO files, respectively for PVS, XA and XD. If you haven’t got them, download them from MyCitrix.com
  • A server (200x, doesn’t really matter), which will hold your DBMS for Automation Manager and be a mount point for your ISO’s. Let’s call itServer1. If you can run a compatible datastore for Automation Manager, this could be your laptop!
  • Mount the ISO’s on this server using Daemon Tools or similar. Alternatively, if you are using a VM, you can just mount the ISO’s directly on the virtual machine as DVD drives. Finally if you already have the ISO’s extracted somewhere, you can just share those folders. Either way, make sure you share the individual mount folders, so the contents of each ISO is available as a \\server1\share UNC path.
  • You will also need 3 blank x64 Server 2008R2 servers. And I do mean blank. For example, not manually install the .Net 4 client profile ahead, as it will mess up the unattended installation of SQL Express. These servers will be the target servers for PVS, XA and XD. Lets call these machines Server A, B and C
  • Finally you’ll need a blank Windows 7 machine. This is the machine which will be prepped for use with PVS (registry hacks applied, services configured etc) as the golden image.

To get things stood up, here are some guidelines to get you started:

  1. Download and install the RES Automation Manager aka AM. Refer to theGetting Started guide.
  2. Deploy the AM Dispatcher to Server1
  3. Deploy the AM Agents to the 3 blanks Servers A..C
  4. Import the buildingblock, which you will find at the end of this article.
  5. In the AM console, go to Repository | Run Books
  6. Rightclick on the Citrix POC-Sales runbook and select Schedule Job
  7. Fill out the parameters for the runbook as described below
  8. Hit OK, then hit the local Starbucks.. :)

The parameter screen needs a bit of explanation, because if you don’t fill things in right, then of course “interesting” things may happen. You know the drill: BS in, BS out. So let’s have a look at a screen I’ve already filled out below. Click to enlarge:

The table below explains each field and what you need to enter.

Field Description
customer This is the name of the site where you are installing the proof-of-concept. This will be displayed as the Farm name
SetupNumber
newXA Hostname of one of the 3 blank Server2008R2′s which is to become the XenApp 6.5 server. Just use NETBIOS name
newXD Hostname of one of the 3 blank Server2008R2′s which is to become the XenDesktop 5.5 server. Just use NETBIOS name
newPVS Hostname of one of the 3 blank Server2008R2′s which is to become the Provisioning Server 6.0. Just use NETBIOS name
securitycontext This is a combined field of domain\username + password credentials to be used for the installation. Normally you would use the equivalent of a Domain Admin for this.
domain Supply the FQDN of the current domain to which we are installing into, such as yourdomain.com
licserv Where the Citrix License server is installed. This has to be a Server 2008R2. IIS will be installed here to support the license server
components Here you can chose one of 4 options: 1) install just the license server, 2) Install just the Web Interface, 3) Install XenApp, and 4) Install XenApp + WebInterface
exmode Here you select either to Create a new farm from scratch, or Join an existing one
version Chose here what flavor of XenApp you want to install: Advance, Enterprise or Platinum
optimization This section lets you chose one or more optimization methods to be applied to the Windows 7 image. These are documented in (link needed)
sqldatafolder This is the path to where the SQLexpress will create the datastores. For regular POC scenarios, this doesn’t need to be modified
sqlInstancename Name of the SQL instance to be created. More info needed ???
sapassword specify the sa password for the new SQLexpress datastore
TerminalServerLicenseServer Specify the hostname of the TS License server. This is strictly not necessary for a short term demo environment as you’ll have temporary licenses to work with. This is used when enabling Terminal Services in Application mode
TSLicenseMode When enabeling TS in Application mode you have to chose what licensing method. You can specify here either PerUser or PerDevice.
PVSpath The \\server\share UNC path to the share that contains the mounted ProvisioningServer .ISO or the contents of it.
XApath The \\server\share UNC path to the share that contains the mounted XenApp .ISO or the contents of it.
XDpath The \\server\share UNC path to the share that contains the mounted XenDesktop .ISO or the contents of it.

Critical hotfix for Citrix Provisioning Services 6.0

Written by Thomas Poppelgaard. Posted in Microsoft, Provisioning, Windows 7, Windows Server 2008R2

Issues Resolved in this Hotfix

This Hotfix addresses the following issues reported against Provisioning Services 6.0 release:

BUG0258446:
Windows Vista/Windows 7/Windows Server 2008/Windows Server 2008 R2 target devices cannot connect to PVS server across different subnets.

BUG0034058:
Bnistack automatically configures the dedicated dump file causing the file to be created on the local drive.

Source

Download hotfix here http://support.citrix.com/article/CTX131204

Provisioning Services 6.0 Virtual Disk Image in Standard Mode Crashes on Boot with the Error 0x4e PFN_LIST_CORRUPT

Written by Thomas Poppelgaard. Posted in HDX, Provisioning, XenApp, XenServer

Symptom

A provisioned XenApp 6.5 virtual disk image on XenServer 6.0 in standard mode displays the error 0x4e PFN_LIST_CORRUPT during the boot process, when the write cache is located on the Target Device Hard Drive.

If the write cache location is changed to cache on the Provisioning Services 6.0 Server then the boot process is successful.

Cause

The registry key HKLM\SYSTEM\CurrentControlSet\Services\BNIStack\Parameters \WcHDNoIntermediateBuffering is configured with a value of 2 in the vdisk Image.

Resolution

Disable intermediate buffering by setting the registry key HKLM\SYSTEM\CurrentControlSet\Services\BNIStack\Parameters \WcHDNoIntermediateBuffering to 1.

Caution! This fix requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

More Information

CTX126042 – When to Disable Intermediate Buffering for Local Hard Drive Cache

This document applies to:

Citrix Provisioning Services 6.0

Written by Thomas Poppelgaard. Posted in Provisioning

Finally its here, Citrix Provisioning Services 6.0 many people have been waiting for this “Big” release.

Key new features in Citrix Provisioning Services 6.0

Integrated vDisk Versioning
Automated vDisk Updating
Support for Replicated vDisk Storage
XenDesktop and Streamed VM Setup Wizards

  • Integrated vDisk Version Management: Allows you to create and manage versions directly within the Provisioning Services Console.  Versions can be targeted specific groups of devices facilitating the image lifecycle flow through maintenance, test, and production.  In addition, versions are maintained as difference files, conserving storage space.
  • Automated vDisk Updates: Allows you to define recurring scheduled tasks that automate the process of vDisk patching using tools like Microsoft System Center Configuration Manager (SCCM) and Windows Server Update Services (WSUS).
  • Support for vDisk Replication: Allows you to safely use replication solutions like Microsoft DFS Replication to distribute vDisks across multiple servers or geographic locations.  Provisioning Servers will maintain an inventory of available vDisks and versions and adjust load balancing as needed to ensure sessions are only assigned to servers that have access to the required vDisk/version.

Recent Comments

Thomas Poppelgaard

|

Hi i have changed the colors. Is this better ?

I have also optimized the load of the articles (text, photo) compression it should be must faster now.

Let me hear your thoughts, thank you for using my site.
/Poppelgaard

ylzjyu

|

Hi:
Blog background is not comfortable

Like the old style

Edmund Fuerst

|

Really great job. Thank you!!!

Yusuf Assenjee

|

We have a model of the 3690 that does not have this setting in Uefi

infinite boot retry

we cannot get Xen 6 to boot.

Any hint?

ylzjyu

|

Hi,Poppelgaard
Thank you very much.
I like your site.

Feeds from Citrix Blog :