SET ObserverConfigFile
The SET ObserverConfigFile command sets the full path and file name of an observer configuration file.
An observer configuration file stores information about managed configurations. The commands START OBSERVING, STOP OBSERVING, and SHOW OBSERVERS read the information about broker configuration groups from the file specified on this command.
Format
SET ObserverConfigFile = <observer_configuration_file>
Usage Notes
-
ObserverConfigFileis a DGMGRL runtime property. It neither resides in broker configuration metadata nor is persisted to disk. If the observer configuration file name is not observer.ora or it does not exist in the current working directory, then you must specify the name every time you start a new DGMGRL client. -
The default value of the property
ObserverConfigFileisobserver.ora. - You can specify an absolute path for the observer configuration
file. If you specify only a file name, the default path is the
DG_ADMIN/admindirectory. IfDG_ADMINis not defined, the default path is the current working directory. -
When you issue this command, the name of the configuration file is changed even if the file you specify does not exist or the content of the file is invalid.
Command Example
DGMGRL> SET ObserverConfigFile = /usr/oracle/observer.ora