Category: virtualization


This assumes that your host machine has a sound card! :)

Add the args line in your /etc/qemu-server/<vm id>.conf file should give you sound:

args: -soundhw

On my Proxmox VE 1.8, I have several virtual audio devices available.   I’ve had the best luck with ac97 with Windows XP/Vista and Win7.

red:/etc/qemu-server# kvm -soundhw ‘?’
Valid sound card names (comma separated):
pcspk       PC speaker
sb16        Creative Sound Blaster 16
ac97        Intel 82801AA AC97 Audio
es1370      ENSONIQ AudioPCI ES1370
hda         Intel HD Audio

-soundhw all will enable all of the above

Look no more, as a simple driver option in your /etc/X11/xorg.conf needs to be added to the Device Section: Option “AddARGBGLXVisuals” “True”

Now your applications running in VMware Unity mode won’t jump all over the place! The option doesn’t appear to be needed for single monitor setups.
View full article »

I installed Ubuntu Eucalyptus cloud (#UEC) on a couple of servers at home. I was naively expecting it to be similar to VMware. Oh I was wrong.

UEC is the Eucalyptus ‘cloud’ software running on Ubuntu servers. The instances would run under the KVM or Xen hypervisors. Ubuntu’s defaulted to running KVM but isn’t restricted by it.

“Eucalyptus is a software available under GPL that helps in creating and managing a private or even a publicly accessible cloud. It provides an EC2 compatible cloud computing platform and S3 compatible cloud storage platform…” Eucalyptus Beginner’s Guide

This is how a vm works in UEC:

You publish an image that you previously installed all the software you need (or you can download such an image). There can be as many instances of this image running as the hardware supports (spread across N number of backend Node Servers).

All instances are transient. As long as an image is running, it will have a physical presence.. but when it is shutdown, the instance is removed including any work performed in the instance.

“static” storage is available via a Storage Server. After you create an image but before you start it, you have the opportunity to attach storage to the instance.

Diagram courtesy of Eucalyptus Beginner’s Guide – UEC edition

While the management tools for UEC, and therefore Amazon EC2/EM, are primitive compared to VMware, it should be able to scale much higher with far less focus on which ‘virtual machine’ goes where.

Using VMware vCenter Converter and getting a SQL_CANTOPEN or similar error?  Make sure your backup (Carbonite in my case) is disabled else it may try to backup the database for the converter and lock the files from being written to.  Anyone know where VMware keeps this database?

I was able to move a VMware Server 2.0 (v7) vm to VMware ESX..  it was a *live* copy where I performed a Windows Volume Shadow copy of the vm files.  Everything worked for the most part but because the database, Sybase ASE 15.0.3, was running when the shadow copy was made, we had corruption in one database.  Restore from backup and all is good.

Now we need to get an updated license file from Sybase as the NIC mac address has changed..   You can *not* use the mac address from the VMware Server on ESX.  grr.

Twenty hours for the volume shadow copy to complete plus another 12 hours to scp the files to the esx box (esx console access is sloooow).   Keep in mind that the host VMware Server box was rebooting itself randomly so I really couldn’t leave it alone.  Then 3 hours to convert/clone the vmdk files and 2 hours to correct the database…  I’m tired.

It turned out to be an issue with allocating 3.75GB to a VM that was causing the rebooting.  Dropping it to 2 GB resolved the rebooting… who knew?  Nothing in Google and VMware Support wasn’t able to find anything on their side.