SHOW OBSERVERS
The SHOW OBSERVERS command shows information about all observers for all broker configurations in a specific configuration group.
The SHOW OBSERVERS command displays the observer name, the host name where the observer is running, whether the observer is the master observer, and the last time the observer pinged the primary and standby.
Format
SHOW OBSERVERS [FOR <configuration_group_name> ];
Command Parameters
- configuration_group_name
- The name of a valid broker configuration group file for which you want to show information about all running observers. Specifying this parameter results in information being shown about observers for all configurations in the specified group. The information shown by this command is the same as that shown by a
SHOW OBSERVERcommand on an individual configuration.If a group name is not specified, then
SHOW OBSERVERSalone is also a valid command. It shows observer information for all broker configuration groups defined in the observer configuration file.The configuration group name cannot be
ALL.
Usage Notes
-
This command can be used to verify that a manually performed switch to a new master observer was successful.
Command Example
DGMGRL> SHOW OBSERVERS;
ObserverConfigFile=observer.ora
observer configuration file parsing succeeded
Submit command SHOW OBSERVER using the connect identifier 'North_Sales'.
Connected to "North_Sales"
Configuration - DrSolution1
Primary: North_Sales
Target: South_Sales
Observer DRSolution1_Observer - Master
Host Name: observer1.example.com
Last Ping to Primary: 3 seconds ago
Last Ping to Target: 3 seconds ago
Submit command SHOW OBSERVER using the connect identifier 'East_Sales'.
Connected to "East_Sales"
Configuration - DRSolution2
Primary: East_Sales
Target: West_Sales
Observer DRSolution2_Observer - Master
Host Name: observer2.example.com
Last Ping to Primary: 3 seconds ago
Last Ping to Target: 3 seconds ago