RMAN active cloning: how to include SPFILE on ASM
OS Version HP - UX B.11.31 U ia64Oracle DB Version 11.2.0.3.0
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
Storage: ASM starts
-------------------------------------------------------------------------------------------------------------------------------------------
RMAN active cloning of databases, how to include the SPFILE to clone on the ASM storage?
Hello;
See the example here:
http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmdupad.htm
Under "example 25 - 4 reproduction of a file system to ASM (active).
or
Example 25-5 duplication of ASM to ASM (active)
Best regards
mseberg
Published by: mseberg on May 15, 2013 10:34
Tags: Database
Similar Questions
-
RMAN Active cloning succeeded, but spfile turned out to be missing
Environment:
OS Version: HP - UX B.11.31 U ia64
Oracle DB Version: 11.2.0.3.0
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
The files of the databases on: + managed ASM starts
RMAN Active cloning command below is used to clone the database from one 'A' host to another host 'B '.
Cloning completed successfully. But when I checked on the existence of spfile the missing found spfile.duplicate target database to testDB from active database nofilenamecheck ;
What could be the cause of the missing spfile?SQL> show parameter spfile NAME TYPE VALUE spfile string /app/oracle/product/11.2.0.3/db/dbs/spfiletestDB.ora
I have been informed below as a workaround.
1. create the spfile and pfile memory and bounce the db for this problem.
2 RMAN Active clone script specified with the clause pfile.
For example.
Would appreciate the counsel on this.duplicate target database to testDB from active database file=/app/oracle/product/11.2.0.3/db/dbs/inittestDB.ora;
Published by: Sivaprasad S January 31, 2013 17:13Hello;
What could be the cause of the missing spfile?
This:
duplicate target database to testDB from active database nofilenamecheck
Instead:
duplicate target database to testDB from active database spfile nofilenamecheck
See:
http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmdupdb.htm
Example 23-3
Remember to close some of your old questions
Best regards
mseberg
-
When I do a race with my Apple Watch I don't have a frequency heart displayon the session screen. When I then sync my activity with my iphone there is also no average heart rate on the completion of my activity. How can I get my heart rate displayed?
Hello
Mode power saving can be activated.
To check this, on your iPhone, in the application of the watch, go to: Watch My > Workout - if it is currently enabled, disable power saving Mode.
(When the power saving Mode is enabled, it disables the sensor of heart rate during workouts running).
-
How to include LabView Instr.llb in a deployment of TestStand?
I want to deploy my sequenze of testbed. When I install the deployment and you want to let it run it shows that it can t find all the sub whitch screws I used directly from LabView. For example: .vi VISA set up a Serial Port (Instr) or by check if file or folder Exists.vi. How to include this VI s to the installer?
He s solved. This screw is located in the folder: Support screw whitch is createt automatically by the installation. Thank you
-
Recently my fireall cannot be activated? I tried manually put on throughout the service, no luck. Then, I checked the firewall authorization driver is absent, it is the cause of the problem that the firewall cannot be activated? How to fix?
Hi James,
Thank you for your e-mail. I solved the problem using System Restore.
-
How to include the name of the vendor and the Version for the appliation
Hello
How to include the version and the supplier of the application/product we created. I have sucessfully signed the code file in the mobile, but now I want to include the version and application provider how to do this.If you suspect that other people have asked similar questions, then by searching this forum or knowledge base is the right thing to try.
http://supportforums.BlackBerry.com/T5/Java-development/read-version-from-inside-app/m-p/345845#M638
-
Windows 7 Pro 64 - bit SP1: how to include records of the D: drive in public Documents so that they become automatically visible to each user who opens his library of Documents? At present, I can only include these folders in the document library, invisible to other users. I don't want to load large files physically in the C: drive, where public Documents.
You can do this easily because public Documents is a folder, not a library.
You can place junction points in public Documents that point to folders on the disk D:\.
To do this open a command prompt by typing cmd in the box to start the search, made a right click the program cmd that appears in the search results and click 'run as administrator '. Type the following command and press ENTER:
MKLINK /J "C:\Users\Public\Documents\Folder" "D:\Folder.
http://TechNet.Microsoft.com/en-us/library/cc770988 (v = ws.10) .aspx
You may need to adjust the permissions of files and folders on the drive D:\ so that all users can have access to them.
I have not tested it; so be cautious.
-
RMAN-06729: no backup of the SPFILE found to restore
Dear all,
I'm doing the database using RMAN backup copy,
Server1 (test BD)
Linux
Oracle 11g R2
At the database
A RMAN backup
Server2 (DBNEW)
Linux
Oracle 11g R2
At the Instance
I did the Setup correctly on both servers and I copied the Server2 RMAN backup and then I run the command duplicate rman
:
DBNEW duplicate target database
SPFile
parameter_value_convert "Test BD", "DBNEW".
Set db_unique_name = "DBNEW".
Set db_file_name_convert = "/ test BD / ', ' / DBNEW / '.
Set log_file_name_convert = "/ test BD / ', ' / DBNEW / '.
Set control_files='/u01/app/oracle/oradata/DBNEW.ctl"
Set log_archive_max_processes = '5'
Set audit_file_dest = ' / u01/app/oracle/admin/DBNEW/adump.
Set db_recovery_file_dest ='/ backup_files'
nofilenamecheck;
When I run it, it gave this error:
WARNING: A moment of the restoration was based on the supplied until THE SNA
channel ORA_AUX_DISK_1: from the restore backup set data file
channel ORA_AUX_DISK_1: restore SPFILE
output file name=/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfileDBNEW.ora
channel ORA_AUX_DISK_1: reading from the backup /backup_files/DBTEST/autobackup/2014_11_23/o1_mf_s_864404426_b73qrybx_.bkp piece
channel ORA_AUX_DISK_1: ORA-19870: error when restoring the backup /backup_files/DBTEST/autobackup/2014_11_23/o1_mf_s_864404426_b73qrybx_.bkp piece
ORA-19505: impossible to identify the file ' / backup_files/DBTEST/autobackup/2014_11_23/o1_mf_s_864404426_b73qrybx_.bkp '.
ORA-27037: unable to get file status
Linux error: 2: no such file or directory
Additional information: 3
switch to the previous backup
WARNING: A moment of the restoration was based on the supplied until THE SNA
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 24/11/2014 14:23:52
RMAN-05501: abandonment of duplicate target database
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06729: no backup of the SPFILE found to restore
Please advice
Hello
you receive the error:
channel ORA_AUX_DISK_1: ORA-19870: error when restoring the backup /backup_files/DBTEST/autobackup/2014_11_23/o1_mf_s_864404426_b73qrybx_.bkp piece
ORA-19505: impossible to identify the file ' / backup_files/DBTEST/autobackup/2014_11_23/o1_mf_s_864404426_b73qrybx_.bkp '.
Please copy this backup in the Server2: ' / backup_files/test BD/autobackup and try again the duplicate.»
-
How to include a message of output in a procedure
Hi guys,.
I have the procedure, where I need to include a query of exit message, please help me.
The procedure is:
create or replace procedure insert_data_employees (p_name in varchar2, p_acess_level in numbers) as
v_Name varchar2 (100);
number of v_uname;
Begin
If p_name is not null then
BEGIN
Select COUNT (1) in the v_uname of employees
where
Upper (p_name) = upper (name);
Exception
WHEN NO_DATA_FOUND THEN
v_uname: = 0;
END;
End if;
INSERT INTO employees
(name, rol_id, emp_number, creation_date) VALUES
(EMPLOYEES_DATA_SEQ,
regexp_replace(p_name,'(.*)@.*','\1'),
p_acess_level,
SYSDATE
);
COMMIT;
end insert_data_employees;
If I write the query in the form:
create or replace procedure insert_data_employees (p_name in varchar2, p_acess_level in numbers, some o_return_code number)
How to include under conditions in the procedure? How can I represent the successful and failed integration in a query?
a. If successful insertion, then o_return_code = 0
b. If insertion failed so o_return_code = - 1
Please help its urgent...
You can use the cursor SQL SQL and FOUND for this % NOTFOUND attribute.
create or replace procedure insert_data_employees(p_name in varchar2,p_acess_level in number) as v_name varchar2(100); v_uname number; Begin if p_name is not null then BEGIN select COUNT(1) into v_uname from employees where upper(p_name) = upper(name); Exception WHEN NO_DATA_FOUND THEN v_uname:=0; END; End if; INSERT INTO employees (emp_number, name, rol_id, creation_date) VALUES ( EMPLOYEES_DATA_SEQ, regexp_replace(p_name,'(.*)@.*','\1'), p_acess_level, SYSDATE ); IF SQL%NOTFOUND THEN o_return_code := 1; dbms_output.put_line('Records inserted'); ELSIF SQL%FOUND THEN o_return_code := 0; dbms_output.put_line('Nothing inserted.'); COMMIT; end insert_data_employees;
I have not tested the code in my DB.
-
Whenever I want to use Camera Raw preferences, I get the message "the original application of the bridge is not active. How can I fix?
Hi yvesd,
What version of the bridge are you using?
- Please close bridge
- Open Photoshop
- Open a picture
- Select the file > Browse in Bridge
Also, make sure that you have compatible versions of Bridge and Photoshop, as if you use Bridge CC, make sure that Photoshop CC (latest) is installed.
Kind regards
Assani
-
How to include banner_edge.js in banner.html?
Hi, my question is simple.
How to include banner_edge.js in banner.html?
Our server may not have this file separately for specific reasons.
But we can give the file to an absolute address.
edge_includes\edge.5.0.1.min guess a banner_edge.js
Thanks for the quick replies
Without doubt, I've solved my problem...
change in html file
-
How to include a license header in the fxml file?
How to include a license header in the fxml file?
I tried the xml block comments <! - mylicense here - >
but it has not been accepted by the manufacturer of the screen.
Also, I asked, even if it had been accepted, would have saved the return - or deleted header screen generator?
All XML documents must begin with an XML declaration.
If you have your file fxml starting with the following lines:
.. It will be loaded into the generator from the scene and saved as is.
-
How to include the URL of a page in the Notification E-mail?
Hi all
I need your help to implement the conditional.
I implemented the notification email in our application.so whenever the user creates a form/shape, the mail will be triggered to them. Now, users want to include the link in the email.
When they click on the link in the email, it should access to the newly created in the Apex form page.
How to include the link to the page being Email?
Thank you
Robette.Maybe you can try this,
1. create a hidden item say P1_URL
2 write this in "Run when the page loads" document.getElementById('P1_URL').value = window.location.href;
above code will give you the current URL
3. you can use the element preceding everywhere where you want.Concerning
Tauceef -
How to include the username of the apex in a trigger?
Hi all!
When I click in a an update button trigger is run it.
I have a table in this table, I create a trigger.
in this trigger when there is an insert or update in another table, one of the field in the second table is the username.
How I sent the username of the apex in a trigger?
With APP_USER, I get the user_name, but I don't know how to include in the trigger.
Any help would be appreciated.
Best regardsHello
You can do:
:NEW.USERNAME := v('APP_USER');
Andy
-
Hello
In oracle 11g r2 asm where spfile is going to be located.
by connecting the asm instance I quried
SQL > show parameter spfile;
He gave
SPFile = +DATA/asm/asmparameterfile/registry.253.773257797
the file must create spfile + ASM.ora right. ? So what is the registry.253.773257797 file.
where can I find exactly spfile
Thank you!With 11.2, asm spfile does not behave like an ordinary spfile.
The file you mentioned is your true spfile. If you want to see it or change it using the following commands to asmcmd:
spget - to locate the spfile
spmove - move the spfileThere are other commands related to asm spfile, you can check using asmcmd
HTH
Liron
Maybe you are looking for
-
Question of vulnerability OpenSSL WALNUT
Microsoft releases any patches for OpenSSL WALNUT cause of vulnerability
-
Can not scan using Savin 8045 All In One printer/copier/scanner
Original title - scanning problems I connected a Savin 8045 All In One printer/copier/scanner of my Dell Vostro 470 computer via a cat 5 cable and router. It prints wireless and locally but not scan.
-
How can I remove "set up files" and completely reload windows xp?
How can I remove "set up files" and completely reload windows xp? They were installed when I tried to reload xp before and there is always a sp1 on the pc version now.
-
I got a Switch 10 for about three months now, and it dawned on me that I don't give much thought to the maintenance of the battery. I use mostly my switch for reading, browsing the Web and a few games that does not require much memory or horesepower.
-
Is it safe to download, install and buy SpeedMaxPC to correct problems on pc and speed up performance?