In a mission ciritcal environment, we have at least one disaster site for EBS.
In order to make it work, we use dataguard to replicate the db tier, and we generally use rsync or any similar tool or method (such as storage replication, vm replication and so on) to replicate the apps tier.
Normally as a core dba, a disaster failover test means a dataguard fail over operation, however; in EBS world it is a little different, as we have an apps tier and an apps schema to manage in addition to the database tier.
Actually, I wrote several blog posts about these subjects, but in this one; I want to give you some direct instructions to accomplish such a failover test..
This tests can also be done while implementing the business continuity in EBS environments, just to be sure that the disaster implementation is accurate.
The scenarios for these tests may vary, however; I will give you the instructions for a specific one. for hte scenario which is mostly used one actually...
Suppose, you have an EBS environment. (multi node, RAC or single node, non-RAC it doesn't matter)
You have a vm replication for the apps tier, and we have a dataguard configuration for the db tier.
Now, you want to test this disaster environment without touching the PROD.. I mean, your PROD will continue running, while you do your test in your disaster environment..
In this case, the plan should be as follows;
- Stop the data guard and apps tier replication.
- Save the state of the standby db tier. (guaranteed restore point)
- Backup tnsnames.ora, listener.ora in your standby db tier, to revert back the changes when your tests are done.
- Open the standby db tier read/write.
- Build a new context file for the standby db tier (we suppose that the hostname of the standby db tier is different from PROD env.)
- Run fnd_conc_clone.setup_clean;
- Run autoconfig on standby db tier.
- Manually edit the context file of the standby apps tier according the standby database tier and its listener
- Run autoconfig on standby apps tier. (if the hostname of standby apps tier is different from the Prod apps tier -> run adcfgclone.pl instead)
- Do the following updates (if hostname of the standby apps tier is different from the prod apps tier -> just in case... )
- Change instance specific profile options if necessary
- Change printer settings if necessary
- Change workflow configuration settings if necessary
- APPLCSF variable if necessary
- Start standby apps services
- Shutdown the standby apps services
- Restore standby database to the guaranteed restore point
- Resume dataguard flow from where it left off. (configure the standby tier's listener and everything back to their originals , according to the standby role)
- Resume apps tier replication / vm replication.
Business Continuity for Oracle EBS Release 12.2 on Oracle Database 19c Using Physical Host Names (Doc ID 2617787.1)
No comments :
Post a Comment
If you will ask a question, please don't comment here..
For your questions, please create an issue into my forum.
Forum Link: http://ermanarslan.blogspot.com.tr/p/forum.html
Register and create an issue in the related category.
I will support you from there.