Converting Open Virtualization Format (OVF) -Virtual Machines to VMware Fusion

Ray over at Yellow-Bricks.com has posted about how to get an OVF virtual machine (usually VMware Appliances) converted so you can open them in VMware Fusion on the Mac. Here’s his link:

http://www.yellow-bricks.com/2011/02/26/converting-open-virtualization-format-ovf-virtual-machines-to-vmware-fusion/

Copied here for reference:

I needed to run an appliance inside VMware Fusion on my Mac, the appliance was in OVF format. VMware Fusion currently does not support this format and requires you to convert the image with a tool called ovftool which can be downloaded at the following location:http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf

Conversion is as simple as:

./ovftool "source.ovf" "target"

Optionally you could use parameters that are described in full detail when running ovftool –help. What remains is importing the created .vmx into Fusion, that’s it.

 

Performance Troubleshooting for vSphere 4.1

Chethan Kumar has recently updated the Performance Troubleshooting for vSphere 4.1 guide. This is a great asset I use regularly for any client or partner that asks about vSphere performance – especially those working with Tier 1 applications. It is very educational and addresses the most common scenarios clients experience.

Abstract:

“The hugely popular Performance Troubleshooting for VMware vSphere 4 guide is now updated for vSphere 4.1 . This document provides step-by-step approach for troubleshooting most common performance problems in vSphere-based virtual environments. The steps discussed in the document use performance data and charts readily available in the vSphere Client and esxtop to aid the troubleshooting flows. Each performance troubleshooting flow has two parts:

1. How to identify the problem using specific performance counters.
2. Possible causes of the problem and solutions to solve it.”

It is located here: http://communities.vmware.com/docs/DOC-14905

VMware MSCS NPIV Support Clarified

NPIV or N-Port Virtualization is a method of utilizing a single Fibre Channel port to serve multiple physical or virtual servers.  NPIV allows a single SAN device to service multiple WWNs without additional switching infrastructure.  NPIV is the technique used by blade system hardware to reduce the complexity of  SAN connected blades.  NPIV allows SAN connectivity without requiring Fibre Channel switches to be installed within the blade chassis.  VMware also uses NPIV within the Raw Device Mapping (RDM) infrastructure.

Due to a statement in VMware documentation, confusion has arisen over support of Microsoft Cluster Server (MSCS) in a VMware environment where NPIV is utilized.  In short NPIV is supported with VMware and MSCS where a hardware device such as HP Virtual Connect or Cisco UCS provides the NPIV functionality but not where VMware is providing the NPIV (checking the box in the guest config of a VM for NPIV).

How-To Make XPe a View Appliance

Background:
I had a need recently to modify the behavior of a Windows XPe (embedded) device to act as a VMware View Appliance. The goal was to end up with a device which would boot and launch the View Client connect to the View Manager and challenge the user for their ID/Password. Then connect to a specific virtual desktop.

Some devices have a wizard for configuring exactly this behavior, however the device I’m working with seems to have no such feature.

This is just a little diferent from the ‘kiosk mode’ feature of View in that the View Client does challenge the user for their credentials rather than having the login credentials stored/passed to it.

Note, a variation on this idea could be used to make a repurposed desktop act as an appliance for either View or XenDesktop.

This could also be made a little prettier by using a .vbs script and wscript rather than the .bat file and cmd.exe.

Solution:
1.) Disable File write filter
2.) Write batch/cmd file which launches View Client with appropriate parameters in a loop (points to VMware – View client accepts USB pass-through and desktop to launch from the command line).
3.) Modify for the auto-login user – hkcuSoftwareMicrosoftWindows NTCurrentVersionWinLogonShell to launch the batch/cmd file. You can do this using the ‘load hive’ feature of regedit running as the admin user.
4.) Logout as admin, let the auto-login login as user – test, test, test.
5.) Modify CMD launch properties to minimize the cmd window size.
6.) Kill the CMD process
7.) Logout of ‘user’ session (ctrl-alt-del)
8.) Enable File write filter

End result:
When the user logs in explorer.exe is never launched, and the view client presents it’s login challenge. When the view session terminates the .bat file re-launches the view client … forever.

Contents of Command file:
REM – ViewAppliance Shell Script
ECHO OFF
:START
C:Program FilesVMwareVMware ViewClientBinwswc.exe -serverURL ViewManager -desktopName Destkop -connectUSBOnInsert true -connectUSBOnStartup true
goto START

VMware vStorage APIs for Array Integration FAQ

I ran across this awesome link that discusses the arrays that support VAAI and how to double-check if it’s configured.
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1021976

 

This article provides answers to frequently asked questions about vStorage APIs for Array Integration (VAAI).
Note: For more detailed information about VAAI and when it is used, see Storage Hardware Acceleration in the ESX Configuration Guide.

VMware vSphere ESXTOP

If you are a VMware vSphere/ESX customer hopefully esxtop is something you are familiar with…if not please get familiar.  Esxtop is top for esx…get it?  Wondering how loaded your ESX host is?  Curious if there are performance issues on your ESX host or underlying infrastructure?  ESXTOP is your friend…and now we have a document from VMware to help interpret the wealth of information that ESXTOP gives us.  http://communities.vmware.com/docs/DOC-11812

Now all you need are some thresholds to compare those statistics against.