« Posts tagged ubuntu

Backup virtual machines with Vmware consolidated Backup

To backup entire virtual machine while are running, you have to use the VBC provided by vmware.
this is a commandline tool that speaks with your VirtualCenter and tell it to create a Snapshot of a virtual machine, then detach it and copy the vmdk files to a location.

Take a look here http://www.vmware.com/products/vi/consolidated_backup.html to understand how it work.

the sintax of the command is like this:

vcbmounter.exe -m nbd -h yourvitualcenter.yourdomain -u username -p password -a name:VMname -t fullvm -r pathwheretosave

With "-m nbd" you can backup your Vm through an ethernet instead of a FibreChannel SAN connection.

Using Vmware webaccess under linux and Firefox 3

The only way to have a working vmware console under linux, is using "webaccess" or connecting via msRDP to a win client .

Let's start setting up webaccess plugin.

Open you r *zilla browser and point to http://yourvirtualcenter.yourdomain and don't worry about "usupported browser message"; I've made this under Iceweasel on Debian Squeeze.
Try to open a virtual machine's console; you'll be asked to install a plugin, but unfortuantely the plugin installation fails.

How to solve this problem...

Frist install libexpat library.
UnderĀ  Debian Squeeze (and all debian like distros):

  1. apt-get update
  2. apt-get install libexpat1
  3. ln -s /usr/lib/libexpat.so.1 /usr/lib/libexpat.so.0

Go another time to your virtualcenter webaccess and now you can install the pluging and open the console.