VMware VMs image level backup using TSM was not straight forward process till TSM 5.5. Up to version 5.4, you needed to run into all kind of pre & post backup scripts to backup your virtual machines using VCB & TSM. Integrating TSM & VCB was a hassle, & most companies were running after third party solutions to intermediate the integration (ex: vRanger, ESXpress, & so on). In TSM 5.5, the situation got a lot better as IBM introduced the backup vm command which canceled the need for the nasty post & pre-script commands. Though till TSM 6.0 there was no GUI for backing up virtual machines using VCB in TSM. The good news in TSM 6.0 the integration of TSM & VCB has got to be quite easy and effective. In addition, for all of you out there who is not ready to upgrade just yet I have a very good news for you. The good news is that you can use the TSM 6.0 client with your old 5.4 & 5.5 and even maybe older version of TSM, so you don’t have to upgrade your TSM Server to get the benefit of the new TSM Client features. The example below in fact is using IBM TSM 6.0 client with TSM Server 5.5.
How to backup:
The first step in getting image level backup of your virtual machines using TSM is to install VCB on a proxy server. Make sure the proxy server that you will use have enough disk space to hold the biggest virtual machine you are going to backup. As VCB will need a temporary space equivalent to the size of the virtual machine you are backing up on the proxy server before sending it to tape by TSM and deleted if required. The installation of the VCB is out of the scope of this post, though its nothing more than the normal windows application installation process next + next + few more next . You can download VCB 1.5 from the VMware website. I would recommend you test your VCB setup before installing TSM to isolate the source of your problem using the following commands:
vcbmounter -h vcms.domain.com -u vcuser -p vcpass -a ipaddr:vmguest.domain.com -r c:\mnt\tsmvmbackup\fullvm -t fullvm
After setting up your VCB on the proxy server, you will need to setup TSM 6.0 client as you would on any client node you have in your organization. Don’t forget to register the node with your TSM Server. As your TSM Client 6.0 or higher is installed, you will need to get to the VM Backup tab in the preference editor in the TSM 6.0 client as showing in the below image:
Fill the VM Backup fields as explained below:
VMList: is the list of virtual machines you want to backup. You can enter the IP address or the hostname of the virtual machines you want to backup in this field.
Backup Type: This is obvious, its to choose which backup type you want to use. In our case Full VM == Image backup.
Fill the fields with your Virtual Center IP address & credentials & choose the directory with the temp space required while backing up your VMS. After this has been done on the command line you will run: dsmc backup vm
The previous command will backup all the virtual machines you have included in your VM Backup tab VMlist. If you want to specify a different set of machines in the command line then you can use: dsmc backup vm -vmlist=vmguest
For scheduling the backup, you have many options. One of the scheduling options is to write the command you want to run & save it in a macro & run it from TSM Scheduler. A second easy option, is to use windows scheduler & put the command you want to run in a batch file and run it as frequently as desired.
How to Restore:
The restore is done in a two steps process:
1- You need to restore the files to the proxy server from tape using TSM. For that you can use TSM Restore VM GUI as shown in the below two images:
2- After restore the virtual machine to the VCB server, then you can use VMware converter to restore the virtual machine back to the ESX Server. The images below show the process:
You are done, now you can backup & restore your VMware easily using TSM. Please leave us your feedback & comments in the commenting area below.
40 Responses to 'IBM Tivoli Storage Manager & VMware VCB'
Leave a Reply
Eiad Al-Aqqad, VCDX#89
VMware Canada PSO
- Backup Solutions (3)
- Blades (2)
- IBM Blades (2)
- Data Migration (2)
- EMC (1)
- VPLEX (1)
- How to (1)
- Management Software (5)
- Problem resolutions (0)
- Storage (21)
- Tips & Tricks (7)
- Tivoli (22)
- Tutorials (11)
- VMware (6)
- Iwan: hi… I can not re-install smi-s agent on server windows 2003, I`ve been search the registry but still...
- sindhu: hello sir,i am doing my b.tech 3rd year (e.c.e) i am intrested in doing this tsm course .is this course will...
- CR7: Hi EIAD, I couldnt figure out where to post this doubt of mine, so im just posting it here.Please help out if...
- Errol: I’m using a clean install of windows 7 Ultimate 64 bit with the latest build of Thinapp 5.1.0-2079447....
- arun: Is that tsm is growing and good field
- TSM – IBM Tivoli Storage Manager Guru Blog: Should Virtual Tape Library have a place in your backup strategy?
- Tivoli TSM guide to securing VMware: IBM Tivoli Storage Manager & VMware Consiledated Backup (VCB) I hope these...
- TSM – IBM Tivoli Storage Manager Guru Blog: Microsoft SQL Cluster Data Migration to a new SAN
- TSM – IBM Tivoli Storage Manager Guru Blog: Migrating Exchange 2007/2003 Cluster to a new SAN
- IBM Tivoli Storage Manager Guru Blog: TSM
- Should Virtual Tape Library have a place in your backup strategy?
- Symantec Backup Exec StarWind Virtual Tape Library Integration
- Comparing Online Backup Services
- Veeam & PHD Virtual comparison
- IBM Tivoli Storage Manager support for VADP
- StarWind is Named a Finalist in The Storage Awards 2012
- PHD Virtual Monitor Review
- vSphere manual Disaster Recovery failback when using VMware SRM
- Migrating Exchange 2007/2003 Cluster to a new SAN
- Microsoft SQL Cluster Data Migration to a new SAN