February 12th, 2008
Filed under: Howto, VMware |
No Comments »
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 [...]
February 10th, 2008
Filed under: Howto, VMware |
No Comments »
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 [...]
February 6th, 2008
Filed under: Howto, VCB, VMware |
4 Comments »
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 [...]
February 6th, 2008
Filed under: Howto, VMware |
3 Comments »
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 [...]
February 5th, 2008
Filed under: Howto, VMware |
2 Comments »
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 [...]
January 25th, 2008
Filed under: Howto, VMware |
No Comments »
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 [...]
January 23rd, 2008
Filed under: Howto, Scripting, VMware |
29 Comments »
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 [...]
January 21st, 2008
Filed under: Howto, Scripting, VMware |
14 Comments »
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 [...]
January 14th, 2008
Filed under: Howto, VMware |
10 Comments »
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 ” [...]
January 8th, 2008
Filed under: Howto, VMware |
No Comments »
For anyone interested in implementing 3i, Mike Laverick created another great pdf and again this is a must read: The RTFM 3i Guide.