Unix Technical Forum

Reg. Emergency log backup during restore.....

This is a discussion on Reg. Emergency log backup during restore..... within the Informix forums, part of the Database Server Software category; --> This message is in MIME format. Since your mail reader does not understand this format, some or all of ...


Go Back   Unix Technical Forum > Database Server Software > Informix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 08:03 PM
Rajasekaran, Rajesh
 
Posts: n/a
Default Reg. Emergency log backup during restore.....


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_01C3E518.E1F966A0
Content-Type: text/plain;
charset="iso-8859-1"

Hi,

Recently, we had multi-disk failure on a Sun storedge T3 RAID-5
array and hence we lost all the data. We rebuilt the whole array after
replacing the faulty disks. We restored the whole database from our backups.

Remember, we had onbar parallel backups running on this system. Hence ,we
have to restore the logical logs to make the chunks online after the
restore. Otherwise as you know, chunks will be in inconsistency modes.
Sometime during the logical restore, onbar kicked of a log backup before the
log restore (I assume that is the emergency log backup left at the disk
failure stage).It backed up the logical log and started performing all the
log restores plus the one backed up just now. The chunks are online now.

My question

1) How did it get log data for backup (emergency log data) when the whole
RAID array is reinitialised due to multidisk failure ?
-- I mean where was the data for ONBAR to backup when everything was
destroyed ?

2) Could it be due to the logdbs was mirrored and might have been safe
somewhere else during that point ?
-- Even then we reinitialised the whole RAID array after replacing the
disks.

Please spare your views/comments.


Regards
Rajesh Rajasekaran
Informix Database Administrator
Forest Pharmaceuticals Inc.
(314) 493-7073





__________________________________________________ __________________
This e-mail and its attachments may contain Forest Laboratories, Inc.
proprietary information that is privileged, confidential or subject to
copyright belonging to Forest Laboratories, Inc. This e-mail is intended
solely for the use of the individual or entity to which it is addressed. If
you are not the intended recipient of this e-mail, or the employee or agent
responsible for delivering this e-mail to the intended recipient, you are
hereby notified that any dissemination, distribution, copying or action
taken in relation to the contents of and attachments to this e-mail is
strictly prohibited and may be unlawful. If you have received this e-mail in
error, please notify the sender immediately and permanently delete the
original and any copy of this e-mail and any printout.

------_=_NextPart_001_01C3E518.E1F966A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Reg. Emergency log backup during restore.....</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Times New Roman">Hi,</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Times New Roman">Recently, we had multi-disk failure on a Sun =
storedge T3 RAID-5 array and hence we lost all the data. We rebuilt the =
whole array after replacing the faulty disks. We restored the whole =
database from our backups.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Times New Roman">&nbsp; Remember, we had =
onbar parallel backups running on this system. Hence ,we have to =
restore the logical logs to make the chunks online after the restore. =
Otherwise as you know, chunks will be in inconsistency modes.&nbsp; =
Sometime during the logical restore, onbar kicked of a log backup =
before the log restore (I assume that is the emergency log backup left =
at the disk failure stage).It backed up the logical log and started =
performing all the log restores plus the one backed up just now. The =
chunks are online now.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Times New Roman">My question</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Times New Roman">1) How did it get log data =
for backup (emergency log data)&nbsp; when the whole RAID array is =
reinitialised due to multidisk failure ?</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Times New Roman">&nbsp;&nbsp; -- I mean where =
was the data for ONBAR to backup when everything was destroyed ?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Times New Roman">2) Could it be due to the =
logdbs was mirrored and might have been safe somewhere else during that =
point ?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Times New Roman">&nbsp;&nbsp;&nbsp; -- Even =
then we reinitialised the whole RAID array after replacing the =
disks.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Times New Roman">Please spare your =
views/comments.</FONT>
</P>
<BR>

<P><B><FONT COLOR=3D"#000000" FACE=3D"Verdana">Regards</FONT></B>
<BR><B><FONT COLOR=3D"#000000" FACE=3D"Verdana">Rajesh =
Rajasekaran</FONT></B>
<BR><B><FONT COLOR=3D"#000000" FACE=3D"Verdana">Informix Database =
Administrator</FONT></B>
<BR><B><FONT COLOR=3D"#000000" FACE=3D"Verdana">Forest Pharmaceuticals =
Inc.</FONT></B>
<BR><B><FONT COLOR=3D"#000000" FACE=3D"Verdana">(314) =
493-7073</FONT></B>
</P>
<BR>
<BR>
<BR>
<BR>

<P>_______________________________________________ _____________________&=
nbsp;=20
<BR>This e-mail and its attachments may contain Forest Laboratories, =
Inc. proprietary information that is privileged, confidential or =
subject to copyright belonging to Forest Laboratories, Inc. This e-mail =
is intended solely for the use of the individual or entity to which it =
is addressed. If you are not the intended recipient of this e-mail, or =
the employee or agent responsible for delivering this e-mail to the =
intended recipient, you are hereby notified that any dissemination, =
distribution, copying or action taken in relation to the contents of =
and attachments to this e-mail is strictly prohibited and may be =
unlawful. If you have received this e-mail in error, please notify the =
sender immediately and permanently delete the original and any copy of =
this e-mail and any printout.</P>

</BODY>
</HTML>
------_=_NextPart_001_01C3E518.E1F966A0--
sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 08:04 PM
Art S. Kagel
 
Posts: n/a
Default Re: Reg. Emergency log backup during restore.....

On Tue, 27 Jan 2004 16:02:32 -0500, Rajasekaran, Rajesh wrote:

Oooo, RAID5 and MIME! You don't pay attention much do you?

NO RAID5! NO RAID5! NO RAID5! NO RAID5! NO RAID5! NO RAID5! NO RAID5!

And PLEASE no MIME!

> Hi,
>
> Recently, we had multi-disk failure on a Sun storedge T3 RAID-5
> array and hence we lost all the data. We rebuilt the whole array after
> replacing the faulty disks. We restored the whole database from our backups.


RAID5 should NEVER be used for databases, and IYAMO not at all for anything
that you care about. If you've never seen my postings on the subject and
cannot find them in the archive, email me and I'll enlighten you (assuming you
have not learned your lesson from this experience). But let's get beyond the
scolding to your question.

> Remember, we had onbar parallel backups running on this system. Hence ,we
> have to restore the logical logs to make the chunks online after the
> restore. Otherwise as you know, chunks will be in inconsistency modes.
> Sometime during the logical restore, onbar kicked of a log backup before the
> log restore (I assume that is the emergency log backup left at the disk
> failure stage).It backed up the logical log and started performing all the
> log restores plus the one backed up just now. The chunks are online now.
>
> My question
>
> 1) How did it get log data for backup (emergency log data) when the whole
> RAID array is reinitialised due to multidisk failure ?
> -- I mean where was the data for ONBAR to backup when everything was
> destroyed ?


The dbspace(s) containing the logical logs still on disk at the time of the
level 0/1/2 archive were saved along with the rest of the dbspaces and were
restored from that tapeset before the individual logical log restore begain.
If the last logical log was almost full at the time of the archive, then the
dbspace restore records and the logical log restore records which are written
to the active logical log probably were enough to fill that log causing a
switch to the next logical log and triggering the logical log backup.

> 2) Could it be due to the logdbs was mirrored and might have been safe
> somewhere else during that point ?
> -- Even then we reinitialised the whole RAID array after replacing the
> disks.


Nope.

Have fun, good luck, and remember to chant our mantra three times a day:

NO RAID5! NO RAID5! NO RAID5! NO RAID5! NO RAID5! NO RAID5! NO RAID5!

Art S. Kagel

> Please spare your views/comments.
>
>
> Regards
> Rajesh Rajasekaran
> Informix Database Administrator
> Forest Pharmaceuticals Inc.
> (314) 493-7073
>
>
>
>
>
> __________________________________________________ __________________ This
> e-mail and its attachments may contain Forest Laboratories, Inc. proprietary
> information that is privileged, confidential or subject to copyright
> belonging to Forest Laboratories, Inc. This e-mail is intended solely for
> the use of the individual or entity to which it is addressed. If you are not
> the intended recipient of this e-mail, or the employee or agent responsible
> for delivering this e-mail to the intended recipient, you are hereby
> notified that any dissemination, distribution, copying or action taken in
> relation to the contents of and attachments to this e-mail is strictly
> prohibited and may be unlawful. If you have received this e-mail in error,
> please notify the sender immediately and permanently delete the original and
> any copy of this e-mail and any printout.
>
> ------_=_NextPart_001_01C3E518.E1F966A0 Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META
> HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1">
> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
> 5.5.2653.12">
> <TITLE>Reg. Emergency log backup during restore.....</TITLE> </HEAD> <BODY>
>
> <P><FONT SIZE=3D2 FACE=3D"Times New Roman">Hi,</FONT> </P>
>
> <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 = FACE=3D"Times
> New Roman">Recently, we had multi-disk failure on a Sun = storedge T3 RAID-5
> array and hence we lost all the data. We rebuilt the = whole array after
> replacing the faulty disks. We restored the whole = database from our
> backups.</FONT></P>
>
> <P><FONT SIZE=3D2 FACE=3D"Times New Roman">&nbsp; Remember, we had = onbar
> parallel backups running on this system. Hence ,we have to = restore the
> logical logs to make the chunks online after the restore. = Otherwise as you
> know, chunks will be in inconsistency modes.&nbsp; = Sometime during the
> logical restore, onbar kicked of a log backup = before the log restore (I
> assume that is the emergency log backup left = at the disk failure stage).It
> backed up the logical log and started = performing all the log restores plus
> the one backed up just now. The = chunks are online now.</FONT></P>
>
> <P><FONT SIZE=3D2 FACE=3D"Times New Roman">My question</FONT> </P>
>
> <P><FONT SIZE=3D2 FACE=3D"Times New Roman">1) How did it get log data = for
> backup (emergency log data)&nbsp; when the whole RAID array is =
> reinitialised due to multidisk failure ?</FONT></P>
>
> <P><FONT SIZE=3D2 FACE=3D"Times New Roman">&nbsp;&nbsp; -- I mean where =
> was the data for ONBAR to backup when everything was destroyed ?</FONT> </P>
>
> <P><FONT SIZE=3D2 FACE=3D"Times New Roman">2) Could it be due to the =
> logdbs was mirrored and might have been safe somewhere else during that =
> point ?</FONT>
> <BR><FONT SIZE=3D2 FACE=3D"Times New Roman">&nbsp;&nbsp;&nbsp; -- Even =
> then we reinitialised the whole RAID array after replacing the =
> disks.</FONT>
> </P>
>
> <P><FONT SIZE=3D2 FACE=3D"Times New Roman">Please spare your =
> views/comments.</FONT>
> </P>
> <BR>
>
> <P><B><FONT COLOR=3D"#000000" FACE=3D"Verdana">Regards</FONT></B>
> <BR><B><FONT COLOR=3D"#000000" FACE=3D"Verdana">Rajesh =
> Rajasekaran</FONT></B>
> <BR><B><FONT COLOR=3D"#000000" FACE=3D"Verdana">Informix Database =
> Administrator</FONT></B>
> <BR><B><FONT COLOR=3D"#000000" FACE=3D"Verdana">Forest Pharmaceuticals =
> Inc.</FONT></B>
> <BR><B><FONT COLOR=3D"#000000" FACE=3D"Verdana">(314) = 493-7073</FONT></B>
> </P>
> <BR>
> <BR>
> <BR>
> <BR>
>
> <P>_______________________________________________ _____________________&=
> nbsp;=20
> <BR>This e-mail and its attachments may contain Forest Laboratories, = Inc.
> proprietary information that is privileged, confidential or = subject to
> copyright belonging to Forest Laboratories, Inc. This e-mail = is intended
> solely for the use of the individual or entity to which it = is addressed.
> If you are not the intended recipient of this e-mail, or = the employee or
> agent responsible for delivering this e-mail to the = intended recipient,
> you are hereby notified that any dissemination, = distribution, copying or
> action taken in relation to the contents of = and attachments to this e-mail
> is strictly prohibited and may be = unlawful. If you have received this
> e-mail in error, please notify the = sender immediately and permanently
> delete the original and any copy of = this e-mail and any printout.</P>
>
> </BODY>
> </HTML>
> ------_=_NextPart_001_01C3E518.E1F966A0-- sending to informix-list

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-19-2008, 08:04 PM
Art S. Kagel
 
Posts: n/a
Default Re: Reg. Emergency log backup during restore.....

On Wed, 28 Jan 2004 09:21:04 -0500, Art S. Kagel wrote:

> On Tue, 27 Jan 2004 16:02:32 -0500, Rajasekaran, Rajesh wrote:
>
> Oooo, RAID5 and MIME! You don't pay attention much do you?
>
> NO RAID5! NO RAID5! NO RAID5! NO RAID5! NO RAID5! NO RAID5! NO RAID5!
>
> And PLEASE no MIME!
>

So then after scolding Rajesh I go and forget to snip the MIME trailers. My
apologies to the list for wasting bandwidth.

Art S. Kagel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:38 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com