Apr
09

Nutanix RA VMware Horizon Suite Overview – 5000 connections & 400 Desktops

In a 2U Block 5000 Horizon Data Connections & 400 desktops

I normally don’t brag but it’s a known secret is I told Steve Poitras to use black marker, you’re welcome.

Oct
10

Two VMware View KB’s – HPET & Storage Accelerator with PowerShell Is A No Go

The first KB I find interesting but I thought I should post the second one because of my blog post on shutting down and bringing up a View environment for time sharing. Apparently if you use PowerShell to do update your pools the Use host caching option in the pool’s Advanced Storage Settings tab gets deselected.

Having HPET enabled in a Windows 7 virtual machine can cause View Agent to become unreachable

View Storage Accelerator becomes disabled when using Powershell to update Automated Pool

Sep
05

Don’t Act a Fool: Use a View Appliance

At VMworld last week I had the pleasure to sit in EUC1494 – Plug and Scale “View Appliance”. This first half of the session the presenters talked about the Rapid Desktop Program and a in house VMware View Config Tool. The tool is for fast View installation from proof of concept to scalable production. The VMware View Config tool was code named Catalyst. Project Catalyst was also the same name used by VMware for a orchestration tool to create Multi-tenant VDI environment using VMware View and vCloud Director(also a great session). The VMware View Config tool had used the name first so I guess it wins! The View Config tool will add hardening practice guidelines and security integration in the future to it’s baseline installation. [Read more...]

May
22

VMware EUC KB articles – May 22nd, 2012

VMware View Manager
Importing an SSL certificate from Microsoft Certificate Authority to a View Connection or Security Server (2016032)
Date Published: 5/18/2012
Attempting to view persistent disks fails with the error: java.lang.IllegalArgumentException (2016056)
Date Published: 5/15/2012
Authenticating Kiosk users in View Manager fail with the error: Unknown user name or bad password. (2017010) [Read more...]

May
17

#VDI Tip 73: Enable SSO for View 5.1

How to enable SSO for View 5.1
• Enable “log in as current user” Client GPO policy
• Edit “Servers Trusted For delegation”
By default, this feature is turned off until you provide a list of View Connection Servers that can authenticate with the “log in as current user.“

May
16

VMware EUC KB articles for the Week of May 14th, 2012

VMware ThinApp

· A ThinApp which includes the .NET Framework generates the message: Event ID: 1101 “.NET Runtime Optimization Service (clr_optimization_version) – 1>Failed to compile:” (2018794)

· Running a ThinApp application fails with the error: License problem: Unable to validate your license (2019985)

VMware View

· Unable to install VMware View Composer 2.7 with Oracle ODBC connectio

· Persona Management fails when Novell Secure Login is installed

· Attempting to view persistent disks fails with the error: java.lang.IllegalArgumentException

Mar
08

#VDI Tip 65 – Repeat After Me – Tools and then the Agent

Anytime you upgrade the VMware tools on your VDI image you need to reinstall the View agent again. The tools can replace the VGA driver and end up causing blurriness, disconnects or no connection at all. I found a nice table at the Teradici website and in a VMware KB that you can reference.

 

Windows XP

Windows Vista

Windows 7

View 3.1.3 build 252693

VMware SVGA II
Version: 11.6.0.35
Dated: 4/21/2010
VMware SVGA 3D
Version: 17.14.1.42
Dated: 4/21/2010

Not Supported

View 4.0.2 build 294291

VMware SVGA II
Version: 11.6.35
Dated: 4/21/2010
 

Not Supported

View 4.5.0 build 293049

VMware SVGA II
Version: 11.6.37
Dated: 7/16/2010
VMware SVGA II
Version: 11.6.37
Dated: 7/16/2010
VMware SVGA 3D
Version: 7.14.1.49
Dated: 7/16/2010

View 4.6.0 build 366101

VMware SVGA II
Version: 11.6.0.37
Dated: 7/16/2010
VMware SVGA II
Version: 11.6.0.37
Dated: 7/16/2010
VMware SVGA 3D
Version: 7.14.1.49
Dated: 7/16/2010
View 5.0 build 481677 VMware SVGA II
Version 11.7.5.0
Date: 7/12/2011
VMware SVGAII
Version: 11.7.5.0
Dated: 7/12/2011
VMware SVGA 3D
Version 7.14.1.1061
Date: 7/29/2011

VMware KB: The PCoIP server log reports the error: Error attaching to SVGADevTap, error 4000

Mar
07

VDI-IOmark – VDI Storage Benchmarking For People With A Schedule

Translating Max IOPS into how many users you can fit onto a storage array(s) can be a pretty complicated question to ask of someone. Workloads are random between users, different blocks sizes are hitting the storage, AV is getting in the way and the list goes on and on. 20 IOPS per user is big joke in the VDI space. While 20 IOPS may represent the average, the deviation from that number can be astonishing. I encourage you watch Applied Math for VDI Design: A Statistical Approach to Designing VDI Environments. The session was presented at BriFourm last year and now is free. If you watch the video, you will see and understand what you need to be planning for.

VDI-IOmark from Evaluator Group is a tool that can tests your storage subsystem with realistic workloads. IOmeter can only give you simulated IO and not all the crazy behaviors of actual workload. VDI-IOmark uses workload replay from previous work captured from VMware RAWC implementation(View Planner). VDI-IOmark has 64 unique replays. The workloads range from 5 IOPS -20 IOPS on average but have peaks over 100. Microsoft Office(Excel, Powerpoint and Outlook), Internet Explorer, 7zip and Windows Media Player were all used to creat the replay. Boot and steady were also included in the replay. The tests are not dependent on your server platform, switching fabric or storage protocol so that’s a big thumbs up but it doesn need to run on .

The great thing about VDI-IO mark it that requires less the time to configure than building out a full environment. This is great if want to repurpose some old storage and test it our prior too or if you’re a consultant, you can do apple to apple comparisons between different vendors. Also since is each replay file contains 8 workloads test you can test your storage subsystem will less server hardware, you don’t need all the RAM it would normally take in a traditional LoginVSI or View Planner test. It’s always hard to get more money for test gear but people always want to know what the expensive box can do in the datacenter.
[Read more...]

Feb
11

VMware ADAM Database – Backup & Connect

Working with the ADAM database in VMware View is kind of like going to the dentist. You never want to go there, your reasons for going are usally related to pain, but your glad when it’s all said and done. This post will form the ground work for a series of tips & articles over the next couple of weeks. The article references all locations in terms of Windows 2008. If you’re running Windows 2003, god bless you.
Step 1 – Always Get a Current Backup
In the VMware View Administrator console you get create an on-demand backup Under View Configuration -> Servers.
Once the backup is complete, go to the server you ran the backup on and move the .LDF and .SVI file to a “safe location”.

The backup location is: C:\ProgramData\VMware\VDM\backups
.LDF = ADAM database
.SVI = View Composer Database

Step 2 – Connecting to the ADAM database

To connect to the View ADAM database:
1. Log in to one of the View Connection Servers.
2. Click Start > Administrative Tools > ADSI Edit.
3. In the console window, right-click ADSI Edit and click Connect to.
4. In the Name field type: View ADAM Database
5. Select Select or type a Distinguished Name or Naming Context.
6. In the field below, type dc=vdi,dc=vmware,dc=int
7. Select Select or type a domain or server.
8. In the field below, type localhost
9. Click OK.
10. Click View ADAM Database [localhost] to expand.
11. Click DC=vdi,dc=vmware,dc=int to expand

Feb
02

Automatically Turn Off and On Build to Lossess Based on Internal or External Access – VMware View 5.0

I’ll start off by saying the vast majority of users will never be able to tell the difference with Build to Lossess(BTL) turned off or on. VMware recommends in its PCOIP Performance Best Practices to have it turned off by default. BTL turned off is one of three major bandwidth saving in View 5.0. The other bandwidth saving features are the client side caching and the lossess codec for text.

I can see the need for it with special uses cases like in the Medical Field or high end graphical workstations in the office, but when you go home at night you just want to check an couple of emails. So lets begin.

All the PCOIP sessions variables can be controlled by Group Policy Administrative (ADM) Template files. The View ADM template files are installed in the install_directory\VMware\VMware View\Server\extras\GroupPolicyFiles . To get this to work we need to use:

    vdm_agent.adm – used to run a viscual basic script or PowerShell script on Connect or Reconnect
    pcoip.adm – used to set the defaults for Frame Rate, BTL, Image quality and many more.


The PCOIP will take the settings you provide and apply them at the time you connect to your virtual desktop. If you want to verify the settings are being used you can check the logs on the VM at :\ProgramData\VMware\VDM\logs ( I am pretending everyone is running Windows 7). The first few lines of code in the pcoip_server*timestampOfConnection*.log. will show the settings, see below.

02/02/2012, 22:04:16.737> LVL:0 RC: 0 MGMT_ENV :cTERA_MGMT_CFG::load_server_config_from_stores[1]: Did not process over-rideable pcoip defaults from registry.

02/02/2012, 22:04:16.737> LVL:0 RC: 0 MGMT_ENV :cTERA_MGMT_CFG::Registry setting parameter pcoip.audio_bandwidth_limit = 150

02/02/2012, 22:04:16.737> LVL:0 RC: 0 MGMT_ENV :cTERA_MGMT_CFG::Registry setting parameter pcoip.image_cache_size_mb = 300

02/02/2012, 22:04:16.737> LVL:0 RC: 0 MGMT_ENV :cTERA_MGMT_CFG::Registry setting parameter pcoip.enable_build_to_lossless = 0

You can only detect where the user has connected from after the fact, you will have to make your users disconnect to make the necessary changes. So I guess it’s not that automatic but it’s the best I good come up with.

How do you tell where the user connected from?

You can find out from the following registry key –
HKEY_CURRENT_USER\Volatile Environment\ViewClient_Broker_URL
If they are connecting from outside your corporate network it should be the name of your security server which you can check for. If your using an F5 device and no security servers you will have to use
HKEY_CURRENT_USER\Volatile Environment\ViewClient_IP_Address
and create your own logic. PowerShell might be the easiest to use because it has a LIKE operator which will make a quicker job of comparing strings.

So here is the code that you use to accomplish the task of turning BTL off. I named the text file Flip-BTL.vbs

'Declare Environment Variables

Dim ViewBroker, BTL

'Set Environment Variables

Set WSHShell = CreateObject("WScript.Shell")

'Lookup values in registry and assign to variables

ViewBroker = WSHShell.RegRead("HKEY_CURRENT_USER\Volatile Environment\ViewClient_Broker_URL")

BTL = WSHShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Teradici\PCoIP
\pcoip_admin_defaults\pcoip.enable_build_to_lossless")

'Check Build to Lossess and if they are connecting to a security server

If ((ViewBroker = "External-Broker-Name") And (BTL = 1)) Then

WSHShell.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Teradici\PCoIP\
pcoip_admin_defaults\pcoip.enable_build_to_lossless","0","REG_DWORD"

'Test Message Box inform the user

MsgBox "Your Connected from a Remote Location, to get better performance please disconnect and connect to get optimal user experince. A new setting must be applied"

End If

'Check to see if they connected from home and turned BTL off but are now back on the LAN
If ((ViewBroker = "Internal") And (BTL = 0)) Then

WSHShell.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Teradici\PCoIP\
pcoip_admin_defaults\pcoip.enable_build_to_lossless","1","REG_DWORD"

'Test Message Box inform the user

MsgBox "Your Performance is optimized for a slow link. To have the best user experience disconnect your session and log back in. A new setting must be applied"

End If

To get the code to run when the user connects into their session we must use the vdm_agent.adm. The graphic below shows a local policy but you should use an AD one for better manamgment.