Set newname vs. configure auxname
I thought I had seen this somewhere before, but couldn't find it, so I apologize if this has been addressed before.
Is it better to use configure auxname when cloning a database or to use the set newname command? Is there a difference?
Thanks.
i have been using configure auxname for a couple of weeks now and it has worked without a problem. the main benefit is that i don't have to constantly run the set newname command each time i go to duplicate the database. i just completed a duplicate process yesterday, again, with no problems using the configure auxname.
i am working with 9.2.0.6 on AIX 5L.
Similar Messages
-
How to set up and configure AirPort Express for AirPlay and iTunes
Saw somewhere that supposedly there were some apple written guidlines on the above topic. I have searched all over for them. Anyone know where I can get a copy to read through. Just trying to educate myself a bit and sety up another room with access to itunes, radio, etc with high quality speakers and amp off my express.
Here you go ...
How to set up and configure AirPort Express for AirPlay and iTunes -
In XI 3.0 how to set up Alert configuration......
Hi All
I am new to XI and Pls..help me on this
How to set up Alert Configuration in XI 3.0 (SP 9)
What are the settings i need to do in RWB... For particular Purchase order
How to set up the alert configuration ?
Thanx in advance
Prasad KHi,
Please check these links, here you can find something:
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
/people/ginger.gatling/blog/2005/12/02/innovative-ways-to-use-alerts
/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7f2243d711d1893e0000e8323c4f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/68/253239bd1fa74ee10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/f2bbc8142c11d3b93a0000e8353423/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/5d/2166e6a91d11d188de0000e8216438/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/05/bb223905b61b0ae10000000a11402f/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm
Regards,
Wojciech -
Moving RAC/ASM to single-node non-rac SET NEWNAME not working
Good morning,
I'm trying to restore a rac/asm database to a non-rac environment to simulate disaster recovery under worst-case circumstances.
Here is as faras I have been able to get
1) Restored pfile
2) modified pfile to remove references to RAC settings (note, did not set db_file_create_dest, db_file_name_convert, etc)
3) Restored controlfile successfully
4) Mounted database
At this time I run the following rman script which covers all temp and datafiles (there's some skipped numbers where datafiles have been removed previously)
run {
set until time "to_date('2009/11/29 03:00:00','YYYY/MM/DD HH24:MI:SS')";
set newname for tempfile 1 to '/mnt/data/oradata/pmi/temp_1.dbf';
set newname for datafile 1 to '/mnt/data/oradata/pmi/system_1.dbf';
set newname for datafile 2 to '/mnt/data/oradata/pmi/undotbs1_2.dbf';
set newname for datafile 3 to '/mnt/data/oradata/pmi/sysaux_3.dbf';
set newname for datafile 4 to '/mnt/data/oradata/pmi/undotbs2_4.dbf';
set newname for datafile 5 to '/mnt/data/oradata/pmi/undotbs3_5.dbf';
set newname for datafile 6 to '/mnt/data/oradata/pmi/users_6.dbf';
set newname for datafile 7 to '/mnt/data/oradata/pmi/atend1_7.dbf';
set newname for datafile 8 to '/mnt/data/oradata/pmi/atendidx1_8.dbf';
set newname for datafile 9 to '/mnt/data/oradata/pmi/cwmlite_9.dbf';
set newname for datafile 10 to '/mnt/data/oradata/pmi/datafeedsidx1_10.dbf';
set newname for datafile 11 to '/mnt/data/oradata/pmi/drsys_11.dbf';
set newname for datafile 12 to '/mnt/data/oradata/pmi/dynamic1_12.dbf';
set newname for datafile 13 to '/mnt/data/oradata/pmi/dynamicidx1_13.dbf';
set newname for datafile 14 to '/mnt/data/oradata/pmi/intermedia_14.dbf';
set newname for datafile 15 to '/mnt/data/oradata/pmi/notesidx1_15.dbf';
set newname for datafile 16 to '/mnt/data/oradata/pmi/odm_16.dbf';
set newname for datafile 18 to '/mnt/data/oradata/pmi/pacific_data_large_18.dbf';
set newname for datafile 19 to '/mnt/data/oradata/pmi/pacific_data_medium_19.dbf';
set newname for datafile 20 to '/mnt/data/oradata/pmi/pacific_data_small_20.dbf';
set newname for datafile 21 to '/mnt/data/oradata/pmi/pacific_data_xlarge_21.dbf';
set newname for datafile 22 to '/mnt/data/oradata/pmi/pacific_index_large_22.dbf';
set newname for datafile 23 to '/mnt/data/oradata/pmi/pacific_index_medium_23.dbf';
set newname for datafile 24 to '/mnt/data/oradata/pmi/pacific_index_small_24.dbf';
set newname for datafile 25 to '/mnt/data/oradata/pmi/pacific_index_xlarge_25.dbf';
set newname for datafile 26 to '/mnt/data/oradata/pmi/pmi_data_large_26.dbf';
set newname for datafile 27 to '/mnt/data/oradata/pmi/pmi_data_medium_27.dbf';
set newname for datafile 28 to '/mnt/data/oradata/pmi/pmi_data_small_28.dbf';
set newname for datafile 29 to '/mnt/data/oradata/pmi/pmi_data_large_29.dbf';
set newname for datafile 30 to '/mnt/data/oradata/pmi/sysaux_30.dbf';
set newname for datafile 31 to '/mnt/data/oradata/pmi/pmi_data_xlarge_31.dbf';
set newname for datafile 32 to '/mnt/data/oradata/pmi/pmi_index_large_32.dbf';
set newname for datafile 33 to '/mnt/data/oradata/pmi/pmi_data_medium_33.dbf';
set newname for datafile 34 to '/mnt/data/oradata/pmi/pmi_index_medium_34.dbf';
set newname for datafile 35 to '/mnt/data/oradata/pmi/pmi_index_small_35.dbf';
set newname for datafile 36 to '/mnt/data/oradata/pmi/pmi_index_xlarge_36.dbf';
set newname for datafile 38 to '/mnt/data/oradata/pmi/portal30_38.dbf';
set newname for datafile 39 to '/mnt/data/oradata/pmi/portal_app_helpdesk_39.dbf';
set newname for datafile 40 to '/mnt/data/oradata/pmi/static1_40.dbf';
set newname for datafile 41 to '/mnt/data/oradata/pmi/staticidx1_41.dbf';
set newname for datafile 42 to '/mnt/data/oradata/pmi/tools_42.dbf';
set newname for datafile 43 to '/mnt/data/oradata/pmi/xdb_43.dbf';
set newname for datafile 44 to '/mnt/data/oradata/pmi/pmi_index_small_44.dbf';
set newname for datafile 46 to '/mnt/data/oradata/pmi/pmi_index_medium_46.dbf';
set newname for datafile 47 to '/mnt/data/oradata/pmi/pmi_data_small_47.dbf';
set newname for datafile 48 to '/mnt/data/oradata/pmi/pmi_index_large_48.dbf';
set newname for datafile 49 to '/mnt/data/oradata/pmi/pmi_index_xlarge_49.dbf';
set newname for datafile 50 to '/mnt/data/oradata/pmi/system_50.dbf';
set newname for datafile 52 to '/mnt/data/oradata/pmi/pmi_data_xlarge_52.dbf';
set newname for datafile 54 to '/mnt/data/oradata/pmi/pmi_index_medium_54.dbf';
set newname for datafile 55 to '/mnt/data/oradata/pmi/acctdb_data_55.dbf';
set newname for datafile 56 to '/mnt/data/oradata/pmi/acctdb_index_56.dbf';
set newname for datafile 57 to '/mnt/data/oradata/pmi/pivot_data_57.dbf';
set newname for datafile 58 to '/mnt/data/oradata/pmi/pmiaudit_data_58.dbf';
set newname for datafile 59 to '/mnt/data/oradata/pmi/pmiaudit_indx_59.dbf';
allocate channel D1 device type disk;
restore database;
switch datafile all;
release channel D1;
When I run this I get the following:
creating datafile fno=3 name=/mnt/data/oradata/pmi/sysaux_3.dbf
released channel: D1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 12/09/2009 09:32:33
ORA-01119: error in creating database file '+PMI2'
ORA-17502: ksfdcre:4 Failed to create file +PMI2
ORA-15001: diskgroup "PMI2" does not exist or is not mounted
ORA-15077: could not locate ASM instance serving a required diskgroup
ORA-29701: unable to connect to Cluster Manager
I noticed that it's trying to create the datafile. Shouldn't it be giving me a "Restoring datafiles from backup piece" clause? Also it appears to be trying to recreate the datafiles in their old location. Any thoughts on how to get around this.
Using the db_file_name_convert does allow me to restore files to the filesystem, but they use names such as "omf_*" and I'm not sure if it's converting the files properly from ASM format.
Thanks!Hi,
I assume your problem is either in your pfile ( but you indicate you have removed all RAC settings), or in your control file.
I would recommend to remove the control files and create them later as soon as the datafiles have been restored, using the commands:
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE DATABASE "OMST01" NORESETLOGS FORCE LOGGING NOARCHIVELOG
-- SET STANDBY TO MAXIMIZE PERFORMANCE
MAXLOGFILES 100
MAXLOGMEMBERS 2
MAXDATAFILES 1024
MAXINSTANCES 8
MAXLOGHISTORY 10210
LOGFILE
< your logfiles >
DATAFILE
< your datafiles >
CHARACTER SET <your character set>;So the steps are
Startup nomount with the pfile
Restore the datafiles using rman
Shutdown the database
Use above script to create the control files
It is possible you need to use the RESETLOGS option instead of the NORESETLOGS
HTH -
Hi
We use Vision Builder for machine vision. There are two interfaces in Vision Builder (Inspection Interface & Configuration interface). It is better machine vision operator would work with Inspection Interface and he should not access to all of setting and tools but he need to redefine some parameter like RIO in some tools like measuring tools for different products.
Is it possible to move some tools or their setting parameter from Configuration interface to Inspection Interface?
Or is it possible to define security like password to some tools and their setting but not all of them?
Thanks
RefaVision Builder generally isn't supposed to rely on user input, but there is a step called "User Input" that allows you to get input from the user. ROI would be tricky. I think the slickest way to do that would be to create a VI that displays the image, lets the user drag a rectangle, then pass those coordinates back to Vision Builder to configure the ROI.
Tanner B.
Applications Engineer
National Instruments -
How to set a global configuration for Value Interaction
Hi there
i have this problematic situation about some of my dashboards, cause i need to set the same configuration for all of them in the part of the value interaction,
some of there have in the "default situation" drill and others have "navigation"
exist a config for this?
regratsHello Pavel,
>> … and then on the login page I created a process …
A typical APEX login page includes a process called Clear Page(s) Cache, with a sequence of 30. If the process you have create has a higher sequence (>30) it will see a null page values as they have been cleared already.
Regards,
Arie.
♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
♦ Author of Oracle Application Express 3.2 – The Essentials and More -
How can I set programatically DAQ configuration?
I configured and saved my DAQ subsystem in a .daq file using NI MAX. Now I can set active configuration by MAX menu commands, Tools->NI-DAQ Configuration->Set Active Configuration, but the matter is I need to do it programmatically. My question is:
Is there any way to set DAQ configuration (i.e. to restore the DAQ configuration from the .daq file) programmatically ?
Thank you in advance.Unfortunately, there is no way to set the active configuration programmatically in LabVIEW. There is an ActiveX control in LabVIEW that allows you to manually change the configuration of MAX from within LabVIEW.
You can use the NiMax Viewer ActiveX control to configure your hardware directly in LabVIEW. You still must configure all settings manually, but you can do so in LabVIEW instead of launching a separate application (MAX).
To use the control, place an ActiveX container on the front panel. Right-click the container, select Insert ActiveX Object from the shortcut menu, select NiMax Viewer, and click the OK button.
This container gives you access to the configuration tree of MAX but you aren't able to get to the Tools menu option.
Refer to the LabVIEW H
elp, available by selecting Help»Contents and Index (6.0) or Help»VI, Function, & How-To Help (6.1 & 7.0), for more information about using ActiveX containers.
Regards,
Todd D.
NI Applications Engineer -
Clarification regarding set newname
Hi,
We have an Oracle 10g Database (10.2.0.4) on AIX (6.1). We taken backup from another and then moved to the files to the new machine.
First the backup files catalog as follows;
RMAN> run
2> {
3> catalog backuppiece '/u01/backup/TESTENV_06lpi3e4.bkp';
4> catalog backuppiece '/u01/backup/TESTENV_0glpi5jg.bkp';
5> catalog backuppiece '/u01/backup/TESTENV_0elpi55n.bkp';
6> catalog backuppiece '/u01/backup/TESTENV_0flpi58h.bkp';
7> catalog backuppiece '/u01/backup/TESTENV_07lpi3e4.bkp';
8> catalog backuppiece '/u01/backup/TESTENV_08lpi3e4.bkp';
9> catalog backuppiece '/u01/backup/TESTENV_0ilpi5l1.bkp';
10> catalog backuppiece '/u01/backup/TESTENV_09lpi3e4.bkp';
11> catalog backuppiece '/u01/backup/TESTENV_0jlpi626.bkp';
12> catalog backuppiece '/u01/backup/TESTENV_0alpi44r.bkp';
13> catalog backuppiece '/u01/backup/TESTENV_0klpi63f.bkp';
14> catalog backuppiece '/u01/backup/TESTENV_0blpi46c.bkp';
15> catalog backuppiece '/u01/backup/TESTENV_0clpi4m3.bkp';
16> catalog backuppiece '/u01/backup/TESTENV_0dlpi4tr.bkp';
17> }
Now we set newname
RMAN> run
2> {
3> set newname for datafile 11 to '/u011/orccle/proddctc/ckd01.dbf';
4> set newname for datafile 12 to '/u015/orccle/proddctc/ckx01.dbf';
5> set newname for datafile 13 to '/u011/orccle/proddctc/clrd01.dbf';
6> set newname for datafile 14 to '/u015/orccle/proddctc/clrx01.dbf';
7> set newname for datafile 15 to '/u011/orccle/proddctc/cmsd01.dbf';
8> set newname for datafile 16 to '/u015/orccle/proddctc/cmsx01.dbf';
9> set newname for datafile 17 to '/u011/orccle/proddctc/cmvd01.dbf';
10> set newname for datafile 18 to '/u015/orccle/proddctc/cmvx01.dbf';
11> set newname for datafile 19 to '/u011/orccle/proddctc/cpd01.dbf';
12> set newname for datafile 20 to '/u015/orccle/proddctc/cpx01.dbf';
13> set newname for datafile 21 to '/u011/orccle/proddctc/cpplyyyd01.dbf';
14> set newname for datafile 22 to'/u015/orccle/proddctc/cpplyyyx01.dbf';
15> }
It fails as paths/locations on the new system are different. Please advice.
RegardsIt fails during restore. I have tired as
RMAN> run
2> {
3> set newname for datafile 1 to '/u011/oracle/test/system01.dbf';
4> set newname for datafile 2 to '/u011/oracle/test/system02.dbf';
5> set newname for datafile 3 to '/u011/oracle/test/system03.dbf';
6> set newname for datafile 4 to '/u011/oracle/test/system04.dbf';
7> set newname for datafile 5 to '/u011/oracle/test/system05.dbf';
8> restore tablespace "SYSTEM";
switch datafile all;9>
10> recover tablespace "SYSTEM";
11> }
channel ORA_DISK_1: reading from backup piece /u01/backup/TESTENV_0jlpi626.bkp
ORA-19870: error reading backup piece /u01/backup/TESTENV_0jlpi626.bkp
ORA-19502: write error on file "/u011/orccle/proddctc/system06.dbf", blockno 105233 (blocksize=8192)
ORA-27063: number of bytes read/written is incorrect
IBM AIX RISC System/6000 Error: 28: No space left on device
Additional information: -1
Additional information: 131072
Outer dbms_backup_restore.restoreCancel() failed
channel ORA_DISK_1: reading from backup piece /u01/backup/TESTENV_0klpi63f.bkp
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 10/05/2010 12:26:40
ORA-19870: error reading backup piece /u01/backup/TESTENV_0klpi63f.bkp
ORA-19615: some files not found in backup set
ORA-19613: datafile 295 not found in backup set
Please advice. -
Setting the dynamicRender configuration in Designer
Hi,
I'm trying to generate a dynamic PDF using Livecycle Forms. According to the documentation the "RenderAtClient" parameter in Livecycle Forms is set to "auto" by default which means it "instructs the Form Server Module to observe the form design's dynamicRender configuration value".
How do I set the form design's dynamicRender configuration value? I suspect it's a checkbox somewhere in the Designer UI with a slightly different wording, but nothing there jumps out at me as being obviously the correct property to change.
If someone can point me to how you can set the dynamicRender configuration value in the Designer, that would be helpful.
Regards,
Rob
4 Point SolutionsYeah, it belongs just below the <config> tag. Here's an excerpt from an XDP I have here. For your needs I think you'll only need the section I posted above, but if you have any trouble let me know and I'll look into it deeper.<br /><br />Chris<br />Adobe Enterprise Developer Support<br /><br /><acrobat><br /> <acrobat7><br /> <dynamicRender>required</dynamicRender><br /> </acrobat7><br /> <common><br /> <locale/><br /> <data><br /> <xsl><br /> <uri/><br /> </xsl><br /> <outputXSL><br /> <uri/><br /> </outputXSL><br /> <incrementalLoad/><br /> <adjustData/><br /> </data><br /> <template><br /> <base>F:\USERS\editedForPrivacy...</base><br /> <relevant/><br /> <uri/><br /> </template><br /> </common><br /> </acrobat>
-
the lan setting does niot configure in my mac os x 10.8.2...plz give me the clue that i configure my setting easily.
How to set up Outlook.com with IMAP
Outlook.com or Hotmail.com IMAP setup
Getting Hotmail IMAP to Work on a Mac -
RMAN can't SET NEWNAME for datafiles added after Level 1
Version: 11.2.0.3
Platform : Solaris 10
I have the most recent Level 0 , Level 1 and post-L1 Archive logs of the source DB.
I am trying restore, recover in a different machine using plain RMAN (not RMAN DUPLICATE) into a new datafile location.
After the Level 1 backup was taken, 2 datafiles (namdata01.dbf, finaldata01.dbf) were added ( this got 'recorded' on the subsequent post-L1 archivelogs )
Before I ran restore and recover, I restored the latest control file from the most recent L1
RMAN> restore controlfile from '/u01/CATALOGTST/rmanBkpPieces/SNTCDEV_L1_0cnjqk54_1_1_20120829.rmbk' ;Understandably, this control file doesn't have info about the 2 datafiles added after L1 .Wish I could restore control file from archive log :)
So, I cataloged the archive logs as well using CATALOG command.
RMAN> catalog start with '/u01/CATALOGTST/rmanBkpPieces';
using target database control file instead of recovery catalog
searching for all files that match the pattern /u01/CATALOGTST/rmanBkpPieces
List of Files Unknown to the Database
=====================================
File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_full_07njqj6j_1_1_20120828.rmbk
File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_full_08njqj8u_1_1_20120828.rmbk
File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_L1_0bnjqk3d_1_1_20120829.rmbk
File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_L1_0cnjqk54_1_1_20120829.rmbk
File Name: /u01/CATALOGTST/rmanBkpPieces/arch_1_13_790513173.arc
File Name: /u01/CATALOGTST/rmanBkpPieces/arch_1_14_790513173.arc
File Name: /u01/CATALOGTST/rmanBkpPieces/arch_1_15_790513173.arc
File Name: /u01/CATALOGTST/rmanBkpPieces/06njqj6h_1_1
File Name: /u01/CATALOGTST/rmanBkpPieces/09njqj90_1_1
File Name: /u01/CATALOGTST/rmanBkpPieces/0anjqk3b_1_1
File Name: /u01/CATALOGTST/rmanBkpPieces/0dnjqk56_1_1
Do you really want to catalog the above files (enter YES or NO)? YES
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_full_07njqj6j_1_1_20120828.rmbk
File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_full_08njqj8u_1_1_20120828.rmbk
File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_L1_0bnjqk3d_1_1_20120829.rmbk
File Name: /u01/CATALOGTST/rmanBkpPieces/SNTCDEV_L1_0cnjqk54_1_1_20120829.rmbk
File Name: /u01/CATALOGTST/rmanBkpPieces/arch_1_13_790513173.arc -------------------> arch logs that contain info on the new datafiles
File Name: /u01/CATALOGTST/rmanBkpPieces/arch_1_14_790513173.arc -------------------> arch logs that contain info on the new datafiles
File Name: /u01/CATALOGTST/rmanBkpPieces/arch_1_15_790513173.arc -------------------> arch logs that contain info on the new datafiles
File Name: /u01/CATALOGTST/rmanBkpPieces/06njqj6h_1_1
File Name: /u01/CATALOGTST/rmanBkpPieces/09njqj90_1_1
File Name: /u01/CATALOGTST/rmanBkpPieces/0anjqk3b_1_1
File Name: /u01/CATALOGTST/rmanBkpPieces/0dnjqk56_1_1
RMAN> EXITDuring Recovery , RMAN applied the archive logs and managed to create the datafiles successfully. But it can't restore the datafiles to the new location specified in the SET NEWNAME location. Luckily , I had created the original path and these 2 datafiles got restored there.
RMAN can't seem enforce SET NEWNAME for datafiles added after Level 1 backup despite cataloging.
Does SET NEWNAME .... thing work only for RESTORE ?
Log of restore and recover
$ cat restore-recover.txt
run
set newname for database to '/u01/app/CLONE1/oradata/sntcdev/%b' ;
set newname for tempfile '/u01/app/oradata/sntcdev/temp01.dbf' to '/u01/app/CLONE1/oradata/sntcdev/temp01.dbf' ;
restore database;
switch datafile all;
switch tempfile all;
recover database;
$
$ rman target / cmdfile=restore-recover.txt
Recovery Manager: Release 11.2.0.3.0 - Production on Sun Sep 16 21:27:49 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: SNTCDEV (DBID=2498462290, not open)
RMAN> run
2> {
3> set newname for database to '/u01/app/CLONE1/oradata/sntcdev/%b' ;
4> set newname for tempfile '/u01/app/oradata/sntcdev/temp01.dbf' to '/u01/app/CLONE1/oradata/sntcdev/temp01.dbf' ;
5> restore database;
6> switch datafile all;
7> switch tempfile all;
8> recover database;
9> }
10>
11>
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 16-SEP-12
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=18 device type=DISK
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to /u01/app/CLONE1/oradata/sntcdev/system01.dbf
channel ORA_DISK_1: restoring datafile 00002 to /u01/app/CLONE1/oradata/sntcdev/sysaux01.dbf
channel ORA_DISK_1: restoring datafile 00003 to /u01/app/CLONE1/oradata/sntcdev/undotbs01.dbf
channel ORA_DISK_1: restoring datafile 00004 to /u01/app/CLONE1/oradata/sntcdev/users01.dbf
channel ORA_DISK_1: restoring datafile 00005 to /u01/app/CLONE1/oradata/sntcdev/example01.dbf
channel ORA_DISK_1: restoring datafile 00006 to /u01/app/CLONE1/oradata/sntcdev/cisdata01.dbf
channel ORA_DISK_1: reading from backup piece /u01/RMAN_bkp/BKP_sntcdev/SNTCDEV_full_07njqj6j_1_1_20120828.rmbk
channel ORA_DISK_1: errors found reading piece handle=/u01/RMAN_bkp/BKP_sntcdev/SNTCDEV_full_07njqj6j_1_1_20120828.rmbk
channel ORA_DISK_1: failover to piece handle=/u01/CATALOGTST/rmanBkpPieces/SNTCDEV_full_07njqj6j_1_1_20120828.rmbk tag=TAG20120828T234834
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:01:35
Finished restore at 16-SEP-12
datafile 1 switched to datafile copy
input datafile copy RECID=8 STAMP=794179772 file name=/u01/app/CLONE1/oradata/sntcdev/system01.dbf
datafile 2 switched to datafile copy
input datafile copy RECID=9 STAMP=794179772 file name=/u01/app/CLONE1/oradata/sntcdev/sysaux01.dbf
datafile 3 switched to datafile copy
input datafile copy RECID=10 STAMP=794179772 file name=/u01/app/CLONE1/oradata/sntcdev/undotbs01.dbf
datafile 4 switched to datafile copy
input datafile copy RECID=11 STAMP=794179772 file name=/u01/app/CLONE1/oradata/sntcdev/users01.dbf
datafile 5 switched to datafile copy
input datafile copy RECID=12 STAMP=794179772 file name=/u01/app/CLONE1/oradata/sntcdev/example01.dbf
datafile 6 switched to datafile copy
input datafile copy RECID=13 STAMP=794179772 file name=/u01/app/CLONE1/oradata/sntcdev/cisdata01.dbf
renamed tempfile 1 to /u01/app/CLONE1/oradata/sntcdev/temp01.dbf in control file
Starting recover at 16-SEP-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting incremental datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
destination for restore of datafile 00001: /u01/app/CLONE1/oradata/sntcdev/system01.dbf
destination for restore of datafile 00002: /u01/app/CLONE1/oradata/sntcdev/sysaux01.dbf
destination for restore of datafile 00003: /u01/app/CLONE1/oradata/sntcdev/undotbs01.dbf
destination for restore of datafile 00004: /u01/app/CLONE1/oradata/sntcdev/users01.dbf
destination for restore of datafile 00005: /u01/app/CLONE1/oradata/sntcdev/example01.dbf
destination for restore of datafile 00006: /u01/app/CLONE1/oradata/sntcdev/cisdata01.dbf
channel ORA_DISK_1: reading from backup piece /u01/RMAN_bkp/BKP_sntcdev/SNTCDEV_L1_0bnjqk3d_1_1_20120829.rmbk
channel ORA_DISK_1: errors found reading piece handle=/u01/RMAN_bkp/BKP_sntcdev/SNTCDEV_L1_0bnjqk3d_1_1_20120829.rmbk
channel ORA_DISK_1: failover to piece handle=/u01/CATALOGTST/rmanBkpPieces/SNTCDEV_L1_0bnjqk3d_1_1_20120829.rmbk tag=TAG20120829T000356
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
starting media recovery
archived log for thread 1 with sequence 13 is already on disk as file /u01/CATALOGTST/rmanBkpPieces/arch_1_13_790513173.arc
archived log for thread 1 with sequence 14 is already on disk as file /u01/CATALOGTST/rmanBkpPieces/arch_1_14_790513173.arc
archived log for thread 1 with sequence 15 is already on disk as file /u01/CATALOGTST/rmanBkpPieces/arch_1_15_790513173.arc
channel ORA_DISK_1: starting archived log restore to default destination
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=12
channel ORA_DISK_1: reading from backup piece /u01/CATALOGTST/rmanBkpPieces/0dnjqk56_1_1
channel ORA_DISK_1: piece handle=/u01/CATALOGTST/rmanBkpPieces/0dnjqk56_1_1 tag=TAG20120829T000454
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=/u01/archLogs/arch_1_12_790513173.arc thread=1 sequence=12
archived log file name=/u01/CATALOGTST/rmanBkpPieces/arch_1_13_790513173.arc thread=1 sequence=13
creating datafile file number=7 name=/u01/app/oradata/sntcdev/namdata01.dbf
archived log file name=/u01/CATALOGTST/rmanBkpPieces/arch_1_13_790513173.arc thread=1 sequence=13
archived log file name=/u01/CATALOGTST/rmanBkpPieces/arch_1_14_790513173.arc thread=1 sequence=14
archived log file name=/u01/CATALOGTST/rmanBkpPieces/arch_1_15_790513173.arc thread=1 sequence=15
creating datafile file number=8 name=/u01/app/oradata/sntcdev/finaldata01.dbf
archived log file name=/u01/CATALOGTST/rmanBkpPieces/arch_1_15_790513173.arc thread=1 sequence=15
unable to find archived log
archived log thread=1 sequence=16
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 09/16/2012 21:29:51
RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 16 and starting SCN of 1004015
Recovery Manager complete.
$
$
$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Sun Sep 16 21:30:04 2012
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, OLAP, Data Mining and Real Application Testing options
SQL> select name from v$datafile;
NAME
/u01/app/CLONE1/oradata/sntcdev/system01.dbf
/u01/app/CLONE1/oradata/sntcdev/sysaux01.dbf
/u01/app/CLONE1/oradata/sntcdev/undotbs01.dbf
/u01/app/CLONE1/oradata/sntcdev/users01.dbf
/u01/app/CLONE1/oradata/sntcdev/example01.dbf
/u01/app/CLONE1/oradata/sntcdev/cisdata01.dbf
/u01/app/oradata/sntcdev/namdata01.dbf ----------------------> restored to old location ignoring SET NEWNAME ....
/u01/app/oradata/sntcdev/finaldata01.dbf ----------------------> restored to old location ignoring SET NEWNAME ....
8 rows selected.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
$ cd /u01/app/oradata/sntcdev # -----------------------------> the old location
$
$ ls -alrt
total 243924
drwxr-xr-x 3 oracle oinstall 512 Aug 5 10:55 ..
drwxr-xr-x 2 oracle oinstall 512 Sep 16 20:59 .
-rw-r----- 1 oracle oinstall 104865792 Sep 16 21:29 namdata01.dbf
-rw-r----- 1 oracle oinstall 19931136 Sep 16 21:29 finaldata01.dbfRMAN> run
2> {
3> set newname for database to '/u01/app/CLONE1/oradata/sntcdev/%b' ;
4> set newname for tempfile '/u01/app/oradata/sntcdev/temp01.dbf' to '/u01/app/CLONE1/oradata/sntcdev/temp01.dbf' ;
5> restore database;
6> switch datafile all;
7> switch tempfile all;
8> recover database;
9> }RMAN executes the commands in the run block stepwise. In your case, starting from "set newname for database..." and lastly executing "recover database...".
Let me interpret it for you.
1. You restored the controlfile from the L1 backup which does not have any information about the 2 newly added datafiles. You cataloged the backuppieces and the archives to this controlfile, which means that the controlfile would now be aware that the required backups and archives are in this cataloged location.
2. You set newname for database to the desired location, thereby this command is executed restoring the database from the L0 and L1 backups. (These 2 backups do not have any information about the newly added datafiles and hence the 2 files would still not be restored).
3. You execute restore database which restores the files from L0 and L1 backup.
4. Switch datafile all, this renames all the files that were restored in the previous steps to the desired name/location that was mentioned in step 2.
5. Recover database: This is where the archivelogs come into picture. The data in the archives would be created & recovered. The newly added datafiles are now created & recovered but RMAN does not go back to STEP 2 and STEP 4 to re-execute the commands in STEP2 and STEP4 to restore it to the desired location (STEP 2) and Rename it (STEP 4). The files will have to renamed later by moving them manually to the location that you require.
So, RMAN does not execute the SET NEWNAME for datafiles which were added after the backup as the information about these files do not exist in the RMAN backuppieces. -
PSC Setup - Setting REX Agent Configuration, state blocked at "Ongoing"
I followed the IAC (IAC 4, PSC 10) install guide, but I'm stuck at the "Setting REX Agent Configuration".
I should wait for the task to complete, but the state is blocked at "Ongoing (2 of 3 Completed)" since yesterday. I don't know why it's stuck and what to do.
Below, the Requisition detail :Hi,
Thanks for your reply. I already try the REX login, and validate that the REX service was "up". I also try to cancel the requisition and make a new one with no result.
As you suggested I've updated the request (not sure it was what you mean by "resend") and the result seems the same (the due date is in 2h, don"t know how much time it should take) -
RMAN-06085: must use SET NEWNAME command to restore datafile 'MISSING00'
Tried to restore again but got this message.
RMAN-06085: must use SET NEWNAME command to restore datafile /oracle/Ora11g/dbs/MISSING00126no, im not restoring datafile to different location.
this is what i encounter after a successfull restore and but failed recover.
My original post is on the other thread.
i was just desperate to start a new thread since there are nobody but only one who replied
Hope you could go to that thread and help me... topic: (Success on RESTORE but failed on RECOVER-- need help)
thanks in advance... -
We are cloing a database, but using the restore method ( version 11.1.0.7)
The source and destination path are different. As we are using the source controlfile, before restoration SET new name inside the run block is
the way to change the path.
I was just wondering, if there is any other way to do it. Because, we have around 1000 datafiles, and dont want write everything in the run block.
Also, this goes from Non-ASM to ASM. I tried DB_FILE_NAME_CONVERT, but it seems to be not working.
run
Set newname for datafile 1 to '+DATA_DG1';
Set newname for datafile 2 to '+DATA_DG1';
Set newname for datafile 3 to '+DATA_DG1';
Set newname for datafile 4 to '+DATA_DG1';
restore database;
switch datafile all;
}Thanks vlethakula
I was exactly looking for something like that.
But unfortunately, it is a new feature of 11gR2.
SET NEWNAME FOR DATABASE
SET NEWNAME FOR DATAFILE
SET NEWNAME FOR TEMPFILE
SET NEWNAME FOR TABLESPACE -
I have been handed a new, out of the box, Mac Mini server. Has two 1 TB drives in it. Contractor suggested RAID 1 for the set up. I have done some research
and found out that in creating the software RAID, this takes away the recovery partition, so I have been reading up on how to create a recovery "disk" using a thumb drive. this part of the operation I am comfortable with, but there are other issues/concerns that I have.
Basically, what is the "best practice" to setup the Mini, configure the RAID and then start the server. I am assuming the steps would be something like this:
1) start up the Mini and run through the normal Maverick setup/config - keep it plain and vanilla
2) grab a copy of the Server app and store it offline in a safe place
3) perform the RAID configuration / reinstall of OS X Maverick using the recovery tools
4) copy down and start the server app
This might be considered a very simplified version of this article (http://support.apple.com/kb/HT4886 - Mac mini server (Late 2012 and Mid 2011): How to install OS X Server on a software RAID volume), with the biggest difference being I grab a copy of the Server App off of the mini before I reinstall, since I did not purchase it from the App store, but rather it came with the mini.
Is there a best practice / how-to tutorial somewhere that I can follow/learn from? Am I on the right track or headed for a train wreck?
thanks in advanceI think this article will answer your question. Hope this helps: http://wisebyte.blogspot.com/2014/01/best-configuration-for-mac-mini-server.html
Maybe you are looking for
-
Getting disabled screen on ipod not synced to a computer
I have an ipod touch that was locked to the disabled screen since the wrong pass code was entered. The ipod was never synced to a computer. The disabled screen tells me to connect to itunes. When I do that itunes tells me to enter the pass code. How
-
Oracle application server 10g and fusion middleware 11
Hi I am confused about architecture of application server 10g and oracle fusion middleware. I have installed oracle application server 10g that includes infrastructure tier ( database repository,SSO,OID,DAS,OCA) and mid tier (OC4j,forms,reports,disco
-
Hello All, I am having the foll. code OADefaultTableLayoutBean oadefaulttablelayoutbean = (OADefaultTableLayoutBean)webBean; OAMessageLovInputBean lov = (OAMessageLovInputBean)oadefaulttablelayoutbean.findIndexedChild("HrUsJobTitle"); if (lov != null
-
Pls send material for idocs in ECC 6.0
Pls send material for idocs in ECC6.0
-
Link between DMS DIR and cFolders
Hi, We are creating documents directly in cFolders. After collaboration with users, we are pushing the final document to R/3 DMS. But we need to know, for which cFolder scenario this DMS document has been created. Is there any way we can find ou