[oracle@subhen-db01 lib]$ ps -fe|grep pmon|grep -i autode
oracle 28881 1 0 2012 ? 00:02:36 ora_pmon_AUTODEV_1
[oracle@subhen-db01 lib]$ . oraenv
ORACLE_SID = [oracle] ? AUTODEV_1
The Oracle base for ORACLE_HOME=/oracle/app/database/11.2.0.3/dbhome_1 is /oracle/app
[oracle@subhen-db01 lib]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Thu Jan 3 14:19:37 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> select sum(bytes)/1024/1024/1024 Gb from dba_segments;
GB
----------
2.01220703
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
[oracle@subhen-db01 lib]$ rman target /
Recovery Manager: Release 11.2.0.3.0 - Production on Thu Jan 3 14:20:15 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: AUTODEV (DBID=3812261009)
RMAN> run {
2> set command id to 'RMAN_BACKUP_LEVEL0';
allocate channel c1 type 'SBT_TAPE' parms 'ENV=(NB_ORA_CLASS=t3-***-**-***-3m-2, NB_ORA_SERV=*****.au.thenational.com, NB_ORA_SCHED=oracle)';
allocate channel c2 type 'SBT_TAPE' parms 'ENV=(NB_ORA_CLASS=t3-***-**-***-3m-2, NB_ORA_SERV=*****.au.thenational.com, NB_ORA_SCHED=oracle)';
3> 4> 5> backup incremental level 0 cumulative database;
6> backup archivelog all not backed up;
7> backup current controlfile;
}8>
executing command: SET COMMAND ID
using target database control file instead of recovery catalog
allocated channel: c1
channel c1: SID=322 instance=AUTODEV_1 device type=SBT_TAPE
channel c1: Veritas NetBackup for Oracle - Release 6.5 (2010042404)
allocated channel: c2
channel c2: SID=386 instance=AUTODEV_1 device type=SBT_TAPE
channel c2: Veritas NetBackup for Oracle - Release 6.5 (2010042404)
Starting backup at 03-JAN-13
channel c1: starting incremental level 0 datafile backup set
channel c1: specifying datafile(s) in backup set
input datafile file number=00002 name=+DATA/autodev/datafile/sysaux.3472.799329609
input datafile file number=00005 name=+DATA/autodev/datafile/undotbs2.3481.799329791
input datafile file number=00004 name=+DATA/autodev/datafile/users.3474.799329609
channel c1: starting piece 1 at 03-JAN-13
channel c2: starting incremental level 0 datafile backup set
channel c2: specifying datafile(s) in backup set
input datafile file number=00001 name=+DATA/autodev/datafile/system.3471.799329607
input datafile file number=00006 name=+DATA/autodev/datafile/undotbs3.3482.799329791
input datafile file number=00007 name=+DATA/autodev/datafile/ggate_data.3487.799330815
input datafile file number=00003 name=+DATA/autodev/datafile/undotbs1.3473.799329609
channel c2: starting piece 1 at 03-JAN-13
channel c2: finished piece 1 at 03-JAN-13
piece handle=0bnugald_1_1 tag=TAG20130103T142029 comment=API Version 2.0,MMS Version 5.0.0.0
channel c2: backup set complete, elapsed time: 00:03:55
channel c1: finished piece 1 at 03-JAN-13
piece handle=0anugald_1_1 tag=TAG20130103T142029 comment=API Version 2.0,MMS Version 5.0.0.0
channel c1: backup set complete, elapsed time: 00:11:36
Finished backup at 03-JAN-13
Starting backup at 03-JAN-13
current log archived
channel c1: starting archived log backup set
channel c1: specifying archived log(s) in backup set
input archived log thread=3 sequence=23 RECID=50 STAMP=801245796
input archived log thread=1 sequence=13 RECID=52 STAMP=801245800
input archived log thread=2 sequence=16 RECID=51 STAMP=801245799
input archived log thread=3 sequence=24 RECID=55 STAMP=801245859
input archived log thread=2 sequence=17 RECID=54 STAMP=801245859
input archived log thread=1 sequence=14 RECID=53 STAMP=801245856
input archived log thread=1 sequence=15 RECID=57 STAMP=801396916
input archived log thread=2 sequence=18 RECID=56 STAMP=801396916
input archived log thread=3 sequence=25 RECID=63 STAMP=801415284
input archived log thread=2 sequence=19 RECID=58 STAMP=801396916
input archived log thread=1 sequence=16 RECID=60 STAMP=801415279
input archived log thread=3 sequence=26 RECID=59 STAMP=801415278
input archived log thread=1 sequence=17 RECID=61 STAMP=801415279
input archived log thread=3 sequence=27 RECID=65 STAMP=801415286
input archived log thread=1 sequence=18 RECID=62 STAMP=801415283
input archived log thread=1 sequence=19 RECID=64 STAMP=801415284
input archived log thread=3 sequence=28 RECID=67 STAMP=801424146
input archived log thread=2 sequence=20 RECID=68 STAMP=801424147
input archived log thread=1 sequence=20 RECID=66 STAMP=801424146
input archived log thread=1 sequence=21 RECID=69 STAMP=801424147
input archived log thread=3 sequence=29 RECID=73 STAMP=801425615
input archived log thread=2 sequence=21 RECID=71 STAMP=801425609
input archived log thread=1 sequence=22 RECID=70 STAMP=801425609
input archived log thread=1 sequence=23 RECID=72 STAMP=801425610
input archived log thread=2 sequence=22 RECID=75 STAMP=801427557
input archived log thread=3 sequence=30 RECID=74 STAMP=801427557
input archived log thread=3 sequence=31 RECID=76 STAMP=801526600
input archived log thread=2 sequence=23 RECID=80 STAMP=801658725
input archived log thread=1 sequence=24 RECID=77 STAMP=801658724
input archived log thread=3 sequence=32 RECID=78 STAMP=801658724
input archived log thread=3 sequence=33 RECID=79 STAMP=801658725
input archived log thread=1 sequence=25 RECID=82 STAMP=801660582
input archived log thread=2 sequence=24 RECID=84 STAMP=801660582
input archived log thread=3 sequence=34 RECID=81 STAMP=801660540
input archived log thread=3 sequence=35 RECID=83 STAMP=801660582
input archived log thread=1 sequence=26 RECID=86 STAMP=801662278
input archived log thread=2 sequence=25 RECID=87 STAMP=801662278
input archived log thread=3 sequence=36 RECID=85 STAMP=801662272
input archived log thread=3 sequence=37 RECID=88 STAMP=801662279
input archived log thread=1 sequence=27 RECID=90 STAMP=801663161
input archived log thread=2 sequence=26 RECID=92 STAMP=801663195
input archived log thread=3 sequence=38 RECID=89 STAMP=801663156
input archived log thread=3 sequence=39 RECID=91 STAMP=801663167
input archived log thread=2 sequence=27 RECID=94 STAMP=801665559
input archived log thread=1 sequence=28 RECID=95 STAMP=801665559
input archived log thread=3 sequence=40 RECID=93 STAMP=801665557
input archived log thread=3 sequence=41 RECID=96 STAMP=801665592
input archived log thread=2 sequence=28 RECID=97 STAMP=801671815
input archived log thread=1 sequence=29 RECID=101 STAMP=801673614
input archived log thread=3 sequence=42 RECID=99 STAMP=801673612
input archived log thread=2 sequence=29 RECID=98 STAMP=801671817
input archived log thread=2 sequence=30 RECID=100 STAMP=801673614
input archived log thread=2 sequence=31 RECID=102 STAMP=801673614
input archived log thread=1 sequence=30 RECID=104 STAMP=801676957
input archived log thread=3 sequence=43 RECID=103 STAMP=801676955
input archived log thread=3 sequence=44 RECID=106 STAMP=801677302
input archived log thread=1 sequence=31 RECID=108 STAMP=801677321
input archived log thread=2 sequence=32 RECID=105 STAMP=801677301
input archived log thread=2 sequence=33 RECID=107 STAMP=801677311
input archived log thread=1 sequence=32 RECID=110 STAMP=801678761
input archived log thread=3 sequence=45 RECID=112 STAMP=801678765
input archived log thread=2 sequence=34 RECID=109 STAMP=801678744
input archived log thread=2 sequence=35 RECID=111 STAMP=801678761
input archived log thread=1 sequence=33 RECID=116 STAMP=801679762
channel c1: starting piece 1 at 03-JAN-13
channel c2: starting archived log backup set
channel c2: specifying archived log(s) in backup set
input archived log thread=3 sequence=46 RECID=114 STAMP=801679748
input archived log thread=2 sequence=36 RECID=113 STAMP=801679748
input archived log thread=2 sequence=37 RECID=115 STAMP=801679749
input archived log thread=3 sequence=47 RECID=118 STAMP=801681759
input archived log thread=1 sequence=34 RECID=120 STAMP=801681770
input archived log thread=2 sequence=38 RECID=117 STAMP=801681756
input archived log thread=2 sequence=39 RECID=119 STAMP=801681761
input archived log thread=3 sequence=48 RECID=121 STAMP=801682595
input archived log thread=1 sequence=35 RECID=122 STAMP=801682597
input archived log thread=2 sequence=40 RECID=127 STAMP=801683776
input archived log thread=1 sequence=36 RECID=123 STAMP=801682601
input archived log thread=3 sequence=49 RECID=126 STAMP=801683770
input archived log thread=1 sequence=37 RECID=124 STAMP=801683768
input archived log thread=1 sequence=38 RECID=125 STAMP=801683769
input archived log thread=3 sequence=50 RECID=128 STAMP=801741776
input archived log thread=2 sequence=41 RECID=130 STAMP=801744026
input archived log thread=1 sequence=39 RECID=131 STAMP=801744798
input archived log thread=3 sequence=51 RECID=129 STAMP=801743635
input archived log thread=3 sequence=52 RECID=132 STAMP=801871234
input archived log thread=2 sequence=42 RECID=135 STAMP=802112433
input archived log thread=1 sequence=40 RECID=133 STAMP=802004417
input archived log thread=3 sequence=53 RECID=134 STAMP=802076420
input archived log thread=1 sequence=41 RECID=136 STAMP=802123214
input archived log thread=3 sequence=54 RECID=140 STAMP=802245590
input archived log thread=2 sequence=43 RECID=139 STAMP=802245585
input archived log thread=1 sequence=42 RECID=137 STAMP=802231217
input archived log thread=1 sequence=43 RECID=138 STAMP=802245583
input archived log thread=2 sequence=44 RECID=142 STAMP=802270575
input archived log thread=3 sequence=55 RECID=141 STAMP=802270574
input archived log thread=1 sequence=44 RECID=143 STAMP=802271119
input archived log thread=2 sequence=45 RECID=147 STAMP=802523373
input archived log thread=3 sequence=56 RECID=144 STAMP=802271119
input archived log thread=3 sequence=57 RECID=145 STAMP=802436905
input archived log thread=1 sequence=45 RECID=148 STAMP=802537208
input archived log thread=3 sequence=58 RECID=146 STAMP=802523372
channel c2: starting piece 1 at 03-JAN-13
channel c1: finished piece 1 at 03-JAN-13
piece handle=0cnugbbi_1_1 tag=TAG20130103T143213 comment=API Version 2.0,MMS Version 5.0.0.0
channel c1: backup set complete, elapsed time: 00:08:16
channel c1: starting archived log backup set
channel c1: specifying archived log(s) in backup set
input archived log thread=3 sequence=59 RECID=153 STAMP=802546776
input archived log thread=2 sequence=46 RECID=150 STAMP=802546771
input archived log thread=1 sequence=46 RECID=149 STAMP=802546768
input archived log thread=1 sequence=47 RECID=151 STAMP=802546775
input archived log thread=2 sequence=47 RECID=152 STAMP=802546775
input archived log thread=3 sequence=60 RECID=156 STAMP=802782650
input archived log thread=1 sequence=48 RECID=157 STAMP=802782650
input archived log thread=2 sequence=48 RECID=154 STAMP=802648864
input archived log thread=2 sequence=49 RECID=155 STAMP=802782649
input archived log thread=2 sequence=50 RECID=158 STAMP=802869112
input archived log thread=1 sequence=49 RECID=161 STAMP=803049292
input archived log thread=3 sequence=61 RECID=160 STAMP=803049291
input archived log thread=2 sequence=51 RECID=159 STAMP=803042024
input archived log thread=2 sequence=52 RECID=164 STAMP=803131785
input archived log thread=3 sequence=62 RECID=162 STAMP=803049296
input archived log thread=1 sequence=50 RECID=163 STAMP=803131784
input archived log thread=3 sequence=63 RECID=171 STAMP=803136537
input archived log thread=1 sequence=51 RECID=165 STAMP=803131786
input archived log thread=2 sequence=53 RECID=166 STAMP=803131788
input archived log thread=1 sequence=52 RECID=168 STAMP=803136532
input archived log thread=2 sequence=54 RECID=167 STAMP=803136532
input archived log thread=2 sequence=55 RECID=170 STAMP=803136533
input archived log thread=1 sequence=53 RECID=169 STAMP=803136533
input archived log thread=3 sequence=64 RECID=174 STAMP=803141022
input archived log thread=1 sequence=54 RECID=173 STAMP=803141022
input archived log thread=2 sequence=56 RECID=172 STAMP=803141017
input archived log thread=2 sequence=57 RECID=175 STAMP=803141022
input archived log thread=3 sequence=65 RECID=176 STAMP=803148561
input archived log thread=1 sequence=55 RECID=177 STAMP=803148563
input archived log thread=1 sequence=56 RECID=178 STAMP=803150460
input archived log thread=3 sequence=66 RECID=179 STAMP=803150460
input archived log thread=3 sequence=67 RECID=180 STAMP=803150461
input archived log thread=1 sequence=57 RECID=181 STAMP=803153012
input archived log thread=2 sequence=58 RECID=183 STAMP=803153019
input archived log thread=3 sequence=68 RECID=182 STAMP=803153016
input archived log thread=3 sequence=69 RECID=184 STAMP=803153041
input archived log thread=1 sequence=58 RECID=186 STAMP=803286018
input archived log thread=2 sequence=59 RECID=187 STAMP=803286018
input archived log thread=3 sequence=70 RECID=185 STAMP=803222503
input archived log thread=3 sequence=71 RECID=188 STAMP=803286019
input archived log thread=3 sequence=72 RECID=189 STAMP=803469489
channel c1: starting piece 1 at 03-JAN-13
channel c2: finished piece 1 at 03-JAN-13
piece handle=0dnugbbj_1_1 tag=TAG20130103T143213 comment=API Version 2.0,MMS Version 5.0.0.0
channel c2: backup set complete, elapsed time: 00:08:42
channel c2: starting archived log backup set
channel c2: specifying archived log(s) in backup set
input archived log thread=1 sequence=59 RECID=193 STAMP=803600292
input archived log thread=2 sequence=60 RECID=192 STAMP=803600289
input archived log thread=3 sequence=73 RECID=190 STAMP=803470438
input archived log thread=3 sequence=74 RECID=191 STAMP=803600289
input archived log thread=3 sequence=75 RECID=194 STAMP=803707212
input archived log thread=2 sequence=61 RECID=196 STAMP=803745130
input archived log thread=1 sequence=60 RECID=197 STAMP=803745133
input archived log thread=3 sequence=76 RECID=195 STAMP=803745128
channel c2: starting piece 1 at 03-JAN-13
channel c2: finished piece 1 at 03-JAN-13
piece handle=0fnugbru_1_1 tag=TAG20130103T143213 comment=API Version 2.0,MMS Version 5.0.0.0
channel c2: backup set complete, elapsed time: 00:01:45
channel c1: finished piece 1 at 03-JAN-13
piece handle=0enugbr3_1_1 tag=TAG20130103T143213 comment=API Version 2.0,MMS Version 5.0.0.0
channel c1: backup set complete, elapsed time: 00:12:10
Finished backup at 03-JAN-13
Starting backup at 03-JAN-13
channel c1: starting full datafile backup set
channel c1: specifying datafile(s) in backup set
including current control file in backup set
channel c1: starting piece 1 at 03-JAN-13
channel c1: finished piece 1 at 03-JAN-13
piece handle=0gnugci1_1_1 tag=TAG20130103T145249 comment=API Version 2.0,MMS Version 5.0.0.0
channel c1: backup set complete, elapsed time: 00:01:05
Finished backup at 03-JAN-13
Starting Control File and SPFILE Autobackup at 03-JAN-13
piece handle=c-3812261009-20130103-00 comment=API Version 2.0,MMS Version 5.0.0.0
Finished Control File and SPFILE Autobackup at 03-JAN-13
released channel: c1
released channel: c2
RMAN> exit
Recovery Manager complete.
[oracle@subhen-db01 lib]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Thu Jan 3 15:03:51 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> show parameter db_name
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_name string AUTODEV
SQL> show parameter pfile
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string +DATA/autodev/spfileautodev
.ora
SQL> create pfile='/tmp/initAUTODEV.ora' from spfile='+DATA/autodev/spfileautodev.ora';
File created.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
[oracle@subhen-db01 lib]$ cd /tmp
[oracle@subhen-db01 tmp]$ ls -ltr|grep -i initAUTODEV.ora
-rw-r--r-- 1 oracle oinstall 2561 Jan 3 15:05 initAUTODEV.ora
[oracle@subhen-db01 tmp]$ vi initAUTODEV.ora
[oracle@subhen-db01 tmp]$ vi initAUTODEV.ora
[oracle@subhen-db01 tmp]$ ls -ltr|grep -i init
-rw-r--r-- 1 oracle oinstall 750 Jan 3 15:11 initAUTODEV.ora
[oracle@subhen-db01 tmp]$ view initSYSNWHDS07DEC.ora
[oracle@subhen-db01 tmp]$ view initSYSNWHDS.ora
[oracle@subhen-db01 tmp]$ view initSYSNWHDS.ora.orig
[oracle@subhen-db01 tmp]$ vi initAUTODEV.ora
[oracle@subhen-db01 tmp]$ view initSYSNWHDS.ora.orig
[oracle@subhen-db01 tmp]$ vi initAUTODEV.ora
[oracle@subhen-db01 tmp]$ mkdir
[oracle@subhen-db01 tmp]$ vi initAUTODEV.ora
[oracle@subhen-db01 tmp]$ mkdir /oracle/app/admin/AUTODEVTP/adump
mkdir: cannot create directory `/oracle/app/admin/AUTODEVTP/adump': No such file or directory
[oracle@subhen-db01 tmp]$ mkdir -p /oracle/app/admin/AUTODEVTP/adump
[oracle@subhen-db01 tmp]$ vi initAUTODEV.ora
[oracle@subhen-db01 tmp]$ export ORACLE_SID=
[oracle@subhen-db01 tmp]$ mv initAUTODEV.ora initAUTODEVTP.ora
[oracle@subhen-db01 tmp]$ view initAUTODEVTP.ora
[oracle@subhen-db01 tmp]$ sleep 2d
^C
[oracle@subhen-db01 tmp]$
[oracle@subhen-db01 tmp]$
[oracle@subhen-db01 tmp]$ export ORACLE_SID=
[oracle@subhen-db01 tmp]$ echo $ORACLE_SID
AUTODEV_1
[oracle@subhen-db01 tmp]$ rman target /
Recovery Manager: Release 11.2.0.3.0 - Production on Thu Jan 3 15:38:55 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: AUTODEV (DBID=3812261009)
RMAN> list backup device type sbt_tape;
using target database control file instead of recovery catalog
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
8 Incr 0 796.50M SBT_TAPE 00:03:49 03-JAN-13
BP Key: 8 Status: AVAILABLE Compressed: NO Tag: TAG20130103T142029
Handle: 0bnugald_1_1 Media: X07162
List of Datafiles in backup set 8
File LV Type Ckp SCN Ckp Time Name
---- -- ---- ---------- --------- ----
1 0 Incr 12289667 03-JAN-13 +DATA/autodev/datafile/system.3471.799329607
3 0 Incr 12289667 03-JAN-13 +DATA/autodev/datafile/undotbs1.3473.799329609
6 0 Incr 12289667 03-JAN-13 +DATA/autodev/datafile/undotbs3.3482.799329791
7 0 Incr 12289667 03-JAN-13 +DATA/autodev/datafile/ggate_data.3487.799330815
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
9 Incr 0 1.23G SBT_TAPE 00:11:34 03-JAN-13
BP Key: 9 Status: AVAILABLE Compressed: NO Tag: TAG20130103T142029
Handle: 0anugald_1_1 Media: X07162
List of Datafiles in backup set 9
File LV Type Ckp SCN Ckp Time Name
---- -- ---- ---------- --------- ----
2 0 Incr 12289661 03-JAN-13 +DATA/autodev/datafile/sysaux.3472.799329609
4 0 Incr 12289661 03-JAN-13 +DATA/autodev/datafile/users.3474.799329609
5 0 Incr 12289661 03-JAN-13 +DATA/autodev/datafile/undotbs2.3481.799329791
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
10 1.08G SBT_TAPE 00:08:09 03-JAN-13
BP Key: 10 Status: AVAILABLE Compressed: NO Tag: TAG20130103T143213
Handle: 0cnugbbi_1_1 Media: X05232
List of Archived Logs in backup set 10
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 13 4857788 05-DEC-12 4872259 05-DEC-12
1 14 4872259 05-DEC-12 4872298 05-DEC-12
1 15 4872298 05-DEC-12 5252806 07-DEC-12
1 16 5252806 07-DEC-12 5316190 07-DEC-12
1 17 5316190 07-DEC-12 5316193 07-DEC-12
1 18 5316193 07-DEC-12 5316195 07-DEC-12
1 19 5316195 07-DEC-12 5316240 07-DEC-12
1 20 5327486 07-DEC-12 5361199 07-DEC-12
1 21 5361199 07-DEC-12 5361217 07-DEC-12
1 22 5361904 07-DEC-12 5390251 07-DEC-12
1 23 5390251 07-DEC-12 5390256 07-DEC-12
1 24 5418312 07-DEC-12 6032322 10-DEC-12
1 25 6032322 10-DEC-12 6060142 10-DEC-12
1 26 6060142 10-DEC-12 6085579 10-DEC-12
1 27 6085579 10-DEC-12 6112564 10-DEC-12
1 28 6112564 10-DEC-12 6135797 10-DEC-12
1 29 6135797 10-DEC-12 6203110 10-DEC-12
1 30 6203110 10-DEC-12 6224091 10-DEC-12
1 31 6224091 10-DEC-12 6252404 10-DEC-12
1 32 6252404 10-DEC-12 6280266 10-DEC-12
1 33 6280266 10-DEC-12 6305244 10-DEC-12
2 16 4859699 05-DEC-12 4872255 05-DEC-12
2 17 4872255 05-DEC-12 4872312 05-DEC-12
2 18 4872312 05-DEC-12 5252795 07-DEC-12
2 19 5252795 07-DEC-12 5252797 07-DEC-12
2 20 5316780 07-DEC-12 5361253 07-DEC-12
2 21 5361253 07-DEC-12 5390260 07-DEC-12
2 22 5390260 07-DEC-12 5411081 07-DEC-12
2 23 5411081 07-DEC-12 6032359 10-DEC-12
2 24 6032359 10-DEC-12 6060162 10-DEC-12
2 25 6060162 10-DEC-12 6085615 10-DEC-12
2 26 6085615 10-DEC-12 6112558 10-DEC-12
2 27 6112558 10-DEC-12 6135793 10-DEC-12
2 28 6135793 10-DEC-12 6173861 10-DEC-12
2 29 6173861 10-DEC-12 6173863 10-DEC-12
2 30 6174833 10-DEC-12 6203098 10-DEC-12
2 31 6203098 10-DEC-12 6203100 10-DEC-12
2 32 6228417 10-DEC-12 6252327 10-DEC-12
2 33 6252327 10-DEC-12 6252332 10-DEC-12
2 34 6256211 10-DEC-12 6280260 10-DEC-12
2 35 6280260 10-DEC-12 6280262 10-DEC-12
3 23 4857784 05-DEC-12 4872251 05-DEC-12
3 24 4872251 05-DEC-12 4872316 05-DEC-12
3 25 4872316 05-DEC-12 5295906 07-DEC-12
3 26 5295906 07-DEC-12 5295908 07-DEC-12
3 27 5316191 07-DEC-12 5316553 07-DEC-12
3 28 5316553 07-DEC-12 5361249 07-DEC-12
3 29 5361249 07-DEC-12 5390274 07-DEC-12
3 30 5390274 07-DEC-12 5411079 07-DEC-12
3 31 5411079 07-DEC-12 5695343 08-DEC-12
3 32 5695343 08-DEC-12 6032239 10-DEC-12
3 33 6032239 10-DEC-12 6032253 10-DEC-12
3 34 6034824 10-DEC-12 6060136 10-DEC-12
3 35 6060136 10-DEC-12 6060139 10-DEC-12
3 36 6060637 10-DEC-12 6085573 10-DEC-12
3 37 6085573 10-DEC-12 6085575 10-DEC-12
3 38 6088849 10-DEC-12 6112552 10-DEC-12
3 39 6112552 10-DEC-12 6112554 10-DEC-12
3 40 6114356 10-DEC-12 6135785 10-DEC-12
3 41 6135785 10-DEC-12 6135790 10-DEC-12
3 42 6137732 10-DEC-12 6203113 10-DEC-12
3 43 6203113 10-DEC-12 6224090 10-DEC-12
3 44 6224090 10-DEC-12 6252407 10-DEC-12
3 45 6252407 10-DEC-12 6280269 10-DEC-12
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
11 2.56G SBT_TAPE 00:08:42 03-JAN-13
BP Key: 11 Status: AVAILABLE Compressed: NO Tag: TAG20130103T143213
Handle: 0dnugbbj_1_1 Media: X04802
List of Archived Logs in backup set 11
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 34 6305244 10-DEC-12 6333208 10-DEC-12
1 35 6333208 10-DEC-12 6354655 10-DEC-12
1 36 6354655 10-DEC-12 6354657 10-DEC-12
1 37 6355691 10-DEC-12 6377203 10-DEC-12
1 38 6377203 10-DEC-12 6377205 10-DEC-12
1 39 6379291 10-DEC-12 6538343 11-DEC-12
1 40 6539221 11-DEC-12 7332648 14-DEC-12
1 41 7332648 14-DEC-12 7742277 15-DEC-12
1 42 7742277 15-DEC-12 8029283 17-DEC-12
1 43 8029283 17-DEC-12 8074581 17-DEC-12
1 44 8074581 17-DEC-12 8174438 17-DEC-12
1 45 8174697 17-DEC-12 8978684 20-DEC-12
2 36 6280695 10-DEC-12 6305209 10-DEC-12
2 37 6305209 10-DEC-12 6305211 10-DEC-12
2 38 6309072 10-DEC-12 6333194 10-DEC-12
2 39 6333194 10-DEC-12 6333196 10-DEC-12
2 40 6333859 10-DEC-12 6377212 10-DEC-12
2 41 6377212 10-DEC-12 6533681 11-DEC-12
2 42 6534346 11-DEC-12 7715423 15-DEC-12
2 43 7715423 15-DEC-12 8074580 17-DEC-12
2 44 8074580 17-DEC-12 8163554 17-DEC-12
2 45 8163584 17-DEC-12 8935574 20-DEC-12
3 46 6280269 10-DEC-12 6305215 10-DEC-12
3 47 6305215 10-DEC-12 6333200 10-DEC-12
3 48 6333200 10-DEC-12 6354692 10-DEC-12
3 49 6354692 10-DEC-12 6377209 10-DEC-12
3 50 6377209 10-DEC-12 6522788 11-DEC-12
3 51 6524891 11-DEC-12 6529567 11-DEC-12
3 52 6529690 11-DEC-12 6940482 12-DEC-12
3 53 6940482 12-DEC-12 7576269 15-DEC-12
3 54 7576269 15-DEC-12 8074580 17-DEC-12
3 55 8074580 17-DEC-12 8163559 17-DEC-12
3 56 8163724 17-DEC-12 8174465 17-DEC-12
3 57 8174500 17-DEC-12 8643483 19-DEC-12
3 58 8643483 19-DEC-12 8935080 20-DEC-12
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
12 1.14G SBT_TAPE 00:01:39 03-JAN-13
BP Key: 12 Status: AVAILABLE Compressed: NO Tag: TAG20130103T143213
Handle: 0fnugbru_1_1 Media: X05232
List of Archived Logs in backup set 12
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 59 11139791 29-DEC-12 11925804 01-JAN-13
1 60 11925804 01-JAN-13 12290449 03-JAN-13
2 60 11140218 29-DEC-12 11923278 01-JAN-13
2 61 11923278 01-JAN-13 12290445 03-JAN-13
3 73 11460110 30-DEC-12 11551372 31-DEC-12
3 74 11551372 31-DEC-12 11922457 01-JAN-13
3 75 11922457 01-JAN-13 12204105 03-JAN-13
3 76 12204105 03-JAN-13 12290441 03-JAN-13
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
13 2.58G SBT_TAPE 00:12:09 03-JAN-13
BP Key: 13 Status: AVAILABLE Compressed: NO Tag: TAG20130103T143213
Handle: 0enugbr3_1_1 Media: X04802
List of Archived Logs in backup set 13
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 46 8978684 20-DEC-12 9022218 20-DEC-12
1 47 9022218 20-DEC-12 9022220 20-DEC-12
1 48 9022230 20-DEC-12 9669485 23-DEC-12
1 49 9669485 23-DEC-12 10397133 26-DEC-12
1 50 10397133 26-DEC-12 10616566 27-DEC-12
1 51 10616566 27-DEC-12 10616568 27-DEC-12
1 52 10616669 27-DEC-12 10656305 27-DEC-12
1 53 10656305 27-DEC-12 10656307 27-DEC-12
1 54 10656398 27-DEC-12 10694946 27-DEC-12
1 55 10694946 27-DEC-12 10725017 27-DEC-12
1 56 10725017 27-DEC-12 10755207 27-DEC-12
1 57 10755207 27-DEC-12 10792353 27-DEC-12
1 58 10792353 27-DEC-12 11139791 29-DEC-12
2 46 8935574 20-DEC-12 9022220 20-DEC-12
2 47 9022220 20-DEC-12 9022222 20-DEC-12
2 48 9027222 20-DEC-12 9301954 21-DEC-12
2 49 9301954 21-DEC-12 9667806 23-DEC-12
2 50 9667806 23-DEC-12 9900985 24-DEC-12
2 51 9900985 24-DEC-12 10348572 26-DEC-12
2 52 10348572 26-DEC-12 10616569 27-DEC-12
2 53 10616569 27-DEC-12 10616571 27-DEC-12
2 54 10621489 27-DEC-12 10656303 27-DEC-12
2 55 10656303 27-DEC-12 10656305 27-DEC-12
2 56 10660838 27-DEC-12 10694921 27-DEC-12
2 57 10694921 27-DEC-12 10694923 27-DEC-12
2 58 10755252 27-DEC-12 10792357 27-DEC-12
2 59 10792357 27-DEC-12 11140218 29-DEC-12
3 59 8935080 20-DEC-12 9022226 20-DEC-12
3 60 9022226 20-DEC-12 9670004 23-DEC-12
3 61 9670004 23-DEC-12 10397070 26-DEC-12
3 62 10397070 26-DEC-12 10397076 26-DEC-12
3 63 10397812 26-DEC-12 10656316 27-DEC-12
3 64 10656316 27-DEC-12 10694942 27-DEC-12
3 65 10694942 27-DEC-12 10725018 27-DEC-12
3 66 10725018 27-DEC-12 10755206 27-DEC-12
3 67 10755206 27-DEC-12 10755781 27-DEC-12
3 68 10760924 27-DEC-12 10792305 27-DEC-12
3 69 10792305 27-DEC-12 10792338 27-DEC-12
3 70 10793626 27-DEC-12 10959718 28-DEC-12
3 71 10959718 28-DEC-12 11138744 29-DEC-12
3 72 11138744 29-DEC-12 11460110 30-DEC-12
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
14 Full 22.75M SBT_TAPE 00:00:58 03-JAN-13
BP Key: 14 Status: AVAILABLE Compressed: NO Tag: TAG20130103T145249
Handle: 0gnugci1_1_1 Media: X06790
Control File Included: Ckp SCN: 12291827 Ckp time: 03-JAN-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
15 Full 22.75M SBT_TAPE 00:01:09 03-JAN-13
BP Key: 15 Status: AVAILABLE Compressed: NO Tag: TAG20130103T145355
Handle: c-3812261009-20130103-00 Media: X03223
SPFILE Included: Modification time: 27-DEC-12
SPFILE db_unique_name: AUTODEV
Control File Included: Ckp SCN: 12291907 Ckp time: 03-JAN-13
RMAN> exit
Recovery Manager complete.
[oracle@subhen-db01 tmp]$ view initAUTODEVTP.ora
[oracle@subhen-db01 tmp]$ cat initAUTODEVTP.ora
*.audit_file_dest='/oracle/app/admin/AUTODEVTP/adump'
*.audit_trail='db'
*.cluster_database=false
*.compatible='11.2.0.0.0'
*.control_files='+DATA/autodevtp/controlfile/current.3475.799329681','+FRA/autodevtp/controlfile/current.6090.799329683'
*.db_block_size=8192
*.db_create_file_dest='+DATA'
*.db_domain=''
*.db_name='AUTODEVTP'
*.db_recovery_file_dest='+FRA'
*.db_recovery_file_dest_size=5G
*.diagnostic_dest='/oracle/app'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=AUTODEVTPXDB)'
*.log_archive_format='%t_%s_%r.dbf'
*.memory_max_target=4G
*.open_cursors=500
*.pga_aggregate_target=1G
*.processes=500
*.remote_listener='subhen-dbscan.espdev.aurdev.national.com.au:1621'
*.remote_login_passwordfile='exclusive'
*.utl_file_dir='/tmp/'
DB_FILE_NAME_CONVERT='AUTODEV','AUTODEVTP'
LOG_FILE_NAME_CONVERT='AUTODEV','AUTODEVTP'
[oracle@subhen-db01 tmp]$ export ORACLE_SID=AUTODEVTP
[oracle@subhen-db01 tmp]$ free -g
total used free shared buffers cached
Mem: 189 186 3 0 0 149
-/+ buffers/cache: 36 152
Swap: 1 0 1
[oracle@subhen-db01 tmp]$ cat initAUTODEVTP.ora
[oracle@subhen-db01 tmp]$ export ORACLE_SID=AUTODEVTP
[oracle@subhen-db01 tmp]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Thu Jan 3 15:41:46 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup nomount='/tmp/initAUTODEVTP.ora';
SP2-0714: invalid combination of STARTUP options
SQL> startup nomount pfile='/tmp/initAUTODEVTP.ora'
ORA-01127: database name 'AUTODEVTP' exceeds size limit of 8 characters
SQL> exit
Disconnected
[oracle@subhen-db01 tmp]$ vi initAUTODEVTP.ora
[oracle@subhen-db01 tmp]$ mv initAUTODEVTP.ora initAUTODEVT.ora
[oracle@subhen-db01 tmp]$ export ORACLE_SID=
[oracle@subhen-db01 tmp]$ vi initAUTODEVT.ora
[oracle@subhen-db01 tmp]$ mkdir -p /oracle/app/admin/AUTODEVT/adump
[oracle@subhen-db01 tmp]$ vi initAUTODEVT.ora
[oracle@subhen-db01 tmp]$ export ORACLE_SID=AUTODEVT
[oracle@subhen-db01 tmp]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Thu Jan 3 15:44:56 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup nomount pfile='/tmp/initAUTODEVT.ora'
ORACLE instance started.
Total System Global Area 4275781632 bytes
Fixed Size 2235208 bytes
Variable Size 4160750776 bytes
Database Buffers 100663296 bytes
Redo Buffers 12132352 bytes
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
[oracle@subhen-db01 tmp]$ rman target sys/sw2tesb@AUTODEV auxiliary /
Recovery Manager: Release 11.2.0.3.0 - Production on Thu Jan 3 15:46:29 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: AUTODEV (DBID=3812261009)
connected to auxiliary database: AUTODEVT (not mounted)
RMAN> run {
allocate channel c1 type 'SBT_TAPE' parms 'ENV=(NB_ORA_CLASS=t3-***-**-***-3m-2, NB_ORA_SERV=*****.au.thenational.com, NB_ORA_SCHED=oracle)';
2> 3> allocate channel c2 type 'SBT_TAPE' parms 'ENV=(NB_ORA_CLASS=t3-***-**-***-3m-2, NB_ORA_SERV=*****.au.thenational.com, NB_ORA_SCHED=oracle)';
4> set until SCN 12291827;
DUPLICATE TARGET DATABASE TO AUTODEVT;
5> 6> }
using target database control file instead of recovery catalog
allocated channel: c1
channel c1: SID=1474 instance=AUTODEV_1 device type=SBT_TAPE
channel c1: Veritas NetBackup for Oracle - Release 6.5 (2010042404)
allocated channel: c2
channel c2: SID=131 instance=AUTODEV_1 device type=SBT_TAPE
channel c2: Veritas NetBackup for Oracle - Release 6.5 (2010042404)
executing command: SET until clause
Starting Duplicate Db at 03-JAN-13
released channel: c1
released channel: c2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 01/03/2013 15:49:43
RMAN-05501: aborting duplication of target database
RMAN-05503: at least one auxiliary channel must be allocated to execute this command
RMAN> run {
allocate auxiliary channel c1 type 'SBT_TAPE' parms 'ENV=(NB_ORA_CLASS=t3-***-**-***-3m-2, NB_ORA_SERV=*****.au.thenational.com, NB_ORA_SCHED=oracle)';
2> 3> allocate auxiliary channel c2 type 'SBT_TAPE' parms 'ENV=(NB_ORA_CLASS=t3-***-**-***-3m-2, NB_ORA_SERV=*****.au.thenational.com, NB_ORA_SCHED=oracle)';
4> set until SCN 12291827;
5> DUPLICATE TARGET DATABASE TO AUTODEVT;
6> }
allocated channel: c1
channel c1: SID=200 device type=SBT_TAPE
channel c1: Veritas NetBackup for Oracle - Release 6.5 (2010042404)
allocated channel: c2
channel c2: SID=332 device type=SBT_TAPE
channel c2: Veritas NetBackup for Oracle - Release 6.5 (2010042404)
executing command: SET until clause
Starting Duplicate Db at 03-JAN-13
released channel: c1
released channel: c2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 01/03/2013 15:54:07
RMAN-05501: aborting duplication of target database
RMAN-06457: UNTIL SCN (12291827) is ahead of last SCN in archived logs (12290441)
RMAN> run {
allocate auxiliary channel c1 type 'SBT_TAPE' parms 'ENV=(NB_ORA_CLASS=t3-***-**-***-3m-2, NB_ORA_SERV=*****.au.thenational.com, NB_ORA_SCHED=oracle)';
2> 3> allocate auxiliary channel c2 type 'SBT_TAPE' parms 'ENV=(NB_ORA_CLASS=t3-***-**-***-3m-2, NB_ORA_SERV=*****.au.thenational.com, NB_ORA_SCHED=oracle)';
4> DUPLICATE TARGET DATABASE TO AUTODEVT;
5> }
allocated channel: c1
channel c1: SID=200 device type=SBT_TAPE
channel c1: Veritas NetBackup for Oracle - Release 6.5 (2010042404)
allocated channel: c2
channel c2: SID=332 device type=SBT_TAPE
channel c2: Veritas NetBackup for Oracle - Release 6.5 (2010042404)
Starting Duplicate Db at 03-JAN-13
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 4275781632 bytes
Fixed Size 2235208 bytes
Variable Size 4160750776 bytes
Database Buffers 100663296 bytes
Redo Buffers 12132352 bytes
allocated channel: c1
channel c1: SID=299 device type=SBT_TAPE
channel c1: Veritas NetBackup for Oracle - Release 6.5 (2010042404)
allocated channel: c2
channel c2: SID=332 device type=SBT_TAPE
channel c2: Veritas NetBackup for Oracle - Release 6.5 (2010042404)
contents of Memory Script:
{
sql clone "alter system set control_files =
''+DATA/autodevt/controlfile/current.3792.803750133'', ''+FRA/autodevt/controlfile/current.10014.803750133'' comment=
''Set by RMAN'' scope=spfile";
sql clone "alter system set db_name =
''AUTODEV'' comment=
''Modified by RMAN duplicate'' scope=spfile";
sql clone "alter system set db_unique_name =
''AUTODEVT'' comment=
''Modified by RMAN duplicate'' scope=spfile";
shutdown clone immediate;
startup clone force nomount
restore clone primary controlfile;
alter clone database mount;
}
executing Memory Script
sql statement: alter system set control_files = ''+DATA/autodevt/controlfile/current.3792.803750133'', ''+FRA/autodevt/controlfile/current.10014.803750133'' comment= ''Set by RMAN'' scope=spfile
sql statement: alter system set db_name = ''AUTODEV'' comment= ''Modified by RMAN duplicate'' scope=spfile
sql statement: alter system set db_unique_name = ''AUTODEVT'' comment= ''Modified by RMAN duplicate'' scope=spfile
Oracle instance shut down
Oracle instance started
Total System Global Area 4275781632 bytes
Fixed Size 2235208 bytes
Variable Size 4160750776 bytes
Database Buffers 100663296 bytes
Redo Buffers 12132352 bytes
allocated channel: c1
channel c1: SID=299 device type=SBT_TAPE
channel c1: Veritas NetBackup for Oracle - Release 6.5 (2010042404)
allocated channel: c2
channel c2: SID=332 device type=SBT_TAPE
channel c2: Veritas NetBackup for Oracle - Release 6.5 (2010042404)
Starting restore at 03-JAN-13
channel c1: starting datafile backup set restore
channel c1: restoring control file
channel c1: reading from backup piece c-3812261009-20130103-00
channel c1: piece handle=c-3812261009-20130103-00 tag=TAG20130103T145355
channel c1: restored backup piece 1
channel c1: restore complete, elapsed time: 00:00:56
output file name=+DATA/autodevt/controlfile/current.3792.803750133
output file name=+FRA/autodevt/controlfile/current.10014.803750133
Finished restore at 03-JAN-13
database mounted
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 12290441;
set newname for datafile 1 to
"+DATA";
set newname for datafile 2 to
"+DATA";
set newname for datafile 3 to
"+DATA";
set newname for datafile 4 to
"+DATA";
set newname for datafile 5 to
"+DATA";
set newname for datafile 6 to
"+DATA";
set newname for datafile 7 to
"+DATA";
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
Starting restore at 03-JAN-13
channel c1: starting datafile backup set restore
channel c1: specifying datafile(s) to restore from backup set
channel c1: restoring datafile 00001 to +DATA
channel c1: restoring datafile 00003 to +DATA
channel c1: restoring datafile 00006 to +DATA
channel c1: restoring datafile 00007 to +DATA
channel c1: reading from backup piece 0bnugald_1_1
channel c2: starting datafile backup set restore
channel c2: specifying datafile(s) to restore from backup set
channel c2: restoring datafile 00002 to +DATA
channel c2: restoring datafile 00004 to +DATA
channel c2: restoring datafile 00005 to +DATA
channel c2: reading from backup piece 0anugald_1_1
channel c1: piece handle=0bnugald_1_1 tag=TAG20130103T142029
channel c1: restored backup piece 1
channel c1: restore complete, elapsed time: 00:05:36
channel c2: piece handle=0anugald_1_1 tag=TAG20130103T142029
channel c2: restored backup piece 1
channel c2: restore complete, elapsed time: 00:06:36
Finished restore at 03-JAN-13
contents of Memory Script:
{
switch clone datafile all;
}
executing Memory Script
datafile 1 switched to datafile copy
input datafile copy RECID=8 STAMP=803750719 file name=+DATA/autodevt/datafile/system.3791.803750611
datafile 2 switched to datafile copy
input datafile copy RECID=9 STAMP=803750720 file name=+DATA/autodevt/datafile/sysaux.3787.803750665
datafile 3 switched to datafile copy
input datafile copy RECID=10 STAMP=803750720 file name=+DATA/autodevt/datafile/undotbs1.3788.803750611
datafile 4 switched to datafile copy
input datafile copy RECID=11 STAMP=803750720 file name=+DATA/autodevt/datafile/users.3785.803750667
datafile 5 switched to datafile copy
input datafile copy RECID=12 STAMP=803750720 file name=+DATA/autodevt/datafile/undotbs2.3786.803750665
datafile 6 switched to datafile copy
input datafile copy RECID=13 STAMP=803750720 file name=+DATA/autodevt/datafile/undotbs3.3790.803750611
datafile 7 switched to datafile copy
input datafile copy RECID=14 STAMP=803750720 file name=+DATA/autodevt/datafile/ggate_data.3789.803750611
contents of Memory Script:
{
set until scn 12290441;
recover
clone database
delete archivelog
;
}
executing Memory Script
executing command: SET until clause
Starting recover at 03-JAN-13
starting media recovery
archived log for thread 1 with sequence 60 is already on disk as file +FRA/autodev/archivelog/2013_01_03/thread_1_seq_60.3760.803745131
archived log for thread 2 with sequence 61 is already on disk as file +FRA/autodev/archivelog/2013_01_03/thread_2_seq_61.17198.803745129
archived log for thread 3 with sequence 76 is already on disk as file +FRA/autodev/archivelog/2013_01_03/thread_3_seq_76.3399.803745129
archived log file name=+FRA/autodev/archivelog/2013_01_03/thread_3_seq_76.3399.803745129 thread=3 sequence=76
archived log file name=+FRA/autodev/archivelog/2013_01_03/thread_1_seq_60.3760.803745131 thread=1 sequence=60
archived log file name=+FRA/autodev/archivelog/2013_01_03/thread_2_seq_61.17198.803745129 thread=2 sequence=61
media recovery complete, elapsed time: 00:00:02
Finished recover at 03-JAN-13
Oracle instance started
Total System Global Area 4275781632 bytes
Fixed Size 2235208 bytes
Variable Size 4160750776 bytes
Database Buffers 100663296 bytes
Redo Buffers 12132352 bytes
contents of Memory Script:
{
sql clone "alter system set db_name =
''AUTODEVT'' comment=
''Reset to original value by RMAN'' scope=spfile";
sql clone "alter system reset db_unique_name scope=spfile";
shutdown clone immediate;
startup clone nomount;
}
executing Memory Script
sql statement: alter system set db_name = ''AUTODEVT'' comment= ''Reset to original value by RMAN'' scope=spfile
sql statement: alter system reset db_unique_name scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 4275781632 bytes
Fixed Size 2235208 bytes
Variable Size 4160750776 bytes
Database Buffers 100663296 bytes
Redo Buffers 12132352 bytes
allocated channel: c1
channel c1: SID=299 device type=SBT_TAPE
channel c1: Veritas NetBackup for Oracle - Release 6.5 (2010042404)
allocated channel: c2
channel c2: SID=332 device type=SBT_TAPE
channel c2: Veritas NetBackup for Oracle - Release 6.5 (2010042404)
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "AUTODEVT" RESETLOGS ARCHIVELOG
MAXLOGFILES 1000
MAXLOGMEMBERS 5
MAXDATAFILES 1024
MAXINSTANCES 32
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ( '+DATA', '+FRA' ) SIZE 256 M REUSE,
GROUP 2 ( '+DATA', '+FRA' ) SIZE 256 M REUSE,
GROUP 7 ( '+DATA', '+FRA' ) SIZE 256 M REUSE,
GROUP 8 ( '+DATA', '+FRA' ) SIZE 256 M REUSE
DATAFILE
'+DATA/autodevt/datafile/system.3791.803750611'
CHARACTER SET AL32UTF8
sql statement: ALTER DATABASE ADD LOGFILE
INSTANCE 'i2'
GROUP 3 ( '+DATA', '+FRA' ) SIZE 256 M REUSE,
GROUP 4 ( '+DATA', '+FRA' ) SIZE 256 M REUSE
sql statement: ALTER DATABASE ADD LOGFILE
INSTANCE 'i3'
GROUP 5 ( '+DATA', '+FRA' ) SIZE 256 M REUSE,
GROUP 6 ( '+DATA', '+FRA' ) SIZE 256 M REUSE
contents of Memory Script:
{
set newname for tempfile 1 to
"+DATA";
switch clone tempfile all;
catalog clone datafilecopy "+DATA/autodevt/datafile/sysaux.3787.803750665",
"+DATA/autodevt/datafile/undotbs1.3788.803750611",
"+DATA/autodevt/datafile/users.3785.803750667",
"+DATA/autodevt/datafile/undotbs2.3786.803750665",
"+DATA/autodevt/datafile/undotbs3.3790.803750611",
"+DATA/autodevt/datafile/ggate_data.3789.803750611";
switch clone datafile all;
}
executing Memory Script
executing command: SET NEWNAME
renamed tempfile 1 to +DATA in control file
cataloged datafile copy
datafile copy file name=+DATA/autodevt/datafile/sysaux.3787.803750665 RECID=1 STAMP=803750767
cataloged datafile copy
datafile copy file name=+DATA/autodevt/datafile/undotbs1.3788.803750611 RECID=2 STAMP=803750767
cataloged datafile copy
datafile copy file name=+DATA/autodevt/datafile/users.3785.803750667 RECID=3 STAMP=803750767
cataloged datafile copy
datafile copy file name=+DATA/autodevt/datafile/undotbs2.3786.803750665 RECID=4 STAMP=803750767
cataloged datafile copy
datafile copy file name=+DATA/autodevt/datafile/undotbs3.3790.803750611 RECID=5 STAMP=803750767
cataloged datafile copy
datafile copy file name=+DATA/autodevt/datafile/ggate_data.3789.803750611 RECID=6 STAMP=803750768
datafile 2 switched to datafile copy
input datafile copy RECID=1 STAMP=803750767 file name=+DATA/autodevt/datafile/sysaux.3787.803750665
datafile 3 switched to datafile copy
input datafile copy RECID=2 STAMP=803750767 file name=+DATA/autodevt/datafile/undotbs1.3788.803750611
datafile 4 switched to datafile copy
input datafile copy RECID=3 STAMP=803750767 file name=+DATA/autodevt/datafile/users.3785.803750667
datafile 5 switched to datafile copy
input datafile copy RECID=4 STAMP=803750767 file name=+DATA/autodevt/datafile/undotbs2.3786.803750665
datafile 6 switched to datafile copy
input datafile copy RECID=5 STAMP=803750767 file name=+DATA/autodevt/datafile/undotbs3.3790.803750611
datafile 7 switched to datafile copy
input datafile copy RECID=6 STAMP=803750768 file name=+DATA/autodevt/datafile/ggate_data.3789.803750611
contents of Memory Script:
{
Alter clone database open resetlogs;
}
executing Memory Script
database opened
Finished Duplicate Db at 03-JAN-13
released channel: c1
released channel: c2
RMAN> exit
Recovery Manager complete.
[oracle@subhen-db01 tmp]$ ls -ltr|grep pmon|grep -i auto
[oracle@subhen-db01 tmp]$ ps -ef|grep pmon|grep -i auto
oracle 23269 1 0 16:05 ? 00:00:00 ora_pmon_AUTODEVT
oracle 28881 1 0 2012 ? 00:02:38 ora_pmon_AUTODEV_1
[oracle@subhen-db01 tmp]$ . oraenv
ORACLE_SID = [AUTODEVT] ?
ORACLE_HOME = [/home/oracle] ? ^C
[oracle@subhen-db01 tmp]$ cat /etc/oratab|grep -i AUTODEV
AUTODEV_1:/oracle/app/database/11.2.0.3/dbhome_1:N # line added by Agent
AUTODEV:/oracle/app/database/11.2.0.3/dbhome_1:N # line added by Agent
[oracle@subhen-db01 tmp]$ . oraenv
ORACLE_SID = [AUTODEVT] ?
ORACLE_HOME = [/home/oracle] ? /oracle/app/database/11.2.0.3/dbhome_1
The Oracle base for ORACLE_HOME=/oracle/app/database/11.2.0.3/dbhome_1 is /oracle/app
[oracle@subhen-db01 tmp]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Thu Jan 3 16:59:42 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> select name,open_mode,database_role from v$database;
NAME OPEN_MODE DATABASE_ROLE
--------- -------------------- ----------------
AUTODEVT READ WRITE PRIMARY
SQL>
To convert this single instance DB to RAC Db please follow the steps in my below post in my blog
Duplicate database creation from 2 node RAC to 2 node RAC in same host