Updated on 2024-12-25 GMT+08:00

Checking DR Task Statuses

After the DR relationship is established between the primary and DR instances, you can view the data synchronization status on the DR task details page.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner of the page and choose Databases > GaussDB.
  4. Choose Disaster Recovery in the navigation pane on the left.
  5. Click the name of the target DR task to go to the task details page.

    View the statuses of the primary and DR instances.

    • Statuses of the primary instance
      • Full synchronizing: The primary instance is fully synchronizing data to the DR instance after the DR relationship is established.
      • Full synchronization failed: The primary instance fails to fully synchronize data to the DR instance after the DR relationship is established.
      • Demoting to standby: The roles of the primary and DR instances are being switched. In this case, the status of the primary instance is Demoting to standby.
      • Incremental synchronization in progress: In the DR relationship, the primary instance synchronizes incremental data to the DR instance.
      • Incremental synchronization failed: In the DR relationship, the primary instance fails to synchronize incremental data to the DR instance.
      • RPO indicates the time, in seconds, from when a transaction (generally the latest transaction) was submitted to when the transaction was sent to the DR instance.

        Description of special RPO values:

        • If RPO is 0, all transactions have been sent to the DR instance.
        • If RPO is -1, there are transactions that were not synchronized to the DR instance database or the DR instance is stopped.
    • Statuses of the DR instance
      • Full restoration: The DR instance is in the full restoration status after DR relationship is established.
      • Full restoration failed: The DR instance fails to be fully restored.
      • Incremental restoration: The DR instance is synchronizing incremental data from the primary instance.
      • Incremental restoration failed: The DR instance fails to synchronize incremental data from the primary instance.
      • Promoting to primary: The roles of the primary and DR instances are being switched, or the system is failing over to the DR instance in case the primary instance becomes unavailable. In this case, the status of the DR instance is Promoting to primary.
      • Promotion failed: The DR instance fails to be promoted to primary.
      • RTO measures the amount of data being transmitted.

        Description of special RTO values:

        • If RTO is 0, all transactions have been transmitted to and successfully executed on the DR instance.
        • If RTO is -1, there are transactions that were not restored to the DR instance or the DR instance is stopped.