Veritas-bu

[Veritas-bu] NBU bpstart_notif problem

2001-02-14 07:46:47
Subject: [Veritas-bu] NBU bpstart_notif problem
From: O. Aytug KARALAR aytug AT ganpro DOT com
Date: Wed, 14 Feb 2001 14:46:47 +0200
This is a multi-part message in MIME format.

------=_NextPart_000_0086_01C09694.F536A820
Content-Type: text/plain;
        charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable

Hi ,
I will get cold backup of an Oracle system. Netbackup master server is =
SUN E 250 (Solaris 2.6). Netbackup is 3.4 BusineesServer. Oracle =
Database Server box is SUN E450(Solaris 2.6), Oracle Application Server =
box is SUN E 450(Solaris 2.6). I will shutdown Oracle DB first and =
backup files and open DB again at the end of backup. I dont need =
Netbackup Oracle DB Extension because i dont have hot backups. I use =
bpstart_notify, bpend_notify. I will close both Application and Database =
at the same time which are on different boxes, and backup files on both =
servers and then at the end i will start both Database and Application =
at the same time. In a NBU class i include 2 clients. I include =
bpstart_notify on one server and include bpend_notify to the other. When =
i start backup, Netbackup doesnt wait bpstart_notify's completing. This =
means backups starts to write before database stops. I tested it several =
times but it doesnt work.
My bpstart_notify is like:
=20
#!/bin/sh/
su - applive -c "/......./cm_stop"          =20
rsh applserver su - applive -c "/....../stop_F45"    (closes =
Application)
rsh applserver su - oralive -c "/....../stop_web"   (closes Application)
su - oralive -c "/........./stop_all"                         (closes =
Database)
exit 0

It runs the first and second line but it doesnt run the 3. and 4. lines =
and without closing the database and without waiting the compliting of =
bpstart_notify , it starts to write on tape.
Does starting of backup process wait till bpstart_notify completes all =
lines in it or not?

Thanks in advance.

O.  AYTUG KARALAR




------=_NextPart_000_0086_01C09694.F536A820
Content-Type: text/html;
        charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-9" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi ,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I will get cold backup of an Oracle =
system.=20
Netbackup master server is SUN E 250 (Solaris 2.6). Netbackup is 3.4=20
BusineesServer. Oracle Database Server box is SUN E450(Solaris 2.6), =
Oracle=20
Application Server box is SUN E 450(Solaris 2.6). I will shutdown Oracle =
DB=20
first and backup files and open DB again at the end of backup. I dont =
need=20
Netbackup Oracle DB Extension because i dont have hot backups. I =
use<FONT=20
face=3D"MS Shell Dlg"></FONT><FONT size=3D2> <FONT =
face=3DArial>bpstart_notify,=20
bpend_notify. I will close both Application and Database at the same =
time which=20
are on different boxes, and backup files on both servers and then at the =
end i=20
will start both Database and Application at the same time. In a NBU =
class i=20
include 2 clients. I include bpstart_notify on one server and include=20
bpend_notify to the other. When i start backup, Netbackup doesnt wait=20
bpstart_notify's completing. This means&nbsp;backups starts to write =
before=20
database&nbsp;stops. I tested it several times but it doesnt=20
work.</FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT face=3D"MS Shell Dlg"><FONT size=3D2><FONT =
face=3DArial>My=20
bpstart_notify is like:</FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT face=3D"MS Shell Dlg"><FONT size=3D2><FONT =

face=3DArial></FONT></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT face=3D"MS Shell Dlg"><FONT size=3D2><FONT =

face=3DArial>#!/bin/sh/</FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT face=3D"MS Shell Dlg"><FONT size=3D2><FONT =
face=3DArial>su=20
-&nbsp;applive -c=20
"/......./cm_stop"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
</FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT face=3D"MS Shell Dlg"><FONT size=3D2><FONT =

face=3DArial>rsh&nbsp;applserver su - applive -c=20
"/....../stop_F45"&nbsp;&nbsp;&nbsp; (closes=20
Application)</FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>rsh applserver su - oralive -c=20
"/....../stop_web"&nbsp;&nbsp; (closes Application)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>su - oralive -c=20
"/........./stop_all"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;=20
(closes Database)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>exit 0</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It runs the first and second line but =
it doesnt run=20
the 3. and 4. lines and without closing the database and without waiting =
the=20
compliting of bpstart_notify , it starts to write on tape.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Does starting of backup process wait =
till=20
bpstart_notify completes all lines in it or not?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT><FONT face=3DArial size=3D2>O.&nbsp; AYTUG =
KARALAR</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><BR></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0086_01C09694.F536A820--




<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] NBU bpstart_notif problem, O . Aytug KARALAR aytug <=