Veritas-bu

[Veritas-bu] Reprioritizing queued jobs

2002-04-05 08:41:25
Subject: [Veritas-bu] Reprioritizing queued jobs
From: david AT xbpadm-commands DOT com (David A. Chapa)
Date: Fri, 5 Apr 2002 07:41:25 -0600
This is a multi-part message in MIME format.

------=_NextPart_000_0031_01C1DC75.4A2AFC60
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

RE: [Veritas-bu] Reprioritizing queued jobsUser directed backups do not take
a higher priority over automated scheduled jobs.

when you backup  your DBs,  the class is merely causing the NB Client to run
a script from the client in order to backup your DB.

We look like a "user" to Netbackup, and user directed backups/archives do
not take precedent over scheduled jobs.

I suppose you could try one these three options:

This involves creating a new storage unit on the media server where the DB
Backups are taking place, then changing your DB Backup class to use this new
STU.

1.  Create new STU and dedicate drives to this storage unit, so it is only
available to your DB Backup classes

2. Create an STU that uses the same # of drives as your current STU.

3. Reduce your current STU by one or two drives and create the new STU with
MAX available Drives (this will make sure that you have at least one or two
drives specifically dedicated to your DB Backups and more if available)

If you choose Option 1, you'll achieve what you are looking for.  Your DB
Backups will run as they are kicked off, etc.

If you choose Option 2, test to see if your DB Backup jobs will get an
available drive sooner since it is a different Storage Unit looking for
available Drives.  I'm not completely sure how NBU functions at that point,
but it would be worth a test.

If you choose Option 3, you are good to go.  You'll have a drive or two
permanently available up to the MAX available drives in your library.

Let me know how this works.

David



<><><><><><><><><><><><><><><><><><><><>
David A. Chapa
NetBackup Consultant
DataStaff, Inc.
http://www.consulting.datastaff.com
847 413 1144
---------------------------------------
NBU-LSERV AT datastaff DOT com - Adv. Scripting
http://www.xbpadm-commands.com

  -----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 Donaldson, 
Mark
  Sent: Thursday, April 04, 2002 3:06 PM
  To: Veritasbu (E-mail)
  Subject: RE: [Veritas-bu] Reprioritizing queued jobs


  OK - it doesn't work this way.

  I changed my archived redo log class, the user-based, high-priority one,
to be priority 10.

  I changed my interruptable full backup class to be priority 1.

  I initiated a manual full backup of a dozen systems and waited for the
user backups to come in and interrupt.  When they did, they appeared as
queued jobs, on top of the other class' jobs.  Netbackup is busily running
each job in the full backup class, and as each active client backup
terminates, it grabs another from the same class rather than the
higher-priority job that was queued later.

  If any prioritization is taking place here, it's class to class, not job
to job.

  Back to my original question, then.  Can I push these user backups to the
head of the line?

  -Mark

  ----Original Message-----
  From: Donaldson, Mark [mailto:Mark.Donaldson AT experianems DOT com]

   I thought that was only for resolving priority when the jobs start at the
same scheduled time - however, with your note I dove again into the SAG and
it doesn't seem that way.
    I'll bump the priority up and see what happens.

    -Mark

    -----Original Message-----
    From: Geoffrey Hazel [mailto:geoffh AT us.ibm DOT com]

    You must have a class defined for these user backups. What about setting
    the class priority up to 99 or something higher than the other classes?

    ---------------|

    From: Donaldson, Mark [mailto:Mark.Donaldson AT experianems DOT com]

     I use User Backups & User Archives (bpbackup & bparchive) to manage hot
DB
    backups & archived redo logs.  When the DB sends a set of files, I want
NB
    to jump right on it - regardless of queued jobs ahead of it.

    Is there any way of reprioritizing jobs that are queued?  (I'm willing
to
    let active jobs complete first)

    -Mark


------=_NextPart_000_0031_01C1DC75.4A2AFC60
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><TITLE>RE: [Veritas-bu] Reprioritizing queued jobs</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =
size=3D2>User=20
directed backups do not take a higher priority over automated scheduled=20
jobs.</FONT></SPAN></DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =
size=3D2>when=20
you backup&nbsp; your DBs,&nbsp; the class is merely causing the NB =
Client to=20
run a script from the client in order to backup your =
DB.</FONT></SPAN></DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =
size=3D2>We=20
look like a "user" to Netbackup, and user directed backups/archives do =
not=20
take&nbsp;precedent over scheduled jobs.</FONT></SPAN></DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =
size=3D2>I=20
suppose you could try one&nbsp;these three options:</FONT></SPAN></DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =
size=3D2>This=20
involves creating a new storage unit on the media server where the DB =
Backups=20
are taking place, then&nbsp;changing your DB Backup class to use this =
new STU.=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2>1.&nbsp;&nbsp;Create new STU and&nbsp;dedicate drives to this =
storage=20
unit, so it is only available to your DB Backup =
classes</FONT></SPAN></DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =
size=3D2>2.=20
Create an STU that uses the same # of drives as your current=20
STU.</FONT></SPAN></DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =
size=3D2>3.=20
Reduce your current STU by one or two drives and create the new STU with =
MAX=20
available Drives (this will make sure that you have at least one or two =
drives=20
specifically dedicated to your DB Backups and more if=20
available)</FONT></SPAN></DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =
size=3D2>If you=20
choose Option 1, you'll achieve what you are looking for.&nbsp; Your DB =
Backups=20
will run as they are kicked off, etc.</FONT></SPAN></DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =
size=3D2>If you=20
choose Option 2, test to see if your DB Backup jobs will get an =
available drive=20
sooner since it is a different Storage Unit looking for available =
Drives.&nbsp;=20
I'm not completely sure how NBU functions at that point, but it would be =
worth a=20
test.</FONT></SPAN></DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =
size=3D2>If you=20
choose Option 3, you are good to go.&nbsp; You'll have a drive or two=20
permanently available up to the MAX available drives in your=20
library.</FONT></SPAN></DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =
size=3D2>Let me=20
know how this works.</FONT></SPAN></DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2>David</FONT></SPAN></DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D100530613-05042002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<P><FONT=20
size=3D2>&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;=
&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&=
lt;&gt;&lt;&gt;&lt;&gt;<BR>David=20
A. Chapa<BR>NetBackup Consultant<BR>DataStaff, Inc.<BR><A=20
href=3D"http://www.consulting.datastaff.com/"=20
target=3D_blank>http://www.consulting.datastaff.com</A><BR>847 413=20
1144<BR>---------------------------------------<BR>NBU-LSERV AT datastaff DOT 
co=
m -=20
Adv. Scripting<BR><A href=3D"http://www.xbpadm-commands.com/"=20
target=3D_blank>http://www.xbpadm-commands.com</A></FONT> </P>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  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>Donaldson,=20
  Mark<BR><B>Sent:</B> Thursday, April 04, 2002 3:06 PM<BR><B>To:</B> =
Veritasbu=20
  (E-mail)<BR><B>Subject:</B> RE: [Veritas-bu] Reprioritizing queued=20
  jobs<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D800555420-04042002>OK -=20
  it doesn't work this way.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
  class=3D800555420-04042002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D800555420-04042002>I=20
  changed my archived redo log class, the user-based, =
high-priority&nbsp;one, to=20
  be priority 10.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
  class=3D800555420-04042002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D800555420-04042002>I=20
  changed my interruptable full backup class to be priority=20
  1.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
  class=3D800555420-04042002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D800555420-04042002>I=20
  initiated a manual full backup of a dozen systems and waited for the =
user=20
  backups to come in and interrupt.&nbsp; When they did, they appeared =
as queued=20
  jobs, on top of the other class' jobs.&nbsp; Netbackup is busily =
running each=20
  job in the full backup class, and as each active client backup =
terminates, it=20
  grabs another from the same class rather than the higher-priority job =
that was=20
  queued later.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
  class=3D800555420-04042002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D800555420-04042002>If=20
  any prioritization is taking place here, it's class to class, not job =
to=20
  job.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
  class=3D800555420-04042002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D800555420-04042002>Back=20
  to my original question, then.&nbsp; Can I push these user backups to =
the head=20
  of the line?</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
  class=3D800555420-04042002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
  class=3D800555420-04042002>-Mark</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
  class=3D800555420-04042002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2><FONT face=3DTahoma>----Original =
Message-----<BR><B>From:</B>=20
  Donaldson, Mark =
[mailto:Mark.Donaldson AT experianems DOT com]<BR></FONT><SPAN=20
  class=3D800555420-04042002><FONT face=3DArial =
color=3D#0000ff>&nbsp;<FONT=20
  face=3DTahoma color=3D#000000><BR></FONT>&nbsp;</FONT></SPAN>I thought =
that was=20
  only for resolving priority when the jobs start at the same scheduled =
time -=20
  however, with your note I dove again into the SAG and it doesn't seem =
that=20
  way.</FONT></DIV>
  <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
    <P><FONT size=3D2>I'll bump the priority up and see what =
happens.</FONT> </P>
    <P><FONT size=3D2>-Mark</FONT> </P>
    <P><FONT size=3D2>-----Original Message-----</FONT> <BR><FONT =
size=3D2>From:=20
    Geoffrey Hazel [<A=20
    =
href=3D"mailto:geoffh AT us.ibm DOT com">mailto:geoffh AT us.ibm DOT 
com</A>]</FONT> =
</P>
    <P><FONT size=3D2>You must have a class defined for these user =
backups. What=20
    about setting</FONT> <BR><FONT size=3D2>the class priority up to 99 =
or=20
    something higher than the other classes?</FONT> </P>
    <P><FONT size=3D2>---------------|</FONT> </P>
    <P><FONT size=3D2><SPAN class=3D800555420-04042002><FONT =
face=3DArial=20
    color=3D#0000ff><FONT color=3D#000000><FONT =
face=3DTahoma><STRONG>From:</STRONG>=20
    Donaldson, Mark=20
    =
[mailto:Mark.Donaldson AT experianems DOT 
com]</FONT></FONT></FONT></SPAN></FONT=
></P>
    <P><FONT size=3D2><SPAN class=3D800555420-04042002>&nbsp;</SPAN>I =
use User=20
    Backups &amp; User Archives (bpbackup &amp; bparchive) to manage hot =

    DB</FONT> <BR><FONT size=3D2>backups &amp; archived redo logs.&nbsp; =
When the=20
    DB sends a set of files, I want NB</FONT> <BR><FONT size=3D2>to jump =
right on=20
    it - regardless of queued jobs ahead of it.</FONT> </P>
    <P><FONT size=3D2>Is there any way of reprioritizing jobs that are=20
    queued?&nbsp; (I'm willing to</FONT> <BR><FONT size=3D2>let active =
jobs=20
    complete first)</FONT> </P>
    <P><FONT size=3D2>-Mark</FONT> =
</P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0031_01C1DC75.4A2AFC60--