Veritas-bu

[Veritas-bu] sync catalog

2003-10-08 06:26:59
Subject: [Veritas-bu] sync catalog
From: Dave Markham" <dave.markham AT fjserv DOT net (Dave Markham)
Date: Wed, 8 Oct 2003 11:26:59 +0100
This is a multi-part message in MIME format.

------=_NextPart_000_02CF_01C38D8F.169D8E90
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Messageyeah i have exactly this problem and came up with a solution but =
have not implemented it yet

Easiest way would be to have the host name of the 2 backups machines the =
same, but this isnt always possible and in my environment they are =
different across sites.

I backup my catalogs to disk each day using a script which utilises =
bpbackupdb -dpath
I then scp these over daily to my dr site

In even of dr you would need to follow these steps :-

tar dr backup server /usr/openv somewhere
uninstall netbackup
rename machine to production site
reinstall netbackup=20
then bprecover -dpath the catlogs from production site

This would then let you restore to your dr clients. You may would need =
to add the dr clients also.

To try and cut down on some of this i have thought about doing some =
prelim work

mv /usr/openv /usr/openv.dr
rename machine to production site
install netbackup ( so configured with production name )
mv /usr/openv /usr/openv.production
rename machine back to dr site=20
mv /usr/openv.dr /usr/openv


Then in even of dr , you should just need to mv /usr/openv /usr/openv.dr
rename machine to be production
mv /usr/openv.production /usr/openv

then do you bprecover on the db's you have scp'd over from production =
site daily.

I have not tested this method , but it should work

Thought/comments

Dave

  ----- Original Message -----=20
  From: Hillebrand, Bradly W.=20
  To: James K. Wade ; veritas-bu AT mailman.eng.auburn DOT edu=20
  Sent: Tuesday, October 07, 2003 4:23 PM
  Subject: RE: [Veritas-bu] sync catalog


  I'm working on a similar situation and have not found a solution with =
Netbackup.  The problem seems to be that the host name of the master is =
imbedded in the catalog so you cannot sync two catalogs.  I have heard =
of surgical solutions to modify the catalog, but this is not a =
"supported" operation.  Not exactly the situation you would want during =
a disaster.  Does anyone know of a possible solution?  I could import =
the tapes, but I would have 35 or 40 LTO tapes to import.


  Thanks,

  Brad
    -----Original Message-----
    From: James K. Wade [mailto:james AT lim DOT com]=20
    Sent: Tuesday, October 07, 2003 9:49 AM
    To: veritas-bu AT mailman.eng.auburn DOT edu
    Subject: [Veritas-bu] sync catalog


    Howdy All,



    We have a disaster recovery site that I just installed a

    smaller tape library and netbackup. The intended purpose

    is if our building here burns down, we can use off-site

    tapes to bring our environment back up.



    We have a 100mb link between the two sites. I was wondering

    is there anyway to sync the catalogs between the two systems,

    so that the off-site knows about my in-house tapes and backups,

    and my in-house catalog knows about my off-site tapes and backups.



    I don't want to have to worry about the last catalog backup if =
something

    happens.



    Thanks.James



    James Wade

------=_NextPart_000_02CF_01C38D8F.169D8E90
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>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1264" name=3DGENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in =
1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
P.MsoAutoSig {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoAutoSig {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoAutoSig {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=3DEN-US vLink=3Dpurple link=3Dblue bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>yeah i have exactly this problem and =
came up with a=20
solution but have not implemented it yet</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Easiest way would be to have the host =
name of the 2=20
backups machines the same, but this isnt always possible and in my =
environment=20
they are different across sites.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I backup my catalogs to disk each day =
using a=20
script which utilises bpbackupdb -dpath</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I then&nbsp;scp these over daily to my =
dr=20
site</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>In even of dr you would need to follow =
these steps=20
:-</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>tar&nbsp;dr backup server /usr/openv=20
somewhere</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>uninstall netbackup</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>rename machine to production =
site</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>reinstall netbackup </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>then bprecover -dpath the catlogs from =
production=20
site</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This would then let you restore to your =
dr clients.=20
You may would need to add the dr clients also.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>To try and cut down on some of this i =
have thought=20
about doing some prelim work</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>mv /usr/openv =
/usr/openv.dr</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>rename machine to production =
site</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>install netbackup ( so configured with =
production=20
name )</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>mv /usr/openv =
/usr/openv.production</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>rename machine back to dr site =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>mv /usr/openv.dr =
/usr/openv</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>Then in even of dr , you should just =
need to mv=20
/usr/openv /usr/openv.dr</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>rename machine to be =
production</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>mv /usr/openv.production =
/usr/openv</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>then do you bprecover on the db's you =
have scp'd=20
over from production site daily.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have not tested this method , but it =
should=20
work</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thought/comments</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Dave</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dbhillebrand AT fhlbi DOT com =
href=3D"mailto:bhillebrand AT fhlbi DOT com">Hillebrand,=20
  Bradly W.</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Djames AT lim DOT com=20
  href=3D"mailto:james AT lim DOT com">James K. Wade</A> ; <A=20
  title=3Dveritas-bu AT mailman.eng.auburn DOT edu=20
  =
href=3D"mailto:veritas-bu AT mailman.eng.auburn DOT edu">veritas-bu AT mailman 
DOT eng.=
auburn.edu</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, October 07, 2003 =
4:23=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Veritas-bu] sync=20
  catalog</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=3D345021215-07102003><FONT face=3DArial =
color=3D#0000ff size=3D2>I'm=20
  working on a similar situation and have not found a solution with=20
  Netbackup.&nbsp; The problem seems to be that the host name of the =
master is=20
  imbedded in the catalog so you cannot sync two catalogs.&nbsp; I have =
heard of=20
  surgical solutions to modify the catalog, but this is not a =
"supported"=20
  operation.&nbsp; Not exactly the situation you would want during a=20
  disaster.&nbsp; Does anyone know of a possible solution?&nbsp; I could =
import=20
  the tapes, but I would have 35 or 40 LTO tapes to =
import.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D345021215-07102003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D345021215-07102003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D345021215-07102003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Thanks,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D345021215-07102003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D345021215-07102003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Brad</FONT></SPAN></DIV>
  <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
    <DIV></DIV>
    <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
    face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
James K. Wade=20
    [mailto:james AT lim DOT com] <BR><B>Sent:</B> Tuesday, October 07, 2003 =
9:49=20
    AM<BR><B>To:</B> =
veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B>=20
    [Veritas-bu] sync catalog<BR><BR></FONT></DIV>
    <DIV class=3DSection1>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Howdy =
All,</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">We have a disaster =
recovery site=20
    that I just installed a</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">smaller tape library =
and=20
    netbackup. The intended purpose</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">is if our building =
here burns=20
    down, we can use off-site</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">tapes to bring our =
environment=20
    back up.</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">We have a 100mb link =
between the=20
    two sites. I was wondering</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">is there anyway to =
sync the=20
    catalogs between the two systems,</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">so that the off-site =
knows about=20
    my in-house tapes and backups,</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">and my in-house =
catalog knows=20
    about my off-site tapes and backups.</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I don=92t want to have =
to worry=20
    about the last catalog backup if something</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">happens.</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Thanks=85James</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoAutoSig><FONT face=3D"Times New Roman" size=3D3><SPAN=20
    style=3D"FONT-SIZE: 12pt">James=20
Wade</SPAN></FONT></P></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_02CF_01C38D8F.169D8E90--


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