Archive for the ‘VCP/VCDX’ Category

Unable to update to ESXi 4.1 using VC Client Update Manager – “Failed to read the upgrade package metadata.xml”

Friday, July 23rd, 2010

I ran into some problems usingthe VC Client Update Manager. After checking the .ZIP update file it came with an error.

The solution, download the .ZIP upgrade file, extract it and copy it to your ESXi server using winscp or VC storage browse

Go to the directory where you placed the files and do the manual upgrade to ESXi 4.1 as follows :

Place your ESXi server into maintenance mode;

esxupdate update -m metadata.zip (after that restart your server and check the build level)

You’re al done!

How to enable SSH on ESXi

Friday, July 23rd, 2010

I install my ESXi servers with a pre-compiled version with ESXi with SSH access already enabled. But for the people who don’t, this is how you enable (unsupported!) SSH access to ESXi.

Logon to the console (you don’t have SSH access, so this is the only option)

Press ALT-F1 and type unsupported (you don’t see what you type) and hit enter.

You will be asked for the root password. Now you can edit using VI (no, nano isn’t there!) the /etc/inetd.conf

Search for #ssh (2 lines) and remove the #. Save the file using :wq and restart the server.

You are al done!

Changing the VLAN ID of a ESX Service Console from the Command Line

Friday, June 11th, 2010

This is just a quick note to describe how you can easily change the vlan ID of the service console in ESX.

To remove the vlan id completely, just set it to 0 (in case you have set it by accident on an access port)

esxcfg-vswitch vSwitch0 -v 0 -p “Service Console”

To set a vlan id on the service console (in case you forgot to define this during the installation)

esxcfg-vswitch vSwitch0 -v X -p “Service Console” (enter the vlan number where X is)

Of course make sure to check which vSwitch the Service Console is on (and the name of the Service Console) with esxcfg-vswitch -l

Difference between WWNN and WWPN

Tuesday, June 8th, 2010

I’ve got this question several times from customers, friends, co-workers etc. Suppose now it’s time to make a small blogpost of it. (Also handy for VCP/VCDX exams)

A WWPN (World Wide Port Name) is physically assigned to a part in a Fibre Channel device, such as a FC HBA or SAN. It is the equivalent of the MAC address in the Ethernet protocol as it is supposed to be a unique identifier in the netwok.
The WWN’s are administred by the IEEE like the MAC Address is. The first few octets are assigned to a manafacturer, the rest is arbitrary.

The WWNN (World Wide Node Name) is a World Wide Name assigned to a node in a Fibre Channel fabric. It is valid for the same WWNN to be seen on many different ports on the netwerk.

The WWNN can be regenerated, the WWPN not :

(Screendump of VM properties below)

More info in this (usefull) document : Brocade_NPIV_ESX3.5_WP

VMFS access is slow (unload VMFS-2 & NFS drivers)

Tuesday, June 8th, 2010

When using several VMFS 3 datastores, there is no need to use the VMFS 2 driver. You can unload the driver with the following command :

vmkload_mod -u vmfs2

Also, if you are not using (or planning to use) NFS datastores, you can also unload the NFS driver with the following command :

vmkload_mod -u nfsclient

In my (growing) lab environment the performance improvement was considerably.

Updated : VCDX Defense dates this year

Saturday, June 5th, 2010

VCDX Defense

Defense interviews will be held during the following days:

  • July 5-9, Melbourne, Australia (Application Deadline: May 18)
  • August 23-27, San Francisco, CA (Application Deadline: June 21)
  • October 11-15, Copenhagen, Denmark (Application Deadline: August 2)
  • November 1-5, Cambridge, MA (Application Deadline: Aug 30)

Completed applications will be scheduled in the order recieved.

VMware vSphere 4 default installation settings (Gabes Virtual World)

Tuesday, May 18th, 2010

Gabe has a good blog post with VMware vSphere 4 default settings. Don’t agree with all settings although… read it here

Want to use Host Profiles without Enterprise Plus license ?

Monday, December 7th, 2009

For those people not using the Enterprise Plus license for vSphere :

Learn how to use vicfg-cfgbackup.pl — a RCLI command which could be found in the vMA.  This utility will allow you to create a backup and restore a full ESXi configuration. 

The commands vicfg-cfgbackup.pl (esxcfg-cfgbackup.pl) allow you to backup and restore the configuration of your ESXi host.

To backup the host you would run the command.

vicfg-cfgbackup.pl –server <server_name> -s <backup_file_name>

To restore your backup configuration to your host you would run. This will cause the host to reboot once the process is complete. NOTE: The host must be in Maintenance Mode for this to work. The backup configuration must also match the patch level of the ESXi install. You can add a -f to force if needed.

vicfg-cfgbackup.pl –server <server_name> -l <backup_file_name>

Windows 2008 R2 and Windows 7 Freeze on VMware vSphere 4

Monday, December 7th, 2009

Although this issue has been resolved with vSphere 4 U1, for those of you that haven’t upgraded please be aware of a known issue with Windows 2008 R2 and Windows 7 where the guest operating system can freeze for a long period of time.  The issue is noted in VMware KB 1011709.

The resolution is to either upgrade to U1 or to use the standard SVGA driver and not the one provided in the VMware Tools package.

VMware KB 1011709 Excerpt…

To deselect the SVGA drivers installed with VMware Tools:

When you install VMware Tools, select VMware Tools Custom Install and deselect the SVGA driver.

Alternatively, remove the SVGA driver from the Device Manager after installing VMware Tools.

Performance Best Practices for VMware vSphere 4.0

Monday, December 7th, 2009

Download it here : Perf_Best_Practices_vSphere4.0