Veritas-bu

[Veritas-bu] NBU 4.5 MP2 Database Backup Scheduling

2003-01-29 14:43:14
Subject: [Veritas-bu] NBU 4.5 MP2 Database Backup Scheduling
From: scott.kendall AT abbott DOT com (scott.kendall AT abbott DOT com)
Date: Wed, 29 Jan 2003 13:43:14 -0600
--=_mixed 006C4B6086256CBD_=
Content-Type: multipart/alternative; boundary="=_alternative 006C4B6286256CBD_="


--=_alternative 006C4B6286256CBD_=
Content-Type: text/plain; charset="us-ascii"

It sounds like this agent works similar to the Oracle agent and the RMAN 
scripts.  I would also be interested on how everyone is handling this in a 
large environment with Oracle or any of these similar database agents.

How do you handle multiple instances on the same box? ... when the 
schedules and/or retentions are different?  ...do you use NetBackup's 
scheduler or an outside scheduler?

Do you create one Policy per instance?  If not, how do you handle this? 
... when each instance has different requirements?


- Scott





briandiven AT northwesternmutual DOT com
Sent by: veritas-bu-admin AT mailman.eng.auburn DOT edu
01/29/2003 01:24 PM

 
        To:     veritas-bu AT mailman.eng.auburn DOT edu
        cc: 
        Subject:        [Veritas-bu] NBU 4.5 MP2 Database Backup Scheduling



We are struggling trying to find a best practice for scheduling database
backups.  This email is partially in response to Deb's question about
getting creative and bending wires.  We are primarily a Sybase shop
using SQL BackTrack with expanding Oracle and DB2 usage.  It was the
intent to keep things similar to the way we used to do backups as we
convert to NBU (maybe that is our downfall?).  The old way, we had a
common pre/post command script that we passed parameters to (DB
instance, tape or disk, retention period, etc.).

NBU doesn't allow you to pass parameters, but the schedule name gets
passed to the script.  Aha, how about if we camouflage our parms in the
name (e.g.SYB26+Marketing+30Day+Tape+Full)?  So, we created a policy for
a HP-UX 11.11 server, and each database became a schedule.  Then come to
find out that NBU will not run multiple schedules in the same evening.

OK, let's make every instance it's own policy (this would become approx
1,000 policies).  The first test night, several backups failed because
we exceeded the number of simultaneous remote connections allowed to the
database (default value is 20).  This became a catch-22, because I could
control this on the policy level, but that won't run multiple schedules
at a time.

I'm now looking at keeping the 1,000 policies and using Autosys/CRON to
group 10-15 backups/run box.  This is really getting ugly.  Did we start
off on the wrong path?  Is this a pain because of the number of
databases?  How are you getting around these issues and how are you
bending this wire?

TIA !!!



--=_alternative 006C4B6286256CBD_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="Arial">It sounds like this agent works similar to the 
Oracle agent and the RMAN scripts. &nbsp;I would also be interested on how 
everyone is handling this in a large environment with Oracle or any of these 
similar database agents.</font>
<br>
<br><font size=2 face="Arial">How do you handle multiple instances on the same 
box? ... when the schedules and/or retentions are different? &nbsp;...do you 
use NetBackup's scheduler or an outside scheduler?</font>
<br>
<br><font size=2 face="Arial">Do you create one Policy per instance? &nbsp;If 
not, how do you handle this? ... when each instance has different 
requirements?</font>
<br>
<br>
<br><font size=2 face="Arial">- Scott</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>briandiven AT northwesternmutual DOT 
com</b></font>
<br><font size=1 face="sans-serif">Sent by: veritas-bu-admin AT 
mailman.eng.auburn DOT edu</font>
<p><font size=1 face="sans-serif">01/29/2003 01:24 PM</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; 
&nbsp; &nbsp; &nbsp;veritas-bu AT mailman.eng.auburn DOT edu</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; 
&nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; 
&nbsp; &nbsp; &nbsp;[Veritas-bu] NBU 4.5 MP2 Database Backup 
Scheduling</font></table>
<br>
<br>
<br><font size=2 face="Courier New"><br>
We are struggling trying to find a best practice for scheduling database<br>
backups. &nbsp;This email is partially in response to Deb's question about<br>
getting creative and bending wires. &nbsp;We are primarily a Sybase shop<br>
using SQL BackTrack with expanding Oracle and DB2 usage. &nbsp;It was the<br>
intent to keep things similar to the way we used to do backups as we<br>
convert to NBU (maybe that is our downfall?). &nbsp;The old way, we had a<br>
common pre/post command script that we passed parameters to (DB<br>
instance, tape or disk, retention period, etc.).<br>
<br>
NBU doesn't allow you to pass parameters, but the schedule name gets<br>
passed to the script. &nbsp;Aha, how about if we camouflage our parms in the<br>
name (e.g.SYB26+Marketing+30Day+Tape+Full)? &nbsp;So, we created a policy 
for<br>
a HP-UX 11.11 server, and each database became a schedule. &nbsp;Then come 
to<br>
find out that NBU will not run multiple schedules in the same evening.<br>
<br>
OK, let's make every instance it's own policy (this would become approx<br>
1,000 policies). &nbsp;The first test night, several backups failed because<br>
we exceeded the number of simultaneous remote connections allowed to the<br>
database (default value is 20). &nbsp;This became a catch-22, because I 
could<br>
control this on the policy level, but that won't run multiple schedules<br>
at a time.<br>
<br>
I'm now looking at keeping the 1,000 policies and using Autosys/CRON to<br>
group 10-15 backups/run box. &nbsp;This is really getting ugly. &nbsp;Did we 
start<br>
off on the wrong path? &nbsp;Is this a pain because of the number of<br>
databases? &nbsp;How are you getting around these issues and how are you<br>
bending this wire?<br>
<br>
TIA !!!<br>
</font>
<br>
<br>
--=_alternative 006C4B6286256CBD_=--
--=_mixed 006C4B6086256CBD_=
Content-Type: application/rtf; name="BDY.RTF"
Content-Disposition: attachment; filename="BDY.RTF"
Content-Transfer-Encoding: base64

e1xydGYxXGFuc2lcZGVmZjB7XGZvbnR0Ymx7XGYwXGZzd2lzc1xmY2hhcnNldDAgQXJpYWw7fXtc
ZjFcZnJvbWFuXGZwcnEyXGZjaGFyc2V0MCBUaW1lcyBOZXcgUm9tYW47fX0NCntcY29sb3J0Ymwg
O1xyZWQwXGdyZWVuMFxibHVlMjU1O30NClx2aWV3a2luZDRcdWMxXHBhcmRcY2YxXGxhbmcxMDMz
XGYwXGZzMjBccGFyDQpcY2YwXGYxIFdlIGFyZSBzdHJ1Z2dsaW5nIHRyeWluZyB0byBmaW5kIGEg
YmVzdCBwcmFjdGljZSBmb3Igc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