EDIT CONFIGURATION (Protection Mode)

The EDIT CONFIGURATION SET PROTECTION MODE AS command edits the current protection mode setting for the broker configuration.

Format

EDIT CONFIGURATION SET PROTECTION MODE [AS] { MaxProtection | MaxAvailability | MaxPerformance };

Command Parameters

protection-mode

The data protection mode in which you want the configuration to run when the configuration is enabled. The possible protection modes are:

  • {MAXPROTECTION}
  • {MAXAVAILABILITY}
  • {MAXPERFORMANCE}

Usage Notes

  • Before you use the EDIT CONFIGURATION command to set the protection mode, ensure that at least one standby is configured to receive redo via SYNC or FASTSYNC mode if it receives redo directly from the primary. If the standby receives redo via a far sync instance, the far sync instance must be configured to receive redo via SYNC or FASTSYNC mode and the standby must be configured to receive redo via ASYNC mode.

  • The following table shows the configuration protection modes and the minimum corresponding settings for redo transport services:

    Protection Mode Redo Transport Standby Redo Log Files Needed? Usable with Fast-Start Failover?

    {MAXPROTECTION}

    SYNC

    Yes

    Yes

    {MAXAVAILABILITY}

    SYNC or FASTSYNC

    Yes

    Yes

    {MAXPERFORMANCE}

    ASYNC

    Yes

    Yes

    The default protection mode for the configuration is MAXPERFORMANCE.

    See Also:

    Managing the Members of a Broker Configuration for more information about the protection modes and redo transport services

  • This command cannot be executed if fast-start failover is enabled.

  • Upgrading from {MAXPERFORMANCE} to {MAXPROTECTION} is not allowed. You must first go to {MAXAVAILABILITY} and then to {MAXPROTECTION}.

  • Use the SHOW CONFIGURATION command to display the current protection mode for the configuration.

    DGMGRL> SHOW CONFIGURATION;
     
    Configuration - DRSolution
     
      Protection Mode: MaxPerformance
      Members:
        North_Sales  - Primary database
          South_Sales     - Physical standby database
     
    Fast-Start Failover: DISABLED
     
    Configuration Status:
    SUCCESS
    

If broker management of the configuration is disabled when you enter the EDIT CONFIGURATION command, the protection mode of the configuration does not take effect until the next time you enable the configuration with the ENABLE CONFIGURATION command.

Command Example

The following example shows how to upgrade the broker configuration to the {MAXAVAILABILITY} protection mode.

Verify that standby redo log files are configured on the standby database and that the redo transport service is set to SYNC, for example:

DGMGRL> EDIT DATABASE 'South_Sales' SET PROPERTY 'LogXptMode'='SYNC';
Property "LogXptMode" updated
 
DGMGRL> EDIT CONFIGURATION SET PROTECTION MODE AS MAXAVAILABILITY;
Succeeded.