Archive

Archive for the ‘Citrix’ Category

Citrix Edgesight 5.2 vs Memory Allocation within WOW64

February 9th, 2010 2 comments

xenapp

Recently we started evaluating Citrix Edgesight, on a enviroment we are currently building, consisting of XenApp5 2008 x64 and XenDesktop 4 Farms.

After the installation of the EdgeSight agent, suddenly a bunch of applications running within a Java Virtual machine stopped functioning. Throwing the “Could not launch the java virtual machine” error.
These Java apps tried allocating quite some memory using these java arguments (eg: XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=35 -XX:NewRatio=2″   initial-heap-size=”32m” max-heap-size=”1024m”)

After some investigation a colleague (Hugo Trippaers) found out that there was only 0,9 GB of memory allocatable on our Citrix XenApp machines using the memtest32.exe tool. While our other servers happily reported 1,5 GB of allocatable memory (Within WOW64). (Physical Machine = HP DL380G6 with 48 GB of memory, uh should be enough?)

After some deeper digging using memalloc.exe, I discover some substantial differences in memory allocation between our XenApp Servers with the edgesight agent installed and servers without the EdgeSight agent.

XenApp servers with Edgesight Agent 5.2 SP1 x64: memalloc.exe with edgesight
XenApp Servers without edgesight: memalloc.exe – without edgesight

The main difference here is all the Citrix hooks being loaded, see below.
This apparently consumes so much memory that it was not possible for java to allocate enough memory.

For more insights on WOW64 look here:  http://blogs.msdn.com/gauravseth/archive/2006/04/26/583963.aspx

By default 32bit applications within WOW64 can leverage the full 4 GB of memory availlable, which is not possible on a native 32 bit system because of the separation of kernel and user space.
Applications need to be compiled with /largaddressaware (Visual Studio : http://msdn.microsoft.com/en-us/library/wz223b1z(VS.80).aspx) or patched using editbin (http://bilbroblog.com/wow64/hidden-secrets-of-w0w64-ndash-large-address-space/), to fully use the 4 GB availlable otherwise they can only allocate 1,6 GB of memory.

We will open a case with Citrix on this; to be continued.

Citrix hooks being loaded when edgesight is installed:
Read more…

XenDesktop 3.0 and vCenter 4.0 permissions

October 15th, 2009 No comments

We are currently implementing a XenDesktop 3.0 environment on vSphere 4.

Today I started to lock down the permissions the Xen Desktop Delivery Controllers (DDC) have on vCenter. There is not much documentation on this. Except for the kb article on VMWare Infrastructure 3 and XenDesktop which is lean and mean. But then i stumbled on this great blog post: http://theether.net/kb/100114

Which describes the solution to the error “This virtual machine could not be retrieved from the hosting infrastructure”
The solution basicly describes the proper permissioning for the accunts which access Virtual Center from the DDC and this even works for vCenter 4!

In VirtualCenter:

- Select View | Administration

- Click Add Role
- Enter the name XenDesktopGlobal
- Check Global | Manage Custom Attributes
- Click OK

- Click Add Role
- Enter the name XenDesktopDataCentre
- Check Datastore | Browse Datastore
- Check Virtual Machine | Inventory | Create
- Check Virtual Machine | Provisioning | Deploy Template
- Check Resource | Assign Virtual Machine to Resource Pool
- Click OK

- Click Add Role
- Enter the name XenDesktop
- Check Global | Set Custom Attribute
- Check Virtual Machine | Interaction | Power On
- Check Virtual Machine | Interaction | Power Off
- Check Virtual Machine | Interaction | Suspend
- Check Virtual Machine | Interaction | Reset
- Click OK

- Select View | Inventory | Hosts And Clusters

- Select Hosts & Clusters
- Select the Permissions tab
- Right click and select Add Permission from the context menu
- Select XenDesktopGlobal for Assigned Role
- Click Add
- Select the account used in the Logon Information properties of the Desktop Group
- Click OK
- Click OK

- Select the Datacentre that contains the virtual desktops
- Select the Permissions tab
- Right click and select Add Permission from the context menu
- Select XenDesktopDataCentre for Assigned Role
- Click Add
- Select the account used in the Logon Information properties of the Desktop Group
- Click OK
- Click OK

- Select the Cluster or Resource Pool that contains the virtual desktops
- Select the Permissions tab
- Right click and select Add Permission from the context menu
- Select XenDesktop for Assigned Role
- Click Add
- Select the account used in the Logon Information properties of the Desktop Group
- Click OK
- Click OK

Source: http://theether.net/kb/100114

Citrix HDX Mediastream for Flash Demo / Tutorial

July 14th, 2009 No comments

Citrix recently released a webinar by Derek Thorslund on Citrix Flash HDX, check it out here: http://www.citrix.com/tv/#video/635

I was pretty impressed when trialling Flash HDX myselfs… seeing is believing ;) The movies below are not mine, but linked from youtube.com. It’s worth trialling yourselfs, you won’t be disappointed.

YouTube Preview Image
Flash HDX Demo on XenApp

YouTube Preview Image
Flash HDX Demo on XenDesktop 3 (vs VMWare view 3)

Download the Technology preview of Citrix HDX Mediastream for Flash here.

Citrix Community Featured!

July 3rd, 2009 No comments

While checking the statistics of our blog I saw some referrals from http://community.citrix.com.
We are listed as a Citrix Community featured website! We are very happy to see this, especially because this blog is very young! The first posts are from June 2009.

We will try not to disapoint you. We have some very interesting projects comming-up which involve very mission critical XenApp and XenDesktop environments. We will post our hands-on experiences here! So stay tuned ;) !

XenDesktop 3 and vSphere 4

July 1st, 2009 No comments

Some hotfixes seem to be released, check http://support.citrix.com/article/CTX121997 & http://support.citrix.com/article/CTX122057.

Haven’t tried it myselfs so i’m curious to your experiences, please leave a comment, thanks.
Overview of latest xendesktop patches here: http://support.citrix.com/product/xd/v3.0/

Citrix is working on a hotfix to have XenDesktop working with vSphere 4. Currently people are experiencing issues with the Desktop Delivery Controller (DDC) to communicate properly with the vSphere SDK webservice. Also the XenDesktop Setup Wizard, which automates creation of Virtual Desktops, seems to be broken.

A partial workaround seems to be availlable; reapply the hack to enable /SDK over plain HTTP and HTTPS.

Change “c:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\proxy.xml”

The section should look similar like this:

<e id=”1″>
<_type>vim.ProxyService.LocalServiceSpec</_type>
<serverNamespace>/sdk</serverNamespace>
<accessMode>httpAndHttps</accessMode>
<port>8085</port>
</e>

The hotfix, when availlable, will be posted here. More info can be found in this support thread of the Citrix Forums

Wyse Viance Thin Clients

June 15th, 2009 No comments

I stumbled upon a nice product demo of the new Wyse Viance Thin client, which are optimized for XenDesktop 3.

Viance is the new product line of XenDesktop optimized endpoint devices from Wyse.

YouTube Preview Image

Wyse also announced a mobile Viance product, the Wyse Viance Pro Mobile. The questions is how this will work in the real-world, since you’ll need to have connectivity to XenDesktop farm in order to work.

Product Page Wyse Viance Thin Client
Product Page Wyse Viance Pro Mobile

VDI: XenDesktop 3 Feature Pack 1, XenApp & Ardence

June 10th, 2009 No comments

We have been recently looking into VDI solutions for prospects. And with the VMWorld 2008 session of Brian Madden VDI vs Terminal Services in our mind, we were at first a bit hesitant.
Especially when it comes to end-user acceptance and the remote display protocols involved. RDP, ICA / HDX, HP RGS (http://h20331.www2.hp.com/Hpsub/cache/286504-0-0-225-121.html), they all have their limitations. (Yes, we have demanding end-users:)

Since we do a lot a of VMWare and Citrix we looked at both VDI products. VMware relies for 100% on a remote display protocols but Citrix has bought Ardence which now has been rebranded into Citrix Provisioning Server.
Ardence / Citrix Provisioning Server is able to stream a full-blown OS over the network to physical and virtual machines. It actually mounts a disk over the network.

Check the video below for a very cool demo :)

Ardence Demo

So with Ardence all the limits of remote display protocols are gone for demanding applications.

Next to this all VDI vendors are fighting for the best remote display protocols. Microsoft bought Calista, VMWare Teradici (www.teradici.com) and Citrix is extending the ICA Virtual Channels with all kinds of nifty extensions like Flash HDX (Still techpreview) and 3D rendering using GPU’s at the server side. We did a PoC with Flash HDX which offloads flash rendering to the client and this rocks, although still beta with some quirks. Finally full quality Flash on XenDesktop and XenApp. Another nice feature of XenDesktop is that it supports smartcards from the endpoint device

What’s new in FP1 of Xendesktop 3:
http://www.citrix.com/English/ps2/products/subfeature.asp?contentID=1686118

How does the Citrix VDI solution work?

It is actually based on a bunch of existing (proven) technologies:

- Ardence OS Streaming
- Application hosting / streaming from XenApp
- ICA into a client OS (XP / Vista / Window 7), sort of single user Citrix box.

VDI into the Physical Standardized Desktop

OS Streaming on the LAN based on Citrix Provisioning Server (rebranded from Ardence). Citrix Provisioning server streams a single disk image over the LAN to multiple desktops which then are able to run a full-blown OS without the limitations of remote display protocols and leveraging local computing power. By default the streamed disk image is non persistent and the OS on the desktop will return to the initial state after a reboot. When required dedicated, read-write images can be provisioned, however this breaks the single image storage advantage.

The application are then delivered onto the desktop using (“traditional”) XenApp either streaming or hosted.

And all personal settings are stored in a traditional roaming profile, profile management however will be necessary to keep al the bloat out. This can be done using Citrix Profile manager which comes with XenDesktop or your favorite profile manager.

VDI into a virtual Infrastructure

The same happens applies when you want to run Virtual Desktops in Virtual Infrastructue like XEN, VMWare or Hyper-V (All supported by XenDesktop). Not sure when vSphere 4 will be supported. The main difference is that you’ll need to access the Virtual Desktop using ICA/HDX and all the limitations involved. But the major limitation of flash over ICA is due to be solved with Flash HDX, which rocks. You’ll need to see this for yourselves, it’s 100% like running Flash locally.

image

XenDesktop 3 Architecture

Check www.brianmadden.com on all the pro/cons of the different VDI solutions.