Shaun_Gee
Contributor
Contributor

VCB - TRANSPORT MODE

Jump to solution

Hi

We currently have VCB working using SAN Transport Mode, but the issue is I am also wanting to backup other VM's that are on local disks thus using NBD does anyone know how I can achive the following

I only have one tape loader, one copy Backup Exec

I am happy to have 2 copies of VCB installed if needed

Any help would be appricated

Shaun

0 Kudos
1 Solution

Accepted Solutions
BigBear59
Contributor
Contributor

Kind of brute force, but I have tried this and it works:

copy pre-backup.bat to pre-backup_nbd.bat

edit to point to command_nbd.wsf

copy post-backup.bat to post-backup_nbd.bat

edit to point to command_nbd.wsf

copy command.wsf to command_nbd.wsf

edit to point to ../config/config_nbd.js

copy ../config/config.js to ../config/config_nbd.js

edit to change transport to "nbd"

change the none SAN backup jobs to use pre-backup_nbd.bat & post-backup.bat in your Backup Exec

Have Fun,

BigBear59

View solution in original post

0 Kudos
7 Replies
kjb007
Immortal
Immortal

The only thing you really need to change is your vcbMounter command to use the -m nbd and the transport mode as nbd in your config.

See here: http://communities.vmware.com/thread/122578

-KjB

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
Shaun_Gee
Contributor
Contributor

Thanks for the reply but we are using backup exec and the scripts they supply,because we use the backup exec scripts we run the following pre and post backup commands

"C:\Program Files\VMware\VMware Consolidated Backup Framework\backupexec\pre-backup.bat" JOBNAME MACHINE-FullVM

"C:\Program Files\VMware\VMware Consolidated Backup Framework\backupexec\post-backup.bat" JOBNAME

0 Kudos
kjb007
Immortal
Immortal

Check the bat file. Basically, the pre and post backup scripts run a vcbmount, then snapshot, then backup. The mount part is where you would need to modify to use lan mode instead of san mode. The rest should be the same.

-KjB

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
0 Kudos
Shaun_Gee
Contributor
Contributor

This issue with changing the config file would be when we backup a VM that is on the SAN it would run over the network at a much slower speed

Any suggestions how to get SAN and NBD working on the same VCB

Regards

Shaun

0 Kudos
kjb007
Immortal
Immortal

Can you provide different pre/post backup scripts in backup exec? I'm assuming you can with different policies, but that would be one way to.

-KjB

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
0 Kudos
BigBear59
Contributor
Contributor

Kind of brute force, but I have tried this and it works:

copy pre-backup.bat to pre-backup_nbd.bat

edit to point to command_nbd.wsf

copy post-backup.bat to post-backup_nbd.bat

edit to point to command_nbd.wsf

copy command.wsf to command_nbd.wsf

edit to point to ../config/config_nbd.js

copy ../config/config.js to ../config/config_nbd.js

edit to change transport to "nbd"

change the none SAN backup jobs to use pre-backup_nbd.bat & post-backup.bat in your Backup Exec

Have Fun,

BigBear59

0 Kudos
Shaun_Gee
Contributor
Contributor

Thanks

That has worked a Treat!!!!!

:smileygrin:

0 Kudos