Hello all,
I've successfully configured VCB, TSM V5.3 and VMware's integration module TSMIM to run scheduled backup jobs of our virtual machines using the batch files provided by TSMIM.
C:\Program Files\VMware\VMware Consolidated Backup Framework\tsm
pre-command.bat
post-command.bat
When installing the module, the commands are copied to the TSM BA Client directory:
C:\Program Files\Tivoli\tsm\baclient
pre-command.bat
post-command.bat
The TSM client option files have the following lines:
PRESCHEDULECMD "pre-command.bat job_name guestos_list"
POSTSCHEDULECMD "post-command job_name"
Using TSM's scheduler function, the commands are run on schedule, creating the virtual machine snapshots and then deleting them after the backup job is finished.
What I would like to know is how to run the above pre- and post- commands without using TSM's scheduler (for example, using instead Windows' task scheduler, or a third-party job management software). I've tried running them on the DOS prompt, but the snapshots aren't created. Is there a way to manually create the virtual machine snapshots with the above commands?
The README-tsm.html that comes with the integration module indicates that it is possible to run the commands manually, but doesn't give any particulars.
Thank you for your help.
I am trying to run the install that you speak of. But I am getting a path not found. All mine are default. Did you run into this?
C:\Program Files\VMware\VMware Consolidated Backup Framework\tsm>install.bat
TSM BackupClient path on this server
Path to VMware VCB Integration Framework
Configuration Summary
=====================
Path to VMware VCB Integration Framework:
-->y
TSM BackupClient path on this server:
-->y
Confguration Path ok
y/N? y
Error: Path not found
Error Code: 76
C:\Program Files\VMware\VMware Consolidated Backup Framework\tsm>
Ok I got it to work be providing paths.
C:\Program Files\VMware\VMware Consolidated Backup Framework\tsm>install.bat
TSM BackupClient path on this server
Path to VMware VCB Integration Framework
Configuration Summary
=====================
Path to VMware VCB Integration Framework:
-->C:\Program Files\VMware\VMware Consolidated Backup Framework
TSM BackupClient path on this server:
-->C:\Program Files\Tivoli\TSM\baclient
Confguration Path ok
Please review the VCB Framework configuration file
C:\Program Files\VMware\VMware Consolidated Backup Framework\config\config.js
and the Tivoli Storage Manager Interoperability Module configuration file
C:\Program Files\VMware\VMware Consolidated Backup Framework\tsm\config.js
Do you want to review the VCB Framework configuration file
C:\Program Files\VMware\VMware Consolidated Backup Framework\config\config.js
now
Do you want to review the Tivoli Storage Manager Interoperability Module configu
ration file C:\Program Files\VMware\VMware Consolidated Backup Framework\tsm\co
nfig.js
now
For more information on how to use VCB with Tivoli Storage Manager,
please refer to C:\Program Files\VMware\VMware Consolidated Backup Framework\tsm
\README-tsm.html
Do you want to review this documentation now
Tivoli Storage Manager VCB Interoperability Module has been successfully install
ed.
Note: Tivoli Storage Manager services needs to be stopped and restarted for envi
ronment variables to take effect.
What commands are you using with the pre-command and post-command? This works for me with out issue and also you can use the vcbMounter.exe command
Steve Beaver
VMTN Forum Moderator
*Virtualization is a journey, not a project.*
So I'm in the midst of getting VCB configured with TSM, I've installed the TSMIM's and TSM Client 5.5 and am now configuring the preferences. According to the document I'm working off of it says to set the pre-command in the preferences for the schedule tab of the BAClient with "pre-command.bat VCB vm1.company.com-FullVM vm2.company.com-FullVM .... ". Is this correct? I have to actually list all the VM's I want to copy through the client in that little text box?
Thanks GDesmo, I'll give it a go.
Just a small update that I thought many of you would like. With the release of TSM 5.5 and even better in TSM 6.0, IBM has improved the integration with VMware VCB.
They have included the "backup vm" command, which will allow you to back virtual machines using VCB & TSM without having to write or modify any scripts.
For more info please check my post at:
I hope this will make up some TSM administrators day & get them to like VMware better :).
I hope this help some one, if it does please reward points.
Enjoy,
Eiad Al-Aqqad
System X & Storage Technical Specialist
Founder of http://www.VirtualizationTeam.com