r***@gmail.com
2007-03-14 18:55:53 UTC
We've talked about using log shipping for our recovery site for quite
a while. Here's the way we thought it would work:
- build recovery server, configured the same as primary
- setup database/transaction dump schedule
- have process on primary that looks for new dump files and copies
them to recovery node
- have process on recovery node that looks for new files copied
from primary.
- if new file is a full dump, load the database
- if new file is a log dump, apply the log
We were talking to some "in the know" folks last week and they said we
could run into trouble if the secondary server crashed, or was brought
down hard (no_wait). The explanation was that when the secondary
server was brought back up it would recover all the databases (as
expected). However, that recovery would increase the log sequence
number (not the correct term, I'm sure) by one. When we went to apply
the next log from the primary site, that log sequence number would
already have been applied, so the load would fail.
Is that true? Is this the correct way to maintain a recovery node
using log shipping?
TIA
a while. Here's the way we thought it would work:
- build recovery server, configured the same as primary
- setup database/transaction dump schedule
- have process on primary that looks for new dump files and copies
them to recovery node
- have process on recovery node that looks for new files copied
from primary.
- if new file is a full dump, load the database
- if new file is a log dump, apply the log
We were talking to some "in the know" folks last week and they said we
could run into trouble if the secondary server crashed, or was brought
down hard (no_wait). The explanation was that when the secondary
server was brought back up it would recover all the databases (as
expected). However, that recovery would increase the log sequence
number (not the correct term, I'm sure) by one. When we went to apply
the next log from the primary site, that log sequence number would
already have been applied, so the load would fail.
Is that true? Is this the correct way to maintain a recovery node
using log shipping?
TIA