Dataguard
Dataguard
We have a problem with a Oracle RAC on 11.2.0.3 because we have got a Dataguard but since one week
it didn't replicate the archives.
We launch the command "ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;" but it
finished by timeout.
The dataguard looks like ok:
DGMGRL> show configuration
Configuration - dg_genp
Protection Mode: MaxPerformance
Databases:
Problem Description
genp - Primary database
geag - Physical standby database
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS
Regards,
Javi Maillo
History
ODM Knowledge Content Oracle Support- 04-Nov-2014 12:20 (19+ hours ago)
Knowledge Review completed
Notes Oracle Support- 04-Nov-2014 12:17 (19+ hours ago)
Hi Sir
I am glad to know that the issue is resolved.... it's really a pleasure working with you!
Thank you ,
Mohamed ElKady
Engineer Shift time: 12:30pm to 09:00pm (IST) | 07:00am to 3:30pm (GMT) | 12:00am to 08:30am (PT) - Mondays to Fridays
Global Customer Services
ODM Answer Oracle Support- 04-Nov-2014 12:16 (19+ hours ago)
Could you please restart the standby database
ODM Question Oracle Support- 04-Nov-2014 12:16 (19+ hours ago)
We have a problem with a Oracle RAC on 11.2.0.3 because we have got a Dataguard but since one week it didn't replicate the
archives.
We launch the command "ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;" but it finished by timeout.
The dataguard looks like ok:
DGMGRL> show configuration
Configuration - dg_genp
Protection Mode: MaxPerformance
Databases:
genp - Primary database
https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=34448... 05/11/2014
SR Detail Página 2 de 7
The restart worked!!! thanks for your help. You can close the incident.
Javi Maillo
ODM Action Plan Oracle Support- 03-Nov-2014 16:27 (Monday)
Hi Sir,
Thanks for your update, Could you please restart the standby database
Thank you,
Mohamed ElKady
Engineer Shift time: 12:30pm to 09:00pm (IST) | 07:00am to 3:30pm (GMT) | 12:00am to 08:30am (PT) - Mondays to Fridays
Global Customer Services
ODM Data Collection Oracle Support- 03-Nov-2014 15:24 (Monday)
SQL> -- Verify the last sequence# received and the last sequence# applied to standby database.
SQL>
SQL> SELECT al.thrd "Thread", almax "Last Seq Received", lhmax "Last Seq Applied" FROM (select thread# thrd, MAX
(sequence#) almax FROM v$archived_log WHERE resetlogs_change#=(SELECT resetlogs_change# FROM v$database) GROUP
BY thread#) al, (SELECT thread# thrd, MAX(sequence#) lhmax FROM v$log_history WHERE resetlogs_change#=(SELECT
resetlogs_change# FROM v$database) GROUP BY thread#) lh WHERE al.thrd = lh.thrd;
2 rows selected.
STANDBY
************
SQL> select thread#, max(sequence#) "Last Standby Seq Received"
2 from v$archived_log
3 where first_time between (sysdate-7) and (sysdate+1)
4 group by thread# order by 1;
no rows selected
SQL> SELECT al.thrd "Thread", almax "Last Seq Received", lhmax "Last Seq Applied" FROM (select thread# thrd, MAX
(sequence#) almax FROM v$archived_log WHERE re
WHERE resetlogs_change#=(SELECT resetlogs_change# FROM v$database) GROUP BY thread#) lh WHERE al.thrd = lh.thrd;
SQL>
SQL>
SQL> SELECT thread#, process, pid, status, client_process, client_pid, sequence#, block#, active_agents, known_agents FROM
gv$managed_standby ORDER BY thread#
https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=34448... 05/11/2014
SR Detail Página 3 de 7
https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=34448... 05/11/2014
SR Detail Página 4 de 7
KNOWN_AGENTS
------------
17 rows selected.
Update from Customer [email protected] 03-Nov-2014 13:25 (Monday)
Hi Mohamed,
Regards,
https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=34448... 05/11/2014
SR Detail Página 5 de 7
Javi Maillo
Update from Customer [email protected] 03-Nov-2014 13:24 (Monday)
Upload to TDS successful for the file Output_querys.log.
Notes Oracle Support- 03-Nov-2014 12:38 (Monday)
Hi Sir,
Thanks for your update , Please upload the output of the following :
Primary: SQL > select thread#, max(sequence#) "Last Primary Seq Generated"
from v$archived_log
where first_time between (sysdate-7) and (sysdate+1)
group by thread# order by 1;
PhyStdby: SQL > select thread#, max(sequence#) "Last Standby Seq Received"
from v$archived_log
were first_time between (sysdate-7) and (sysdate+1)
group by thread# order by 1;
PhyStdby: SQL > select thread#, max(sequence#) "Last Standby Seq Applied"
from v$archived_log where applied='YES'
and first_time between (sysdate-7) and (sysdate+1)
group by thread# order by 1;
SELECT al.thrd "Thread", almax "Last Seq Received", lhmax "Last Seq Applied" FROM (select thread# thrd, MAX(sequence#)
almax FROM v$archived_log WHERE resetlogs_change#=(SELECT resetlogs_change# FROM v$database) GROUP BY thread#) al,
(SELECT thread# thrd, MAX(sequence#) lhmax FROM v$log_history WHERE resetlogs_change#=(SELECT resetlogs_change#
FROM v$database) GROUP BY thread#) lh WHERE al.thrd = lh.thrd;
SELECT thread#, process, pid, status, client_process, client_pid, sequence#, block#, active_agents, known_agents FROM
gv$managed_standby ORDER BY thread#, process;
Also please check for rfs,arc traces at primary and mrp and its slave traces at standby if generated any around the time of the
issue
Thank you,
Mohamed ElKady
Engineer Shift time: 12:30pm to 09:00pm (IST) | 07:00am to 3:30pm (GMT) | 12:00am to 08:30am (PT) - Mondays to Fridays
Global Customer Services
Update from Customer [email protected] 03-Nov-2014 11:14 (Monday)
The customer is pressing our, please could you say us any news?
Update from Customer [email protected] 31-Oct-2014 16:28 (Friday)
Upload to TDS successful for the file alertgenp.zip.
Update from Customer [email protected] 31-Oct-2014 16:27 (Friday)
Upload to TDS successful for the file new_dg_psby_diag_GEAG_Oct31_0425.html.
Update from Customer [email protected] 31-Oct-2014 16:27 (Friday)
Upload to TDS successful for the file new_dg_prim_diag_genp_Oct31_0424.html.
Update from Customer [email protected] 31-Oct-2014 16:27 (Friday)
Uploaded files
ODM Action Plan Oracle Support- 31-Oct-2014 15:22 (Friday)
HI Sir,
Thank you,
Mohamed ElKady
Engineer Shift time: 12:30pm to 09:00pm (IST) | 07:00am to 3:30pm (GMT) | 12:00am to 08:30am (PT) - Mondays to Fridays
Global Customer Services
https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=34448... 05/11/2014
SR Detail Página 6 de 7
Your issue was transferred to me. My name is Mohamed from Data Guard team and I will be helping you with your issue.
Problem Summary
---------------------------------------------------
Problem with DataGuard replication
Problem Description
---------------------------------------------------
Hi,
We have a problem with a Oracle RAC on 11.2.0.3 because we have got a Dataguard but since one week it didn't replicate the
archives.
We launch the command "ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;" but it finished by timeout.
The dataguard looks like ok:
DGMGRL> show configuration
Configuration - dg_genp
Protection Mode: MaxPerformance
Databases:
genp - Primary database
geag - Physical standby database
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS
Regards,
Javi Maillo
Error Codes
---------------------------------------------------
Problem Category/Subcategory
---------------------------------------------------
Database Backup/Recovery and RMAN, Duplicate and DataGuard StandBy setup, GDS, OSB/Data Guard (Create Standby, Redo
Transport & Apply, Role Changes, Broker, etc)
Uploaded Files
---------------------------------------------------
File: alertlogs.zip
Read Note:1672293.1 MAA Whitepaper: Active Data Guard 11g Best Practices (includes best practices for Redo Apply)
If the above solution does not resolve your issue, follow the steps detailed in the document below:
https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=34448... 05/11/2014
SR Detail Página 7 de 7
We recommend saving this session as a draft Service Request (SR). Once data gathering is complete, proceed with the next step
to upload requested data and submit SR.
https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=34448... 05/11/2014