Veritas-bu

[Veritas-bu] Restore tape is being requested on the wrong tape library

2006-03-13 11:56:52
Subject: [Veritas-bu] Restore tape is being requested on the wrong tape library
From: andrew.x.smith AT jpmchase DOT com (andrew.x.smith AT jpmchase DOT com)
Date: Mon, 13 Mar 2006 16:56:52 +0000
This is a multipart message in MIME format.
--=_alternative 005D18EF80257130_=
Content-Type: text/plain; charset="us-ascii"

Hi Patricia,

  from my understanding of your problem I think Mark's suggested reason is 
a red herring.

I think the reason you do not understand the behaviour being exhibited is 
you have made some false assumptions about the logic NBU uses when 
performing a restore. The logic which causes this is very simple, NBU will 
always attempt to restore an image from the media server that performed 
the backup unless forced to do otherwise. So when u kick of the restore if 
the tape is not present in a library which is connected to the media 
server (it doesnt have to be in the same library so long as its in a 
library connected to the same original media server) that performed the 
backup then it will sit there until you manually insert the required 
tape(s). If you want to perform the restore from another media server you 
must use the FORCE_RESTORE_MEDIA_SERVER option in the master server 
bp.conf. But be careful as this option will force ALL restores to the 
alternate media server until you remove/undo the setting,

                thanks Andy.


This is a multi-part message in MIME format.

------_=_NextPart_001_01C646B9.06174B39
Content-Type: text/plain;
                 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

The restore is not managed by what library owns the tape.  A restore, by =
default, requests all tapes that contain the *primary* image for the =
data to be restored regardless of the location of the tape.  If this =
offsite tape contains copies of images that are also on local tapes, =
then you need to change the onsite copies to be marked as the primary =
copies.
=20
There's a "bpchangeprimary" command for this.
=20
Depending on how you might be creating the copy, you can manage the =
"primary" tape designation using Vault, ITC, or bpduplicate.
=20
-M

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu =
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Patricia =
Harmon
Sent: Monday, March 13, 2006 8:13 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Restore tape is being requested on the wrong tape =
library


I have a restore that is requesting 6 tapes, the 1st tape is loaded from =
tape library 2 and runs fine then the second tape gets requested from =
tape library 2 also even though the second tape is in tape library 1. =
The tape may have been in that library at one time but it is now in our =
off-site library(tape library 1) and the following commands verify that =
is in the off-site library.  Everything shows robot 1 has tape S00054.=20
=20
Any ideas how I can make this restore look for each tape in its correct =
library?
=20
Thanks for any help.
Pat=20
=20
The admin GUI shows it in slot 154  of robot "1" =20
vmquery -m xxxxxxx =20
bpmedialist -m xxxxxxx
=20
 09:06:57 (477880.xxx) Media id B00189 is needed for the restore.  (Tape =
library 2)=20
09:06:57 (477880.xxx) Media id S00054 is needed for the restore.  (Tape =
library 1)
09:06:57 (477880.xxx) Media id S00106 is needed for the restore.
09:06:57 (477880.xxx) Media id S00104 is needed for the restore.
09:06:57 (477880.xxx) Media id S00274 is needed for the restore.


------_=_NextPart_001_01C646B9.06174B39
Content-Type: text/html;
                 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1515" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV><SPAN class=3D518450616-13032006>The restore is not managed by what =
library=20
owns the tape.&nbsp; A restore, by default, requests all tapes that =
contain the=20
*primary* image for the data to be restored regardless of the location =
of the=20
tape.&nbsp; If this offsite tape contains copies of images that are also =

on&nbsp;local tapes, then you need to change the onsite copies to be =
marked as=20
the primary copies.</SPAN></DIV>
<DIV><SPAN class=3D518450616-13032006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D518450616-13032006>There's a "bpchangeprimary" =
command for=20
this.</SPAN></DIV>
<DIV><SPAN class=3D518450616-13032006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D518450616-13032006>Depending on how you might be =
creating the=20
copy, you can manage the "primary" tape designation using Vault, ITC, or =

bpduplicate.</SPAN></DIV>
<DIV><SPAN class=3D518450616-13032006></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D518450616-13032006>-M</SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft>-----Original =

  Message-----<BR><B>From:</B> veritas-bu-admin AT mailman.eng.auburn DOT edu=20
  [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]<B>On Behalf Of =
</B>Patricia=20
  Harmon<BR><B>Sent:</B> Monday, March 13, 2006 8:13 AM<BR><B>To:</B>=20
  veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> [Veritas-bu] =
Restore tape=20
  is being requested on the wrong tape library<BR><BR></DIV>
  <DIV>I have a restore that is requesting 6&nbsp;tapes, the 1st tape is =
loaded=20
  from tape library 2 and runs fine then the second tape gets requested =
from=20
  tape library 2 also even though the second tape is in&nbsp;tape =
library 1. The=20
  tape may have been in that library at one time but it is now in our =
off-site=20
  library(tape library 1)&nbsp;and the following&nbsp;commands verify =
that is in=20
  the off-site library.&nbsp; Everything shows robot 1 has&nbsp;tape =
S00054.=20
  </DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Any ideas how I can make this restore look for each tape in its =
correct=20
  library?</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Thanks for any help.</DIV>
  <DIV>Pat&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>The admin GUI shows it in slot 154&nbsp; of robot "1" =
&nbsp;</DIV>
  <DIV>vmquery -m xxxxxxx&nbsp; </DIV>
  <DIV>bpmedialist -m xxxxxxx</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;09:06:57 (477880.xxx) Media id B00189 is needed for the=20
  restore.&nbsp; (Tape library 2) <BR>09:06:57 (477880.xxx) Media id=20
  <STRONG>S00054</STRONG> is needed for the restore.&nbsp;&nbsp;(Tape =
library=20
  1)<BR>09:06:57 (477880.xxx) Media id S00106 is needed for the=20
  restore.<BR>09:06:57 (477880.xxx) Media id S00104 is needed for the=20
  restore.<BR>09:06:57 (477880.xxx) Media id S00274 is needed for the=20
  restore.</DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C646B9.06174B39--

--=_alternative 005D18EF80257130_=
Content-Type: text/html; charset="us-ascii"


<br><font size=3 face="Courier New">Hi Patricia,</font>
<br>
<br><font size=3 face="Courier New">&nbsp; from my understanding of your 
problem I think Mark's suggested reason is a red herring.</font>
<br>
<br><font size=3 face="Courier New">I think the reason you do not understand 
the behaviour being exhibited is you have made some false assumptions about the 
logic NBU uses when performing a restore. The logic which causes this is very 
simple, NBU will always attempt to restore an image from the media server that 
performed the backup unless forced to do otherwise. So when u kick of the 
restore if the tape is not present in a library which is connected to the media 
server (it doesnt have to be in the same library so long as its in a library 
connected to the same original media server) that performed the backup then it 
will sit there until you manually insert the required tape(s). If you want to 
perform the restore from another media server you must use the 
FORCE_RESTORE_MEDIA_SERVER option in the master server bp.conf. But be careful 
as this option will force ALL restores to the alternate media server until you 
remove/undo the setting,</font>
<br>
<br><font size=3 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; thanks Andy.</font>
<br>
<br>
<br><font size=3 face="Courier New">This is a multi-part message in MIME 
format.<br>
<br>
------_=_NextPart_001_01C646B9.06174B39<br>
Content-Type: text/plain;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
charset=&quot;iso-8859-1&quot;<br>
Content-Transfer-Encoding: quoted-printable<br>
<br>
The restore is not managed by what library owns the tape. &nbsp;A restore, by 
=<br>
default, requests all tapes that contain the *primary* image for the =<br>
data to be restored regardless of the location of the tape. &nbsp;If this =<br>
offsite tape contains copies of images that are also on local tapes, =<br>
then you need to change the onsite copies to be marked as the primary =<br>
copies.<br>
=20<br>
There's a &quot;bpchangeprimary&quot; command for this.<br>
=20<br>
Depending on how you might be creating the copy, you can manage the =<br>
&quot;primary&quot; tape designation using Vault, ITC, or bpduplicate.<br>
=20<br>
-M<br>
<br>
-----Original Message-----<br>
From: </font><a href="mailto:veritas-bu-admin AT mailman.eng.auburn DOT 
edu"><font size=3 color=blue face="Courier New"><u>veritas-bu-admin AT 
mailman.eng.auburn DOT edu</u></font></a><font size=3 face="Courier New"> =<br>
[mailto:</font><a href="mailto:veritas-bu-admin AT mailman.eng.auburn DOT 
edu"><font size=3 color=blue face="Courier New"><u>veritas-bu-admin AT 
mailman.eng.auburn DOT edu</u></font></a><font size=3 face="Courier New">]On 
Behalf Of Patricia =<br>
Harmon<br>
Sent: Monday, March 13, 2006 8:13 AM<br>
To: </font><a href="mailto:veritas-bu AT mailman.eng.auburn DOT edu"><font 
size=3 color=blue face="Courier New"><u>veritas-bu AT mailman.eng.auburn DOT 
edu</u></font></a><font size=3 face="Courier New"><br>
Subject: [Veritas-bu] Restore tape is being requested on the wrong tape =<br>
library<br>
<br>
<br>
I have a restore that is requesting 6 tapes, the 1st tape is loaded from =<br>
tape library 2 and runs fine then the second tape gets requested from =<br>
tape library 2 also even though the second tape is in tape library 1. =<br>
The tape may have been in that library at one time but it is now in our =<br>
off-site library(tape library 1) and the following commands verify that =<br>
is in the off-site library. &nbsp;Everything shows robot 1 has tape 
S00054.=20<br>
=20<br>
Any ideas how I can make this restore look for each tape in its correct =<br>
library?<br>
=20<br>
Thanks for any help.<br>
Pat=20<br>
=20<br>
The admin GUI shows it in slot 154 &nbsp;of robot &quot;1&quot; =20<br>
vmquery -m xxxxxxx =20<br>
bpmedialist -m xxxxxxx<br>
=20<br>
 09:06:57 (477880.xxx) Media id B00189 is needed for the restore. &nbsp;(Tape 
=<br>
library 2)=20<br>
09:06:57 (477880.xxx) Media id S00054 is needed for the restore. &nbsp;(Tape 
=<br>
library 1)<br>
09:06:57 (477880.xxx) Media id S00106 is needed for the restore.<br>
09:06:57 (477880.xxx) Media id S00104 is needed for the restore.<br>
09:06:57 (477880.xxx) Media id S00274 is needed for the restore.<br>
<br>
<br>
------_=_NextPart_001_01C646B9.06174B39<br>
Content-Type: text/html;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
charset=&quot;iso-8859-1&quot;<br>
Content-Transfer-Encoding: quoted-printable<br>
<br>
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 
Transitional//EN&quot;&gt;<br>
&lt;HTML&gt;&lt;HEAD&gt;<br>
&lt;META HTTP-EQUIV=3D&quot;Content-Type&quot; CONTENT=3D&quot;text/html; =<br>
charset=3Diso-8859-1&quot;&gt;<br>
<br>
<br>
&lt;META content=3D&quot;MSHTML 6.00.2800.1515&quot; 
name=3DGENERATOR&gt;&lt;/HEAD&gt;<br>
&lt;BODY style=3D&quot;MARGIN: 4px 4px 1px; FONT: 10pt Tahoma&quot;&gt;<br>
&lt;DIV&gt;&lt;SPAN class=3D518450616-13032006&gt;The restore is not managed by 
what =<br>
library=20<br>
owns the tape.&amp;nbsp; A restore, by default, requests all tapes that =<br>
contain the=20<br>
*primary* image for the data to be restored regardless of the location =<br>
of the=20<br>
tape.&amp;nbsp; If this offsite tape contains copies of images that are also 
=<br>
<br>
on&amp;nbsp;local tapes, then you need to change the onsite copies to be =<br>
marked as=20<br>
the primary copies.&lt;/SPAN&gt;&lt;/DIV&gt;<br>
&lt;DIV&gt;&lt;SPAN 
class=3D518450616-13032006&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;<br>
&lt;DIV&gt;&lt;SPAN class=3D518450616-13032006&gt;There's a 
&quot;bpchangeprimary&quot; =<br>
command for=20<br>
this.&lt;/SPAN&gt;&lt;/DIV&gt;<br>
&lt;DIV&gt;&lt;SPAN 
class=3D518450616-13032006&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;<br>
&lt;DIV&gt;&lt;SPAN class=3D518450616-13032006&gt;Depending on how you might be 
=<br>
creating the=20<br>
copy, you can manage the &quot;primary&quot; tape designation using Vault, ITC, 
or =<br>
<br>
bpduplicate.&lt;/SPAN&gt;&lt;/DIV&gt;<br>
&lt;DIV&gt;&lt;SPAN 
class=3D518450616-13032006&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;<br>
&lt;DIV&gt;&lt;SPAN 
class=3D518450616-13032006&gt;-M&lt;/SPAN&gt;&lt;/DIV&gt;<br>
&lt;BLOCKQUOTE dir=3Dltr style=3D&quot;MARGIN-RIGHT: 0px&quot;&gt;<br>
 &nbsp;&lt;DIV class=3DOutlookMessageHeader dir=3Dltr 
align=3Dleft&gt;-----Original =<br>
<br>
 &nbsp;Message-----&lt;BR&gt;&lt;B&gt;From:&lt;/B&gt; </font><a 
href="mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu"><font size=3 
color=blue face="Courier New"><u>veritas-bu-admin AT mailman.eng.auburn DOT 
edu</u></font></a><font size=3 face="Courier New">=20</font>
<br><font size=3 face="Courier New">&nbsp; [mailto:</font><a 
href="mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu"><font size=3 
color=blue face="Courier New"><u>veritas-bu-admin AT mailman.eng.auburn DOT 
edu</u></font></a><font size=3 face="Courier New">]&lt;B&gt;On Behalf Of =<br>
&lt;/B&gt;Patricia=20<br>
 &nbsp;Harmon&lt;BR&gt;&lt;B&gt;Sent:&lt;/B&gt; Monday, March 13, 2006 8:13 
AM&lt;BR&gt;&lt;B&gt;To:&lt;/B&gt;=20<br>
 &nbsp;</font><a href="mailto:veritas-bu AT mailman.eng.auburn DOT edu"><font 
size=3 color=blue face="Courier New"><u>veritas-bu AT mailman.eng.auburn DOT 
edu</u></font></a><font size=3 face="Courier 
New">&lt;BR&gt;&lt;B&gt;Subject:&lt;/B&gt; [Veritas-bu] =<br>
Restore tape=20<br>
 &nbsp;is being requested on the wrong tape 
library&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;<br>
 &nbsp;&lt;DIV&gt;I have a restore that is requesting 6&amp;nbsp;tapes, the 1st 
tape is =<br>
loaded=20<br>
 &nbsp;from tape library 2 and runs fine then the second tape gets requested 
=<br>
from=20<br>
 &nbsp;tape library 2 also even though the second tape is in&amp;nbsp;tape =<br>
library 1. The=20<br>
 &nbsp;tape may have been in that library at one time but it is now in our =<br>
off-site=20<br>
 &nbsp;library(tape library 1)&amp;nbsp;and the following&amp;nbsp;commands 
verify =<br>
that is in=20<br>
 &nbsp;the off-site library.&amp;nbsp; Everything shows robot 1 
has&amp;nbsp;tape =<br>
S00054.=20<br>
 &nbsp;&lt;/DIV&gt;<br>
 &nbsp;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;<br>
 &nbsp;&lt;DIV&gt;Any ideas how I can make this restore look for each tape in 
its =<br>
correct=20<br>
 &nbsp;library?&lt;/DIV&gt;<br>
 &nbsp;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;<br>
 &nbsp;&lt;DIV&gt;Thanks for any help.&lt;/DIV&gt;<br>
 &nbsp;&lt;DIV&gt;Pat&amp;nbsp;&lt;/DIV&gt;<br>
 &nbsp;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;<br>
 &nbsp;&lt;DIV&gt;The admin GUI shows it in slot 154&amp;nbsp; of robot 
&quot;1&quot; =<br>
&amp;nbsp;&lt;/DIV&gt;<br>
 &nbsp;&lt;DIV&gt;vmquery -m xxxxxxx&amp;nbsp; &lt;/DIV&gt;<br>
 &nbsp;&lt;DIV&gt;bpmedialist -m xxxxxxx&lt;/DIV&gt;<br>
 &nbsp;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;<br>
 &nbsp;&lt;DIV&gt;&amp;nbsp;09:06:57 (477880.xxx) Media id B00189 is needed for 
the=20<br>
 &nbsp;restore.&amp;nbsp; (Tape library 2) &lt;BR&gt;09:06:57 (477880.xxx) 
Media id=20<br>
 &nbsp;&lt;STRONG&gt;S00054&lt;/STRONG&gt; is needed for the 
restore.&amp;nbsp;&amp;nbsp;(Tape =<br>
library=20<br>
 &nbsp;1)&lt;BR&gt;09:06:57 (477880.xxx) Media id S00106 is needed for 
the=20<br>
 &nbsp;restore.&lt;BR&gt;09:06:57 (477880.xxx) Media id S00104 is needed for 
the=20<br>
 &nbsp;restore.&lt;BR&gt;09:06:57 (477880.xxx) Media id S00274 is needed for 
the=20<br>
 &nbsp;restore.&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;<br>
<br>
------_=_NextPart_001_01C646B9.06174B39--<br>
</font>
--=_alternative 005D18EF80257130_=--

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