Friday, February 4, 2011

Deploying Citrix XenDesktop with FlexCast

When I was reading about FlexCast delivery for desktop deployment  , I had following question in my mind.

  • When you classify user to use XenApp hosted desktop?
  • When you classify user to use VM hosted desktop ?
  • How do you classify IOPs requirement for write cache ? Is it good idea to go with RAID 10 or RAID 5 ?

First let me explain what exactly is XenApp hosted desktop and VM hosted desktop is .

XenApp hosted Desktop (SHD) is : when virtual machine installed with XenApp is published and used as a desktop. Of course there are  tweaks to be done on XenApp installed on  windows 2008 server to have end user get a feel of desktop. Jo Harder  blog talks about it.

VM hosted Desktop (VHD)  is : When virtual machine installed/Streamed  with windows 7 or XP  are presented to the end user by the means of broker.

Now as we understood what exactly is SHD and VHD is , we will try to understand when we choose which model and why .

When we choose XenApp hosted Desktop (SHD):

While choosing XenApp hosted desktop (SHD) , we should remember that it scales better, cost less and is  a lot more proven in the enterprise (Compare to XD).  In certain case we can eliminate the need for shared storage. Are you are wondering how ? . When SHD model us used, more user can be accommodate on single machine.
But while selecting SHD model you may face challenges like
1.    Unique VLAN requirement: Suppose you are proposing SHD model and end user can not share VLAN . At that point of time you will have to choose VM per user group, though you can have 7 VLAN seen by single VM. 
2.    Application which is not compatible with TS/RDS.
3.    Users demand their own user space.
4.    User requires high quality video/audio. It is recommended to go with XD.
5.    Technical requirements dictate a XD based solution. Something like VPN client which can’t work on SHD model.

With XA environment, over committing CPU is not something which is recommended.  While choosing hardware, choose correct CPU model.  CPU with HT enabled will get you more logical CPU. For example if  it is a dual quadcore processer then logically you will get 16CPU  ,whereas non HT CPU model will get 8 CPU. This will make difference to the consolidation ratio.  HT enabled CPU will help you getting mode SHD.

With newer bread of CPU like Nehalem /Westmere , we can leverage HT for performance improvement as we as high consolidation ratio. Prior to Nehalem /Westmere it was advisable to stick with pCore to vCore mapping.  More logical CPU means better CPU:RAM ratio and better overall utilization of hardware.
It’s probably the best trade-off between CPU and memory and still keeps the number of VMs per hardware low.

 

While choosing VHD:

There is much option like SHD . With VHD , overcommitting of CPU is acceptable. For memory overcommit  DMC can be enabled which will help to squeeze a few more VM’s on a hardware. let’s say you get 100 XP VMs/blade and 50 Win7 VMs/blade.  HSD’s via XA can give you 4-8x the amount of users/box!!!  Even if we say 50 users/box on each of those XA VMs (very conservative), XA still could support 200 users/box where XD could support 50-100…that’s still 2-4x more scalable and it’s not uncommon in the real world to see a 3-4:1 ratio in the real world between XA:XD

Third question was what IOPs requirement for write cache.  Write cache is write intensive which is around 80:20 write:read IOPs. Since it’s write intensive , RAID1/10 would  recommended RAID model compare to RAID 5. Then question raised how do I size wirte cache drive. This would usually pagefile + writecache. It is advisable to place pagefile on a write cache drive for better performance and optimization. 
For example if XenApp VM has been assigned 6GB of virtual memory , configure page file of size 4GB and leave other 6GB for write cache. So you will size storage for 10GB writecache.  For VDI kind of environment, 5GB of writecache (Pagefile + writecache) drive is idle.

Size of the Writecache also depends on integration of profile solution and reboot cycle.

All feedback will be incorporated in next release

XenServer Configuration Maximums

I am trying to prepare config maximum for XenServer 5.6 . I will keep it updating till I test it .

For Virtual Machine

image

*A maximum of 8 VCPUs are supported by XenCenter.
†except for SLES 10 SP1 and RHEL 4.x, which support 3. RHEL 5.0/5.1/5.2 support 3, but can support 7 when the kernel is patched with the Citrix Tools for Virtual Machines. The same applies for Oracle and CentOS 5.0/5.1/5.2

image image

Some 32-bit Windows operating systems can support more than 4 GB of RAM through the use of a special
mode - physical address extension (PAE) mode. Administrators wishing to reconfigure a VM with greater
4 than 4 GB of RAM must use the xe CLI, and not XenCenter, as the CLI does not impose any upper bounds for
memory-static-max

Source is following link

I will update this with XenServer config. 

Sunday, January 2, 2011

New Author for vBlocksolutions.com

I had been invited to be a part of knowledge management website and asked to contribute in the field of virtualization pertaining to desktop and end user computing.


Please meet your new author on vBlocksolutions.com.

Saturday, December 18, 2010

How to remove stale Host from XenCenter

Sometime you come across situation where host has not been ejected from the pool master. This host has been shutdown and decommissioned. In such situation stale host will not get out of XenCenter .

image 

 

To remove ,try following steps

This needs to be run from windows box where xencenter is installed

xe –s <Pool Master ip address > –u root –pw <password of root pool master >

This will give UUID of stale host as shown below

Now run xe 0s <IP address of pool master > –u root –pw host –forget  uuid=<stale host >

 

 

image

Friday, December 17, 2010

Cowley : XenServer 5.6 FP1 Release

 Citrix has released  XenServer 5.6 Feature Pack 1  to Citrix.com and MyCitrix.com.
Customers and partners can find the downloads on MyCitrix: https://www.citrix.com/English/SS/downloads/details.asp?downloadId=2306109&productId=683148 as well as through the trial download section from http://www.citrix.com/xenserver
What’s New in this release
Highlights for this release are:
•    Distributed Virtual Switching. Provides distributed, fine-grained networking configuration and control policies, which increase visibility into XenServer virtual networks. Support for the vSwitch has been added as a post-install option on XenServer hosts, as well as a Controller for administration of multiple vSwitches and cross-server internal networks.
Jumbo Frames are now supported for storage networks when the vSwitch is used.
•    VM Protection and Recovery. Configure scheduled snapshots and (optional) archive of virtual machines.
•    Web Self-Service. Provides browser-based access to selected virtual machines by delegated administrators.
•    Boot from SAN with multipathing support. Boot XenServer hosts with HBAs from a SAN, with multipathing support.
•    HA Restart Priority. Configure HA policies to restart specific VM(s) first.
•    Enhanced XenCenter. Including StorageLink configuration entirely within XenCenter, workload reporting for VM utilization and chargeback.
•    Improved MPP RDAC multipathing including path health reporting and alerting in XenCenter.
•    Snapshot improvements. Improved reclamation of space after VM snapshots are deleted, even if the VM is running.
•    Enhanced guest OS support for Windows 7 SP1, Windows Server 2008 R2 SP1, and Suse Linux Enterprise Server (SLES) 11 SP1.
•    Generic Red Hat Enterprise Linux (RHEL) 5.x support. RHEL / CentOS / Oracle Enterprise Linux versions 5.0 to 5.5 support with a generic .RHEL 5. template.
•    Brocade HBA drivers and command-line tools are included in XenServer.
•    Provisioning Services improvements to Windows volume license (MAK and KMS) support.
•    XenDesktop platform enhancements. Provides local host caching of VM images to reduce storage TCO for XenDesktop VDI deployments. (Note: these platform enhancements will be enabled by a future version of XenDesktop).
•    Lab Manager 3.9 Service Pack 1 which includes various updates and bugfixes
More details can be found in the Release notes on the Knowledge Base: http://support.citrix.com/article/CTX127362. Full documentation is accessible through the MyCitrix download page, or on the KB here: http://support.citrix.com/product/xens/v5.6/component/fp1/#tab-doc
StorageLink Version 2.4, along with XS 5.6 FP1, available from https://www.citrix.com/English/ss/downloads/details.asp?downloadId=2306109&productId=683148&c1=pov2301284.
The updated version of StorageLink Version 2.4 includes:
•    Site Recovery support for XenServer virtual machines on LVHD volumes
•    Support for the HP StorageWorks XP 20000 series (including Site Recovery support)
•    Support for Pillar Axiom storage systems
•    Various improvements to overall scalability
•    Various improvements to overall performance
StorageLink Version 2.4 will also be available within Essentials for Hyper-V 5.6 FP2, which is also available for immediate download at https://www.citrix.com/English/ss/downloads/results.asp?productID=1854179&c1=pov2301870
Additional information about StorageLink & Essentials for Hyper-V is available here:
The Eclipse Edoc version of the StorageLink documentation is located here:
http://support.citrix.com/proddocs/index.jsp?lang=en&topic=/essentials-for-hv/storagelink-22.html
Here is a link to more information about Essentials for Hyper-V and StorageLink on Citrix.com > products
http://www.citrix.com/ehv