OCM 12c Preparation - Create a physical standby database

Creating an physical standby database is not an easy task. It involves a lot of steps, as duplicating the primary database, changing some parameters and database configuration. Than you need to create the standby database and finally synchronize and enable it with real-time apply.

For this topic, I recommend exercising the following points:

  • Duplicate from active for standby.
    • Practice here skipping some PDBs from copying.
    • Also, practive adding PDB's later on primary and choosing whether to add it on the standby or not.
  • Keep in your brain all requisites prior starting the configuration (force logging, standy redos, etc).
  • Create a physical standby from scratch (setting manually all the parameters).
  • Create a physical standby using dgmgrl (this is the best approach if available on the exam)
  • Create a physical standby using EM (pay attention at this method, can save you A LOT of time. Preferable if allowed.).
  • Enable real-time apply.

In 12c we have the new Far Sync instance and Redo Routes. Although in my opinion the should have created a specific topic naming Far Sync if it is in exam, I recommend you to study and be able to add it in your DG environment after everything is built.

Consider yourself ready when you are able to create, configure and align a Physical Standby (from a single instance as startup point) in 20 minutes + 10 minutes for Far Sync. Try to practice without using any GUI (not even netmgr to create static listener).

Path to Documentation:

Oracle Data Guard Concepts and Administration -> Creating a Physical Standby Database


Click here to go back to the Main OCM 12c Preparation page.

Have you enjoyed? Please leave a comment or give a 👍!

3 comments

    • Wilson Bernal on March 31, 2018 at 12:24
    • Reply

    Hi Rodrigo,

    I'm taking advantage of your blog to prepare myself to the exam. Thanks in advance for your effort and intention to publish and mantain this excellent blog.
    Regarding the option to create a new standby via dgmgrl I would like to know if this is really possible as the official dgbroker documentation states that it isn't:

    "Although DGMGRL cannot automatically create a new standby, you can use DGMGRL commands to configure and monitor an existing standby, including those created using Cloud Control.".

    So could you be more precise about the recommendation given above?: "Create a physical standby using dgmgrl (this is the best approach if available on the exam)".

    Regards,

    Wilson Bernal

    1. Hi Wilson,
      What I mean with it is that you would use the DUPLICATE to create a copy for standby of your primary and then configure and enable the standby using dgmgrl (CREATE CONFIGURATION / ADD DATABASES / ENABLE / etc).

      Regards,
      RJ

    • Wilson Bernal on April 21, 2018 at 12:07
    • Reply

    Hi Rodrigo,

    Thanks for the clarification. It is very clear.

    Regards,

    Wilson Bernal

Leave a Reply

Your email address will not be published.