Search This Blog

Friday, December 30, 2011

VMWare View 5.0: Teradici Zero Clients experience rapid "black/white screen" at login

Overview

Recently, I have observed an annoying issue with Teradici Zero Clients (Wyse and Samsung) while users are logging into the device. After authentication, the virtual desktop display starts rapid "black/white screen" on the display while waiting to finalize login. I tracked the problem down to the windows 7 PCoIP video driver trying to adjust to the resolution of the monitor attached to the Zero Client. Although this does not impact the overall connection most customers just live with the "screen blinking", personally I don't like it! The Windows, Mac and Smartphone clients work just fine, but with the resolution changes recommended the connections seem to be much quicker at startup.

So, through much testing with zero clients, thin clients, ThinLaunch (which rocks BTW) and end user connection validations to VMWare View environments, I believe I found a easy work around for this issue.

Resolution

The issue is with the base image configuration for VMWare View deployments. By Default, a virtual machine in vSphere 5.0 is not set to "Auto Detect" video settings. Secondly, the default screen resolution is commonly changed on the base image for console access from 800x600 to something larger for better console display. The base image is used as the golden image so all desktops inherit VM settings. In certain situations with Thin and Zero clients, the embedded agent does not react well with display changes from default settings and the view agent needs to utilize the Auto Detect VM settings rather than adjusted settings.

Note: 3D Rendering with VMWare View is still on my Radar Screen and so far, working AWESOME!!!!! However, I need to validate infrastructure impact to reference architectures.

So, in conjunction to the standard base image customization, please perform the following additional adjustments:

1) Set the default base image to Auto Detect on the Video Settings when the VM is powered off:


2) Set the default resolution on the base image to 800x600:



After these settings are performed the image resolution and login to the Zero Clients from Teradici will perform much better without the blinking screen.

Please feel free to comment.

Enjoy!!!

Thursday, December 29, 2011

VMWare View 5.0: Port Information for Internal and External access

Overview

In recent deployments and upgrades of VMWare View 5.0, customers are really starting to realize the concept of the "Follow Me Desktop". When the VMWare View environment is setup correctly for end user access,  a single access URL can be easily setup to provide seamless access to VDI environments using BYODs (Bring Your Own Devices) for internal and external access (and just a "cool" solution to provide end user access to perform critical business activities in a secured manner anytie/anywhat/anydevice).

This blog focuses on the internal networking requirements to provide seamless external and internal access to VMWare View environments.

Solution

To provide seamless access via single URL access, please understand that from the URL provided to end users, Windows and Mac users, can download the installation software by just pointing their browser to the URL (smart devices are done via "market"). Now, for the IT Department, there is some effort required to make sure everything gets setup correctly. Below are the steps and diagrams to utilize for this configuration:

1) Determine load balancing setup. Some customers cannot invest the monies into a F5 or Cisco load balances, so DNS round robin can do the trick, by assigning a multiple IP addresses internally and externally to the same DNS name. I will not go into the hardware solution setup at this point.

2) Understand the port requirements and DMZ setup (diagrams below) end to end. EVERYONE MISSES PORT 4172 TCP AND UDP BOTH DIRECTS ON THE EXTERNAL and INTERNAL FIREWALLS!!!!!



3) Don't be afraid to NAT the Security Server internal IP Address from the External access IP. I usually setup a separate vSwitch for DMZ Access in this environment for my Security servers, setup layer 2 security and drop another vNic into production for "backend firewall to desktops". If you have a good network intrusion protection scheme, which you should at this point, use it!!  Please refer to the documentation at http://www.vmware.com/support/pubs/view_pubs.html for View Brokler setup and configurations.

4) Two (2) factor authentication and tags are supported to block users from external access. Again refer to admin documents on the setup, but it works great.

5) Use any device access for clients, test on wired/wireless networks and DOCUMENT. I am really impressed with Teradici Management Software to provide seamless provisioning and access to thin clients (Vonage VDI...This is a whole 'nother level for a blog), ThinLaunch software to re-purpose devices and smart device support for VMware View clients.

6) Did I mention DOCUMENTATION!!!! Document the "how to guide" for end users to ease the operations support. One of the main selling points of this technology is the ease of operations, support, rapid deployment, updates and ease of access.

That's it...Happy New Year and 100,000 desktops in 2012!!!!!

Dave

VMWare View 5.0 Composer Error while adding QuickPrep Users: "Error while adding the administrator. Please re-check your information"

Overview

During a couple of recent VMWare View 5.0 (will occur in 4.x as well) I came across an error when adding a "Quickprep" user to the Composer accounts through view manager: "Error while adding the administrator. Please re-check your information". I found very limited information concerning this error and validated the resolution from the VMWare KB article kb.vmware.com/kb/1035626.


Note: The connection server log is really not that informative as well, but I do suggest anyone that is involved in VMWare View deployments get familiar with generating vmware view log bundles for support from the View Brokers:

View Connection Manager->Start->VMWare->Generate View Connection Server Log....

Log Information from this error:

Error while adding the administrator. Please re-check your information com.vmware.vdi.admin.ui.common.ViewFlexFactory$ViewProxy.invoke(SourceFile:87)
com.vmware.vdi.admin.ui.common.FlexRemoteException: Error while adding the administrator. Please re-check your information
at com.vmware.vdi.admin.ui.bean.VCServerBean.addAdmin(SourceFile:500)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)



Resolution

What I did realize is that the issue was mainly with the DNS resolution within the environment and with the latest Virtualization Migration, a couple of Domain Controllers were converted and dcpromo'ed out. When I ping'd and nslookup'd the domain, I noticed a couple of IP addresses of DC's that no longer exist. If anyone has not realized yet, on any VMWare View deployments, a solid windows Domain infrastructure is most important and mis-configurations that may "fly" in a non-virtualized desktop environments will not work well in VMWare View, Citrix Xen, etc...

The main problem is that the Virtual Center Composer and View Manager could resolve users and adding vCenter Servers, however the View composer component requires the user to be fully authenticated across each domain set and if there is a single DNS resolution failure of authentication controllers for the QuickPrep user, the user for QuickPrep will not be added with error noted in this post. The KB Article in this post from VMWare covers most of the issues that can cause this error as well, so please refer to that as well since.

I found the old domain controllers entries in the "Domain Controllers" OU's and Sites/Locations, then:

1) Removed the non-existent DC controllers entries manually.
2) Cleaned up DNS entrires all around.
3) Then re-synced the Domain
4) Went ahead restart the View Manager's and vCenter server with View Composer service (could have probably flushed, but went with clean restart)
5) Then added the Domain Administrator account to View Manager composer QuickPrep user

Done!!!

Again, the bottom line is to ensure proper domain administration and Virtualization in general is a great opportunity to "right" the "wrongs" of the past.

Hope this information was useful and please feel free to comment.

Dave

Thursday, December 22, 2011

Desktop Virtualization - Windows 7 IOPs and Impacts on VDI Deployments

Overview

I recently came across an excellent resource describing Windows 7 IOPs and performance impacts on Desktop Virtualization environments. There are excellent points made around the importance of preparing the Windows operating systems for VDI, allocating storage capacity based upon upfront analysis, validating your expectations prior to production and the importance of determine the VDI environment user roles.

Understanding and getting a grasp on your VDI IOPs is one of the most important attributes for a success VDI Deployment.

Successful desktop deployments involve doing your homework, understand the technology and research "lessons learned" from others that have deployed. You can't believe everything you read, so you will have to dig through the marketing hype to get to the valued information.

One item I would like to point out is the use of tools to validate your VDI deployments. Storage is about 40% of the overall cost of any VDI deployment, so if you have the ability to prove out your IOPs on a small scale system before large scale deployments with your expected user profile usage, that is ideal. Personally I like using IOMeter to generate "simulated" user I/O since this tool has the ability to custom generate scripts. If you have a knack for scripting, couple with this "Autologon" and login scripts and you can deploy 100's of VDI desktops through your provsiioning manager (View Manager, PVS, DDC, etc..) to burn-in your environment prior to production that will launch IOMeter scipts. I also recommend AutoIT VBScript builder as well to simulate launching and type withing applications.

Below are a few links that provide details on IOPs and VDI solutions from "real world" implementations:

Windows 7 IOPS:

Windows 7 IOPS for VDI: Deep Dive

Virtualization blogs (just a few):

http://myvirtualcloud.net/
http://blogs.vmware.com/view/
http://www.brianmadden.com/blogs/brianmadden/default.aspx
http://www.petri.co.il/forums/index.php

Please feel free to comment or contact me for more details:

Dave Harmon