Managed recovery cancel
Hi
When I cancel managed recovery using below command,I still see below messages in standby alert log.
What is the reason for this ?
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL
RFS[1]: Successfully opened standby log 7: '/dblog01/orclprd/orclprd_stdby_redolog1a.dbf'
Primary database is in MAXIMUM PERFORMANCE mode
RFS[1]: Successfully opened standby log 7: '/dblog01/orclprd/orclprd_stdby_redolog1a.dbf'
Thu Aug 18 10:42:22 2011
Primary database is in MAXIMUM PERFORMANCE mode
RFS[1]: Successfully opened standby log 8: '/dblog01/orclprd/orclprd_stdby_redolog2a.dbf'
Hello John;
if you mean "RFS[1]: Successfully opened standby log 7: '/dblog01/orclprd/orclprd_stdby_redolog1a.dbf'"
I believe that means the apply is now being used with LGWR as the source rather than ARCH.
Also see :
RFS-Messages within alert*.logs in a Dataguard Configuration [ID 1327834.1]
OR if you mean the other message :
On my standby I don't get that : ( I assume you mean "Primary database is in MAXIMUM PERFORMANCE mode" )
TEST for John -- 8-17-2011
Wed Aug 17 21:09:15 2011
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL
Wed Aug 17 21:09:15 2011
MRP0: Background Media Recovery cancelled with status 16037
Errors in file /u01/app/oracle/diag/rdbms/standby/STANDBY/trace/STANDBY_pr00_15020.trc:
ORA-16037: user requested cancel of managed recovery operation
Recovery interrupted!
Waiting for MRP0 pid 15018 to terminate
Errors in file /u01/app/oracle/diag/rdbms/standby/STANDBY/trace/STANDBY_pr00_15020.trc:
ORA-16037: user requested cancel of managed recovery operation
Waiting for MRP0 pid 15018 to terminate
Wed Aug 17 21:09:16 2011
MRP0: Background Media Recovery process shutdown (STANDBY)
Managed Standby Recovery Canceled (STANDBY)
Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCELIf I start recovery again :
alter database recover managed standby database disconnect from session;
Wed Aug 17 21:14:01 2011
alter database recover managed standby database disconnect from session
Attempt to start background Managed Standby Recovery process (STANDBY)
Wed Aug 17 21:14:01 2011
MRP0 started with pid=51, OS id=20241
MRP0: Background Managed Standby Recovery process started (STANDBY)
started logmerger process
Wed Aug 17 21:14:06 2011
Managed Standby Recovery not using Real Time Apply
Parallel Media Recovery started with 16 slaves
Waiting for all non-current ORLs to be archived...
All non-current ORLs have been archived.
Media Recovery Waiting for thread 1 sequence 2488
Completed: alter database recover managed standby database disconnect from sessionIf I search the alert log I find "Primary database is in MAXIMUM PERFORMANCE mode" in several spots. But I see no exact pattern to it.
Best Regards
mseberg
Similar Messages
-
Standby Database - from READ-ONLY to Managed Recovery
We have a standby database set up for our production environment.
We are able to switch logfile on production and perform the managed recovery and then switch over to READ-ONLY mode. However, when the database is in READ-ONLY mode...I cannot close it if there are active connections.
There are 2 ways I can attempt to close the database...either by "shutdown immediate" or by issuing an "alter system kill session (##,##);"
If I issue the "shutdown immediate", then the RFS process does not transmit any more files...saying the connection to host is not there. Therefore this is not a valid solution.
I can use an alter system kill...to kill all active connections...but it would require to know what other connections are there.
Does anybody know how to best do this...to close the database by forcing all connections to end (except your current one) so you can "alter database close" and switch over to managed recovery?
Please HELP!
Thanks.
-Nicolasu just shutdown the server and restart in standby mode. it will apply all pending archive autometically.
-
MANAGED RECOVERY AT STANDBY DATABASE REQURING OLD ARCHIVELOGS ORA-00308
Oracle 9.2.0.4
HP-UX 11.11i
The database in Archivelog mode, single standby database in managed recovery
mode.
keeping standby in sync with manual applying the ARCHIVELOG from primary to
standby database.
primary database was 3 REDO log members of 100 MB with 1 member each.
what i did, 1 drop and re-create the INACTIVE REDO group for all three, and
make them
5 REDO logs of 200 MB with 1 member each,
then in order to keep fresh copy of primary database onto standby database, i
send the cold backup after 15 days (last week) with standby controlfile.
now, with that standby controlfile and the database, i can mount the database
but while to open the database, receives messages as , it requiring the
ARCHIVELOGS generated log time ago.
changes the REDO groups from 3 to 5 and size 100 to 200 MB at INACTIVE state
### Workarounds Used ###
SQL> alter database mount standby database;
Database altered.
SQL> alter database open read only;
alter database open read only
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/user01/oracle9i/oradata/iobasprd/system01.dbf'
SQL> alter database recover automatic standby database;
alter database recover automatic standby database
ERROR at line 1:
ORA-00279: change 1655989696 generated at 08/12/2005 12:46:25 needed for thread
1
ORA-00289: suggestion :
/user02/oracle9i/oradata/iobasprd/archive/archive_16849.dbf
ORA-00280: change 1655989696 for thread 1 is in sequence #16849
ORA-00278: log file
'/user02/oracle9i/oradata/iobasprd/archive/archive_16849.dbf' no longer needed
for this recovery
ORA-00308: cannot open archived log
'/user02/oracle9i/oradata/iobasprd/archive/archive_16849.dbf'
ORA-27037: unable to obtain file status
HP-UX Error: 2: No such file or directory
Additional information: 3
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /user02/oracle9i/oradata/iobasprd/archive
Oldest online log sequence 53052
Next log sequence to archive 53056
Current log sequence
53056
-----------------------AlertIOBASPRD.log----------------------------
alter database mount standby database
Mon Oct 24 12:05:05 2005
Successful mount of redo thread 1, with mount id 3283884781.
Mon Oct 24 12:05:05 2005
Standby Database mounted.
Completed: alter database mount standby database
Mon Oct 24 12:05:12 2005
alter database open read only
ORA-16004 signalled during: alter database open read only...
Mon Oct 24 12:05:23 2005
alter database recover automatic standby database
Mon Oct 24 12:05:23 2005
Media Recovery Start
Starting datafile 1 recovery in thread 1 sequence 52617
Datafile 1: '/user01/oracle9i/oradata/iobasprd/system01.dbf'
Starting datafile 2 recovery in thread 1 sequence 52617
Datafile 2: '/user01/oracle9i/oradata/iobasprd/TBMS_TS_005.dbf'
Starting datafile 3 recovery in thread 1 sequence 52617
Datafile 3: '/user01/oracle9i/oradata/iobasprd/drsys01.dbf'
Starting datafile 4 recovery in thread 1 sequence 52617
Datafile 132: '/user01/oracle9i/oradata/iobasprd/TBMS_TS_002.dbf'
Starting datafile 133 recovery in thread 1 sequence 52617
Datafile 133: '/user01/oracle9i/oradata/iobasprd/TBMS_TS_003.dbf'
Starting datafile 134 recovery in thread 1 sequence 52617
Datafile 134: '/user01/oracle9i/oradata/iobasprd/TBMS_TS_004.dbf'
Media Recovery Log
Media Recovery Log /user02/oracle9i/oradata/iobasprd/archive/archive_16849.dbf
Errors with log /user02/oracle9i/oradata/iobasprd/archive/archive_16849.dbf.
ORA-279 signalled during: alter database recover automatic standby database...
Mon Oct 24 12:06:01 2005
Restarting dead background process QMN0
QMN0 started with pid=9
The snap of alertIOBASPRD.log can understand me that it requiring the
ARCHIVELOG 52617 only
and its lying in LOG_ARCHIVE_DET location also as
$ pwd
/user02/oracle9i/oradata/iobasprd/archive
$ ls archive_5261*.dbf
archive_52610.dbf archive_52613.dbf archive_52616.dbf archive_52619.dbf
archive_52611.dbf archive_52614.dbf archive_52617.dbf
archive_52612.dbf archive_52615.dbf archive_52618.dbf
$
now, even the files are lying , why ORACLE requing the old archive logs ?????You haven't given any usefuly information on your problem.
show parameter log_archive_dest
show parameter fal
show parameter dg
What errors are in your alert logs ?
What command are you using to recover ?
Check the contents of v$archived_log
# run on primary to detect failures :-
select destination, status, fail_date, valid_now
from v$archive_dest
where status != 'VALID' or VALID_NOW != 'YES';
# run on standby to get exact position of rollforward :-
select thread#, to_char(snapshot_time,'dd-mon-yyyy:hh24:mi'),
to_char(applied_time,'dd-mon-yyyy:hh24:mi'),
to_char(newest_time,'dd-mon-yyyy:hh24:mi') from V$STANDBY_APPLY_SNAPSHOT;
Are you using dataguard broker ? -
Getting error while starting managed recovery
Hi,
I am getting error while starting managed recovery.Please suggest.
Please find below error log
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION
Attempt to start background Managed Standby Recovery process (OTP3)
Wed Jun 23 19:24:10 2010
MRP0 started with pid=50, OS id=3350
MRP0: Background Managed Standby Recovery process started (OTP3)
Fast Parallel Media Recovery enabled
Managed Standby Recovery not using Real Time Apply
Warning: Recovery target destination is in a sibling branch
of the controlfile checkpoint. Recovery will only recover
changes to datafiles.
Datafile 1 (ckpscn 296765005228) is orphaned on incarnation#=1
MRP0: Background Media Recovery terminated with error 19909
Errors in file /ora/app/oracle/admin/OTP3/diag/rdbms/otp3/OTP3/trace/OTP3_mrp0_3350.trc:
ORA-19909: datafile 1 belongs to an orphan incarnation
ORA-01110: data file 1: '/ora_ots_gdb1/oradata/OTP3/datafile/o1_mf_SYSTEM_REORG1_.dbf'
Errors in file /ora/app/oracle/admin/OTP3/diag/rdbms/otp3/OTP3/trace/OTP3_mrp0_3350.trc:
ORA-19909: datafile 1 belongs to an orphan incarnation
ORA-01110: data file 1: '/ora_ots_gdb1/oradata/OTP3/datafile/o1_mf_SYSTEM_REORG1_.dbf'
MRP0: Background Media Recovery process shutdown (OTP3)
Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSIONHi,
The standby database has been activated previously but since then reverted back into its standby role. Prior to the
RMAN duplicate operation the "alter system reset control_files scope=spfile sid='*';" has not been executed (i.e. the
control files have not been overwritten).
check the incarnation on both the sides i.e primary & standby
list incarnation of database;
RMAN> reset database to incarnation 2;
database reset to incarnation 2
RMAN> exit
hope you can solve by restting the incarnation.
Thanks -
I logged on to my account when I received an E-mail telling me to fix my account payment settings. When I logged on there was no plan in my account management to cancel, so I called and received a number and assurance that this months charge would be canceled. I'm not sure where to enter this cancellation code or when my refund will be accommodated, so that is why I'm writing this today.
Thanks,
AaronThis is an open forum with a mix of other users and Adobe staff, not Adobe support... you need Adobe support
Adobe contact information - http://helpx.adobe.com/contact.html may help
-Select your product and what you need help with
-Click on the blue box "Still need help? Contact us" -
I see some posts the they are not using dataguard and just managed recovery. Could someone let me know what is the difference?. I know only physical / logical standby database (dataguard) and also streams replication.
For example you can create a standby database with Standard Edition and this is not Data Guard since Data Guard is a Enterprise only feature: http://www.databasejournal.com/features/oracle/article.php/3682421/Manual-Standby-Database-under-Oracle-Standard-Edition.htm.
One of the main difference between standby database and Data Guard is that Data Guard allows to manage the standby database in a automatic way only by using SQL statements especially to send redo with LOG_ARCHIVE_DEST_x instance parameter. You can manage a standby automatically without Data Guard but you have to use non Oracle scripts. -
ESYU: Cost Manager(CMCTCM)을 cancel 하고 다시 실행하는 방법
Purpose
Oracle Cost Management - Version: 11.5.9 to 11.5.10
Information in this document applies to any platform.
MTL_MATERIAL_TRANSACTIONS(MMT) table에 costed_flag = E 인 error transaction이
존재하는 경우 debug를 위해 cost manager를 다시 실행해야 될 경우가 있다.
보통 Cost Manager는 일정 주기로 running 되고 있기 때문에 이를 cancel 하는
작업이 필요하다.
여기서는 실행중인 Cost Manager를 cancel 하는 방법을 알아본다.
아래 사항을 방지하면서 Cost Manager를 cancel 하는 방법:
- 동시에 여러개의 Cost Manager가 launch 되는 것
- CMCTCM log에서 아래와 같은 warning message가 발생 되는것
" A Cost Manager is already launched.
Action: If you want to launch a new manager, cancel earlier manager first."
Solution
1. Cost Manager를 cancel: 아래 방법 중 하나를 선택한다.
a) Use Sysadmin responsability
Navigate to /Request/view
Set : specific Request=on
Name=Cost Manager.
Find request 화면의 아래쪽에 있는 "Select the Number of Days to view"
field에 9999를 입력한다.
조회된 Request 중 Pending Scheduled 상태의 Cost Manager request를
찾아 request를 cancel 한다.
b) Run
SELECT request_id RequestId,
request_date RequestDt,
concurrent_program_name,
phase_code Phase,
status_code Status
FROM fnd_concurrent_requests fcr,
fnd_concurrent_programs fcp
WHERE fcp.application_id = 702
AND fcp.concurrent_program_name in ('CMCTCM', 'CMCMCW', 'CMCACW')
AND fcr.concurrent_program_id = fcp.concurrent_program_id
AND fcr.program_application_id = 702 AND fcr.phase_code <> 'C';
위 script 결과로 나오는 모든 requests를 /Sysadmin / Concurrent / Request
화면에서 query 하고 모든 request를 cancel 한다.
이 request id를 query 시에도 역시 "Select the Number of Days to view" 값은
'9999'로 입력한다.
2. cmclean.sql script를 실행한다.(Note 134007.1 참조)
3. Cost Manager를 restart 한다.
Inventory / Setup / Transactions / Interface Managers
on line 'cost manager' - do Tools > Launch
Reference
Note 373207.1 -
Managed recovery integrate to oracle restart
Hi
I do have 11gR2 standby database with grid infrastructure. Database and listener are registered to oracle restart. They start automatically.
What do I need to do to automate managed recovery process in oracle restart ?I do have 11gR2 standby database with grid infrastructure. Database and listener are registered to oracle restart. They start automatically.
What do I need to do to automate managed recovery process in oracle restart ?If dataguard broker configured, MRP will started automatically,
If this is disabled then you have to write a script which calls in profile. -
Restoring a Data Backup Made With HP Recovery Manager - Recovery Manager has Since Been Removed
My system (Pavilion dm4 notebook, Win 7 Home Premium x64)) is working fine but I would like to restore a data backup made with HP Recovery Manager. HP Recovery Manager has since been removed from the system and I do not have a recovery disk. I tried installing sp45415 which supposedly runs a silent installer for Recovery Manager, but it silently fails on my system. The accompanying notes say it is applicable to Windows 7 computers and to Pavilion dm1 and dm3. There is no mention of the dm4. Is there some trick to getting sp45415 to run correctly? Is there somewhere I can download an installation package for HP Recovery Manager that works on the Pavilion dm4? Is there any other tool that can restore the backup made by HP Recovery Manager? Thanks!
If you uninstalled Recovery Manager it likely removed the recovery files in the recovery partition.When those files are removed-no download of Recovery Manager is going to install. You will need Recovery Media to boot from to restore the recovery partition and files. If you did not make Recovery Media you will have to order from HP. As for the files you are trying to restore- If this was a backup of personal files,photos,etc to external hard drive or dvds there should be one .exe file inside those files-probably Restore.exe or Recover.exe. Double clicking the .exe will extract the files to a folder on the hard drive of your laptop.
-
ESYU: Cost Manager(CMCTCM)을 cancel 하고 다시 launch 하는 방법
Purpose
Oracle Cost Management - Version: 11.5.9 to 11.5.10
Information in this document applies to any platform.
다음을 방지하기 위해 Cost Manager를 cancel 하는 방법을 알아본다.
- 동시에 여러개의 cost manager가 launch 되는것을 방지
- CMCTCM log에 다음과 같은 warning message가 생성되는것을 방지
"A Cost Manager is already launched.
Action: If you want to launch a new manager, cancel earlier manager first."
Solution
1. Cost Manager를 cancel 하기 위해 아래 방법 중 하나를 이용한다.
a) Sysadmin responsibility: Request/View
Set: specific Request=on
Name=Cost Manager
Find request 화면의 아래쪽에 있는 field "Select the Number of Days to view"
-> Default가 7 days이나 이를 9999로 변경한다.
Query 된 request 중 Pending Scheduled 된 request를 Cancel 한다.
or
b) 아래 select 문을 실행
SELECT request_id RequestId,
request_date RequestDt, concurrent_program_name,
phase_code Phase,
status_code Status
FROM fnd_concurrent_requests fcr,
fnd_concurrent_programs fcp
WHERE fcp.application_id = 702 AND
fcp.concurrent_program_name in ('CMCTCM', 'CMCMCW', 'CMCACW') AND
fcr.concurrent_program_id = fcp.concurrent_program_id AND
fcr.program_application_id = 702 AND fcr.phase_code <> 'C'
위 결과로 나온 request id 를 /Sysadmin / Concurrent / Request 화면에서
찾아 cancel 한다.
위 결과로 나온 request id 중 running 상태인 request를 제외하고 모두
cancel 한다.
2. Metalink에서 Note 134007.1를 찾아 cmclean.sql 를 down 받아 실행한다.
3. Cost Manager를 아래 화면에서 restart 한다.
Inventory:Setup / Transactions / Interface Managers
on line 'cost manager' - do Tools > Launch
Reference
Note 373207.1 -
How to manage a cancelled participant from a course
We currently have LSO602 and have two reasons setup for cancelling a particpant (with fee/without fee). After we cancel a participant via LSO_PV04 that record is gone. There are times when we need to change it to w/fee or vice versa but am unsure of where that record goes. Can someone explain to me what t-code or where I can change the cancellation reason after the particpant has already been cancelled.
Regards,
MattHi Matt,
You can create your "Reasons For Cancellation" through the SPRO.
There is a setting where you can specify whether the Canellation is with/without charge.
Path : SPRO,TEM,Day to Day Activities,Canceling Attendance, Reasons for Attendance Cancelation
You cannot change the reason for Cancellation after the Participant has already been canceled. The reason needs to be specified only while doing the Cancelation.
Regards,
Abhijeet -
I have searched on the internet but to no avail.
I currently perform hot backups with User Managed Scripts. I was able to write these scripts from a book that I have on my desk.
Can someone show me how to restore a 9i Database with User Managed Scripts? No! The book I have purely discusses Restoring a Database using RMAN. We are not using RMAN here!
Or is there somewhere on the net that will show how to write the User Managed Scripts to restore a database or atleast show the commands I need perfrom?I have searched on the internet but to no avail.
I currently perform hot backups with User Managed
Scripts. I was able to write these scripts from a
book that I have on my desk.
Can someone show me how to restore a 9i Database with
User Managed Scripts? No! The book I have purely
discusses Restoring a Database using RMAN. We are not
using RMAN here!
Or is there somewhere on the net that will show how
to write the User Managed Scripts to restore a
database or atleast show the commands I need perfrom?U can search in google for complete scripts.U can also use OS scripts for restore operation.Are u looking for command which restore ur backup or recover ur database with hot backup.In first case u can use OS scripts or OS copy command for restoration purpose ,In second case , U are recovering ur database with hot backups , so , u must have to have Archivelog files and apply on it.
Thanks
Tinku -
Password Manager recovery / migration
Hi There,
Recently my T61 died but I was able to recover the harddrive. How can I retrieve the password manager data and import it into my new laptop? Also the new laptop (W530) has a newer version of the Client security / Password Manager running. I read somewhere that you could export the data set from the application and then import it into the new PC. Unfortunately exporting is not longer possible since the hardware it ran on is history. Any help appreciated.
PeterIt's not possible unless you can get password manager running on the old system to do the export.
-
User Managed Recovery vs RMAN Managed Recovery
Is there any difference in this or just a misnomer?
They are used for the same purpose as their name implies. You can use one or the other. There are some minor differences, like being not able to use the cancel option in rman as I have said previously. But you can do what "cancel" does by using log sequences in rman, etc...
So you need to read both chapters in the related manual. -
Avoid read-only access at physical standby
Hi!
DB=11.2.0.2
when I start the standby with
SQL> startup
the db is open read-only.
Is there a way to configure the db so that startup command only mounts the db and start redo apply?
this is the config:
DGMGRL> show configuration verbose;
Configuration - w
Protection Mode: MaxPerformance
Databases:
w_01 - Primary database
w_02 - (*) Physical standby database
(*) Fast-Start Failover target
Properties:
FastStartFailoverThreshold = '30'
OperationTimeout = '30'
FastStartFailoverLagLimit = '30'
CommunicationTimeout = '180'
FastStartFailoverAutoReinstate = 'TRUE'
FastStartFailoverPmyShutdown = 'TRUE'
BystandersFollowRoleChange = 'ALL'
Fast-Start Failover: ENABLED
Threshold: 30 seconds
Target: w_02
Observer: ora
Lag Limit: 30 seconds
Shutdown Primary: TRUE
Auto-reinstate: TRUE
Configuration Status:
SUCCESS
DGMGRL> show database w_02
Database - w_02
Role: PHYSICAL STANDBY
Intended State: APPLY-ON
Transport Lag: 0 seconds
Apply Lag: 0 seconds
Real Time Query: OFF
Instance(s):
w
Database Status:
SUCCESS
br
DanielIf Data Guard is setup correctly the application is not losing data, you cannot read from it, but it will apply logs:
Ex.
/home/oracle:STANDBY >sqlplus "/ as sysdba"
SQL> select * from BIGSHOW.CUSTOMER;
select * from BIGSHOW.CUSTOMER
ERROR at line 1:
ORA-01219: database not open: queries allowed on fixed tables/views only
So even as the SYS user I cannot read from my test user's tables.
ORA-01219 is expected when the standby is in this state.
You can open READ ONLY if you have Active Data Guard, but generally that will cost you extra.
OR, you can do thing to check your data:
To open a standby database for read-only access when it is currently performing managed recovery:
Cancel log apply services:
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
Open the database for read-only access:
SQL> ALTER DATABASE OPEN READ ONLY;
At some point you have start the recovery again, you probably don't have an issue.
If you want more peace of mind on this you have to setup a test Data Guard system and bang on it.
Best Regards
mseberg
Maybe you are looking for
-
You have already rented this item
Strange issue. I rented a movie but before I watched it, my apple tv crashed and restarted. Now, the rented movie does not appear and when I go back to the movie, it says "you have already rented this item but it has not been downloaded. To downlo
-
Hi there, someone knows how to remove completely java from tiger? I need to reinstall the right one to install adobe suite tnks bella
-
Using Adobe Premier Elements 11 I experience "freezing" when I: add some info to a picture while making a DVD, save the program then access the button to continue scanning the photos for the next spot in which to add more info. Not always, but often
-
Setting thresholds for Metrics in OEM
I want to set thresholds for metrics in OEM and everytime I do, the following error occurs. Error occurred while editing the metric thresholds. Communication exception occurred while saving the thresholds data to the emd. Error java.lang.Exception: N
-
Re : The Tables that are linked in SAP R3 Datasource
Can any one mention what are the tables that are link to the sap data sources For Eg : 2LIS_11_VAHDR for the given data source what are the tables that are linked , where exactly the theses tables are stored in the database