Version v1.5.1 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation, see the latest version.
Configuration
Pigsty uses declarative configuration.
Pigsty defines infra and database clusters through Inventory, and each Pigsty deploy has a corresponding config. Pigsty’s config uses the “Infra as Data” philosophy: Users describe requirements through the declarative config, and Pigsty adapts the fundamental components to the expected state.
Formally, the inventory can be implemented as a default local config file or as dynamic configuration data in CMDB. This article uses the default YAML configuration file pigsty.yml as an example. Pigsty detects the current node environment and generates the recommended config file in configure.
The main content of the inventory is config entries. The source-backed v1.5.1 summary below contains 213 parameters that can be configured at multiple levels, and most parameters can use default values. Config entry can be divided into four major categories according to category: INFRA, NODES/host nodes, PGSQL, REDIS, and further subdivided into 32 subcategories.
Configure
Go to the Pigsty project dir and execute configure. Pigsty will generate a config file based on the current machine env, a process called Configure.
configure will check the following things, minor problems will be fixed automatically, otherwise, it will prompt an error to exit.
Running ./configure directly will launch an interactive CLI wizard that prompts the user to answer the following 3 questions:
IP address
When multiple NICs with multiple IPs are detected on the current machine, the config wizard prompts you to enter the primary IP used, which is the IP you use to access the node from the internal network. Note that you should not use the public IP.
Download Package
When offline package /tmp/pkg.tgz not exists on the node, the config wizard will ask whether to download it from Github. Selecting Y will start the download, and selecting N will skip it. If your node has good Internet access with a suitable proxy config, or if you need to make offline packages, you can choose N.
Config Template
The config wizard automatically selects a config template based on the current machine env. However, you can specify the use of a config template manually with -m <mode>.
demo: The project’s default config file, the one used by the 4-node sandbox, enables all features.auto: Suitable for deployment in production env with more stable and conservative configs.- In addition, Pigsty has several preconfigured config templates that can be specified and used directly with the
-m, see thefiles/conffor details.
The most important part of the config template is to replace the placeholder IP 10.10.10.10 in the template with the real IP (intranet primary IP) of the current machine and select the appropriate database specification template according to the current machine config. You can use the default generated config file directly or make further customization based on the automatically generated config file.
Standard output of the configure
Config File
A specific sample config file is available at the root of the Pigsty project: pigsty.yml.
The top level of the config file is a single object with a key as all and contains two sub-projects: vars and children.
The content of vars is a K-V pair that defines the global config parameters, K is the name of the config entry and V is the content.
The content of children is also a K-V pair, K is the cluster name and V is the specific cluster definition, a sample cluster definition is shown below:
- The cluster definition also includes two sub-projects:
varsdefines the config at the cluster level.hostsdefine the cluster’s instance members. - The params in the cluster config override the global params, and the cluster configuration params are overridden by the configuration params of the same name at the instance level. The only mandatory cluster configuration parameter is
pg_cluster, which is the name of the cluster and is consistent with the upper-level cluster name. - The
hostsuse K-V to define the cluster instance members, K is the IP (must be ssh reachable), and V is the specific instance config params. - There are two mandatory params in the instance config:
pg_seq, andpg_role, which are the unique serial number of the instance and the role of the instance, respectively.
Pigsty config files follow Ansible rules in YAML format and use a single config file by default. The default config file path is pigsty.yml in the root dir of the Pigsty source code. The default config file is specified via inventory = pigsty.yml in ansible.cfg in the same dir. Additional config files can be specified via -i <config_path> when executing any playbook.
The config file needs to be used in conjunction with Ansible. Ansible is a popular DevOps tool. If you are proficient in Ansible, you can adapt the config file organization and structure according to Ansible’s manifest organization rules.
Please use the browse Ansible Quick Start and start executing playooks with Ansible.
Config Entry
Config entries are in the form of K-V pairs: the key is the name of the Config entry and the value is the content of the config entry.
Pigsty’s params can be configured at different levels and inherited and overwritten based on rules, with higher priority config entries overwriting lower priority config entries with the same name.
Config Entry Levels
In Pigsty’s config file, config entry can appear in three locations: global, cluster, and instance. Config entry defined in cluster vars override global config entry with same-name key override, and config entry defined in an instance, in turn, override cluster config entry with global config entry.
| Granularity | Scope | Priority | Description | Location |
|---|---|---|---|---|
| Global | Global | Low | Consistent within the same set of deployment envs | all.vars.xxx |
| Cluster | Cluster | Medium | Consistency within the same set of clusters | all.children.<cls>.vars.xxx |
| Instance | Instance | High | The most granular level of config | all.children.<cls>.hosts.<ins>.xxx |
Not all config entries are suitable for use at all levels. For example, infra params will usually only be defined in the global config, params such as database instance labels, roles, load balancing weights, and other params can only be configured at the instance level, and some operational options can only be provided using CLI params. For details of config entry, please see the list of config entry.
Default & Overwrite
In addition to the three config granularities, there are two extra levels of priority in the Pigsty config entry: default value and CLI param forced override:
- Default: When a config entry does not appear at either the global/cluster/instance level, the default config entry is used. The default value has the lowest priority. The default params are defined in
roles/<role>/defaults/main.yml. - Parameter: Config entry specified by means of CLI incoming params have the highest priority and will override all levels of config. Some config entries can only be specified by means of CLI params.
| Levels | Priority | Source | Description | Location |
|---|---|---|---|---|
| Default | Lowest | Default | Default values for code logic definitions | roles/<role>/defaults/main.yml |
| Global | Low | Global | Consistent within the same set of deployment envs | all.vars.xxx |
| Cluster | Medium | Cluster | Consistency within the same set of clusters | all.children.<cls>.vars.xxx |
| Instance | High | Instance | The most granular level of config | all.children.<cls>.hosts.<ins>.xxx |
| Argument | Highest | Parameter | Pass in CLI arguments | -e |
Config Category
The v1.5.1 source-backed summary contains 213 fixed config entries divided into four sections: INFRA, NODES, PGSQL, and REDIS, for a total of 32 categories.
Usually, only the node/database identity parameter is mandatory, other params can be modified on demand using the default values.
| Category | Section | Description | Count |
|---|---|---|---|
INFRA |
CONNECT |
Connection parameters | 1 |
INFRA |
REPO |
Local source infra | 10 |
INFRA |
CA |
Public-Private Key Infra | 5 |
INFRA |
NGINX |
Nginx Web Server | 5 |
INFRA |
NAMESERVER |
DNS Server | 1 |
INFRA |
PROMETHEUS |
Monitoring Time Series Database | 7 |
INFRA |
EXPORTER |
Universal Exporter Config | 3 |
INFRA |
GRAFANA |
Grafana Visualization Platform | 9 |
INFRA |
LOKI |
Loki log collection platform | 5 |
INFRA |
DCS |
Distributed Config Storage Meta DB | 8 |
NODES |
NODE_IDENTITY |
Node identity parameters | 5 |
NODES |
NODE_DNS |
Node Domain Name Resolution | 5 |
NODES |
NODE_PACKAGES |
Node Packages | 4 |
NODES |
NODE_KERNEL_MODULES |
Node Kernel Module | 1 |
NODES |
NODE_TUNE |
Node parameter tuning | 2 |
NODES |
NODE_ADMIN |
Node Admin User | 6 |
NODES |
NODE_TIME |
Node time zone and time sync | 4 |
NODES |
NODE_EXPORTER |
Node Indicator Exposer | 3 |
NODES |
PROMTAIL |
Log collection component | 5 |
PGSQL |
PG_IDENTITY |
PGSQL Identity Parameters | 13 |
PGSQL |
PG_BUSINESS |
PGSQL Business Object Definition | 11 |
PGSQL |
PG_INSTALL |
PGSQL Installation | 11 |
PGSQL |
PG_BOOTSTRAP |
PGSQL Cluster Initialization | 24 |
PGSQL |
PG_PROVISION |
PGSQL Cluster Provisioning | 9 |
PGSQL |
PG_EXPORTER |
PGSQL Indicator Exposer | 13 |
PGSQL |
PG_SERVICE |
PGSQL Service Access | 16 |
REDIS |
REDIS_IDENTITY |
REDIS Identity Parameters | 3 |
REDIS |
REDIS_PROVISION |
REDIS Cluster Provisioning | 14 |
REDIS |
REDIS_NODE |
REDIS Indicator Exposer | 3 |
List of config entries
| ID | Name | Section | Level | Description |
|---|---|---|---|---|
| 100 | proxy_env |
CONNECT |
G | Proxy server config |
| 110 | nginx_enabled |
REPO |
G | Enable local sources |
| 111 | repo_name |
REPO |
G | Local source name |
| 112 | repo_address |
REPO |
G | Local source external access address |
| 113 | nginx_port |
REPO |
G | Local source port |
| 114 | nginx_home |
REPO |
G | Local source file root dir |
| 115 | repo_rebuild |
REPO |
A | Rebuild Yum repo |
| 116 | repo_remove |
REPO |
A | Remove existing REPO files |
| 117 | repo_upstreams |
REPO |
G | Upstream sources of Yum repo |
| 118 | repo_packages |
REPO |
G | List of software from Yum repo |
| 119 | repo_url_packages |
REPO |
G | List of software downloaded via URL |
| 120 | ca_method |
CA |
G | CA creation method |
| 121 | ca_subject |
CA |
G | Self-signed CA themes |
| 122 | ca_homedir |
CA |
G | CA root dir |
| 123 | ca_cert |
CA |
G | CA Certificate |
| 124 | ca_key |
CA |
G | CA private key name |
| 130 | nginx_upstream |
NGINX |
G | Nginx upstream servers |
| 131 | nginx_indexes |
NGINX |
G | List of apps displayed on the navigation bar |
| 140 | dns_records |
NAMESERVER |
G | Dynamic DNS Resolution Records |
| 150 | prometheus_data_dir |
PROMETHEUS |
G | Prometheus Catalog |
| 151 | prometheus_options |
PROMETHEUS |
G | Prometheus CLI parameters |
| 152 | prometheus_reload |
PROMETHEUS |
A | Reload instead of Recreate |
| 153 | prometheus_sd_method |
PROMETHEUS |
G | Service discovery mechanism: static |
| 154 | prometheus_scrape_interval |
PROMETHEUS |
G | Prom Crawl Cycle |
| 155 | prometheus_scrape_timeout |
PROMETHEUS |
G | Prom Crawl Timeout |
| 156 | prometheus_sd_interval |
PROMETHEUS |
G | Prom Service Discovery Refresh Cycle |
| 160 | exporter_install |
EXPORTER |
G | Installation of monitoring components method |
| 161 | exporter_repo_url |
EXPORTER |
G | YumRepo for monitoring components |
| 162 | exporter_metrics_path |
EXPORTER |
G | Monitor the exposed URL Path |
| 170 | grafana_endpoint |
GRAFANA |
G | Grafana Address |
| 171 | grafana_admin_username |
GRAFANA |
G | Grafana Admin Username |
| 172 | grafana_admin_password |
GRAFANA |
G | Grafana Admin User Password |
| 173 | grafana_database |
GRAFANA |
G | Grafana Database Types |
| 174 | grafana_pgurl |
GRAFANA |
G | Grafana’s PG connection string |
| 175 | grafana_plugin_method |
GRAFANA |
G | Grafana plugin installation method |
| 176 | grafana_plugin_cache |
GRAFANA |
G | Grafana plugin cache location |
| 177 | grafana_plugin_list |
GRAFANA |
G | Installation list of Grafana plugins |
| 178 | grafana_plugin_git |
GRAFANA |
G | Installing Grafana Plugin from Git |
| 180 | loki_endpoint |
LOKI |
G | Receiving logs for the loki service |
| 181 | loki_clean |
LOKI |
A | Clean up the database dir during Loki installation |
| 182 | loki_options |
LOKI |
G | Loki’s CLI parameters |
| 183 | loki_data_dir |
LOKI |
G | Loki’s data dir |
| 184 | loki_retention |
LOKI |
G | Loki log default retention days |
| 200 | dcs_servers |
DCS |
G | DCS server name:IP list |
| 201 | dcs_registry |
DCS |
G | Service Registration Location |
| 202 | pg_dcs_type |
DCS |
G | DCS Type |
| 203 | dcs_name |
DCS |
G | DCS Cluster Name |
| 204 | dcs_clean |
DCS |
C/A | Action when DCS instance exists |
| 205 | dcs_safeguard |
DCS |
C/A | Prohibit cleaning of DCS instances |
| 206 | consul_data_dir |
DCS |
G | Consul Data Catalog |
| 207 | etcd_data_dir |
DCS |
G | Etcd Data Catalog |
| 221 | jupyter_username |
JUPYTER |
G | OS users used by Jupyter |
| 222 | jupyter_password |
JUPYTER |
G | Jupyter Lab Password |
| 300 | meta_node |
NODE_IDENTITY |
C | Meta Node |
| 301 | nodename |
NODE_IDENTITY |
I | Node instance mark |
| 302 | node_cluster |
NODE_IDENTITY |
C | Node cluster name, default nodes |
| 303 | nodename_overwrite |
NODE_IDENTITY |
C | Nodename overrides HOSTNAME |
| 304 | nodename_exchange |
NODE_IDENTITY |
C | Exchange hostnames between playbook nodes |
| 310 | node_etc_hosts_default |
NODE_DNS |
C | Static DNS Analysis |
| 311 | node_etc_hosts |
NODE_DNS |
C/I | Cluster Level |
| 312 | node_dns_method |
NODE_DNS |
C | Configure DNS server method |
| 313 | node_dns_servers |
NODE_DNS |
C | Configure a list of dynamic DNS servers |
| 314 | node_dns_options |
NODE_DNS |
C | Configure the /etc/resolv.conf |
| 320 | node_repo_method |
NODE_REPO |
C | The way nodes use Yum repos |
| 321 | node_repo_remove |
NODE_REPO |
C | Remove nodes with existing Yum repos |
| 322 | node_repo_local_urls |
NODE_REPO |
C | URL of the local source |
| 330 | node_packages_default |
NODE_PACKAGES |
C | Packages for nodes |
| 331 | node_packages |
NODE_PACKAGES |
C | Extra packages for nodes |
| 332 | node_packages_meta |
NODE_PACKAGES |
G | Packages for meta nodes |
| 333 | node_packages_meta_pip |
NODE_PACKAGES |
G | Packages installed via pip3 |
| 340 | node_disable_numa |
NODE_FEATURES |
C | Disable the node NUMA |
| 341 | node_disable_swap |
NODE_FEATURES |
C | Disable the node SWAP |
| 342 | node_disable_firewall |
NODE_FEATURES |
C | Disable the node firewall |
| 343 | node_disable_selinux |
NODE_FEATURES |
C | Disable the node SELINUX |
| 344 | node_static_network |
NODE_FEATURES |
C | Enable static DNS servers |
| 345 | node_disk_prefetch |
NODE_FEATURES |
C | Enable disk pre-reading |
| 346 | node_kernel_modules |
NODE_MODULES |
C | Enable kernel module |
| 350 | node_tune |
NODE_TUNE |
C | Node Tuning Mode |
| 351 | node_sysctl_params |
NODE_TUNE |
C | OS kernel parameters |
| 360 | node_admin_enabled |
NODE_ADMIN |
G | Create admin user |
| 361 | node_admin_uid |
NODE_ADMIN |
G | Admin UID |
| 362 | node_admin_username |
NODE_ADMIN |
G | Admin User Name |
| 363 | node_admin_ssh_exchange |
NODE_ADMIN |
C | Exchange admin user SSH keys |
| 364 | node_admin_pk_current |
NODE_ADMIN |
A | Add the current user’s public key to the admin user |
| 365 | node_admin_pk_list |
NODE_ADMIN |
C | Login admin’s public key list |
| 370 | node_timezone |
NODE_TIME |
C | NTP time zone setting |
| 371 | node_ntp_enabled |
NODE_TIME |
C | Configure NTP service |
| 372 | node_ntp_service |
NODE_TIME |
C | NTP service type: ntp or chrony |
| 373 | node_ntp_servers |
NODE_TIME |
C | NTP Server List |
| 380 | node_exporter_enabled |
NODE_EXPORTER |
C | Enable node metrics collector |
| 381 | node_exporter_port |
NODE_EXPORTER |
C | Node Indicator Exposure Port |
| 382 | node_exporter_options |
NODE_EXPORTER |
C/I | Node Metrics Collection Options |
| 390 | promtail_enabled |
PROMTAIL |
C | Enable Protail log collection |
| 391 | promtail_clean |
PROMTAIL |
C/A | Remove existing status information when installing promtail |
| 392 | promtail_port |
PROMTAIL |
G | promtail default port |
| 393 | promtail_options |
PROMTAIL |
C/I | promtail CLI parameters |
| 394 | promtail_positions |
PROMTAIL |
C | promtail status file location |
| 500 | pg_cluster |
PG_IDENTITY |
C | PG database cluster name |
| 501 | pg_shard |
PG_IDENTITY |
C | PG Cluster-owned Shard (Reserved) |
| 502 | pg_sindex |
PG_IDENTITY |
C | PG cluster’s slice number (Reserved) |
| 503 | gp_role |
PG_IDENTITY |
C | Role of PG Cluster in GP |
| 504 | pg_role |
PG_IDENTITY |
I | PG instance role |
| 505 | pg_seq |
PG_IDENTITY |
I | PG Instance Serial Number |
| 506 | pg_instances |
PG_IDENTITY |
I | All PG instances on the current node |
| 507 | pg_upstream |
PG_IDENTITY |
I | Replicated upstream nodes of instances |
| 508 | pg_offline_query |
PG_IDENTITY |
I | Offline Search |
| 509 | pg_backup |
PG_IDENTITY |
I | Storing backups on instances |
| 510 | pg_weight |
PG_IDENTITY |
I | Relative weight of instances in load balancing |
| 511 | pg_hostname |
PG_IDENTITY |
C/I | PG instance name is set to HOSTNAME |
| 512 | pg_preflight_skip |
PG_IDENTITY |
C/A | Skip PG identity parameter checks |
| 520 | pg_users |
PG_BUSINESS |
C | Business User Definition |
| 521 | pg_databases |
PG_BUSINESS |
C | Business Database Definition |
| 522 | pg_services_extra |
PG_BUSINESS |
C | Cluster Proprietary Services Definition |
| 523 | pg_hba_rules_extra |
PG_BUSINESS |
C | Cluster/instance specific HBA rules |
| 524 | pgbouncer_hba_rules_extra |
PG_BUSINESS |
C | Pgbounce specific HBA rules |
| 525 | pg_admin_username |
PG_BUSINESS |
G | PG Admin Users |
| 526 | pg_admin_password |
PG_BUSINESS |
G | PG Adimin User Passwords |
| 527 | pg_replication_username |
PG_BUSINESS |
G | PG Replica User |
| 528 | pg_replication_password |
PG_BUSINESS |
G | PG Replica User Passwords |
| 529 | pg_monitor_username |
PG_BUSINESS |
G | PG Monitor Users |
| 530 | pg_monitor_password |
PG_BUSINESS |
G | PG Monitor User passwords |
| 540 | pg_dbsu |
PG_INSTALL |
C | PG OS Super User |
| 541 | pg_dbsu_uid |
PG_INSTALL |
C | Super UID |
| 542 | pg_dbsu_sudo |
PG_INSTALL |
C | Sudo privileges for super users |
| 543 | pg_dbsu_home |
PG_INSTALL |
C | Super User’s Home Dir |
| 544 | pg_dbsu_ssh_exchange |
PG_INSTALL |
C | Exchanging Super User Keys |
| 545 | pg_version |
PG_INSTALL |
C | Large version of the installed database |
| 546 | pgdg_repo |
PG_INSTALL |
C | Add PG official repo |
| 547 | pg_add_repo |
PG_INSTALL |
C | Add PG-related upstream repos |
| 548 | pg_bin_dir |
PG_INSTALL |
C | PG Binary Dir |
| 549 | pg_packages |
PG_INSTALL |
C | List of installed PG packages |
| 550 | pg_extensions |
PG_INSTALL |
C | List of installed PG plug-ins |
| 560 | pg_clean |
PG_BOOTSTRAP |
C/A | Handling method when PG exists |
| 561 | pg_safeguard |
PG_BOOTSTRAP |
C/A | Prohibit clearing of existing PG instances |
| 562 | pg_data |
PG_BOOTSTRAP |
C | PG data dir |
| 563 | pg_fs_main |
PG_BOOTSTRAP |
C | PG master data disk mount point |
| 564 | pg_fs_bkup |
PG_BOOTSTRAP |
C | PG backup disk mount point |
| 565 | pg_dummy_filesize |
PG_BOOTSTRAP |
C | The size of the placeholder file /pg/dummy |
| 566 | pg_listen |
PG_BOOTSTRAP |
C | PG listening IP |
| 567 | pg_port |
PG_BOOTSTRAP |
C | PG listening port |
| 568 | pg_localhost |
PG_BOOTSTRAP |
C | UnixSocket address used by PG |
| 580 | patroni_enabled |
PG_BOOTSTRAP |
C | Enable Patroni |
| 581 | patroni_mode |
PG_BOOTSTRAP |
C | Patroni config mode |
| 582 | pg_namespace |
PG_BOOTSTRAP |
C | Patroni’s DCS namespace |
| 583 | patroni_port |
PG_BOOTSTRAP |
C | Patroni service port |
| 584 | patroni_watchdog_mode |
PG_BOOTSTRAP |
C | Patroni Watchdog mode |
| 585 | pg_conf |
PG_BOOTSTRAP |
C | Patroni’s config templates |
| 586 | pg_libs |
PG_BOOTSTRAP |
C | PG Default Shared database |
| 587 | pg_encoding |
PG_BOOTSTRAP |
C | PG character set encoding |
| 588 | pg_locale |
PG_BOOTSTRAP |
C | Localization rules for PG |
| 589 | pg_lc_collate |
PG_BOOTSTRAP |
C | Localized sorting rules for PG |
| 590 | pg_lc_ctype |
PG_BOOTSTRAP |
C | Localized character set definitions for PG |
| 591 | pgbouncer_enabled |
PG_BOOTSTRAP |
C | Enable Pgbouncer |
| 592 | pgbouncer_port |
PG_BOOTSTRAP |
C | Pgbouncer Port |
| 593 | pgbouncer_poolmode |
PG_BOOTSTRAP |
C | Pgbouncer pooling mode |
| 594 | pgbouncer_max_db_conn |
PG_BOOTSTRAP |
C | Pgbouncer Maximum DB connections |
| 600 | pg_provision |
PG_PROVISION |
C | Applying templates in PG clusters |
| 601 | pg_init |
PG_PROVISION |
C | Custom PG initialization script |
| 602 | pg_default_roles |
PG_PROVISION |
G/C | Default Roles and Users |
| 603 | pg_default_privileges |
PG_PROVISION |
G/C | Database default privileges config |
| 604 | pg_default_schemas |
PG_PROVISION |
G/C | Default Mode |
| 605 | pg_default_extensions |
PG_PROVISION |
G/C | Extensions installed by default |
| 606 | pg_reload |
PG_PROVISION |
A | Reload Database Config (HBA) |
| 607 | pg_hba_rules |
PG_PROVISION |
G/C | Global HBA rules |
| 608 | pgbouncer_hba_rules |
PG_PROVISION |
G/C | Pgbouncer Global HBA rules |
| 620 | pg_exporter_config |
PG_EXPORTER |
C | PG Metrics Definition Document |
| 621 | pg_exporter_enabled |
PG_EXPORTER |
C | Enable PG Indicator Collector |
| 622 | pg_exporter_port |
PG_EXPORTER |
C | PG Indicator Exposure Port |
| 623 | pg_exporter_params |
PG_EXPORTER |
C/I | Extra URL parameters for PG Exporter |
| 624 | pg_exporter_url |
PG_EXPORTER |
C/I | Acquisition of connection strings for object databases (override) |
| 625 | pg_exporter_auto_discovery |
PG_EXPORTER |
C/I | Auto-discovery of the database in the instance |
| 626 | pg_exporter_exclude_database |
PG_EXPORTER |
C/I | Automatic database exclusion list |
| 627 | pg_exporter_include_database |
PG_EXPORTER |
C/I | Automatic database capsule list |
| 628 | pg_exporter_options |
PG_EXPORTER |
C/I | PG Exporter CLI parameters |
| 629 | pgbouncer_exporter_enabled |
PG_EXPORTER |
C | Enable PGB Indicator Collector |
| 630 | pgbouncer_exporter_port |
PG_EXPORTER |
C | PGB Indicator Exposure Port |
| 631 | pgbouncer_exporter_url |
PG_EXPORTER |
C/I | Collection of connection strings for object connection pools |
| 632 | pgbouncer_exporter_options |
PG_EXPORTER |
C/I | PGB Exporter CLI Parameters |
| 640 | pg_services |
PG_SERVICE |
G/C | Global Common Service Definition |
| 641 | haproxy_enabled |
PG_SERVICE |
C/I | Enable Haproxy |
| 642 | haproxy_reload |
PG_SERVICE |
A | Reload Haproxy config |
| 643 | haproxy_auth_enabled |
PG_SERVICE |
G/C | Enable authentication for the Haproxy management interface |
| 644 | haproxy_admin_username |
PG_SERVICE |
G | HAproxy admin user name |
| 645 | haproxy_admin_password |
PG_SERVICE |
G | HAproxy admin user password |
| 646 | haproxy_exporter_port |
PG_SERVICE |
C | HAproxy metrics exposer port |
| 647 | haproxy_client_timeout |
PG_SERVICE |
C | HAproxy client timeout |
| 648 | haproxy_server_timeout |
PG_SERVICE |
C | HAproxy server timeout |
| 649 | vip_mode |
PG_SERVICE |
C | VIP mode:none |
| 650 | vip_reload |
PG_SERVICE |
A | Overload VIP Config |
| 651 | vip_address |
PG_SERVICE |
C | The cluster’s VIP address |
| 652 | vip_cidrmask |
PG_SERVICE |
C | Network CIDR mask length for VIP address |
| 653 | vip_interface |
PG_SERVICE |
C | VIP’s network card |
| 654 | dns_mode |
PG_SERVICE |
C | DNS config mode |
| 655 | dns_selector |
PG_SERVICE |
C | DNS Object Selector |
| 700 | redis_cluster |
REDIS_IDENTITY |
C | Redis Cluster Name |
| 701 | redis_node |
REDIS_IDENTITY |
I | Redis Node Serial Number |
| 702 | redis_instances |
REDIS_IDENTITY |
I | Redis Instance Definition |
| 721 | redis_mode |
REDIS_PROVISION |
C | Redis Cluster Mode |
| 722 | redis_conf |
REDIS_PROVISION |
C | Redis Config Template |
| 723 | redis_fs_main |
REDIS_PROVISION |
C | PG Instance Role |
| 724 | redis_bind_address |
REDIS_PROVISION |
C | Redis listening port |
| 725 | redis_clean |
REDIS_PROVISION |
C | Actions when Redis exists |
| 726 | redis_safeguard |
REDIS_PROVISION |
C | Disable wiping of existing Redis |
| 727 | redis_max_memory |
REDIS_PROVISION |
C/I | Maximum memory available to Redis |
| 728 | redis_mem_policy |
REDIS_PROVISION |
C | Memory Eviction Policy |
| 729 | redis_password |
REDIS_PROVISION |
C | Redis passwords |
| 730 | redis_rdb_save |
REDIS_PROVISION |
C | RDB save command |
| 731 | redis_aof_enabled |
REDIS_PROVISION |
C | Enable AOF |
| 732 | redis_rename_commands |
REDIS_PROVISION |
C | Rename Danger Command List |
| 740 | redis_cluster_replicas |
REDIS_PROVISION |
C | Each master with several slaves |
| 741 | redis_exporter_enabled |
REDIS_NODE |
C | Enabling Redis Monitoring |
| 742 | redis_exporter_port |
REDIS_NODE |
C | Redis Exporter Listening Port |
| 743 | redis_exporter_options |
REDIS_NODE |
C/I | Redis Exporter Command Parameters |