DATAGAURD BROKER configuration failed with error “ORA-16571”
[oraerp@rac1 dbs]$
[oraerp@rac1 dbs]$ dgmgrl
DGMGRL for Linux: Version 11.1.0.7.0 - 64bit Production
Copyright (c) 2000, 2005, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
DGMGRL> connect lkd/lkjs
Connected.
DGMGRL>
DGMGRL> create configuration DELL as
[oraerp@rac1 dbs]$ dgmgrl
DGMGRL for Linux: Version 11.1.0.7.0 - 64bit Production
Copyright (c) 2000, 2005, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
DGMGRL> connect lkd/lkjs
Connected.
DGMGRL>
DGMGRL> create configuration DELL as
> primary database
is dell_live
> connect
identifier is dell_live;
Error: ORA-16571: Data
Guard configuration file creation failure
Failed.
DGMGRL> exit
==============================================================================================================
Alert log file message
Tue Apr 04 15:06:00 2017
Data Guard Broker (DMON) failed to save its configuration
metadata to file
"/u01/app/oracle/product/11.2.0/dbhome_1/dbs/dr1.dat"
Additional information may be found in
"/u01/db/tech_st/11.1.0/admin/DELL_rac1/diag/rdbms/dell_live/DELL/trace/drcDELL.log"
==============================================================================================================
[oraerp@rac1 dbs]$ sqlplus / as
sysdba
SQL*Plus: Release
11.1.0.7.0 - Production on Tue Apr 4 15:51:26 2017
Copyright (c) 1982,
2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g
Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning,
OLAP, Data Mining and Real Application Testing options
SQL> show
parameter dg_b
NAME TYPE VALUE
------------------------------------
----------- ----------------------------
dg_broker_config_file1 string /u01/app/oracle/product/11.2.0
/dbhome_1/dbs/dr1.dat
dg_broker_config_file2 string /u01/app/oracle/product/11.2.0
/dbhome_1/dbs/dr2.dat
dg_broker_start boolean TRUE
SQL>
SOLUTION:
|
Verify SPACE, PERMISSION and the files as indicated by the “DG_BROKER_CONFIG
{1 | 2} parameters and retry.
SQL>
SQL> alter system
set dg_broker_start=FALSE;
System altered.
SQL> alter system
set dg_broker_config_file1='/u01/db/tech_st/11.1.0/dbs/dr1.dat' scope=both
sid='*';
System altered.
SQL> alter system
set dg_broker_config_file2='/u01/db/tech_st/11.1.0/dbs/dr2.dat' scope=both
sid='*';
System altered.
SQL>
SQL> alter system
set dg_broker_start=TRUE;
System altered.
SQL>
SQL> show
parameter dg_b
NAME TYPE VALUE
----------------------------------
----------- ----------------------------
dg_broker_config_file1 string /u01/db/tech_st/11.1.0/dbs/dr1
.dat
dg_broker_config_file2 string /u01/db/tech_st/11.1.0/dbs/dr2
.dat
dg_broker_start boolean TRUE
SQL>
[oraerp@rac1 dbs]$
[oraerp@rac1 dbs]$ dgmgrl
DGMGRL for Linux:
Version 11.1.0.7.0 - 64bit Production
Copyright (c) 2000,
2005, Oracle. All rights reserved.
Welcome to DGMGRL,
type "help" for information.
DGMGRL> connect
sys/sd
Connected.
DGMGRL>
DGMGRL>
DGMGRL> create
configuration DELL as
> primary
database is dell_live
> connect
identifier is dell_live;
Configuration
"dell" created with primary database "dell_live"
DGMGRL>
DGMGRL>
DGMGRL> add database
dell_stby as
> connect
identifier is dell_stby
> maintained
as physical;
Database
"dell_stby" added
DGMGRL>
DGMGRL>
DGMGRL> enable
configuration
Enabled.
DGMGRL>
DGMGRL>
DGMGRL> show
configuration
Configuration
Name: dell
Enabled: YES
Protection Mode: MaxPerformance
Databases:
dell_live - Primary database
dell_stby - Physical standby database
Fast-Start Failover:
DISABLED
Current status for
"dell":
SUCCESS
DGMGRL>
CONCLUSION:
|
Thanks for Reading.
Regards,
Mohammed Areefuddin.
Suggested Topics :
Linux
|
DATABASE
|
RMAN
|
RAC
|
EBS
|
EBS DataGuard
| ||||
This comment has been removed by the author.
ReplyDelete
ReplyDeleteError: ORA-16571: Oracle Data Guard configuration file creation failure
Hi i am having trouble issuing the bellow command not sure what the issue is.
ADD DATABASE ORADB_S2 AS CONNECT IDENTIFIER IS ORADB_S2;
SQL> show parameter dg_b
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
dg_broker_config_file1 string +DATA/ORADB/BROKER/dr1ORADB.da
t
dg_broker_config_file2 string +FRA/ORADB/BROKER/dr2ORADB.dat
dg_broker_start boolean TRUE
SQL> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics
and Real Application Testing options
[oracle@srv1 ~]$ dgmgrl
DGMGRL for Linux: Version 12.1.0.2.0 - 64bit Production
Copyright (c) 2000, 2013, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
DGMGRL> exit
[oracle@srv1 ~]$ dgmgrl sys/oracle@ORADB
DGMGRL for Linux: Version 12.1.0.2.0 - 64bit Production
Copyright (c) 2000, 2013, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
Connected as SYSDBA.
DGMGRL> show configuration
Configuration - oradb
Protection Mode: MaxPerformance
Members:
oradb - Primary database
Fast-Start Failover: DISABLED
Configuration Status:
DISABLED
DGMGRL> ADD DATABASE ORADB_S2 AS CONNECT IDENTIFIER IS ORADB_S2;
Error: ORA-16571: Oracle Data Guard configuration file creation failure
Failed.
DGMGRL>
Thanks and best Regards
Ahmed