VMware News, Views, and How-To's from vExpert Josh Townsend

Mark Your Calendars for the Potomac Regional VMUG User Conference

The 2012 Potomac Regional VMUG User Conference is scheduled for Wednesday, September 26, 2012. This is a joint conference including the Washington DC, Maryland and Virginia regions.

Wednesday, September 26, 2012
8:00 a.m. – 5:00 p.m.
Location
Nationals Park
1500 South Capitol Street Southeast
Washington, DC 20003
Click here for directions
Register Now

Join your fellow VMware users for this full-day event including in-depth technical sessions, demonstrations and exhibits. This is a great opportunity to meet with your peers to discuss virtualization trends, best practices, and the latest technology!

Visit the Potomac Regional VMUG User Conference event page for more information and to register.

Take advantage of these educational and networking opportunities:

  • VMware educational sessions
  • Partner education tracks
  • Exhibitor area with VMware partners
  • Complimentary breakfast and lunch

Registration is complimentary, so register today!

Be sure to visit the workspace in your local area: Washington D.C. Workspace, Maryland Workspace, West Virginia Workspace, Richmond VA Workspace, Hampton Roads Workspace or Federal Workspace and subscribe to our listserv!

Please note: You will need to log into the VMUG web site to register for this meeting. If you have not already obtained your VMUG login credentials, please visit the Username and/or Password Help page to request your username and password.

For questions, please contact memberservices@vmug.com.

Program Partner
VMware
Thank you to our Platinum Sponsors
View the complete list of sponsors for this event.

Starting your Journey Towards The Cloud: Why VMware’s End User Computing Solutions Make Sense

Since joining Clearpath Solutions Group I have had many opportunities to present at company events, as well as at VMware User Group events and VMware Knowledge Series events.  I’m pretty serious about my introverted nature (I highly recommend the book Quiet: The Power of Introverts in a World That Can’t Stop Talking for anyone figuring out how navigate your own introversion in your professional or personal lives).  I’ve been very pleasantly surprised at my comfort and enjoyment in presenting in front of large groups, and interacting with the audience.  I’ve found that when I share my passion for VMware and how it can transform the day to day lives of technology professionals (or even transform their careers, as VMware has done for me), I come home energized and  excited to push my knowledge of virtualization and cloud technology further.

I had the honor of speaking at two VMware Summer Knowledge Series events last week, in Atlanta, GA and Hanover, MD.  The topic I was asked to speak on was ‘How to Get Started Enabling End User Computing Platform for the Post PC Era’.  I wanted to offer something beyond the standard sales pitch, and paint a picture of how adopting the VMware End User Computing (EUC) stack can help energize IT, excite end users, and provide a foundation for this radical shift towards ‘cloud’ and the software-defined datacenter.  The presentation was well-received, so I thought I would publish the transcript and slides here.  I welcome your feedback, and hope that it helps illuminate a Clear Path on  your IT journey.

Hello, and thanks for coming out to today’s VMware Summer Knowledge Series, sponsored by Clearpath.  My name is Josh Townsend.  I am Clearpath’s Virtualization Practice Manager, where I oversee all things VMware.  My role can be summarized like this – I’m responsible for delivering technical excellence in all things virtual for our customers, from initial planning phases, through sizing and scoping, implementation and on-going support.  I’ve been working with VMware solutions for 10 years.  I carry a pile of technical certifications from Microsoft, including MCITP: Enterprise Administrator.  I am a VMware Certified Professional – VCP3, VCP4, and VCP5 – and have been recognized by VMware as a vExpert in 2010, 2011, and 2012.  I lead the Washington, DC VMware User Group and am an active blogger on Clearpath’s blog (https://blog.clearpathsg.com) as well as my own site, https://VMtoday.com.

Today’s Knowledge Series event is focusing on VMware’s End User Computing technologies, including VMware View virtual desktop infrastructure and Horizon Application Manager products.  As you’ve seen in today’s technical demonstrations, these products and the ecosystem that surrounds them provide a mature, stable, and robust set of tools to allow IT to begin managing the technologies that our end-users interact with most to execute on their mission for the business – desktops, user-generated data, and applications – in a an efficient, cloud-like model – just like how VMware vSphere virtual infrastructure has enabled us to drive efficiency and operate in an IT-as-a-Service fashion for our core infrastructures.

Clearpath: We Speak Cloud

Now everybody is talking cloud these days – at Clearpath we say “We Speak Cloud” – but I want to limit the use of the word in the rest of my presentation, step back from the technical marketecture, and paint a picture of what adoption of VMware’s End User Computing stack could look like for you.  It is my hope that this presentation will illuminate a Clear Path for you as you leverage these VMware End User Computing solutions to:

  • provide technical excellence in your day-to-day operations
  • break down barriers between IT and users,
  • and free you to deliver strategic business value through aligning IT with business objectives and user demand.

Prior to joining Clearpath, I worked as IT Director for a Department of Defense contractor, managing both internal IT systems, as well as systems located in the Pentagon.  While my mission paled in relation to that of the war-fighters my team supported, there were days that I came home feeling like I had done battle – fighting security skirmishes, wrestling with legacy technology that would not bend to my orders, and yes, even doing battle against my end users.  The end-user conflict was the most frustrating and exhausting – after all, we were on the same side, trying to do our own parts to accomplish the greater mission.  But the security requirements, supportability, and quite frankly, some of the legacy technology we had to deal with, left my team and me at odds with end users who were demanding more choices for connectivity, greater mobility, and more flexibility in when, where and how they worked.

We Were SoldiersAs I considered ways to break down the barriers that divided my group from the end users, I remembered a line from one of my favorite movies: We Were Soldiers, based on the fantastic book We Were Soldiers Once…and Young: Ia Drang – The Battle That Changed the War in Vietnam that provides an account of one of the first large engagements in the Vietnam war – the Battle of Ia Drang Valley.  The book and movie give background on the start of the Vietnam war and the development and testing of a new war fighting strategy – Air Cavalry, empowered by new technology – helicopters, to meet the challenges of a new type of enemy; an enemy that did not follow traditional rules of engagement, were highly mobile, and preferred to work, if you will, on their own turf.  Sounds familiar….

In one of the more touching scenes in the movie, a young Lt. who just had his first child finds Lt. Col. Hal Moore, played by Mel Gibson, in the base chapel just before their unit was to deploy to Vietnam.  The Lt. asked Col. Moore “What do you think about being a soldier and a father?”  Col. Moore responded, “I hope that being good at the one makes me better at the other.”

Parenting AdviceAs a young father myself, I wondered what if, instead of doing battle, I parented my user base.  What would that look like?  I’ve got two young sons that run circles around me.  Early on in my adventures in parenting, my mother gave me some sage advice.

First, be Firm, Fair, and Consistent.
Second, as a parent you so often have to say “No” – find ways to say “Yes” as often as possible.

I considered these two rules and how I might apply them to my job.  Security, regulatory, and operational requirements definitely required my team and me to be firm, fair and consistent, and often led to me having to say “No” to my users.  It was the second rule that I had been neglecting, and in discussing this with many of my IT Manager friends I found that they too (and I suspect you also) do not always look for ways to say “yes”.

Layers 1-10 The Real OSI ModelAs IT Administrators, we’re comfortable in Layers 1-7.  But, I’ve been talking Layers 8, 9 and 10 issues so far.  Layers 8 through 10 are normal parts of the human and IT experience. The problem is, legacy technologies in layers 1-7 do not lend themselves well to the new cloud era where 8, 9, and 10 gain importance.

Trying to force legacy technology on top of layers 8-10 is like forcing the old square peg through the round hole, and often leads to the blame game. When you stop fighting layers 8 – 10, and instead manage or <gasp> even embrace them, the right technology can shine.The IT Wheel of Blame

That said, let’s look at how VMware’s end user computing technology can help you meet the challenges of the new cloud era – specifically:

The Challenges of the Cloud Era

  • New (Cloud) Delivery Methods
  • New Devices, leading to a more mobile, independent workforce.
  • New Applications
  • New Real-time, collaborative Work styles

Welcome to the Post-PC Era

In the past several years, we have seen a paradigm shift, driven by these New methods, devices, apps, and work styles.  We have now entered the Post-PC world, where the focus shifts from IT servicing devices, to IT Delivering Service in the form of Data and Apps, to users, on any device, anytime, anywhere.
Let’s look at how we tackle the challenge of this Post-PC World.

Step 1 - Take control of apps

The first step in adopting this new post-PC world mentality and starting to break down the barriers between IT and users is to take charge of the applications in your environment, and begin to offer Apps as a Service.  VMware offers several solutions that enable IT to reign in legacy applications, provision new SaaS applications, and allow users to self-provision the apps that they need, when they need them.

VMware ThinApp and ThinApp FactoryThe first solution is VMware ThinApp.  ThinApp is an application virtualization solution that allows IT administrators to repackage legacy applications into simple, portable, self-contained apps.  Once apps are thin, we can eliminate compatibility issues, Windows version dependencies, application conflicts, IE versions, etc.
Packaging ThinApps is quick and easy, and now more automated with the release of VMware’s latest ‘Fling’ – ThinApp Factory.

Once your applications are thin, deploying and updating them is as simple as dropping a file in a share.  When users launch an application, they are guaranteed to use the latest IT approved and provided version of that app, reducing support calls, eliminating security risks, and eliminating complicated application patching mechanisms.
ThinApps can be injected directly into VMware View virtual desktops for an even greater degree of simplified management.

VMware Horizon Application ManagerNow, take the solution further – rather than pushing ThinApps to users and hoping you’ve given them all that they need, or risk over deployment driving up licensing costs – think self-provisioning.  VMware Horizon Application Manager is an enterprise app store that presents both ThinApps and SaaS apps to users so they can self-provision.  SaaS apps managed by Horizon gain Single Sign On capabilities, so users have a seamless experience in authenticating to apps, and security teams have fewer passwords floating around to worry about.

VMware Mobile Management, Horizon Mobile, VMware SwitchWe’ve talked about how mobility changes everything.  With the decline of Blackberry, and increase in user-provided devices, the tools to manage mobile devices have been limited, and often upset users when IT ‘takes over’ their personal devices.  With VMware Mobile Management Platform and VMware Switch, IT can allow users to bring their own devices, preserving user choice, portability and security.

With VMware Switch, mobile devices take on a split personality – one for personal, one for work.  IT manages the work profile – apps, data, and policies – and can destroy the virtual work smart phone in the event of loss or attrition.  Users keep their personal device with the personality they choose.

VMware View Persona ManagementNow that we’re in control of apps, let’s look at the desktop.  Before we talk about boring old Windows, let’s think again about the concept of the post-PC world.  If Windows is Windows for Windows sake, then why are we using it?  Because it is a portal for interaction with legacy apps, and a file management system for our users.

We’ve virtualized legacy apps with ThinApp, and now, with VMware View Persona Management, we can abstract user profiles and the data they contain from the desktop OS.  Once we do that, IT controls where data is, when it is backed up, where it is replicated to  – all while allowing users to access their data, their profile, their persona whenever they log in.

With Apps and Data abstracted from the desktop, we can start to think about the stateless desktop.  Windows for Windows sake until we don’t need it any more.  Then, we’re left delivering the services – Apps and Data – that our users really want.The Goal: Stateless Desktop

Let’s look now at a few of the driving factors for desktop virtualization.

Reasons to Virtualize Desktops

  1. Desktop virtualization is the beanstalk in the cloud-provided end user computing environment.  Rooted in today, climbing to the cloud of tomorrow.
  2. Desktop virtualization acts as a decoupling agent between the OS and apps/data that users really want.
  3. Desktop virtualization provides a reset button for IT, allowing us to reimagine, reclaim, and redeploy IT assets (people, equipment & budget).
  4. Desktop virtualization changes the economics of end-user computing from CapEx to OpEx, preparing way for consumption-based cloud models.

Virtual Desktop Benefits with VMware ViewNow, some more practical benefits of Virtual Desktops – benefits specific to the IT administrator’s day-to-day life – the things that keep us awake at night:

  • Security
  • User Data Control
  • Operational Efficiency

Bottom line: We can control more than we could with physical desktops, roaming laptops, and unmanaged mobile devices.  We can be the Colonel in charge, we can be the parent who is firm, fair and consistent.  But with View, we can allow users to choose how, when, and where they access these IT controlled resources.

VDI - Reduce SneakerNet, Please the Corner OfficeBut wait, there’s more!  With increased operational efficiency, we cut down on sneakernet, deliver faster and higher quality of service to our users, all while pleasing the corner office!

User Freedom, Bring your Own Device (BYOD)Once we achieve secure, stateless desktops on VMware View, with IT controlled applications and user data being delivered where ever users need it, we are free to begin saying “yes” to our users.

  • User Freedom is now the norm.
  • Bring Your Own Device (BYOD) can be a reality.

Now that we have control of our apps, with ThinApp and Horizon, are enjoying the benefits of stateless desktops with View, and sleeping better knowing that we are in control of mobile devices – all while balancing our need to be firm, fair, and consistent; but saying yes to user choice and new ways of working, let’s look at how this all fits into your VMware environment.

VMware Solution PlatformsFirst, build a flexible, scalable and efficient infrastructure based on VMware vSphere and automated with vCloud director.  Then, ThinApp and Horizon and ultimately look at modernizing those legacy apps – VMware offers SpringSource and vFabric application fabrics and data fabrics for this.  Finally, layer on secure desktop and mobile devices that empower your mobile workforce.

VMware Goal: IT TransformationIt boils down to this: VMware offers Multiple Platforms with one Common Goal: to deliver a broad range of technology and services to transform how we build, deliver and consume applications in the Post-PC, cloud era.  With these platforms in place and working together, we can drive IT Agility to increase business value through:

  • Reduced Complexity
  • Dramatically Lowered Costs.
  • Enable Flexible, Agile IT Service Delivery

How Clearpath Can Help You Realize Your End User Computing Vision

With an understanding of how these technologies fit together and promise radical change for IT and the users we support, let’s look at how Clearpath can help propel your adoption forward.

Clearpath Virtualization Areas of Focus

Clearpath offers a portfolio of Products and Services focused on the virtual datacenter, with key competencies that include desktop and application virtualization with a highly qualified staff.

Clearpath's Virtualization Experts Clearpath VMware EUC Services, ThinApp Packaging, View Health Check, View Performance Tuning

Clearpath’s Cloud Hosting can help you get started with VMware View by hosting a custom pilot environment, or we can continue to host your production VMware View environment in our cloud, either as a dedicated environment for you, or in a Desktop as a Service (DaaS) offering, depending on your needs.

Clearpath Hosting for VMware View Clearpath invited into your IT lifecycle

By inviting Clearpath to be a part of your IT lifecycle, we can help you bring these new technologies to bare as you evaluate, design, deploy and operate your own private cloud platforms.

Your Next Steps in the Post-PC, Cloud Era

The Journey to the Cloud Fluff

First (Repeat after me…), start the journey towards the cloud.

Practical Steps towards desktop virtualizationNow, how about something a little less fluffy – take these very practical steps towards implementing your own post-PC environment.

  1. Review your real user needs; Identify technology options
  2. Repackage applications; Virtualize all you can, upgrade/replace others; Establish “rules” for new  applications
  3. Rationalize desktop image builds; Begin pilot of virtual desktops
  4. Start virtual desktop deployment; Synchronize with OS migration
  5. Identify “local” requirements; Extend virtual desktop deployment through use of desktop personas
  6. Device independence for all virtual desktop users

Finally, reach out to Clearpath for help in designing and implementing your modern end user computing environment based on VMware vSphere virtual infrastructure, VMware View & Horizon, Cisco networks and servers, and EMC storage.

Contact Clearpath on Social Media

In the end, as IT professionals, we have play the role of both Colonels and fathers in our support and enabling of our end users.  Being good at one will make us better at the other.  But by leveraging the VMware technologies we’ve seen today, we’ll spend much less time fighting with our end users.  Instead, we’ll find that we can deliver the best of both worlds – security, stability and supportability on one hand, and flexibility, mobility, and freedom on the other.

I hope my presentation provided inspiration and clarity for you.  I look forward to my team and I at Clearpath engaging with you and your team  to design and deliver VMware’s end user computing solutions to enable and inspire your IT group’s delivery of agile services to your business – without fighting with your users, but empowering them.

Escape to the Real Cloud

Lag When Dragging a Window Between Monitors in VMware View

Multi-Monitor VMware ViewI’ve had several customers ask me for help with the VMware View environment recently, as their users were complaining about performance issues when dragging a window between monitors in a multi-monitor VMware View setup.   Performance was otherwise acceptable on the View desktops.  I recommended several troubleshooting and remediation steps to get windows to stop slowing down when dragging between monitors or “catching” on the border between the two screens, including:

  1. Review the “Multimonitor PCoIP sessions are not displayed as expected KB article” (1030566) from VMware.
  2. Monitor PCoIP statistics (using PerfMon/WMI data, vCenter Operations, the PCoIP Log Viewer utility, or Xangati).  Great data collected, but no problems found.
  3. Tweak PCoIP settings with the PCoIP Group Policy and the PCoIP Configuration Utility.  Again, fine tuning done, but no change in the problem.
  4. Collecting Diagnostic Information from the View Agent, View Client, and View Connection Server.
  5. Review the Symptoms and Resolution steps in VMware KB 1027899: Dual monitors configured using PCoIP does not span both the monitors for VMware View.
  6. Increase video RAM for View desktops in the pool.
  7. Increase client cache size setting in VMware View PCoIP Group Policy Objects (GPO)
  8. Upgrade thin client/zero client firmware.
  9. Upgrade to View 5.1 for PCoIP improvements (and all the other great enhancements in 5.1).  This takes a bit of planning, so not reasonable as a quick fix.

These steps either yielded no results or were not easy to do without some planning and change control.

Then I stumbled on VMware KB article 2010359, “Poor performance when moving windows between multiple displays in View 5.x session.”  The article was just updated yesterday (7/25/2012) to include View 5.1 as an affected product.

From the KB article:

This issue occurs due to the way View handles the transition of a window from one display to another. It relies on the MKS poll rate which is optimized for server configurations to reduce CPU cycles.

This issue is limited to this configuration:

  • Windows 7 View virtual machines (both 32bit and 64bit)
  • Virtual machine hardware version 7 or 8
  • View Agent 5.0
  • Client desktop utilizing multiple displays

For those who don’t know, MKS is:

Mouse Keyboard Screen (MKS) process – A process that is responsible for rendering the guest video and handling guest operating system user input.

See VMware KB 1019471 for more on MKS, VMM, and VMX processes, as well as how to interpret error for all of these services.

The fix is to enter an advanced configuration parameter on the affected virtual machine as follows:

  1. Power off the virtual machine using the vSphere Client.
  2. Right-click the virtual machine and click Edit Settings.
  3. Select the Options tab and under Advanced.
  4. Click General.
  5. Click Configuration Parameters and click Add Row
  6. In the Name field enter mks.poll.headlessRates and in the Value field enter 1000 100 2.
  7. Click OK.
  8. Power on the virtual machine.

When the virtual machine is powered on, it will read the new configuration.

Pretty easy, no?  Not so fast….  The fix requires downtime, for all your View desktops.  And, if you are using VMware View Linked Clones, the change you make to any of the clones will be lost when the VM’s are refreshed at log off, rebalanced, or recomposed.  To get the fix to stick, you need to update the template on which your pool is based on then recompose the pool.  If a recompose is not in your immediate future, you may have to tell your users to wait it out.

If you have a bunch of full desktop pools, dedicated linked clones, or manual pools in View that you want to make this change on, today is your lucky day.  I put together a PowerCLI script to automate the change.  I borrowed from the script from Arne Fokkema to fix the storage vMotion “migration exceeded the maximum switchover time of 100 second(s). ESX has preemptively failed the migration to allow the VM to continue running on the source host” error.

The script should be applied with all target VM’s powered off.  That said, I ran it in the Clearpath lab against a running pool of View Linked Clones and had the .vmx file updated.  The VMware KB clearly states that “When the virtual machine is powered on, it will read the new configuration.”  From my testing, the setting did not seem to take place on the running VM’s until I rebooted them – but your mileage may vary.

Also note (per the VMware KB article 2010359) , there is a risk in making this change to your View desktops – CPU utilization on idle VM’s can increase.  Less idle time means higher CPU usage on your ESXi hosts/cluster and increased CPU Ready in your environment.  I did not see an increase in my environment, but the lab is small.  Test, test, backup, test some more, and backup again before making the change or running my script.

mks.poll.headlessRates CPU Graph

The script is below.  Update the vCenter server variable and the name of the vCenter folder (not the View Administrator folder) that contains your View desktops.

@"
===============================================================================
Title:            Fix-ViewWindowDrag.ps1
Description:    Update mks.poll.headlessRates for improved VMware View
performance    and reduced lag when dragging Windows between
desktops in a multi-monitor PCoIP environment. See VMware
KB 2010359 for more info.
Warning: may increase CPU on View ESXi Hosts!!!
Last Updated:     July 26 2012
Created by:        Josh Townsend, https://vmtoday.com
Usage:            Update variables.  Run .Fix-ViewWindowDrag.ps1 in PowerCLI
===============================================================================
"@
$VMFolder = "View-Desktops"    # Folder where View VMs have been placed - Must be unique in VC
$vCServer = "vcenter.local"    # Name or IP of VMware vCenter Server hosting View Desktops

# Connect to VC
Connect-VIServer -Server $vCServer

# Get all VMs placed in $vmfolder
$vms = Get-VM -Location (Get-Folder $VMFolder)

$vmConfigSpec = New-Object VMware.Vim.VirtualMachineConfigSpec

$extra = New-Object VMware.Vim.optionvalue
$extra.Key="mks.poll.headlessRates"
$extra.Value="1000 100 2"

$vmConfigSpec.extraconfig += $extra

foreach($vm in $vms){
$vm.ReconfigVM($vmConfigSpec)
}

# Disconnect from vCenter Server
Disconnect-VIServer -Confirm:$False

Here’s a copy of the PS1 file: Fix-ViewWindowDrag

I also have a copy of the script that will target just a single VM – good for testing or those few full VM pools you might have:

@"
===============================================================================
Title:            Fix-ViewWindowDrag-single.ps1
Description:    Update mks.poll.headlessRates for improved VMware View
performance    and reduced lag when dragging Windows between
desktops in a multi-monitor PCoIP environment. See VMware
KB 2010359 for more info.
Warning: may increase CPU on View ESXi Hosts!!!
Last Updated:     July 26 2012
Created by:        Josh Townsend, https://vmtoday.com
Usage:            Update variables.  Run .Fix-ViewWindowDrag.ps1 in PowerCLI
Note: This fixes a single VM
===============================================================================
"@
$VMFolder = "Windows7"    # Folder where View VMs have been placed - Must be unique in VC
$vCServer = "192.168.1.111"    # Name or IP of VMware vCenter Server hosting View Desktops
$VMName = "MyLaggyViewVM"      #Name of the View desktop that you want to tweak

# Connect to VC
Connect-VIServer -Server $vCServer

# Get all VMs placed in $vmfolder
$vms = Get-View -ViewType VirtualMachine -Filter @{"Name" = "$VMName"}

$vmConfigSpec = New-Object VMware.Vim.VirtualMachineConfigSpec

$extra = New-Object VMware.Vim.optionvalue
$extra.Key="mks.poll.headlessRates"
$extra.Value="1000 100 2"

$vmConfigSpec.extraconfig += $extra

foreach($vm in $vms){
$vm.ReconfigVM($vmConfigSpec)
}

# Disconnect from vCenter Server
Disconnect-VIServer -Confirm:$False

And the single VM .ps1 script download: Fix-ViewWindowDrag-single

Leave a commend below if you have questions, problems, or have a better way of implementing this!
This article is cross-posted on the Clearpath Solutions Group blog – follow me and my fellow VMware, EMC, and Cisco experts for news, tips, and tutorials.

Clearpath Solutions Group Logo