dataguard ORA-17628 处理
点击(此处)折叠或打开
- RMAN> duplicate target database for standby from active database dorecover nofilenamecheck;
-
- Starting Duplicate Db at 02-JUL-18
- using target database control file instead of recovery catalog
- allocated channel: ORA_AUX_DISK_1
- channel ORA_AUX_DISK_1: SID=396 device type=DISK
-
-
- contents of Memory Script:
- {
- backup as copy reuse
- targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/orapwnetdata' auxiliary format
- '/u01/app/oracle/product/11.2.0/db_1/dbs/orapwnetdata' ;
- }
- executing Memory Script
-
-
- Starting backup at 02-JUL-18
- allocated channel: ORA_DISK_1
- channel ORA_DISK_1: SID=408 device type=DISK
- Finished backup at 02-JUL-18
-
-
- contents of Memory Script:
- {
- backup as copy current controlfile for standby auxiliary format '/u01/app/oracle/oradata/netdata/control01.ctl';
- restore clone controlfile to '/u01/app/oracle/fast_recovery_area/netdata/control02.ctl' from
- '/u01/app/oracle/oradata/netdata/control01.ctl';
- }
- executing Memory Script
-
-
- Starting backup at 02-JUL-18
- using channel ORA_DISK_1
- channel ORA_DISK_1: starting datafile copy
- copying standby control file
- output file name=/u01/app/oracle/product/11.2.0/db_1/dbs/snapcf_netdata.f tag=TAG20180702T183426 RECID=1 STAMP=980447667
- channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
- Finished backup at 02-JUL-18
-
-
- Starting restore at 02-JUL-18
- using channel ORA_AUX_DISK_1
-
-
- channel ORA_AUX_DISK_1: copied control file copy
- Finished restore at 02-JUL-18
-
-
- contents of Memory Script:
- {
- sql clone 'alter database mount standby database';
- }
- executing Memory Script
-
-
- sql statement: alter database mount standby database
-
-
- contents of Memory Script:
- {
- set newname for tempfile 1 to
- "/u01/app/oracle/oradata/netdata/temp01.dbf";
- switch clone tempfile all;
- set newname for datafile 1 to
- "/u01/app/oracle/oradata/netdata/system01.dbf";
- set newname for datafile 2 to
- "/u01/app/oracle/oradata/netdata/sysaux01.dbf";
- set newname for datafile 3 to
- "/u01/app/oracle/oradata/netdata/undotbs01.dbf";
- set newname for datafile 4 to
- "/u01/app/oracle/oradata/netdata/users01.dbf";
- backup as copy reuse
- datafile 1 auxiliary format
- "/u01/app/oracle/oradata/netdata/system01.dbf" datafile
- 2 auxiliary format
- "/u01/app/oracle/oradata/netdata/sysaux01.dbf" datafile
- 3 auxiliary format
- "/u01/app/oracle/oradata/netdata/undotbs01.dbf" datafile
- 4 auxiliary format
- "/u01/app/oracle/oradata/netdata/users01.dbf" ;
- sql 'alter system archive log current';
- }
- executing Memory Script
-
-
- executing command: SET NEWNAME
-
-
- renamed tempfile 1 to /u01/app/oracle/oradata/netdata/temp01.dbf in control file
-
-
- executing command: SET NEWNAME
-
-
- executing command: SET NEWNAME
-
-
- executing command: SET NEWNAME
-
-
- executing command: SET NEWNAME
-
-
- Starting backup at 02-JUL-18
- using channel ORA_DISK_1
- channel ORA_DISK_1: starting datafile copy
- input datafile