Veritas-bu

[Veritas-bu] Nice challenge for someone. Distaster recover over 2 sites

2002-05-13 08:46:11
Subject: [Veritas-bu] Nice challenge for someone. Distaster recover over 2 sites
From: dave.markham AT icl DOT net (David Markham)
Date: Mon, 13 May 2002 13:46:11 +0100
This is a multi-part message in MIME format.

------=_NextPart_000_02DE_01C1FA84.8B87BB80
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

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 )





------=_NextPart_000_02DE_01C1FA84.8B87BB80
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.2715.400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D141233212-13052002>Right =
this may be a=20
bit long, but i would really be appreciative of some =
help.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002>Ok</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D141233212-13052002>First =
info is&nbsp;=20
i run netbackup 3.2&nbsp; on Solaris 8 with an L1000 sun 30 tape =
unit.&nbsp;=20
</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D141233212-13052002>I =
admin backups for=20
a client and there are 2 sites. A production site and a dr site ( =
disaster=20
recovery )</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D141233212-13052002>Now =
for simplicity i=20
will say i have 4 machines on each site. + the backup=20
servers</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002>production&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
dr</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D141233212-13052002></SPAN></FONT><FONT=20
face=3DArial size=3D2><SPAN =
class=3D141233212-13052002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002>prodbackup&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;drbackup&nbsp;&nbsp;&nbsp;=20
- backup servers</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002>prodapp1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
drapp1</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002>prodapp2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
drapp2</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002>proddb1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;drdb1</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002>proddb2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;drdb2</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D141233212-13052002>On =
production site i=20
run a dr class which backs up data only, ( the OS is covered under a =
differnt=20
class etc )</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D141233212-13052002>I also =
backup the=20
/usr/openv/netbackup/db and <FONT =
size=3D2>/usr/openv/volmgr/database&nbsp;=20
directories with below script ran from cron =
daily.</FONT></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D141233212-13052002>#!/bin/ksh<BR>#Dave=20
M<BR>#Backs netbackup databases up to disk to ftp to DR =
site</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV><FONT><SPAN=20
class=3D141233212-13052002>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><FONT=20
face=3DArial size=3D2></FONT><FONT face=3DArial size=3D2></FONT><FONT =
face=3DArial=20
size=3D2></FONT><FONT face=3DArial size=3D2></FONT><FONT face=3DArial=20
size=3D2></FONT><BR><FONT face=3DArial=20
size=3D2>PATH=3D/usr/openv/netbackup/Backup_DBs<BR>COMMAND=3D/usr/openv/n=
etbackup/bin/admincmd/bpbackupdb<BR>LOGFILE=3D/var/netbackup/backupdbs.lo=
g</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><FONT=20
face=3DArial size=3D2></FONT><FONT face=3DArial size=3D2></FONT><FONT =
face=3DArial=20
size=3D2></FONT><FONT face=3DArial size=3D2></FONT><FONT face=3DArial=20
size=3D2></FONT><BR><FONT face=3DArial size=3D2>echo "Backing up =
Netbackup Databases=20
on `/usr/bin/date`" &gt; $LOGFILE<BR>$COMMAND -dpath $PATH &gt;&gt; =
$LOGFILE=20
2&gt;&amp;1<BR>/usr/bin/ls -l $PATH &gt;&gt; $LOGFILE<BR>echo=20
"--------------------------------------" &gt;&gt;&nbsp; =
$LOGFILE</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D141233212-13052002>This =
creates 3 files=20
in =3D/usr/openv/netbackup/Backup_DBs&nbsp;&nbsp;&nbsp;&nbsp; HEADER, =
IMAGE1 and=20
IMAGE2</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D141233212-13052002>I copy =
these by ftp=20
to the dr site each day.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D141233212-13052002>Now i =
need to=20
perform a recovery operation and beable to restore onto the dr site data =
from=20
the production site in the dr class.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D141233212-13052002>The =
architecture on=20
both sites is the same as the servers are identical, just different host =
names=20
and the proddb and drdb machines are running cluster and have a =
different=20
logical host path structure.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D141233212-13052002>I was =
thinking i=20
could somehow load the databases i have ftped to the dr site into the dr =
site=20
netbackup which would mean the L1000 and netbackup on dr site would be =
able to=20
recognise the dr class tapes i put into it which have come from the =
production=20
site.&nbsp; </SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D141233212-13052002>The dr =
site backup=20
server knows about its clients obvioulsy, but i was thinking how will i =
beable=20
to restore things from the production site machines to the dr site =
machine=20
equivalent.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D141233212-13052002>I know =
this may not=20
make much sense but if someone could help i could give extra info as =
required.=20
Please please</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D141233212-13052002>Dave ( =
a desparate=20
man )</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D141233212-13052002></SPAN></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_02DE_01C1FA84.8B87BB80--


<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] Nice challenge for someone. Distaster recover over 2 sites, David Markham <=