When reading the VMTN forum I stumbled upon a topic about checking the VMFS for snapshots. Besides snaphunter by Xtravirt, which is an excellent script, there isn’t much out there. You can check the VirtualCenter database for snapshots but this way you would not notice the orphaned snapshots. (Orphaned snapshot occur when the vmsd file gets corrupted.) A couple of months before Xtravirt posted their script I wrote my own snapshot checking script named snapcheck.sh. [Read more…] about Checking for snapshots, html email report!
Undocumented VCB config.js feature
One of my customers wanted to use the default VCB framework but did not want to quiesce the VM for several reasons. (Databases, Active Directory etc.) I could not find an option in the config.js file but noticed the following in the file glue.js:
// A fallback to be able to switch to non-quiesced snapshots
if (typeof(NO_QUIESCE) != "undefined") {
cmd +="-Q 0 ";
}
In other words, setting the option “NO_QUIESCE” with no value in config.js results in the VM not being quiesced, default it will quiesce the VM! I added the following line to the config.js file to accomplish this:
NO_QUIESCE="";
P2V’ing a Suse Linux server
I just P2V’ed a Suse Linux Server with the cold boot iso. When booting I was confronted with a kernel panic. This is caused by the fact that the modules for the LSI Logic or Bus Logic SCSI card aren’t available, which causes the root volume to be unmountable. I tried to boot from the installation CD with the “rescue” option but this did not provide me with a fast solution for the problem. But the following was a quick fix:
- Boot from Suse CD
- Select to setup a new system
- Select to boot from the currently installed OS
- Run Yast and configure the correct SCSI controller
- Remove all the NICS and configure a new NIC
- Install VMware tools
Swap files in 3.5 and the EMC Celerra PDF
The PDF I blogged about yesterday included info about 3.0.x and 3.5 features. One of the things that was missing was the option to have the swapfiles created locally. In 3.0.x this done by setting the option “sched.swap.dir” in the .vmx file. The only problem is that this prohibits you from using VMotion for these VM’s. In 3.5 VMware resolved this issue. It’s now possible to set the swap file location to local storage and keep VMotion at the same time. This can be done very easily the following way:
- Edit setting on cluster, click “Swapfile location” and select “Store the swapfile in the datastore specified by the host”
- Click on the ESX Host, click on the “Configuration” tab, click on “Virtual Machine Swapfile Location” and “edit”
Select “Store the swapfile in a swapfile datastore selected below”
Select the local attached storage: [hostname:storage1]
Installing the Converter plugin crashes the VirtualCenter client – PART II
For those who did not have any luck with the deleting of the dll(ssleay32.dll) described in this blog, there’s another possibility to enable the VMware Converter plugin without crashing your VirtualCenter client:
Go to the following registry key:
[HKEY_CURRENT_USER\Software\VMware\VMware Infrastructure Client\Preferences\UI]
And set the following key to “Enabled”
“C:\\Program Files\\VMware\\Infrastructure\\Virtual Infrastructure Client\\Plugins\\Converter Enterprise\\plugin.dll”