VirtualBox snapshots using the CLI

oracle-virtualbox-logoThis is how I use the VirtualBox snapshot option on my headless server. I use this feature for creating a restore point for a critical mail server upgrade I will soon post about. Because I will use this option more often it comes handy when recorded somewhere.

Specs:

  • Debian 6.0.6 “Squeeze”
  • Virtualbox 4.1.22-80657

See the Virtualbox snapshot syntax below

VBoxManage snapshot         |
take  [--description ] [--pause] |
delete | |
restore | |
restorecurrent |
edit ||--current
[--name ]
[--description ] |
list [--details|--machinereadable]
showvminfo |

(more…)

VirtualBox UUID mismatch

Today I experienced a fine VirtualBox error when I tried to start one of my virtual machines. I know it’s not good to run my machines under root privileges, but that’s still something I need to figure out. The error message gives a pointer to the machine it’s storage medium, as you can see below:

$ VBoxManage startvm vm04-zca8 --type headless
Waiting for VM "vm04-zca8" to power on...
VBoxManage: error: UUID {e4676691-0855-4cd9-bcb0-060067659b14} of the medium 'vm04-zca8/zca-8.0.0.0-1147-system.vmdk' does not match the value {d2d3284b-6ccb-452b-8567-1a35842eb866} stored in the media registry ('/root/.VirtualBox/VirtualBox.xml')
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Medium, interface IMedium, callee

(more…)

Zimbra and webOS

I would like to share my experience with webOS in combination with Zimbra Collaboration Suite. For the past two years I’m using Zimbra Open Source edition and I am pretty satisfied with it. It handles my email, contacts, calendar and tasks very well. Call me paranoid, but I don’t like Google or Yahoo! to watch over my personal data. All was working well till I received my first webOS device, an HP TouchPad, which I wanted to connect to my Zimbra server to manage email, appointments, contacts and tasks. Doing some searches I discovered it is possible to use Exchange (ActiveSync) with Zimbra Mobile, but I had the wrong edition of Zimbra. It appeared Zimbra Mobile is available for all Zimbra editions except for the Open Source edition I was using, that’s how they earn their money. I chose to go for the Zimbra Appliance Basic Free Edition. This free edition allows you to create up to 10 mailboxes, which is enough for myself and some family members.

I am using VirtualBox virtualization software, which works with the VMDK from the ZCA zip file. The configuration and migration from one Zimbra edition to the other went relatively smooth. The first thing to test was to setup my HP TouchPad and HP Pre3 smartphone (both collectors items now) and both are connected without a glitch.

One last catch, be careful with the Zimbra default mobile policy. Remote wipe works extremely well if you enter four incorrect your pin codes.

After all I am pretty pleased the way it’s working.

My specs:

  • VirtualBox 4.1 on Debian 5 (Lenny)
  • ZCA 6.0.13 (Installed) upgraded to 6.0.14 (6.0.15 is on it’s way to be released shortly)
  • HP TouchPad 3.0.5
  • HP Pre3 2.2.4