XenDesktop 5 PoC s the easy way paul.murray@eu.citrix.com Senior Systems Engineer, EMEA
This is a Hands On workshop. So Very few marketing and positioning slides Many slides in the deck won t be presented Ask Questions
What's New In XenDesktop 5 XenDesktop 5 Simpler to deploy Simpler to maintain Simpler to manage Better end user experience Designed for automation
Architecture
XenDesktop 5 Architecture Desktop Studio NOTE: Greatly Simplified Communication Desktop Director PowerShell WCF Machine Creation Service XenDesktop Controller Host Service AD Identity Service Machine Identity Service Broker Service Configuration Service Virtual Desktop Machine Creation Services Broker Services Infrastructure Services SQL Server
XD5 Database Overview Desktop Studio Machine Creation Service AD Identity Service PowerShell Machine Creation Services XenDesktop Controller Machine Identity Service Broker Service Broker Services SQL Server Desktop Director WCF Host Service Configuration Service Infrastructure Services WinRM (WMI) Virtual Desktop Supported Databases: SQL Server 2008, R2, SP1, Express SQL Server 2005 SP3 (Not Tested / No Support / EOS April 2011) Database Schema Full Relational Schema Single Database (for core product) Multiple SQL Schemas in Database Broker Config, Broker Session State, Desktop Provisioning, Infrastructure Description, etc Schemas map to Windows services running on Broker
Machine Creation Services The Real VDI Provisions the virtual machines that are brokered to users. Uses a Provisioning Scheme VM s are based on a Master Image The VMs can be shared or private mode. Shared Mode The OS disk image is reset to its initial state after each restart. Private Mode The OS disk image is retained across boots. Each VM consists of an Difference disk and an Identity disk. The DIFF disk provides the operating system. The ID disk provides the AD computer account information
Machine Creation Services consists of Machine Creation Service Responsible for the creation of the VMs AD Identity Service Creates / Manages AD computer accounts and passwords of VM. Machine Identity Service Create DIFF and ID disks for VMs Manages storage attached to provisioned VMs Machine Identity Agent (VDA Based) Component that resides on the VDA that ensures VDA Identity within the domain Maintains the computer AD password of the Virtual Desktop
When to use which.. Machine Creation Services POC Production Less Complex VDI Scalability numbers later VDI Only Provisioning Services POC Production Complex VDI, Flexcast Scalability known FlexCast
How simple can it get Machine Creation Services No Streaming, No PXE Uses VHD Chaining Writes go to Diff Disk Reads come from Base Provisioning Services Streams over the network Utilizes PXE booting Use the Pane Of Glass analogy
VDA Installation VDA can now use Registry based registration. Quick Install will pick up the FQDN from the ID Disk Advanced Install expects the Controller FQDN to be specified Port 80 is default registration port VDA command line options FORCEWDDMREMOVE (for physical or VMware) NOWINRM (for WinXP only)
Shadowing Virtual Desktops Accessed through Desktop Director Uses MS Remote Assistance VDA install turns on Remote Assist by default Must be enabled via Group Policy Client side Flash rendering cannot be shadowed Uses DCOM potential firewall issues, browser settings
New Concepts
New Concepts in XenDesktop 5 Site XenDesktop deployment in single geographical location Recommended not to spread WAN networks Can contain host connections from various Hypervisors. Previously known as a farm in XenDesktop 4 Defines the XenDesktop 5 Management Realm Hosts (Hosting Unit) Infrastructure comprised of hypervisors, storage and other virtualization components such as networks that is needed to run the Virtual Desktops A site can have multiple host connections (multiple Hypervisors)
New Concepts in XenDesktop 5 Catalogs A collection or pool of similar machine types. Catalogs are used to populate desktop groups. Contains the base image, AD computer accounts for the Desktop. Can include machines from 1 or more hypervisors. Can be split into as many Desktop Groups as needed.
Direct copies of the master VM. Changes are not persisted. (Random / Static) Permanently assigned to individual users. Changes are persisted. VM s that were previously created. Desktops hosted on dedicated blade servers vdisk imaged from a master target device with PVS
New Concepts in XenDesktop 5 Desktop Groups Contains machines from one or more catalogs. Not limited to a single hypervisor pool. Desktop Groups are assigned to users. Desktop Rules and Power Polices are applied to Desktop Groups. A single user may access multiple desktops in a Desktop Group or a single desktop may be assigned to multiple users.
Summary Of The Changes XenDesktop 4 XenDesktop 5 Farm Desktop Group DDC / Broker / Controller IMA datastore XML Blob Terminal Services Site Catalog with Desktop Group XenDesktop Controller SQL database Full Armor Policy Removed Dependency
Simpler To Deploy
Deployment Desktop Studio Designed for IT Admins minutes to install clicks to configure seconds to add a new user
Quick Deploy Your Best Friend for PoC s The Quick Deploy concept guides you through the initial Installation Configuration Deployment
The Quick Deploy Wizard Takes This Site Site Name Host Hosting Infrastructure Resources Storage Infrastructure Details Master Image Master VM Image VM Information VM Information Users User Settings
does this Configuring Services Host Obtain Identify schema and configure creation specified SQL scripts hypervisor from services connection Create and hosting database unit (via and Hyp apply service) schema creation SQL scripts Point Create services broker catalog newly and created hypervisor database connection Register Configure and Acct join services identity with config pool service Configuring Assignment Machine Creation Create broker machine desktop accounts group in the (including identity access pool policy Create rule, entitlement a provisioning policy scheme rule, power by copying time schemes master VM etc) Create Add machines from using catalog the provisioning to the desktop scheme group Add machines to the broker catalog
and creates a fully functional XenDesktop 5 site
Exercise One - Quick Deploy - 30 minutes to complete
Installation What happened Quick Deploy assumes everything on a single server. Prerequisites will be installed automatically. IIS, ASP.NET, C++ runtime, Visual J#, JRE Performs SQL Server 2008 Express installation. Installs and Configures XenDesktop Components. Controller, Web Interface, Management Consoles, License Server VDA installation creates
Machine Creation Services 1 2 3 4 Hypervisor Admin selects Golden Master Image, this is copied as Full Clone and becomes the Golden Master VM Image (QD Base Disk) Admin Provisions x VM s MCS creates an ID Disk and a Difference Disk and attaches them to each VM ID DIFF ID DIFF ID DIFF ID DIFF MCS Powers up the VM, obtains Identity from the ID Disk Golden Golden Master Master VM Image (BASE) Storage OS Reads come from the Base OS Writes go to the Diff Disk
Just to explain why it s not a new idea Golden VM Master Image Master Disk Virtual Machine One Virtual Machine Two Virtual Machines Virtual Machine Three Virtual Machine Four Virtual Machine Five
Optimizing Storage Almost any shared storage will work, but... Thin Provisioned is better IO IO Recommended XenServer ESX Hyper-V NFS NFS CSV san filer Fiber Channel iscsi VMFS DAS Block Based Storage File Based Storage CSV uses VHD files under the covers - we create one 'dynamic VHD' for the master image and then differencing VHDs for each VM created. Net result - thin provisioning.
Reminder Quick Deploy Assumes you perform a Quick Deploy on the Controller. Assumes you install the Agent via Quick Install. Assumes you want to use an MCS based deployment.
Exercise Two - What just happened - 20 minutes to complete
Simpler To Maintain
Simplified desktop maintenance with Desktop Studio 3 clicks to update desktop images Simple rollout policies Update on user logoff Notify user then restart in n minutes Update immediately Rapid rollback Revert to a previous image instantly
Master VM consolidate
Exercise Three - Updating Machines - 20 minutes to complete
Simpler To Manage Desktop Studio Desktop Director
Desktop Studio Architecture Desktop Studio XD Services UI Interface Scripts PoSH WCF Configuration Broker MCS Host XenServer VDAs etc AD Identity 54321 Active Directory PvS
Administration Components Desktop Director HTTPS XD Services DMC website WCF WMI/WBEM Windows Metrics Configuration Broker MCS Host AD Identity WCF Workstation Agent WCF PortICA
Desktop Director Provides a single, detailed and intuitive overview of XenDesktop Summarizes real-time desktop and virtual machine issues Machine Usage Metrics Host and controller health information Information is aggregated from multiple sources XenDesktop controller, Citrix Profile management Citrix License Server, WinRM, Active Directory No historical data (That s why we have EdgeSight)
A console for everything XenDesktop 4 had a lot of consoles. Due to a patchwork of different products. XenDesktop 5 has two (main) consoles. Desktop Studio (DS) Configuration, Deployment. Desktop Director (DD). Daily Management and Monitoring.
Exercise Four - Desktop Studio - Desktop Director - 20 minutes to complete
Bonus Exercise - Policies - 20 minutes to complete
Summary
What's New In XenDesktop 5 XenDesktop 5 Simpler to deploy Simpler to maintain Simpler to manage Better end user experience Designed for automation
and that s about it Have fun with your XenDesktop 5 PoC s paul.murray@eu.citrix.com
Feedback und Präsentationen Ihre Meinung ist uns wichtig. Bitte nehmen Sie sich einige Minuten Zeit, unseren Online Feedbackbogen auszufüllen. Den Link dazu erhalten Sie einige Tage nach der Veranstaltung. Im Anschluss an den Fragebogen haben Sie Zugriff auf die Downloadseite der Präsentationen.
Additional Material That Wasn t Presented
Considerations to simplify migrations Plan PoC to be expandable and suitable for production Server hardware identical with production Few roles installed per server App delivery in place Required infrastructure available: domain controller, storage, network, etc. Usage of virtual machine-based roles can simplify migration Phased migration to ensure enough time for missed errors
Wrap-up A typical PoC is usually small and incomplete Prone to errors Implies higher costs Ongoing troubleshooting effort Clean install into production recommended Follow basic guidelines as you build a PoC to simplify possible migration to production Decouple roles Ensure redundancy Consider a pilot-like design Phased migration instead of big bang
Resources XenDesktop Design Handbook https://community.citrix.com/kits/#/kit/1067009 Provisioning Services Anti Virus Best Practices http://support.citrix.com/article/ctx124185 Virtual Desktop Resource Allocation http://community.citrix.com/display/ocb/2010/11/12/virtual+desktop+resource+allocation XD5 POC Quick Start Guide Screen shot based, step by step guide to a PoC Covers Quick Deploy, Desktop Deploy Examples of Desktop Studio, Desktop Director http://support.citrix.com/article/ctx127594
Resources Configure a XenDesktop 5 Site to Use an Existing SQL Database http://support.citrix.com/article/ctx128008 Move an Existing XenDesktop 5 Database to a New SQL Server http://support.citrix.com/article/ctx128365 Configure XenDesktop for SQL Database Mirroring http://support.citrix.com/article/ctx127359 Reconfigure a XenDesktop Site to Use a Mirrored Database http://support.citrix.com/article/ctx127538 XDDBDiag for XenDesktop http://support.citrix.com/article/ctx128075
Resources Redeploy XenDesktop Without Re-Installing http://support.citrix.com/article/ctx127421 XenDesktop 5 FAQ http://support.citrix.com/article/ctx128328 Use a Specific SQL port with XenDesktop 5 http://support.citrix.com/article/ctx128253 XenDesktop 5 Database Transaction Log Growing Excessively http://support.citrix.com/article/ctx126916 Change the XML Port in XenDesktop 5 http://support.citrix.com/article/ctx127945
Resources Planning Guide: XenDesktop 5 Migration http://knowledgecenter.citrix.com/article/ctx128330 XenDesktop 4 to XenDesktop 5 Virtual Desktop Agent Conversion Process with Provisioning Server http://support.citrix.com/article/ctx128174 XenDesktop Planning Guide: Desktop Image Delivery http://support.citrix.com/article/ctx128643 XenDesktop 5 Master Classes http://dl.dropbox.com/u/7694439/xd5%20master%20class.rar
Resources HDX Demo Mode http://community.citrix.com/pages/viewpage.action?pageid=79463606 http://community.citrix.com/display/ocb/2011/02/18/hdx+connect+demo+is+now+available+tr y+it+out
XD5 Quick PoC Kit My Citrix Ask you Citrix contact Tracking of downloads URL alias available: www.citrix.com/xendesktop/poc www.citrix.com/xendesktop/quickpoc www.citrix.com/xendesktop/pockit
Feedback und Präsentationen Ihre Meinung ist uns wichtig. Bitte nehmen Sie sich einige Minuten Zeit, unseren Online Feedbackbogen auszufüllen. Den Link dazu erhalten Sie einige Tage nach der Veranstaltung. Im Anschluss an den Fragebogen haben Sie Zugriff auf die Downloadseite der Präsentationen.