Description:-
- Users will be able to save a Broker readable copy of the configuration file
- Allows a lost Broker configuration to be rebuilt without having to have all individual commands used at the start and during configuration lifetime
- The EXPORT CONFIGURATION command enables you to save the metadata contained in the broker configuration file to a text file. Use this command to maintain an up-to-date copy of the broker configuration metadata.
DGMGRL> EXPORT CONFIGURATION TO ‘oracledbwr.txt’
Succeeded.
- The broker stores the exported configuration in the trace directory. You cannot specify the directory in which the configuration must be stored.
- When you need to downgrade to an earlier version of the database software, you can export the broker configuration to a file before you downgrade the database software. Subsequently, instead of manually recreating the configuration from scratch, you can import this exported file to recreate the broker configuration after the downgrade is complete.
[oracle@devdr19c trace]$ cat oracledbwr.txt
<?xml version=”1.0″ encoding=”UTF-8″?>
<DRC Version=”19.4.1.0.0″ CurrentPath=”True” Name=”hari”>
<DefaultState>ONLINE</DefaultState>
<DRC_UNIQUE_ID>201996385</DRC_UNIQUE_ID>
<IntendedState>ONLINE</IntendedState>
<FastStartFailoverOBID1>1878442295</FastStartFailoverOBID1>
<FastStartFailoverOBID2>1878442296</FastStartFailoverOBID2>
<FastStartFailoverOBID3>1878442297</FastStartFailoverOBID3>
<Configuration_Name>hari</Configuration_Name>
<Member MemberID=”1″ CurrentPath=”True” Enabled=”True” MultiInstanced=”True” Name=”chennai”>
<IntendedState>STANDBY</IntendedState>
<DefaultState>STANDBY</DefaultState>
DGMGRL> IMPORT CONFIGURATION FROM ‘oracledbwr.txt’ ;
Succeeded. Run ENABLE CONFIGURATION to enable the imported configuration.
Connect with me:-
Telegram App:https://t.me/oracledbwr
LinkedIn:https://www.linkedin.com/in/hariprasathdba
Facebook:https://www.facebook.com/HariPrasathdba
FB Group:https://www.facebook.com/groups/894402327369506/
FB Page : https://www.facebook.com/dbahariprasath/?
Twitter : https://twitter.com/hariprasathdba