Vinternals: howto disable the Capacity Planner

Vinternals wrote a short article on how to de-install or hide the Capacity Planner plugin for VirtualCenter:
Capacity planner is rather pesky to have hanging around on every VirtualCenter box in the enterprise… especially if you use some other tool for the job! So just add this line to the end of your VirtualCenter install script:
msiexec [...]

Howto: Rename a VM

There are a couple of ways to rename a Virtual Machine, but there are two in my opinion that stand out:

Shutdown the VM
Rename the VM in VirtualCenter
Migrate the VM and move it to another Datastore
done!

And from the service console:

vmware-cmd -s unregister /vmfs/volumes/datastore/vm/vmold.vmx
mv /vmfs/volumes/datastore/vm-old /vmfs/volumes/datastore/vm-new
cd /vmfs/volumes/datastore/vm-new
vmkfstools -E vm-old.vmdk vm-new.vmdk
find . -name ‘*.vmx*’ -print -exec [...]

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 [...]

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 [...]

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 [...]

Rescan all vmhba’s at once with the esxcfg-rescan command

Using the console it’s very easy to rescan a specific vmhba which can be useful when you are troubleshooting. For lazy people like me it’s disturbing that you have to type the command twice if you want to rescan both HBA’s. Well, as of version 3.5 VMware introduced a new setting in Advanced configuration section [...]

Howto: Sending html email from the service console

When writing the “Checking the diskspace on your VMFS volumes” blog I assumed that most of you knew how to send an email from the service console. I received a bunch of emails from people who were interested in how to setup the html email functionality. Well, here it is:
A while back VMGuru.com hosted a [...]

Checking the diskspace on your VMFS volumes

On a regular basis I noticed that people forget to monitor the free diskspace of their VMFS volumes. I created a script that can easily be scheduled with crontab and mailed with smtp_send. You can send it as an html based email if you setup MIME correctly. (For more info on how to set this [...]

Service Console redundancy

The last couple of weeks more blogs and topics appeared around the warning VirtualCenter gives when there’s no service console redundancy. Several people posted about a workaround to clear this warning. The workaround is very easy: temporarily assign an additional nic to the service console vSwitch and reconfigure your HA. Notice that I used ” [...]

RTFM 3i guide

For anyone interested in implementing 3i, Mike Laverick created another great pdf and again this is a must read: The RTFM 3i Guide.