This feature has been improved in Oracle 18c and covers all the steps that DBA used to perform manually
Primary : DBPRI
Standby: DBSTB
Steps if the database is Oracle 18c or above
1. Check the Data Guard Broker configuration.
DGMGRL> show configuration
Configuration – dg_config
Protection Mode: MaxPerformance
Primary : DBPRI
Standby: DBSTB
Steps if the database is Oracle 18c or above
1. Check the Data Guard Broker configuration.
DGMGRL> show configuration
Configuration – dg_config
Protection Mode: MaxPerformance
Members:
dbpri - Primary database
Error: ORA-16724: cannot resolve gap for one or more members
dbstb - Physical standby database
Warning: ORA-16809: multiple warnings detected for the member
Fast-Start Failover: Disabled
Configuration Status:
ERROR (status updated 5 seconds ago)
We can see that both Primary and Physical standby are out of sync
2. Stop Recovery Managed process on the standby
DGMGRL> edit database DBSTB set state=APPLY-OFF;
Or
RMAN> alter database recover managed standby database cancel;
3. Run roll forward command
$rman target /
Recovery Manager: Release 19.0.0.0.0 - Production on Thu Mar 11 12:12:48 202
Version 19.5.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
connected to target database: DBSTB (DBID=xxxxxxxx)
RMAN> recover standby database from service DBPRI
Starting recover at 11-MAR-22
using target database control file instead of recovery catalog
Oracle instance started…….
media recovery complete, elapsed time: 00:00:00
Finished recover at 05-MAR-22
Executing: alter system set standby_file_management=auto
Finished recover at 05-MAR-22
4. Enable the Recovery Managed process on the standby
DGMGRL> edit database DBSTB set state=APPLY-ON;
dbpri - Primary database
Error: ORA-16724: cannot resolve gap for one or more members
dbstb - Physical standby database
Warning: ORA-16809: multiple warnings detected for the member
Fast-Start Failover: Disabled
Configuration Status:
ERROR (status updated 5 seconds ago)
We can see that both Primary and Physical standby are out of sync
2. Stop Recovery Managed process on the standby
DGMGRL> edit database DBSTB set state=APPLY-OFF;
Or
RMAN> alter database recover managed standby database cancel;
3. Run roll forward command
$rman target /
Recovery Manager: Release 19.0.0.0.0 - Production on Thu Mar 11 12:12:48 202
Version 19.5.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
connected to target database: DBSTB (DBID=xxxxxxxx)
RMAN> recover standby database from service DBPRI
Starting recover at 11-MAR-22
using target database control file instead of recovery catalog
Oracle instance started…….
media recovery complete, elapsed time: 00:00:00
Finished recover at 05-MAR-22
Executing: alter system set standby_file_management=auto
Finished recover at 05-MAR-22
4. Enable the Recovery Managed process on the standby
DGMGRL> edit database DBSTB set state=APPLY-ON;
Or
RMAN> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
5. Verify the Data Guard configuration status
DGMGRL> show configuration
5. Verify the Data Guard configuration status
DGMGRL> show configuration
Configuration - dg_config
Protection Mode: MaxPerformance
Members:
dbpri - Primary database
dbstb - Physical standby database
Fast-Start Failover: Disabled
Configuration Status:
SUCCESS (status updated 56 seconds ago)
Now standby Database has been recovered and in sync with the primary.
Protection Mode: MaxPerformance
Members:
dbpri - Primary database
dbstb - Physical standby database
Fast-Start Failover: Disabled
Configuration Status:
SUCCESS (status updated 56 seconds ago)
Now standby Database has been recovered and in sync with the primary.
Thanks & Regards
http://oracleracexpert.com, Oracle ACE
أغطية BMC توفر توازنًا ممتازًا بين الأداء، الوزن، والأمان، وهي بديل عصري لأغطية الحديد الزهر في العديد من التطبيقات المدنية والصناعية.
ReplyDeleteومع ذلك، يجب اختيار التصنيف المناسب منها (A15 – D400) وفقًا لنوع الاستخدام.بعض المنتجات اسعار غطاء grp لا تلتزم بمعايير الجودة، ما قد يؤدي إلى ضعف في المتانة أو عمر أقصر. مثل GRP، قد تنكسر إذا تعرضت لصدمات حادة أو غير موزعة بالتساوي.
نصائح صيانة خزانات الفيبرجلاس
ReplyDelete1. تنظيف دوري (كل 6 أشهر إلى سنة)
أفرغ الخزان تمامًا من الماء.
نظف الجدران الداخلية بفرشاة ناعمة وماء فقط أو معقم خفيف مثل الكلور (بنسبة آمنة).
اشطف جيدًا لإزالة أي بقايا مواد تنظيف.
2. فحص دوري للهيكل الخارجي
راقب ظهور أي تشققات أو خزانات فيبر جلاس في الدمام أو تسربات.
إذا لاحظت ضررًا، استعن بفني مختص في إصلاح خزانات الفيبرجلاس.