A. Mikkelsen VMware ESX scripts, commands, tools and other nice to know things that will make your virtualization days easier!!!!

Tuesday, April 28, 2009

VMKUSAGE is back… Can you belive it…..

Filed under: Performance,Tools,Virtual Center — Tags: , , , , , — A. Mikkelsen @ 21:17 pm

VMware have included the old and trustworthy performance monitor VMKUSAGE in VC 2.5 U4.
This time the monotor has been added to VC as a plugin.

To get access to the new plugin you have to follow this knowledge base article.

If you like me upgraded your VC without stopping the Webaccess service first you have to follow this KB article before the plugin will work.

See more screenshots at www.run-virtual.com.

Saturday, March 21, 2009

Problems uninstalling VMware Tools

To night I had problems with uninstalling VMware Tools in a VM after updating to the latest ESX release.

The uninstaller kept asking me to insert the “VMWare Tools” disk and click OK”.
In the popup window there is pull-down field labeled “Use Source” and in this field is the number one (“1”).

If I tried to browse to the the “VMware Tools.msi” it returns an error: “The file ‘X:\VMware Tools.msi’ is not a valid installation package for the product VMware Tools…”

The solution I used to get around this problem was simply:

  1. Open the registry
  2. Locate “[HKEY_CURRENT_USER\Software\Microsoft\Installer\Products\8E24D35BB278E034284D0860A513CF1E” and delete it.
    (If you don’t want to delete it, just rename it or make a backup first)
  3. Run the VMware Tools installation again.

And wola it nor works 🙂

Tuesday, January 13, 2009

Windows Server 2008 and SYSPREP in a VMware enviroment

Filed under: Tools,Virtual Center,vSphere (ESX),White Papers — Tags: , , , , , , , , , — A. Mikkelsen @ 19:52 pm

After we have allowed Windows 2008 Servers in our VMware VI enviroment, we been having problems sysprepping Windows 2008 Server.
So here is a quick guide to sysprep a Windows 2008 server in a VMware VI enviroment.
(Use this workaround until VMware VI allows you run sysprep against a WIN2008 Server)

  1. Change the source or templates Guest Operating Systemsetting to “Vista (32 bit)” or “Vista (64 bit)” depending on the installation of the Windows 2008 server installation.
  2. Clone the VM or template and you are now able to customize your Win2008 server with sysprep.
  3. After the cloning is done Power On the new VM and let the customization complete.
  4. Shutdown the VM and change the Guest Operating Systemsetting back to “Windows Server 2008 (32/64 bit)”

The reason the above workaround works is that Vista and Server 2008 has sysprep build into the OS and the sysprep in both OS’s and are based on the same technology.

Read more here




Sunday, September 28, 2008

Converting vcinfo from Perl to PowerShell

The past few days I have been trying to learn the basic of PowerShell and the VIToolkit for Windows.
And after playing around with it, I thought that the best way to learn PowerShell was to have a goal.

And what better goal than converting the vcinfo script I created with VIPerlToolkit.

A beta version of the script is now avaiable for download – get it here.
But I have to warn you – the script is still in beta.

I have added a few of the old information and some new ones.
More info will be added when I get the time.

If you have any suggestions on what info the script should show in VC, please let me know.

Adding your own PowerShell Scripts to VC – yes it’s possible….

Filed under: PowerShell,Scripting,Tools,Virtual Center — Tags: , , , — A. Mikkelsen @ 19:58 pm

I was surfing around for new powershell scripts and came across an application for icomasoft that gives you the abbility to add and run your own PS scripts from Virtual Center.

Thyis is just too cool.
Check it out.

It’s now possible to run ESXi / ESX 3.5.x in Workstation 6.5

Filed under: ESXi,Virtual Center,vSphere (ESX),White Papers,Workstation — A. Mikkelsen @ 19:49 pm

This isn’t new!
But what is new, is that it’s now possible to run VM’s inside the hosts.

The performance isn’t the best, but it’s OK for testing.

Read the full article here.

Upgrading VMware Tools for Linux guests

Filed under: Linux Commands,Virtual Center,vSphere (ESX) — A. Mikkelsen @ 19:36 pm

Today I came a cross 2 possible solutions for upgrading the VMware Tools for Linux guests.

One soultion is using a custom scripts in the guest to upgrade the tools.

The second solution describes how to use Virtual Center to upgrade the tools.

The article also describes some of the advanced options parameters you can use to control the tool upgrade.

Read the entire article here.

Friday, August 8, 2008

Automate configuration of host with statelesx

Filed under: ESXi,Scripting,Tools,Virtual Center,vSphere (ESX) — A. Mikkelsen @ 22:31 pm

www.vinternals.com has release a super cool looking tool (appliance) for automating the configuration of multi hosts.
The appliance is called statelesx (pronounced “stateless”).

Get more details on this super cool appliance at www.vinternals.com.

Monday, July 28, 2008

VirtualCenter Passthrough Authentication

Filed under: ESXi,Tools,Virtual Center,vSphere (ESX) — A. Mikkelsen @ 20:39 pm

Dominic Rivera has documented a undocumented feature of VirtualCenter.

A very useful, yet very undocumented feature of the Virtual Infrastructure Client is that it can be configured to automatically pass your Active Directory credentials without you typing them in. To use: create a shortcut to the Virtual Infrastructure Client, then right-click on it and edit the shortcut properties. You’ll need to pass the program two arguments when calling it like so:

“C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe” -passthroughAuth -s vc.yourdomain.com

Where “vc.yourdomain.com” is replaced with the DNS name for your VirtualCenter server. It’s extremely simple and just might hold of carpel tunnel syndrome for an extra few days.

Thursday, July 10, 2008

Howto move the VC database from one MSSQL to another MSSQL

Filed under: Virtual Center,White Papers — A. Mikkelsen @ 21:16 pm

Today i came accross this guide on howto move the Virtual Center database from one MSSQL server to another.

Read the full guide here..

I know that this guide will be usefull when i next week have to do just that.

Read my local copy here

« Newer PostsOlder Posts »

Powered by WordPress