Help Center/ GaussDB(DWS)/ Tool Guide/ Server Tool/ DisasterFineGrained.py/ Introduction to DisasterFineGrained.py
Updated on 2025-01-09 GMT+08:00

Introduction to DisasterFineGrained.py

Before initiating fine-grained DR, you need to prepare by generating configuration files, setting GUC parameters, and releasing DR. To expedite this process, DisasterFineGrained.py offers commands for one-click preparation and release management. This function is supported only by 8.2.1.210 and later cluster versions.

Supported Functions

Table 1 Supported functions

Function

Description

Generating configuration files

Generate the initial settings for the dual-cluster DR configuration file and the primary/standby cluster switchover configuration file. These settings can be modified as needed. For how to configure the configuration file, see Commands for Generating a Configuration File.

Configuring GUC parameters

Set GUC parameters before fine-grained DR is enabled.

Creating a release

Create a fine-grained DR release.

Modifying a release

Modify a fine-grained DR release.

Canceling a release

Cancel a fine-grained DR release.

Obtaining the current release list

Obtain the current release list.

Constraints

  • Log in to the active node of the primary cluster using the cluster user account to execute commands.
  • All scripts are used only in fine-grained DR scenarios.