Lets Design, Implement and do Administration of ESX3

Virtualization with VMWare Infrastructure 3.0

Archive for the ‘VCB’ Category

Vmware consolidated Backup

Some notes on VCB

Posted by Preetam on September 15, 2007

Let me give some advance things which I learnt on VCB today

  • VCB solution is only useful for backing up MS windows based VMs
  • VCB required windows 2003 server(nothing below than this) and it can’t be installed on same server as Virtual center server
  • VCB Proxy also needs to be presented with same LUN, which are presented to the ESX Server of which VM’s you need to backup
  • VCB Proxy (the actual name) cannot have more than 1 HBA, Multi-path is not supported by VMWare, so No PowerPath and etc. [Just came to know, that if you upgrade it to VCB 1.0.3 multi-pathing is not a issue, thanks to Scott]
  • The location where you wish to mount VM image on VCB proxy must have space at least 2-3 VM’s data to be backed up.

There is already very good docs available on VCB, so I don’t wish to repeat the same thing. Other thing I just came across from http://www.petri.co.il site there is video hidden inside the VMware site, please check the link here, Video is practical VCB and not entire VCB but then I would say it is Good thing to invest 15 min.

And lastly, Become virtual famous video award his given, the Guys who got it not only deserve it but they have been truly generous enough to denote that money to charity. You guys are truly amazing. Check Here. I would certainly likely to get that songs…“If the server goes down……”

Advertisements

Posted in VCB, VMWare, VMWare NEWS | 2 Comments »

VCB -Backup Strategies

Posted by Preetam on March 5, 2007

There are two things when you think of backup of virtual machines

  • Application backup which is called File Level Backup
  • Entire VM backup Image Level Backup, ( which is quite easy, cause you just need to back VMDK)

File Level Backup: It is recommended that you put all your data in Non-System Disk, it brings it’s own advantages.

Backup Proxy Server is required for carrying out this task, this has been implemented especially to remove backup overheads from ESX/VM’s. This would be Windows 2003 server, with Backup software installed(for example netbackup) which has VCB plugin to carry out the task.

COMPONENTS involved in VCB back process are:

  • Hostd: On ESX Server and interacts with Virtual center
  • VM to be backup:
  • Backup Proxy server with 3rd party software installed on it.
  • VCB Framework which consists of
    • vcbMounter
    • vLUN driver
    • Integration module
      • Pre & Post-backup scripts which ties with
    • Backup application (for example Netbackup)

VCB WORKFLOW:

  • Backup application starts backup job as per pre-schedule time
  • Pre-backup script is intiated by backup software 
    • Quiesces NTFS/FAT (only in case of MS Guest OS),this ensure no write operations are pending
    • Puts VM in snapshot mode
    • Snapshot is taken and put’s VM into normal opertion
    • Backup software mounts this Snapshot for File Level Backup, and selected files are copied. (Done by Backup client)
    • For Image level back, entire disk is export to Backup proxy server.(Done by backup client)
  • Post-backup script is called
    • which unmounts VM snapshot from backup proxy
    • Takes VM out of snapshot mode, commits any changes made to the disk during the snapshot mode.

Restoring backups done using VCB approach

Restoring file/Images taken via backup is not straight forward. There are three approaches for this

  • Self-Service restore : Backup agent Installed on each and every VM
  • Per-group restore : Select VM’s which will do restore work (i.e. install backup agent only these VM’s) and then get someone to restore files of those specific VM’s
  • Centralized restore: Backup agent is installed only on Backup Proxy and restore file/Image on backup proxy. After you can uses windows share to copy data over the location

These approachs differs from each other at one level i.e. present of backup agents. Backup agents here are only doing restore work.

For Image level backup you can use VCBMounter to backup entire virtual machine in the service console. VCBMounter quiesce the snapshot of the VM and export the setfiles which can be later on used to restore using VCBRestore.  This can be done only from Service Console.For file level back you have to use third party backup software.

Posted in VCB, Virtual Center, VM Management, VMWare | Leave a Comment »