VMware Cloud Community
Shaun_Gee
Contributor
Contributor
Jump to solution

VCB - TRANSPORT MODE

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

Reply
0 Kudos
1 Solution

Accepted Solutions
BigBear59
Contributor
Contributor
Jump to solution

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

Reply
0 Kudos
7 Replies
kjb007
Immortal
Immortal
Jump to solution

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
Jump to solution

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

Reply
0 Kudos
kjb007
Immortal
Immortal
Jump to solution

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
Reply
0 Kudos
Shaun_Gee
Contributor
Contributor
Jump to solution

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

Reply
0 Kudos
kjb007
Immortal
Immortal
Jump to solution

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
Reply
0 Kudos
BigBear59
Contributor
Contributor
Jump to solution

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

Reply
0 Kudos
Shaun_Gee
Contributor
Contributor
Jump to solution

Thanks

That has worked a Treat!!!!!

:smileygrin:

Reply
0 Kudos