QuestionQ63

VerifiedConfiguring and Managing Oracle Data Guard Broker

The Data Guard environment contains two remote physical standby databases.

Client applications use local naming to connect to the primary database instance. You want the applications to connect automatically to the new primary database instance if a switchover or failover occurs.

Which option fulfills this requirement?

Explanation

A primary-role database service, started by a database-role trigger, is available only on the database currently operating as PRIMARY. The service and trigger created on the primary are replicated to physical standbys through redo, so after a switchover or failover the new primary starts the same service. Client descriptors that list all hosts and request that service can therefore connect to the new primary automatically. Oracle documents this single-instance approach using an ON_STARTUP trigger that checks V$DATABASE.DATABASE_ROLE and starts the user-created service when the role is PRIMARY.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!