Services with role set to Primary are started when then role is standby (Doc ID 2215197.1)

Last updated on DECEMBER 18, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Symptoms

o RAC Dataguard configuration using a Physical Standby managed with the DG broker.

o Service was created with role set to Primary:

Service name: myserv
Service is enabled
Server pool:
Cardinality: 1
Disconnect: false
Service role: PRIMARY <<<< ROLE >>>>>

...

o  After a switchover, the service still running even when the role was set to PHYSICAL_STANDBY on the database:

$srvctl status service -d <DB_NAME> -s myserv
Service uss1xap1_ops is running on instance(s) uss1xap11

here are the roles for the database and service, using 'crsctl stat res -f':

...
NAME=ora.<db_name>.db
..
ROLE=PHYSICAL_STANDBY
..
NAME=ora.<db_name>.myserv.svc
..
ROLE=PRIMARY

 

 

 

Changes

Using DG broker to manage the DG configuration

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms