Help Center> Data Replication Service> FAQs> Real-Time Synchronization> Configuring Remote Connection to a GaussDB Database> Configuration Method for a Synchronization Task from GaussDB Distributed in Multi-Task Mode
Updated on 2024-05-09 GMT+08:00

Configuration Method for a Synchronization Task from GaussDB Distributed in Multi-Task Mode

Procedure

  1. Log in to all CN nodes of the distributed GaussDB instance.
  2. Query the location of the configuration file.

    find / -name "pg_hba.conf"

  3. Open the pg_hba.conf file and add the following configuration:

    host all <user> 0.0.0.0/0 sha256

  4. Log in to all DN nodes of the distributed GaussDB instance.
  5. Query the location of the configuration file.

    find / -name "pg_hba.conf"

  6. Open the pg_hba.conf file and add the following configurations:

    host all <user> 0.0.0.0/0 sha256
    host replication <user> 0.0.0.0/0 sha256

  7. Run the following statement as a system administrator on the source database or restart the DB instance to apply the change:

    select pg_reload_conf();

Configuring Remote Connection to a GaussDB Database FAQs

more