haripotter’s technorati

Just another WordPress.com weblog

Vbscript to revert a ESX Virtual machine snapshot

First of all, let me clarify that the snapshot restore is completely done by the VMWARE perl toolkit. But there may be instances where you cannot remember this long command to revert a virtual machine snapshot. You could create a vbscript function that will help you out with a much easier syntax . All you’ll need is the esx host name where the virtual machine is registered to, the login credentials to the esx host and the virtual machine name. Another advantage is you could use this from QTP to automate the vm snapshot restore process.
Read more »

July 16, 2008 Posted by haripotter | HP Quality Center and QTP, Virtualization | , , , , | No Comments Yet

ESX Server 3.0.x hosts in a VirtualCenter 2.5 environment enter a not responding state after applying certain ESX Server patches

Recently I saw my ESX hosts registered in Virtual Center 2.5 show up as not responding. But I was able to login to the ESX host directly without any problem. Later I found that it has something to do with the ESX patches. I’m qouting an article in vmware website that explains this issue and the patches that you might want to install. Unfortunately this did not solve my problem.. So I’ll keep looking… :(

Overview

ESX Server 3.0.x hosts managed by VirtualCenter 2.5 must have their Host Agent (hostd) specially configured to work with VirtualCenter 2.5. This configuration is done automatically during the initial installation of the VirtualCenter Agent (vpxa). If an ESX Server patch is subsequently applied that includes the esx-hostd RPM package, like ESX Server patch 1002435, the patch replaces the existing Host Agent (hostd) configuration file (/etc/vmware/hostd/config.xml) and undoes vpxa’s changes. This reverting of the Host Agent configuration file breaks connectivity with VirtualCenter 2.5. 

Read more »

May 19, 2008 Posted by haripotter | Virtualization | , , | No Comments Yet