Configuration parameters

This article describes the parameters that can be configured for ADPG services via ADCM. To read about the configuring process, refer to the relevant article Installation.

NOTE
Some of the parameters become visible in the ADCM UI after the Advanced flag being set.

ADPG

Parameter Description Default value

Name of default database

A name of the database created by default. This database is maintained by crontab scripts (garbage collection, transaction wraparound, etc.)

adpg

ADPG contrib Extension

Whether or not to install a set of additional supplied modules for PostgreSQL

false

ADPG PostGIS Extension

Whether or not to install the PostGIS Extension. PostGIS is a spatial database extension for PostgreSQL that allows GIS (Geographic Information Systems) objects to be stored in the database. The PostGIS extension includes support for GiST-based R-Tree spatial indexes and functions for analysis and processing of GIS objects

false

Data directory

Directories that are used to store data on the ADPG hosts

/pg_data1

Sysctl parameters

Linux kernel parameters that are needed for ADPG. Use the JSON format. Example:

[
    [
        "kernel.sysrq",
        "1"
    ],
    [
        "kernel.core_uses_pid",
        "1"
    ],
    [
        "kernel.shmmni",
        "4096"
    ],
    [
        "kernel.msgmnb",
        "65536"
    ],
    [
        "kernel.msgmax",
        "65536"
    ]
]
[
    [
        "",
        ""
    ]
]

PG_HBA

The section for adding lines to the pg_hba.conf file. This file allows to control the client authentication

 — 

NOTE
  • The ADPG configurations section allows to fill in the parameters from the postgresql.conf configuration file. For more details on these parameters, you can refer to the postgresql.conf article.

  • The postgresql.conf custom section allows to fill in additional parameters of the postgresql.conf configuration file that are not described separately in the ADPG configurations section. For more details on these parameters, you can refer to the Custom settings section of the postgresql.conf article.

Chrony

Parameter Description Default value

NTP servers

Addresses of valid NTP servers. For example, 0.ru.pool.ntp.org, 1.ru.pool.ntp.org. If this parameter is set, then Master takes the time from NTP servers, Secondary Master — from Master or NTP servers, Segment hosts — from Master or Secondary Master. If the parameter is not set or all NTP servers become unavailable, then Master uses its local clocks, Secondary Master uses the Master or local clocks, and Segment Hosts get the time from Master or Secondary Master

 — 

Monitoring Clients

Parameter Description Default value

Protocol

A transport protocol for sending metrics to the monitoring cluster. Possible values are TCP and UDP. A UDP protocol is supported by monitoring clusters of the 2.8 version or later

TCP

Check that all hosts are monitoring

Whether or not to check if monitoring agents are installed on all ADPG hosts

true

Found a mistake? Seleсt text and press Ctrl+Enter to report it