Enable and disable data guard broker
https://logic.edchen.org/how-to-stop-data-guard-services/
1. Login to primary db server
$ dgmgrl sys/Manager_1@sslcdb
DGMGRL> show configuration
2. Check the apply and transport status:
Disable Data Guard with Broker
DGMGRL> show database sslcdb
Database - SSLCDBDR
Role: PRIMARY
----------------------------------------------
@stanby
$ dgmgrl sys/Manager_1@sslcdbdr
DGMGRL> show database sslcdbdr
Database - SSLCDBDR
Role: PHYSICAL STANDBY
3. DGMGRL Stop Transport
disable transport service of the primary database.
dgmgrl sys/Manager_1@sslcdb
DGMGRL> EDIT DATABASE sslcdbdr SET STATE='TRANSPORT-OFF';
Succeeded.
4. DGMGRL Stop Apply
dgmgrl sys/Manager_1@sslcdbdr
DGMGRL> edit database SSLCDBDR set state='APPLY-OFF';
Succeeded.
5. Disable DG Configuration
DGMGRL> DISABLE CONFIGURATION;
Disabled.
Enable Data Guard with Broker
6. Disable DG Configuration
DGMGRL> ENABLE CONFIGURATION;
Enableabled.
7. DGMGRL Start Transport
Enableable transport service of the primary database.
dgmgrl sys/Manager_1@sslcdb
DGMGRL> EDIT DATABASE sslcdbdr SET STATE='TRANSPORT-ON';
Succeeded.
8. DGMGRL Start Apply
dgmgrl sys/Manager_1@sslcdbdr
DGMGRL> edit database SSLCDBDR set state='APPLY-ON';
Succeeded.
SQL> show parameter dg_broker_start
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
dg_broker_start boolean TRUE
SQL> select name, value from v$parameter where name = 'dg_broker_start';
NAME VALUE
-----------------------------------------------------------------
dg_broker_start TRUE