I previously tried to configure dataguard broker between primary and standby databases but had an issue connecting to the standby so I executed remove configuration and started fresh today.
I executed the following successfulyl on the primary:
alter system set dg_broker_config_file1='/u01/app/oracle/admin/PrimaryDB/dr1PrimaryDB.bat' scope=both;
alter system set dg_broker_config_file2='/u01/app/oracle/admin/PrimaryDB/dr2PrimaryDB.bat' scope=both;
alter system set DG_BROKER_START=TRUE scope=both;
and then conencted to primary database via dgmgrl:
DGMGRL> connect sys@PrimaryDB
Then I attempted to create a configuration for primary:
DGMGRL> create configuration 'PrimaryDB_DG' as primary database is 'PrimaryDB' connect identifier is PrimaryDB;
the above gave me an error:
Error: ORA-16571: Data Guard configuration file creation failure
I searched metalink but all I found was OERR: ORA-16571 Data Guard configuration file creation failure (Doc ID 172947.1) which was not helpful - all it said was "Verify that your ORACLE_HOME area is available to the broker."
Can some help me figure it out?