This document describe the step to clone database in another host using RMAN from DR (Data gurad) .We need not to connect to source database.Moreover we will use different location for backup.

A. Please follow below step for pre-requisites setup mentioned in below url

1.Copy the init parameter file from source .
2.In target place this init file to $ORACLE_HOME/dbs
3.Change following parameter in init file to make it compatible to single instance.
Replace original instance name to target name in pfile .For my case it should XCENTBK as target.

4.Please startup database in no mount mode.
5.Please check if sufficient space is available or not.

Please follow below url and check step 1 to step 7

RMAN cloning oracle 12c database RAC to single instance from tape backup to another host in new database name

B.Copy the source to target to your preferred directory.In my case I used NFS mount point so I did not need to copy.

Take backup from DR in some mount point.if it is NFS shared between both target and source,then no need to copy.Else you need to copy from source to target.

RMAN> run{
backup current controlfile format ‘/NFSPREPROD/XCENTPD11/rman/ctl_%t.ctl’;
BACKUP DATABASE FORMAT ‘/NFSPREPROD/XCENTPD11/rman/DB_%U’;
BACKUP archivelog all FORMAT ‘/NFSPREPROD/XCENTPD11/rman/ARCH_%U’;
}2> 3> 4> 5>

Starting backup at 10-NOV-17
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1282 instance=XCENTDR11 device type=DISK
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
channel ORA_DISK_1: starting piece 1 at 10-NOV-17
channel ORA_DISK_1: finished piece 1 at 10-NOV-17
piece handle=/NFSPREPROD/XCENTPD11/rman/ctl_959667004.ctl tag=TAG20171110T061003 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25
Finished backup at 10-NOV-17

Starting backup at 10-NOV-17
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00004 name=+DATA_CRM/XCENTDR1/DATAFILE/undotbs1.319.943513509
input datafile file number=00012 name=+DATA_CRM/XCENTDR1/DATAFILE/sysaux.794.949336957
input datafile file number=00013 name=+DATA_CRM/XCENTDR1/DATAFILE/tbs_botdba.795.949336973
input datafile file number=00003 name=+DATA_CRM/XCENTDR1/DATAFILE/sysaux.317.943513509
input datafile file number=00011 name=+DATA_CRM/XCENTDR1/DATAFILE/sysaux.322.943513533
input datafile file number=00008 name=+DATA_CRM/XCENTDR1/DATAFILE/xstore_data.324.943513533
input datafile file number=00001 name=+DATA_CRM/XCENTDR1/DATAFILE/system.323.943513533
input datafile file number=00009 name=+DATA_CRM/XCENTDR1/DATAFILE/xstore_index.318.943513509
input datafile file number=00010 name=+DATA_CRM/XCENTDR1/DATAFILE/system.316.943513507
input datafile file number=00005 name=+DATA_CRM/XCENTDR1/DATAFILE/undotbs2.321.943513509
input datafile file number=00002 name=+DATA_CRM/XCENTDR1/DATAFILE/undotbs3.320.943513509
input datafile file number=00007 name=+DATA_CRM/XCENTDR1/DATAFILE/undotbs4.325.943513533
input datafile file number=00006 name=+DATA_CRM/XCENTDR1/DATAFILE/users.326.943513533
channel ORA_DISK_1: starting piece 1 at 10-NOV-17
channel ORA_DISK_1: finished piece 1 at 10-NOV-17
piece handle=/NFSPREPROD/XCENTPD11/rman/DB_rrsj6mqo_1_1 tag=TAG20171110T061032 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:07:35
Finished backup at 10-NOV-17

Starting backup at 10-NOV-17
RMAN-06820: WARNING: failed to archive current log at primary database
ORACLE error from target database:
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-00942: table or view does not exist

using channel ORA_DISK_1
channel ORA_DISK_1: starting archived log backup set
channel ORA_DISK_1: specifying archived log(s) in backup set
input archived log thread=2 sequence=6023 RECID=1131 STAMP=959663438
input archived log thread=1 sequence=16071 RECID=1132 STAMP=959663439
input archived log thread=4 sequence=5964 RECID=1130 STAMP=959663437
channel ORA_DISK_1: starting piece 1 at 10-NOV-17
channel ORA_DISK_1: finished piece 1 at 10-NOV-17
piece handle=/NFSPREPROD/XCENTPD11/rman/ARCH_rssj6n9n_1_1 tag=TAG20171110T061831 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
Finished backup at 10-NOV-17

Starting Control File and SPFILE Autobackup at 10-NOV-17
piece handle=+DATA_CRM/XCENTDR1/AUTOBACKUP/2017_11_10/s_959663436.1158.959667529 comment=NONE
Finished Control File and SPFILE Autobackup at 10-NOV-17

Check backup and archivelog status

RMAN> list backup device type disk;

List of Backup Sets
===================

BS Key Type LV Size Device Type Elapsed Time Completion Time
——- —- — ———- ———– ———— —————
353069 Full 234.67M DISK 00:00:01 14-JUL-17
BP Key: 353069 Status: AVAILABLE Compressed: NO Tag: TAG20170714T164347
Piece Name: +DATA_CRM/XCENTDR1/AUTOBACKUP/2017_07_14/s_949336366.796.949337029
SPFILE Included: Modification time: 14-JUL-17
SPFILE db_unique_name: XCENTDR1
Standby Control File Included: Ckp SCN: 11148836288 Ckp time: 14-JUL-17

BS Key Type LV Size Device Type Elapsed Time Completion Time
——- —- — ———- ———– ———— —————
353070 Full 234.67M DISK 00:00:02 14-JUL-17
BP Key: 353070 Status: AVAILABLE Compressed: NO Tag: TAG20170714T165308
Piece Name: +DATA_CRM/XCENTDR1/AUTOBACKUP/2017_07_14/s_949337171.797.949337589
SPFILE Included: Modification time: 14-JUL-17
SPFILE db_unique_name: XCENTDR1
Standby Control File Included: Ckp SCN: 11148841191 Ckp time: 14-JUL-17

BS Key Type LV Size Device Type Elapsed Time Completion Time
——- —- — ———- ———– ———— —————
353071 Full 358.58M DISK 00:00:04 30-AUG-17
BP Key: 353071 Status: AVAILABLE Compressed: NO Tag: TAG20170830T113548
Piece Name: +DATA_CRM/XCENTDR1/AUTOBACKUP/2017_08_30/s_953379177.1147.953379351
SPFILE Included: Modification time: 30-AUG-17
SPFILE db_unique_name: XCENTDR1
Standby Control File Included: Ckp SCN: 16866102660 Ckp time: 30-AUG-17

BS Key Type LV Size Device Type Elapsed Time Completion Time
——- —- — ———- ———– ———— —————
353075 Full 358.70M DISK 00:00:03 10-NOV-17
BP Key: 353075 Status: AVAILABLE Compressed: NO Tag: TAG20171110T043840
Piece Name: +DATA_CRM/XCENTDR1/AUTOBACKUP/2017_11_10/s_959659303.1157.959661523
SPFILE Included: Modification time: 11-SEP-17
SPFILE db_unique_name: XCENTDR1
Standby Control File Included: Ckp SCN: 51270799237 Ckp time: 10-NOV-17

BS Key Type LV Size Device Type Elapsed Time Completion Time
——- —- — ———- ———– ———— —————
353076 Full 358.67M DISK 00:00:18 10-NOV-17
BP Key: 353076 Status: AVAILABLE Compressed: NO Tag: TAG20171110T061003
Piece Name: /NFSPREPROD/XCENTPD11/rman/ctl_959667004.ctl
Standby Control File Included: Ckp SCN: 51270820229 Ckp time: 10-NOV-17

BS Key Type LV Size Device Type Elapsed Time Completion Time
——- —- — ———- ———– ———— —————
353077 Full 12.30G DISK 00:07:19 10-NOV-17
BP Key: 353077 Status: AVAILABLE Compressed: NO Tag: TAG20171110T061032
Piece Name: /NFSPREPROD/XCENTPD11/rman/DB_rrsj6mqo_1_1
List of Datafiles in backup set 353077
File LV Type Ckp SCN Ckp Time Name
—- — —- ———- ——— —-
1 Full 51270820229 10-NOV-17 +DATA_CRM/XCENTDR1/DATAFILE/system.323.943513533
2 Full 51270820229 10-NOV-17 +DATA_CRM/XCENTDR1/DATAFILE/undotbs3.320.943513509
3 Full 51270820229 10-NOV-17 +DATA_CRM/XCENTDR1/DATAFILE/sysaux.317.943513509
4 Full 51270820229 10-NOV-17 +DATA_CRM/XCENTDR1/DATAFILE/undotbs1.319.943513509
5 Full 51270820229 10-NOV-17 +DATA_CRM/XCENTDR1/DATAFILE/undotbs2.321.943513509
6 Full 51270820229 10-NOV-17 +DATA_CRM/XCENTDR1/DATAFILE/users.326.943513533
7 Full 51270820229 10-NOV-17 +DATA_CRM/XCENTDR1/DATAFILE/undotbs4.325.943513533
8 Full 51270820229 10-NOV-17 +DATA_CRM/XCENTDR1/DATAFILE/xstore_data.324.943513533
9 Full 51270820229 10-NOV-17 +DATA_CRM/XCENTDR1/DATAFILE/xstore_index.318.943513509
10 Full 51270820229 10-NOV-17 +DATA_CRM/XCENTDR1/DATAFILE/system.316.943513507
11 Full 51270820229 10-NOV-17 +DATA_CRM/XCENTDR1/DATAFILE/sysaux.322.943513533
12 Full 51270820229 10-NOV-17 +DATA_CRM/XCENTDR1/DATAFILE/sysaux.794.949336957
13 Full 51270820229 10-NOV-17 +DATA_CRM/XCENTDR1/DATAFILE/tbs_botdba.795.949336973

BS Key Size Device Type Elapsed Time Completion Time
——- ———- ———– ———— —————
353078 13.64M DISK 00:00:00 10-NOV-17
BP Key: 353078 Status: AVAILABLE Compressed: NO Tag: TAG20171110T061831
Piece Name: /NFSPREPROD/XCENTPD11/rman/ARCH_rssj6n9n_1_1

List of Archived Logs in backup set 353078
Thrd Seq Low SCN Low Time Next SCN Next Time
—- ——- ———- ——— ———- ———
1 16071 51270813536 10-NOV-17 51270820248 10-NOV-17
2 6023 51270813531 10-NOV-17 51270820243 10-NOV-17
4 5964 51270813544 10-NOV-17 51270820237 10-NOV-17

BS Key Type LV Size Device Type Elapsed Time Completion Time
——- —- — ———- ———– ———— —————
353079 Full 358.70M DISK 00:00:02 10-NOV-17
BP Key: 353079 Status: AVAILABLE Compressed: NO Tag: TAG20171110T061846
Piece Name: +DATA_CRM/XCENTDR1/AUTOBACKUP/2017_11_10/s_959663436.1158.959667529
SPFILE Included: Modification time: 11-SEP-17
SPFILE db_unique_name: XCENTDR1
Standby Control File Included: Ckp SCN: 51270820229 Ckp time: 10-NOV-17

C.Now connect to auxiliary and run the clone command

rman auxiliary /

run {
set newname for database to ‘+DATA/XCENTBK/DATAFILE/%b’;
duplicate target database to XCENTBK
backup location ‘/NFSPREPROD/XCENTPD11/rman’
logfile
group 1 (‘+FRA/redoXCENT1.log’) size 512M,
group 2 (‘+FRA/redoXCENT2.log’) size 512M,
group 3 (‘+FRA/redoXCENT3.log’) size 512M;
}

————–Log———————–

oracle@cdv1proccmdbf01:XCENTBK[/u01/app/oracle/product/12.1.0/db_1/dbs]$ rman auxiliary /

Recovery Manager: Release 12.1.0.2.0 – Production on Fri Nov 10 06:24:23 2017

Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.

connected to auxiliary database: XCENTBK (not mounted)

RMAN> run {
2> set newname for database to ‘+DATA/XCENTBK/DATAFILE/%b’;
3> duplicate target database to XCENTBK
4> backup location ‘/NFSPREPROD/XCENTPD11/rman’
5> logfile
6> group 1 (‘+FRA/redoXCENT1.log’) size 512M,
7> group 2 (‘+FRA/redoXCENT2.log’) size 512M,
8> group 3 (‘+FRA/redoXCENT3.log’) size 512M;
9> }

executing command: SET NEWNAME

Starting Duplicate Db at 2017-11-10 06:24:39

contents of Memory Script:
{
sql clone “create spfile from memory”;
}
executing Memory Script

sql statement: create spfile from memory

contents of Memory Script:
{
shutdown clone immediate;
startup clone nomount;
}
executing Memory Script

Oracle instance shut down

connected to auxiliary database (not started)
Oracle instance started

Total System Global Area 11811160064 bytes

Fixed Size 7655840 bytes
Variable Size 3623882336 bytes
Database Buffers 8153726976 bytes
Redo Buffers 25894912 bytes

contents of Memory Script:
{
sql clone “alter system set db_name =
”XCENTPD1” comment=
”Modified by RMAN duplicate” scope=spfile”;
sql clone “alter system set db_unique_name =
”XCENTBK” comment=
”Modified by RMAN duplicate” scope=spfile”;
shutdown clone immediate;
startup clone force nomount
restore clone primary controlfile from ‘/NFSPREPROD/XCENTPD11/rman/ctl_959667004.ctl’;
alter clone database mount;
}
executing Memory Script

sql statement: alter system set db_name = ”XCENTPD1” comment= ”Modified by RMAN duplicate” scope=spfile

sql statement: alter system set db_unique_name = ”XCENTBK” comment= ”Modified by RMAN duplicate” scope=spfile

Oracle instance shut down

Oracle instance started

Total System Global Area 11811160064 bytes

Fixed Size 7655840 bytes
Variable Size 3623882336 bytes
Database Buffers 8153726976 bytes
Redo Buffers 25894912 bytes

Starting restore at 2017-11-10 06:25:32
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=58 device type=DISK

channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:03
output file name=+FRA/XCENTBK/CONTROLFILE/control01.ctl
output file name=+FRA/XCENTBK/CONTROLFILE/control02.ctl
Finished restore at 2017-11-10 06:25:35

database mounted
released channel: ORA_AUX_DISK_1
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=58 device type=DISK
RMAN-05529: WARNING: DB_FILE_NAME_CONVERT resulted in invalid ASM names; names changed to disk group only.

contents of Memory Script:
{
set until scn 51270820237;
set newname for datafile 1 to
“+DATA/XCENTBK/DATAFILE/system.323.943513533”;
set newname for datafile 2 to
“+DATA/XCENTBK/DATAFILE/undotbs3.320.943513509”;
set newname for datafile 3 to
“+DATA/XCENTBK/DATAFILE/sysaux.317.943513509”;
set newname for datafile 4 to
“+DATA/XCENTBK/DATAFILE/undotbs1.319.943513509”;
set newname for datafile 5 to
“+DATA/XCENTBK/DATAFILE/undotbs2.321.943513509”;
set newname for datafile 6 to
“+DATA/XCENTBK/DATAFILE/users.326.943513533”;
set newname for datafile 7 to
“+DATA/XCENTBK/DATAFILE/undotbs4.325.943513533”;
set newname for datafile 8 to
“+DATA/XCENTBK/DATAFILE/xstore_data.324.943513533”;
set newname for datafile 9 to
“+DATA/XCENTBK/DATAFILE/xstore_index.318.943513509”;
set newname for datafile 10 to
“+DATA/XCENTBK/DATAFILE/system.316.943513507”;
set newname for datafile 11 to
“+DATA/XCENTBK/DATAFILE/sysaux.322.943513533”;
set newname for datafile 12 to
“+DATA/XCENTBK/DATAFILE/sysaux.794.949336957”;
set newname for datafile 13 to
“+DATA/XCENTBK/DATAFILE/tbs_botdba.795.949336973”;
restore
clone database
;
}
executing Memory Script

executing command: SET until clause

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

Starting restore at 2017-11-10 06:25:46
using channel ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00001 to +DATA/XCENTBK/DATAFILE/system.323.943513533
channel ORA_AUX_DISK_1: restoring datafile 00002 to +DATA/XCENTBK/DATAFILE/undotbs3.320.943513509
channel ORA_AUX_DISK_1: restoring datafile 00003 to +DATA/XCENTBK/DATAFILE/sysaux.317.943513509
channel ORA_AUX_DISK_1: restoring datafile 00004 to +DATA/XCENTBK/DATAFILE/undotbs1.319.943513509
channel ORA_AUX_DISK_1: restoring datafile 00005 to +DATA/XCENTBK/DATAFILE/undotbs2.321.943513509
channel ORA_AUX_DISK_1: restoring datafile 00006 to +DATA/XCENTBK/DATAFILE/users.326.943513533
channel ORA_AUX_DISK_1: restoring datafile 00007 to +DATA/XCENTBK/DATAFILE/undotbs4.325.943513533
channel ORA_AUX_DISK_1: restoring datafile 00008 to +DATA/XCENTBK/DATAFILE/xstore_data.324.943513533
channel ORA_AUX_DISK_1: restoring datafile 00009 to +DATA/XCENTBK/DATAFILE/xstore_index.318.943513509
channel ORA_AUX_DISK_1: restoring datafile 00010 to +DATA/XCENTBK/DATAFILE/system.316.943513507
channel ORA_AUX_DISK_1: restoring datafile 00011 to +DATA/XCENTBK/DATAFILE/sysaux.322.943513533
channel ORA_AUX_DISK_1: restoring datafile 00012 to +DATA/XCENTBK/DATAFILE/sysaux.794.949336957
channel ORA_AUX_DISK_1: restoring datafile 00013 to +DATA/XCENTBK/DATAFILE/tbs_botdba.795.949336973
channel ORA_AUX_DISK_1: reading from backup piece /NFSPREPROD/XCENTPD11/rman/DB_rrsj6mqo_1_1
channel ORA_AUX_DISK_1: piece handle=/NFSPREPROD/XCENTPD11/rman/DB_rrsj6mqo_1_1 tag=TAG20171110T061032
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:01:15
Finished restore at 2017-11-10 06:27:02

contents of Memory Script:
{
switch clone datafile all;
}
executing Memory Script

datafile 1 switched to datafile copy
input datafile copy RECID=14 STAMP=959668022 file name=+DATA/XCENTBK/DATAFILE/system.278.959667947
datafile 2 switched to datafile copy
input datafile copy RECID=15 STAMP=959668022 file name=+DATA/XCENTBK/DATAFILE/undotbs3.338.959667967
datafile 3 switched to datafile copy
input datafile copy RECID=16 STAMP=959668022 file name=+DATA/XCENTBK/DATAFILE/sysaux.277.959667947
datafile 4 switched to datafile copy
input datafile copy RECID=17 STAMP=959668022 file name=+DATA/XCENTBK/DATAFILE/undotbs1.266.959667947
datafile 5 switched to datafile copy
input datafile copy RECID=18 STAMP=959668022 file name=+DATA/XCENTBK/DATAFILE/undotbs2.339.959667965
datafile 6 switched to datafile copy
input datafile copy RECID=19 STAMP=959668022 file name=+DATA/XCENTBK/DATAFILE/users.332.959667983
datafile 7 switched to datafile copy
input datafile copy RECID=20 STAMP=959668022 file name=+DATA/XCENTBK/DATAFILE/undotbs4.337.959667981
datafile 8 switched to datafile copy
input datafile copy RECID=21 STAMP=959668022 file name=+DATA/XCENTBK/DATAFILE/xstore_data.264.959667947
datafile 9 switched to datafile copy
input datafile copy RECID=22 STAMP=959668022 file name=+DATA/XCENTBK/DATAFILE/xstore_index.336.959667947
datafile 10 switched to datafile copy
input datafile copy RECID=23 STAMP=959668022 file name=+DATA/XCENTBK/DATAFILE/system.340.959667963
datafile 11 switched to datafile copy
input datafile copy RECID=24 STAMP=959668022 file name=+DATA/XCENTBK/DATAFILE/sysaux.274.959667947
datafile 12 switched to datafile copy
input datafile copy RECID=25 STAMP=959668022 file name=+DATA/XCENTBK/DATAFILE/sysaux.273.959667947
datafile 13 switched to datafile copy
input datafile copy RECID=26 STAMP=959668022 file name=+DATA/XCENTBK/DATAFILE/tbs_botdba.268.959667947

contents of Memory Script:
{
set until scn 51270820237;
recover
clone database
delete archivelog
;
}
executing Memory Script

executing command: SET until clause

Starting recover at 2017-11-10 06:27:02
using channel ORA_AUX_DISK_1

starting media recovery

unable to find archived log
archived log thread=3 sequence=5982
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/10/2017 06:27:04
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-06054: media recovery requesting unknown archived log for thread 3 with sequence 5982 and starting SCN of 51270820229

D.Because of above error,If you try to open database in resetlog,you may get below error

RMAN> alter database open resetlogs;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of sql statement command at 11/10/2017 06:31:46
RMAN-06136: ORACLE error from auxiliary database: ORA-19838: Cannot use this control file to open database

E.Please take control file backup to trace and re-create the controlfile again.After that open the database.

SQL>alter database backup controlfile to trace as ‘/tmp/cntrl.ctl’;

E.Now set the DB_NAME to new name XCENTBK using below command

sql>alter system set db_name=’XCENTBK’ scope=spfile;

F.Please start the auxilairy DB in no mount again.

G.Re-create the control file after modifying DB name and set clause.Also check redolog file and datafile location point to new location of target.Now DB will open successfully after resetlog.

oracle@cdv1proccmdbf01:XCENTBK[/u01/app/oracle/product/12.1.0/db_1/dbs]$ dba

SQL*Plus: Release 12.1.0.2.0 Production on Fri Nov 10 06:42:23 2017

Copyright (c) 1982, 2014, Oracle. All rights reserved.

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 – 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Advanced Analytics and Real Application Testing options

SYS@XCENTBK> shutdown immediate;
ORA-01507: database not mounted

ORACLE instance shut down.
SYS@XCENTBK> startup nomount pfile=’initXCENTBK.ora’;
ORACLE instance started.

Total System Global Area 1.1811E+10 bytes
Fixed Size 7655840 bytes
Variable Size 3590327904 bytes
Database Buffers 8187281408 bytes
Redo Buffers 25894912 bytes
SYS@XCENTBK> CREATE CONTROLFILE SET DATABASE “XCENTBK” RESETLOGS FORCE LOGGING ARCHIVELOG
2 MAXLOGFILES 192
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 1024
5 MAXINSTANCES 32
6 MAXLOGHISTORY 18688
7 LOGFILE
8 GROUP 1 ‘+FRA/redoXCENT1.log’ SIZE 1024M BLOCKSIZE 512,
9 GROUP 2 ‘+FRA/redoXCENT2.log’ SIZE 1024M BLOCKSIZE 512
10 DATAFILE
11 ‘+DATA/XCENTBK/DATAFILE/system.278.959667947’,
12 ‘+DATA/XCENTBK/DATAFILE/undotbs3.338.959667967’,
13 ‘+DATA/XCENTBK/DATAFILE/sysaux.277.959667947’,
14 ‘+DATA/XCENTBK/DATAFILE/undotbs1.266.959667947’,
15 ‘+DATA/XCENTBK/DATAFILE/undotbs2.339.959667965’,
16 ‘+DATA/XCENTBK/DATAFILE/users.332.959667983’,
17 ‘+DATA/XCENTBK/DATAFILE/undotbs4.337.959667981’,
18 ‘+DATA/XCENTBK/DATAFILE/xstore_data.264.959667947’,
19 ‘+DATA/XCENTBK/DATAFILE/xstore_index.336.959667947’,
20 ‘+DATA/XCENTBK/DATAFILE/system.340.959667963’,
21 ‘+DATA/XCENTBK/DATAFILE/sysaux.274.959667947’,
22 ‘+DATA/XCENTBK/DATAFILE/sysaux.273.959667947’,
23 ‘+DATA/XCENTBK/DATAFILE/tbs_botdba.268.959667947’
24 CHARACTER SET AL32UTF8
25 ;

Control file created.

SYS@XCENTBK> alter database mount;
alter database mount
*
ERROR at line 1:
ORA-01100: database already mounted

SYS@XCENTBK> alter database open resetlogs;

Leave a Reply

Your email address will not be published. Required fields are marked *