Discussions related to exporting backups to tape and backing up directly to tape.
Post Reply
WinstonWolf
Veteran
Posts: 284
Liked: 11 times
Joined: Jan 06, 2011 8:33 am
Contact:

How can i change the Sequence of the Tape Drives in Veeam ?

Post by WinstonWolf »

Hello ,

Is it possible tho change the Sequence of the Tape Drives under Libary in Veeam ?

I have an MSL4048 with 3 Tape Drives . 2 Fibre Channel Drives and one SAS Drive .

The Drives in Veeam are numbered as followed :

Drive 1 : Fibre Channel Drive 1
Drive 2 : Fibre Channel Drive 2
Drive 3 : SAS Drive

What i want is to change Drive 1 with Drive 3 ( i want that the SAS Drive is the first Drive ) because i have better Backup Rates with the SAS Tape Drive .

The Plan is that i configure my Tape Jobs so that from the Sheduling Time the bigest Backup to Tape Jobs uses the SAS Drive and the smaller ones Begins later and therefore they choosen the Fibre Channel Drives .

In Veeam the first Tape Backup Job takes allways the Drive 1 when all three Drives are free and the Drive 2 and then Drive 3 .

AND PLEASE !!!!!
[FEATURE REQUEST ] Veeam Make it finally possible to choose in the Mediapool which Tape Drive is to use . Because many Users perhaps me uses differnet Tape Drives to Backup ( LTO7 and LTO5 mixed , SAS and Fibre Channel )

Thanks
veremin
Product Manager
Posts: 20283
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: How can i change the Sequence of the Tape Drives in Veea

Post by veremin »

Is it possible tho change the Sequence of the Tape Drives under Libary in Veeam ?
Nope, it is not.

Your requests make sense, we will keep an eye on the demand for this particular functionality.

However, the corresponding job that is supposed to run first might have a pre-job activity that will disable all drivers but one (SAS). Just an idea.

Thanks.
WinstonWolf
Veteran
Posts: 284
Liked: 11 times
Joined: Jan 06, 2011 8:33 am
Contact:

Re: How can i change the Sequence of the Tape Drives in Veea

Post by WinstonWolf »

It sounds good .

Can you tell me how so an prejob should looks like ?

Thanks
veremin
Product Manager
Posts: 20283
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: How can i change the Sequence of the Tape Drives in Veea

Post by veremin »

I can describe the algorithm that should do the trick for you:

1) Get a library, using Get-VBRTapeLibrary commandlet. Assign result to a variable.
2) Get all drives present inside the library, using Get-VBRTapeDrive commandlet and the variable gotten at the first step.
3) Disable all drives, but needed one, using Disable-VBRTapeDrive commandlet and drives names as distinguishing factor.

Don't forget to re-enable drives either via post-job activity of the first job or via pre-job activity of the second or third job.

Thanks.
WinstonWolf
Veteran
Posts: 284
Liked: 11 times
Joined: Jan 06, 2011 8:33 am
Contact:

Re: How can i change the Sequence of the Tape Drives in Veea

Post by WinstonWolf »

Perfekt Thanks ;-)
veremin
Product Manager
Posts: 20283
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: How can i change the Sequence of the Tape Drives in Veea

Post by veremin »

You're welcome. If you want to discuss scripting approach further or just need an assistance with it, feel free to create a new topic in the corresponding PowerShell subforum. Thanks.
cgrebing
Influencer
Posts: 24
Liked: 10 times
Joined: Jun 12, 2012 1:13 pm
Full Name: Christian Grebing
Location: Germany
Contact:

Re: How can i change the Sequence of the Tape Drives in Veeam ?

Post by cgrebing »

Hi all,

we have the same problem here.
Customer has bought a new HPE MSL Library with LTO8 and we installed the old LTO6 drive as second drive to the library.
When backup to media pool with LTO6 media starts the tape is always inserted into drive1, which is the LTO8 drive. But this cannot write to LTO6 tape.
So we get an error and the job is aborted.
We configured these enable and disable drive Script as pre Job script but it would be better if VBR would check if the tape is compatible and the drive is able to write to it.
Or maybe we can select a dedicated drive at the media pool configuration.

Thanks

Christian
RobTurk
Veeam Software
Posts: 256
Liked: 65 times
Joined: Aug 07, 2019 10:05 am
Full Name: Rob Turk
Contact:

Re: How can i change the Sequence of the Tape Drives in Veeam ?

Post by RobTurk »

Have you considered partitioning the tape library in two sections? Many MSL libraries can do this. You end up with two smaller logical libraries, one for LTO-8 and one for LTO-6.
Possible drawback is that you need to decide upfront which drives and slots belong to which partition, but this will prevent wrong type of media being inserted in the wrong drive.
More information here: https://support.hpe.com/hpesc/public/do ... -c02904663
cgrebing
Influencer
Posts: 24
Liked: 10 times
Joined: Jun 12, 2012 1:13 pm
Full Name: Christian Grebing
Location: Germany
Contact:

Re: How can i change the Sequence of the Tape Drives in Veeam ?

Post by cgrebing » 1 person likes this post

Hi Rob,

yes, we considered this but the customer wants to be flexible where to put the tapes and how many tapes of each type he wants to insert.
We tested the scripts today and it works like expected. before the tape is moved to the drive "wrong" drive is disabled and after the job finishes the drive is enabled again.

thank you
Dima P.
Product Manager
Posts: 14415
Liked: 1576 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: How can i change the Sequence of the Tape Drives in Veeam ?

Post by Dima P. »

Hello Christian,
Customer has bought a new HPE MSL Library with LTO8 and we installed the old LTO6 drive as second drive to the library.
Out of curiosity, can you please share the reason why customer went with such setup? Are they migrating from lto6 to lto8? Thank you in advance!
Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests