Networker

[Networker] Selecting the first tape an nsrclone will need

2008-10-13 09:24:43
Subject: [Networker] Selecting the first tape an nsrclone will need
From: Francis Swasey <Frank.Swasey AT UVM DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 13 Oct 2008 09:22:48 -0400
I have a perl script that runs the nsrclone command to handle our cloning (we found we had too much tape drive contention in our environment with the automatic cloning at the group level). However, I have one customer set that is so far resistent to backing up to disk and then clone to tape. Therefore, I have a situation where (today) my normal routine to determine which source tape to mount from the list of ssid's to be cloned (so I can force the cloning to happen on a specific storage node) failed to find the right tape. This is going to cause problems with another clone job...

So, my question is: What is the best algorithm to use to determine which ssid will be the first one NetWorker will decide to clone from a list of ssid's. My current algorithm is picks the first tape from the ssid that has the earliest start time. This morning, that didn't work and NetWorker mounted a different tape -- so, obviously, my algorithm isn't the best.

Is anyone else doing scripted cloning and using an algorithm to pre-mount the first source tape to force where the cloning happens?

--
Frank Swasey                    | http://www.uvm.edu/~fcs
Sr Systems Administrator        | Always remember: You are UNIQUE,
University of Vermont           |    just like everyone else.
 "I am not young enough to know everything." - Oscar Wilde (1854-1900)


To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the body of the email. Please write to networker-request 
AT listserv.temple DOT edu if you have any problems with this list. You can access the 
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>