In the last time I get a lot questions and feedback to some older posts (Active/Passive Cluster) where I used DRBD. And actually I never wrote how to setup DRBD and I try to fill this gap now. Also this post will be a new ground for some new ideas and posts related to Active/Passive Clustering with KVM.
DRBD (Distributed Replicated Block Device) is a really cool cluster solution to have radundant data on two or more nodes. Everybody know RAID, DRBD is like RAID 1 over network.
Continue reading ‘DRBD master/slave setup’
Virsh is the main interface for managing virsh guest domains. The program can be used to create, pause, and shutdown domains.
Some of this commands may be helpful if you have no chance to run virt-manager.
Show guest information:
Show a list of all running guests: virsh list
Show a list of all available guests: virsh list –all
Show a guest’s info: virsh dominfo GUEST_NAME
Continue reading ‘KVM manage virtual machines with virsh’
Some days ago I started to give up my VMWare Workstation Server (version: 6.5.1 build-126130) that is running on Debian Lenny.
The reason was it’s very difficult to upgrade (you see my installation is a little bit outdated:)) and maintain.
The first step is to migrate to VirtualBox running. And I wrote this little tutorial to migrate VMWare VMDK Image to VirtualBox.
File -> Virtual Media Manager
Continue reading ‘Convert VMware Image .vmdk to VirtualBox Image .vdi’
I was playing again a little bit with KVM virtualization and found one very strange thing, my KVM kills guests instead of properly shutdown.
KVM just sends an ACPI signal to the guest to tell it to shut down. Of course, this means the guest needs to do something useful when it receives the signal. By default Debian/Ubuntu guests don’t understand ACPI signals.
The solution is: install acpid in each guest.
aptitude update ; aptitude install acpid
After installing this, the ’shutdown’ and ‘reboot’ buttons worked perfectly!