SHOW CONFIGURATION WHEN PRIMARY IS
The SHOW CONFIGURATION WHEN PRIMARY IS command displays the redo transport configuration that would be in effect if the specified database were the primary database.
The display lists all members, but unlike SHOW CONFIGURATION, it does not provide status or any other configuration information.
Format
SHOW CONFIGURATION WHEN PRIMARY IS <db_unique_name>;
Command Parameters
Usage Notes
-
Use the
SHOWCONFIGURATIONWHENPRIMARYIScommand to show the redo transport configuration that would be in effect if the specified database were the primary database. You can use this information to identify ahead of time any redo transport configurations that would be incorrect after a role change.
The SHOW CONFIGURATION command lists all members in the output of
SHOW CONFIGURATION, it composes two sections: Section 1 starts with the
line "Members:". It lists primary and all members receiving redo from primary directly or
indirectly. Section 2 is optional . It starts with the line "Members Not Receiving Redo:"
that lists members that don’t receive redo if any.
Command Example
The following example provides a summary of the DRSolution configuration before and after a role change to the South_Sales database.
DGMGRL> SHOW CONFIGURATION;
Configuration - DRSolution
Protection Mode: MaxAvailability
Members:
North_Sales - Primary database
North_FS - Far Sync
South_Sales - Physical standby database
Members Not Receiving Redo:
South_FS - Far Sync
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS
DGMGRL> SHOW CONFIGURATION WHEN PRIMARY IS 'South_Sales';
Configuration when South_Sales is primary - DRSolution
Members:
South_Sales - Primary database
South_FS - Far Sync
North_Sales - Physical standby database
Members Not Receiving Redo:
North_FS - Far Sync
These displays are based upon the RedoRoutes property being set as follows for each member:
DGMGRL> SHOW DATABASE 'North_Sales' RedoRoutes; RedoRoutes = '(LOCAL : North_FS)' DGMGRL> SHOW FAR_SYNC 'North_FS' RedoRoutes; RedoRoutes = '(North_Sales : South_Sales)' DGMGRL> SHOW DATABASE 'South_Sales' RedoRoutes; RedoRoutes = '(LOCAL : South_FS)' DGMGRL> SHOW FAR_SYNC 'South_FS' RedoRoutes; RedoRoutes = '(South_Sales : North_Sales)'