How to Create a Backup Site ?

This is a discussion on How to Create a Backup Site ? within the Ingres Database forums in Other Databases category; Hi There, My Boss ask me how to create a Backup site for Ingres Database, I looked at Ingres Documentation and the only solution that I can found was use ingres replicator to whole the database. I ask you guys. There are other ways to do that ? There are a way to replicate journal like a Oracle Standby Database ? Thank you All !! Regards Thiago Zerbinato Ribeirao Preto, SP Brazil...

Go Back   Database Forum > Other Databases > Ingres Database

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-20-2008, 09:38 AM
Default How to Create a Backup Site ?

Hi There,

My Boss ask me how to create a Backup site for Ingres Database, I looked
at Ingres Documentation and the only solution that I can found was use
ingres replicator to whole the database.

I ask you guys. There are other ways to do that ?

There are a way to replicate journal like a Oracle Standby Database ?

Thank you All !!

Regards

Thiago Zerbinato
Ribeirao Preto, SP
Brazil
Reply With Quote
  #2  
Old 08-20-2008, 10:28 AM
Default Re: [Info-Ingres] How to Create a Backup Site ?


On Aug 20, 2008, at 8:38 AM, thiagomz wrote:

> Hi There,
>
> My Boss ask me how to create a Backup site for Ingres Database, I
> looked
> at Ingres Documentation and the only solution that I can found was use
> ingres replicator to whole the database.
>
> I ask you guys. There are other ways to do that ?
>


It depends on a few things, but mainly on whether you need
the standby to be exact up to the most recent committed transaction,
or if you can tolerate the standby being a couple minutes out of
date in the worst case.

If you need a standby that is guaranteed to be always
exactly in sync with the primary, I think your only
option right now is replication. You can use the
traditional Ingres replicator or the HVR product.
HVR might be easier to set up and keep running.
I think Ingres Corp is working with Golden Gate on a
log based replicator, but I don't know any details or
timeframes.

If you can tolerate the standby being possibly a few minutes
out of date, what you can do is set up an exactly identical
Ingres installation on another machine. This installation
has to have the same directory paths as the primary. You then
take checkpoints on the primary and rollforward them on the
standby. Journal files get copied incrementally from primary
to standby, and if the primary fails, the journals are
rolled forward on the backup. (There's an incremental
journal rollforward feature that I think is in ingres2006r3
that makes this much easier. With older versions you have to
be careful to restore the checkpoint snapshot with +c -j,
and only restore the journals if needed since you only get
one shot.) You can use something like rsync to minimize the
data transferred between primary and standby.

With the journal-copy solution, you'll probably want to issue
trace point DM1314 before copying a new journal increment.
DM1314 forces an early journal cycle so that you don't miss
transactions that are sitting in the transaction log, waiting
for the next journal cycle.

Karl

Reply With Quote
  #3  
Old 08-20-2008, 12:27 PM
Default Re: [Info-Ingres] How to Create a Backup Site ?


On Aug 20, 2008, at 10:14 AM, Gerard Schoorl wrote:

> HVR already supports log-based capture for Ingres databases.
> Support is from Ingres 2.6, unto and including Ingres 2006 R3.



Thanks for the correction, Gerard; I see I'm a bit behind the times!

Karl



>
> -----Original Message-----
> From: info-ingres-bounces-at-kettleriverconsulting.com
> [mailto:info-ingres-bounces-at-kettleriverconsulting.com] On Behalf Of
> Karl
> & Betty Schendel
> Sent: Wednesday, August 20, 2008 3:29 PM
> To: Ingres and related product discussion forum
> Subject: Re: [Info-Ingres] How to Create a Backup Site ?
>
>
> On Aug 20, 2008, at 8:38 AM, thiagomz wrote:
>
>> Hi There,
>>
>> My Boss ask me how to create a Backup site for Ingres Database, I
>> looked
>> at Ingres Documentation and the only solution that I can found was
>> use
>> ingres replicator to whole the database.
>>
>> I ask you guys. There are other ways to do that ?
>>

>
> It depends on a few things, but mainly on whether you need
> the standby to be exact up to the most recent committed transaction,
> or if you can tolerate the standby being a couple minutes out of
> date in the worst case.
>
> If you need a standby that is guaranteed to be always
> exactly in sync with the primary, I think your only
> option right now is replication. You can use the
> traditional Ingres replicator or the HVR product.
> HVR might be easier to set up and keep running.
> I think Ingres Corp is working with Golden Gate on a
> log based replicator, but I don't know any details or
> timeframes.
> ...

Reply With Quote
  #4  
Old 08-21-2008, 12:23 PM
Default Re: How to Create a Backup Site ?

Guys,

Thank all ! I´ll try that´s possible solutions.

Regargs,

Thiago

thiagomz escreveu:
> Hi There,
>
> My Boss ask me how to create a Backup site for Ingres Database, I looked
> at Ingres Documentation and the only solution that I can found was use
> ingres replicator to whole the database.
>
> I ask you guys. There are other ways to do that ?
>
> There are a way to replicate journal like a Oracle Standby Database ?
>
> Thank you All !!
>
> Regards
>
> Thiago Zerbinato
> Ribeirao Preto, SP
> Brazil

Reply With Quote
  #5  
Old 08-22-2008, 06:43 PM
Default Re: [Info-Ingres] How to Create a Backup Site ?

Hi all!
I am running Ingres 2.6 sp5 on a Tru64 box.
My disaster recovery schema, include a periodic copy (about each 20
minutes) of production environment journals to another machine file system.
According to mails below, I want to execute trace point DM1314, just
before copying journal files to remote machine.
Is there any known risk to do this?

Your comments will be appreciated

Regards

Oscar Carlés

Karl & Betty Schendel wrote:
> On Aug 20, 2008, at 8:38 AM, thiagomz wrote:
>
>
>> Hi There,
>>
>> My Boss ask me how to create a Backup site for Ingres Database, I
>> looked
>> at Ingres Documentation and the only solution that I can found was use
>> ingres replicator to whole the database.
>>
>> I ask you guys. There are other ways to do that ?
>>
>>

>
> It depends on a few things, but mainly on whether you need
> the standby to be exact up to the most recent committed transaction,
> or if you can tolerate the standby being a couple minutes out of
> date in the worst case.
>
> If you need a standby that is guaranteed to be always
> exactly in sync with the primary, I think your only
> option right now is replication. You can use the
> traditional Ingres replicator or the HVR product.
> HVR might be easier to set up and keep running.
> I think Ingres Corp is working with Golden Gate on a
> log based replicator, but I don't know any details or
> timeframes.
>
> If you can tolerate the standby being possibly a few minutes
> out of date, what you can do is set up an exactly identical
> Ingres installation on another machine. This installation
> has to have the same directory paths as the primary. You then
> take checkpoints on the primary and rollforward them on the
> standby. Journal files get copied incrementally from primary
> to standby, and if the primary fails, the journals are
> rolled forward on the backup. (There's an incremental
> journal rollforward feature that I think is in ingres2006r3
> that makes this much easier. With older versions you have to
> be careful to restore the checkpoint snapshot with +c -j,
> and only restore the journals if needed since you only get
> one shot.) You can use something like rsync to minimize the
> data transferred between primary and standby.
>
> With the journal-copy solution, you'll probably want to issue
> trace point DM1314 before copying a new journal increment.
> DM1314 forces an early journal cycle so that you don't miss
> transactions that are sitting in the transaction log, waiting
> for the next journal cycle.
>
> Karl
>
> _______________________________________________
> Info-Ingres mailing list
> Info-Ingres-at-kettleriverconsulting.com
> http://www.kettleriverconsulting.com...fo/info-ingres
>
>



--
Lic. Oscar Carlés Barriocanal
Director de Servicios al Cliente
Íntegra S.R.L.
Telefax: (595 21) 424473 RA
Asunción - Paraguay



Reply With Quote
  #6  
Old 08-22-2008, 06:58 PM
Default Re: [Info-Ingres] How to Create a Backup Site ?


On Aug 22, 2008, at 5:43 PM, Oscar Carlés wrote:

> Hi all!
> I am running Ingres 2.6 sp5 on a Tru64 box.
> My disaster recovery schema, include a periodic copy (about each 20
> minutes) of production environment journals to another machine file
> system.
> According to mails below, I want to execute trace point DM1314, just
> before copying journal files to remote machine.
> Is there any known risk to do this?
>


It's safe enough.

I should have added, in order to ensure that the archive cycle has
finished, it is a good idea to wait a few seconds after issuing the
DM1314 trace point (to give the archiver time to notice and wake up),
and then issue logstat -header commands until ARCHIVE no longer
shows in the status. It's quite possible that the cycle will
already be finished, but if you see ARCHIVE in the status then
the archiver is still doing its thing and you need to wait longer.

Another point, it doesn't matter which database you issue the
DM1314 against, it applies to the whole installation.

Karl


Reply With Quote
  #7  
Old 08-25-2008, 04:07 PM
Default Re: [Info-Ingres] How to Create a Backup Site ?

Karl & Betty Schendel escreveu:
>
> On Aug 22, 2008, at 5:43 PM, Oscar Carlés wrote:
>
>> Hi all!
>> I am running Ingres 2.6 sp5 on a Tru64 box.
>> My disaster recovery schema, include a periodic copy (about each 20
>> minutes) of production environment journals to another machine file
>> system.
>> According to mails below, I want to execute trace point DM1314, just
>> before copying journal files to remote machine.
>> Is there any known risk to do this?
>>

>
> It's safe enough.
>
> I should have added, in order to ensure that the archive cycle has
> finished, it is a good idea to wait a few seconds after issuing the
> DM1314 trace point (to give the archiver time to notice and wake up),
> and then issue logstat -header commands until ARCHIVE no longer
> shows in the status. It's quite possible that the cycle will
> already be finished, but if you see ARCHIVE in the status then
> the archiver is still doing its thing and you need to wait longer.
>
> Another point, it doesn't matter which database you issue the
> DM1314 against, it applies to the whole installation.
>
> Karl
>
>


Karl,

The event "DM1314 trace point" is the same as execute an "alterdb mydb
-next_jnl_file" ?

--
Regards,

Thiago Zerbinato
Oracle/Ingres DBA
Ribeirao Preto/SP
Brazil
Reply With Quote
  #8  
Old 08-25-2008, 04:42 PM
Default Re: [Info-Ingres] How to Create a Backup Site ?


On Aug 25, 2008, at 3:07 PM, thiagomz wrote:

> Karl & Betty Schendel escreveu:
>>
>> On Aug 22, 2008, at 5:43 PM, Oscar Carlés wrote:
>>>
>>> According to mails below, I want to execute trace point DM1314, just
>>> before copying journal files to remote machine.
>>> Is there any known risk to do this?
>>>

>>
>> It's safe enough.
>>

> Karl,
>
> The event "DM1314 trace point" is the same as execute an "alterdb mydb
> -next_jnl_file" ?


No, it's not quite the same. DM1314 forces the archiver to run
even though a consistency point has not been reached (consistency
points and database close are the two main archiver cycle triggers).
The archiver cycle is run normally and no new journal file is
started unless the size guideline has been reached.

The alterdb -next_jnl_file command forces a new journal file to
start. I think it also forces a journaling cycle, like DM1314,
but I'm not 100% sure of that ... I'd have to take a look
at the code.

Karl


Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 12:49 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.