0

我正在将生产数据库迁移到新服务器。

-S027 是服务器 00a 中的主服务器。

-S029 是服务器 00b 中的二级 DG。

作为第一步,我从两个数据库中进行了备份并将它们还原到目标服务器中。迁移计划在下周进行,这意味着源数据库仍然有效。现在发生的事情是,当我昨天将主服务器恢复到新服务器时,它也尝试将日志发送到源备用服务器,因为我没有更改连接参数。现在备用服务器有化身错误。

Managed Standby Recovery starting Real Time Apply

Warning: Recovery target destination is in a sibling branch

of the controlfile checkpoint. Recovery will only recover

changes to datafiles.

Datafile 1 (ckpscn 12523547998407) is orphaned on incarnation#=1

MRP0: Detected orphaned datafiles!

Recovery will possibly be retried after flashback...

Tue Apr 02 02:01:11 2019

Errors in file /c00_STBY/u001/app/oracle/diag/rdbms/dg_S029/S029/trace/S029_pr00_42265.trc:

ORA-19909: datafile 1 belongs to an orphan incarnation

ORA-01110: data file 1: '/c00_STBY/u001/oradata/S029/system01.dbf'

Managed Standby Recovery not using Real Time Apply

Tue Apr 02 02:01:11 2019

Recovery Slave PR00 previously exited with exception 19909

Tue Apr 02 02:01:11 2019

Errors in file /c00_STBY/u001/app/oracle/diag/rdbms/dg_S029/S029/trace/S029_mrp0_42232.trc:

ORA-19909: datafile 1 belongs to an orphan incarnation

ORA-01110: data file 1: '/c00_STBY/u001/oradata/S029/system01.dbf'

Tue Apr 02 02:01:31 2019```
4

1 回答 1

0

一段时间前(一年前)我有一个非常相似的问题。我制作了主端的副本并进行了重置日志,但是我没有更改 fal_target/client 和 dg 设置(也没有运行 NID 来更改 DBID),因此两个主端正在运送到备用端。我相信在这里采取的唯一措施是从适当的备份再次重建备用数据库(确保新主数据库中的 dg 参数在启动之前不要指向旧备用数据库,否则您将回到正确的位置现在)。

:(

-吉姆

于 2019-04-03T17:00:12.923 回答