Help Center/ Data Replication Service/ FAQs/ Real-Time Synchronization/ Configuring Remote Connection to a GaussDB Database/ Enabling Data Read from Standby Node for a Distributed GaussDB Instance
Updated on 2025-02-17 GMT+08:00

Enabling Data Read from Standby Node for a Distributed GaussDB Instance

  1. Log in to each data node of the distributed GaussDB instance.
  2. Run the following command to obtain the configuration file path of the data node:

    find / -name "postgresql.conf"|grep dn

    Or

    find / -name "gaussdb.conf"|grep dn

  3. Open the files obtained in 2 in sequence and add listen_address_ext='xxxx' under listen_addresses='xxxx', where xxxx indicates the listening address. The listening address configured for listen_address_ext is the same as that configured for listen_addresses.
  4. Restart the DB instance to apply the change.