Friday, July 26, 2013

VMware Tools version script

From time to time a client of mine asks about a way of listing the VMware Tools Version of his VMs for the sake of checking which ones are out of date.

Is there anything better than a script for the job ?!?!?!

For not having to poke around next time a client asks me about it again, I will post a simple script here, one that I have tested and I know it will get the job done.

Yeah I know there are plenty of scripts out there, ones more sophisticated than others, but this post is more for my own records. Don’t get me wrong ; )

It’s a powerCLI script, if you don’t know how to use it I recommend you read the basics here.

This script will get the VMware Tools version of ALL VMs of your environment and exclude the templates from the result.

Get-View -ViewType VirtualMachine -Property Name,Config.Tools.ToolsVersion -Filter @{"Config.Template" = "False"} | `Select-Object Name,@{N="ToolsVersion"; E={$_.Config.Tools.ToolsVersion}}

As you can see on the example above, for version 0 you get the ones which did not get VMware Tools installed at all, for the big numbers you get the ones provided by 3rd partys, probably the virtual appliances you have deployed.

There’s also an option to get the ToolsVersionStatus, but IMHO, I see not point on getting this information, this status is based on the comparison of the VMware Tools version installed on the guest with the version available on the host. If your host is out of date, your VM’s status would be listed as Current, even though it could be some versions behind.
So, my advice is to identify the latest tools version number and use it as a baseline for your comparison.

If you want to reduce the scope of your search you can also use commands like Get-Datacenter, Get-Cluster or Get-VMHost to reduce the surface of search.

Got get them tiger !!!

Tuesday, July 16, 2013

Oracle Character Set for VMware vCloud Director

While setting up an Oracle database to host your VMware vCloud Director information you may stumble at the Character Set definition for your database.

Character Set may be interpreted as how the system computes and stores the information, they use numeric codes instead of the graphical representation of the character.
Now you might realize how critical is for the system to convert data between character set correctly, especially in a multi language environment.

If you want to learn mor about Oracle Character Set check the Oracle Documentation here.

So, what about VMware vCloud Director, what language does that use and how should we set up the character set for it’s database ?

It’s fact, there’s no information at VMware documentation : (

The only thing that can helps us on these situations is the field experience.

Therefore I talked with a few VMware’s fellows and what worked on every case was:


So, use this configuration and you will be fine.

The only documented thing on vCloud Director 5.1.1 Release Notes is that you should not use NLS_CHARACTERSET JA16SJISTILDE.  This know issue was not documented on vCloud Director 5.1.2 Release Notes anymore but neither did I see it on the Resolved Issues section, so If I were you I would stay away of this configuration for now.

See you next..

Who am I

My photo
I’m and IT specialist with over 15 years of experience, working from IT infraestructure to management products, troubleshooting and project management skills from medium to large environments. Nowadays I'm working for VMware as a Senior Consultant, helping customers to embrace the Cloud Era and make them succefully on this journay. Despite the fact I'm a VMware employee these postings reflect my own opnion and do not represents VMware's position, strategies or opinios.

Most Viewed Posts

Blog Archive