This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C1FA87.998E66E0
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: 7bit
David,
One point of clarification. I assume from your comments below that the D/R
site is an active NetBackup installation with its own clients. This makes
D/R much tougher. I suppose the first thing you need to decide is whether
or not you need to continue running backups at the D/R site during an actual
disaster event. If the answer is "yes" then I suggest you have a completely
separate machine that would be the D/R NBU server that is NOT a master or
media server for the systems at the D/R site. If you can't do that, then I
suspect your only real course of action in a D/R scenario would be to use
the "import" function to read the tapes from the primary site into the
catalog of the D/R master server. Unfortunately, this could be very time
consuming.
If you are able to have a separate machine to act as your master/media
server at the D/R site, then the steps below should get you started in the
right direction.
1. Make sure your NBU installation at the D/R site is the same version and
patch level.
2. Make sure the catalog backup files are located on the D/R server. Let's
assume they are stored in /var/tmp/nbu_db
3. Use the command "bprecover -l -dpath /var/tmp/nbu_db This should give
you a listing of the images in the catalog backup.
4. Once you're sure this is the version of the database you want to
recover, use "bprecover -r -dpath /var/tmp/nbu_db" to recover the catalog.
5. After you have recovered the catalog, make any changes needed to the
configuration so it matches your D/R site hardware.
6. I always recommend having the D/R machine(s) use the same host name as
the production machine(s). If you can't do this, they you'll have to tell
NBU that the tapes/images are now owned by different machines. You can do
this a couple of ways. The easiest is probably to use the
"FORCE_RESTORE_MEDIA_SERVER" option in bp.conf. This may be a 3.4 option
only, so you may not be able to use it. If you can't use this, then you
need to use "bpmedia -movedb" on each tape to move it from the "old" server
(the production server) to the "new" server (the D/R server). You may also
need to use the command "bpimage -newserver new_media_server_name -oldserver
old_media_server_name to change all the images.
7. One other thing I think of is whether you're using duplicated tapes at
the D/R site or not. If you are, you'll need to change the duplicates so
that they are the primary tape copy.
HTH
Steve White
-----Original Message-----
From: David Markham [mailto:dave.markham AT icl DOT net]
Sent: Monday, May 13, 2002 5:46 AM
To: 'Veritas-Bu (E-mail)
Cc: Veritas-Bu-Admin (E-mail)
Subject: [Veritas-bu] Nice challenge for someone. Distaster recover over 2
sites
Right this may be a bit long, but i would really be appreciative of some
help.
Ok
First info is i run netbackup 3.2 on Solaris 8 with an L1000 sun 30 tape
unit.
I admin backups for a client and there are 2 sites. A production site and a
dr site ( disaster recovery )
Now for simplicity i will say i have 4 machines on each site. + the backup
servers
production dr
prodbackup drbackup - backup servers
prodapp1 drapp1
prodapp2 drapp2
proddb1 drdb1
proddb2 drdb2
On production site i run a dr class which backs up data only, ( the OS is
covered under a differnt class etc )
I also backup the /usr/openv/netbackup/db and /usr/openv/volmgr/database
directories with below script ran from cron daily.
#!/bin/ksh
#Dave M
#Backs netbackup databases up to disk to ftp to DR site
PATH=/usr/openv/netbackup/Backup_DBs
COMMAND=/usr/openv/netbackup/bin/admincmd/bpbackupdb
LOGFILE=/var/netbackup/backupdbs.log
echo "Backing up Netbackup Databases on `/usr/bin/date`" > $LOGFILE
$COMMAND -dpath $PATH >> $LOGFILE 2>&1
/usr/bin/ls -l $PATH >> $LOGFILE
echo "--------------------------------------" >> $LOGFILE
This creates 3 files in =/usr/openv/netbackup/Backup_DBs HEADER, IMAGE1
and IMAGE2
I copy these by ftp to the dr site each day.
Now i need to perform a recovery operation and beable to restore onto the dr
site data from the production site in the dr class.
The architecture on both sites is the same as the servers are identical,
just different host names and the proddb and drdb machines are running
cluster and have a different logical host path structure.
I was thinking i could somehow load the databases i have ftped to the dr
site into the dr site netbackup which would mean the L1000 and netbackup on
dr site would be able to recognise the dr class tapes i put into it which
have come from the production site.
The dr site backup server knows about its clients obvioulsy, but i was
thinking how will i beable to restore things from the production site
machines to the dr site machine equivalent.
I know this may not make much sense but if someone could help i could give
extra info as required. Please please
Dave ( a desparate man )
------------------------------------------------------------------------------
This email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else,
unless expressly approved by the sender or an authorized addressee, is
unauthorized.
If you are not the intended recipient, any disclosure, copying, distribution or
any action omitted or taken in reliance on it, is prohibited and may be
unlawful. If you believe that you have received this email in error, please
contact the sender, delete this e-mail and destroy all copies.
==============================================================================
------_=_NextPart_001_01C1FA87.998E66E0
Content-Type: text/html;
charset=iso-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=445264313-13052002><FONT face=Arial color=#0000ff size=2>
<DIV><SPAN class=982110214-13052002><FONT face=Arial color=#0000ff
size=2>David,</FONT></SPAN></DIV>
<DIV><SPAN class=982110214-13052002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=982110214-13052002><FONT face=Arial color=#0000ff size=2>One
point of clarification. I assume from your comments below that the D/R
site is an active NetBackup installation with its own clients. This makes
D/R much tougher. I suppose the first thing you need to decide is whether
or not you need to continue running backups at the D/R site during an actual
disaster event. If the answer is "yes" then I suggest you have a
completely separate machine that would be the D/R NBU server that is NOT a
master or media server for the systems at the D/R site. If you can't do
that, then I suspect your only real course of action in a D/R scenario would be
to use the "import" function to read the tapes from the primary site into the
catalog of the D/R master server. Unfortunately, this could be very time
consuming. </FONT></SPAN></DIV>
<DIV><SPAN class=982110214-13052002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=982110214-13052002><FONT face=Arial color=#0000ff size=2>If
you
are able to have a separate machine to act as your master/media server at the
D/R site, then the steps below should get you started in the right
direction.</FONT></SPAN></DIV></FONT></SPAN></DIV>
<DIV><SPAN class=445264313-13052002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN><SPAN class=445264313-13052002><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=445264313-13052002><FONT face=Arial color=#0000ff
size=2>1. Make sure your NBU installation at the D/R site is the same
version and patch level.</FONT></SPAN></DIV>
<DIV><SPAN class=445264313-13052002><FONT face=Arial color=#0000ff
size=2>2. Make sure the catalog backup files are located on the D/R
server. Let's assume they are stored in
/var/tmp/nbu_db</FONT></SPAN></DIV>
<DIV><SPAN class=445264313-13052002><FONT face=Arial color=#0000ff
size=2>3. Use the command "bprecover -l -dpath /var/tmp/nbu_db This
should give you a listing of the images in the catalog
backup.</FONT></SPAN></DIV>
<DIV><SPAN class=445264313-13052002><FONT face=Arial color=#0000ff
size=2>4. Once you're sure this is the version of the database you want
to
recover, use "bprecover -r -dpath /var/tmp/nbu_db" to recover the
catalog.</FONT></SPAN></DIV>
<DIV><SPAN class=445264313-13052002><FONT face=Arial color=#0000ff
size=2>5. After you have recovered the catalog, make any changes needed
to
the configuration so it matches your D/R site hardware.</FONT></SPAN></DIV>
<DIV><SPAN class=445264313-13052002><FONT face=Arial color=#0000ff
size=2>6. I always recommend having the D/R machine(s) use the same host
name as the production machine(s). If you can't do this, they you'll have
to tell NBU that the tapes/images are now owned by different machines.
You
can do this a couple of ways. The easiest is probably to use the
"FORCE_RESTORE_MEDIA_SERVER" option in bp.conf. This may be a 3.4 option
only, so you may not be able to use it. If you can't use this, then you
need to use "bpmedia -movedb" on each tape to move it from the "old" server
(the
production server) to the "new" server (the D/R server). You may
also need to use the command "bpimage -newserver new_media_server_name
-oldserver old_media_server_name to change all the images.</FONT></SPAN></DIV>
<DIV><SPAN class=445264313-13052002><FONT face=Arial color=#0000ff
size=2>7. One other thing I think of is whether you're using duplicated
tapes at the D/R site or not. If you are, you'll need to change the
duplicates so that they are the primary tape copy. </FONT></SPAN></DIV>
<DIV><SPAN class=445264313-13052002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=445264313-13052002><FONT face=Arial color=#0000ff
size=2>HTH</FONT></SPAN></DIV>
<DIV><SPAN class=445264313-13052002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=445264313-13052002><FONT face=Arial color=#0000ff size=2>Steve
White</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> David Markham
[mailto:dave.markham AT icl DOT net]<BR><B>Sent:</B> Monday, May 13, 2002
5:46
AM<BR><B>To:</B> 'Veritas-Bu (E-mail)<BR><B>Cc:</B> Veritas-Bu-Admin
(E-mail)<BR><B>Subject:</B> [Veritas-bu] Nice challenge for someone.
Distaster
recover over 2 sites<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=141233212-13052002>Right this may be
a bit long, but i would really be appreciative of some
help.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002></SPAN></FONT> </DIV>
<DIV><SPAN class=141233212-13052002><FONT face=Arial><FONT size=2>Ok<BR><SPAN
class=445264313-13052002><FONT
color=#0000ff> </FONT></SPAN></FONT></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN class=141233212-13052002>First info
is i run netbackup 3.2 on Solaris 8 with an L1000 sun 30 tape
unit. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=141233212-13052002>I admin backups
for a client and there are 2 sites. A production site and a dr site (
disaster
recovery )</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=141233212-13052002>Now for
simplicity
i will say i have 4 machines on each site. + the backup
servers</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002>production
dr</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002></SPAN></FONT><FONT face=Arial size=2><SPAN
class=141233212-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002>prodbackup drbackup
- backup servers</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002>prodapp1
drapp1</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002>prodapp2
drapp2</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002>proddb1 drdb1</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002>proddb2 drdb2</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=141233212-13052002>On production
site
i run a dr class which backs up data only, ( the OS is covered under a
differnt class etc )</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=141233212-13052002>I also backup the
/usr/openv/netbackup/db and <FONT size=2>/usr/openv/volmgr/database
directories with below script ran from cron daily.</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002>#!/bin/ksh<BR>#Dave M<BR>#Backs netbackup databases
up to disk to ftp to DR site</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT size=+0><SPAN
class=141233212-13052002>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><BR><FONT face=Arial
size=2>PATH=/usr/openv/netbackup/Backup_DBs<BR>COMMAND=/usr/openv/netbackup/bin/admincmd/bpbackupdb<BR>LOGFILE=/var/netbackup/backupdbs.log</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><BR><FONT face=Arial size=2>echo "Backing up Netbackup
Databases
on `/usr/bin/date`" > $LOGFILE<BR>$COMMAND -dpath $PATH >> $LOGFILE
2>&1<BR>/usr/bin/ls -l $PATH >> $LOGFILE<BR>echo
"--------------------------------------" >> $LOGFILE</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=141233212-13052002>This creates 3
files in =/usr/openv/netbackup/Backup_DBs HEADER,
IMAGE1 and IMAGE2</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=141233212-13052002>I copy these by
ftp to the dr site each day.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=141233212-13052002>Now i need to
perform a recovery operation and beable to restore onto the dr site data from
the production site in the dr class.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=141233212-13052002>The architecture
on both sites is the same as the servers are identical, just different host
names and the proddb and drdb machines are running cluster and have a
different logical host path structure.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=141233212-13052002>I was thinking i
could somehow load the databases i have ftped to the dr site into the dr site
netbackup which would mean the L1000 and netbackup on dr site would be able
to
recognise the dr class tapes i put into it which have come from the
production
site. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=141233212-13052002>The dr site
backup
server knows about its clients obvioulsy, but i was thinking how will i
beable
to restore things from the production site machines to the dr site machine
equivalent.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=141233212-13052002>I know this may
not make much sense but if someone could help i could give extra info as
required. Please please</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=141233212-13052002>Dave ( a
desparate
man )</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=141233212-13052002></SPAN></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BLOCKQUOTE></BODY></HTML>
<P>------------------------------------------------------------------------------<br>
<br>
<br>
This email is confidential and may be legally privileged.<br>
<br>
It is intended solely for the addressee. Access to this email by anyone else,
unless expressly approved by the sender or an authorized addressee, is
unauthorized.<br>
<br>
If you are not the intended recipient, any disclosure, copying, distribution or
any action omitted or taken in reliance on it, is prohibited and may be
unlawful. If you believe that you have received this email in error, please
contact the sender, delete this e-mail and destroy all copies.<br>
<br>
<br>
==============================================================================<br>
</P>
------_=_NextPart_001_01C1FA87.998E66E0--
|