Add components
In ADCM, a component means a part of a service that should be deployed on one or several cluster hosts.
|
IMPORTANT
Initially, there are no components on any of cluster hosts. You should map components to hosts manually.
|
The steps for adding components to hosts are listed below:
-
Select a cluster on the Clusters page. To do this, click a cluster name in the Name column.
Select a cluster -
Open the Mapping tab on the cluster page.
Switch to mapping service components -
In the window that opens, map components to hosts. To assign hosts for each component, click Add hosts and select hosts in the pop-up window.
Select hosts for a componentExample of components distribution for the ADP Enterprise EditionHost Service Component Notes Host 1
ADPG
ADPG
Can be a leader or replica in the HA architecture
ADP ES Agents
ADP Control Agent
An agent that allows you to manage an ADP cluster with ADP ES
ADP Control ADBM Agent
A backup manager agent that ADP ES uses
Chrony
NTP Master
—
Monitoring
ADPG Exporter
Sends PostgreSQL metrics to Prometheus. It should be installed on all hosts with the ADPG service
PgBouncer Exporter
Sends PgBouncer metrics to Prometheus. It should be installed on all hosts with the ADPG service
Node Exporter
Sends system metrics to Prometheus. It should be installed on all hosts from which system metrics need to be collected
Host 2
ADPG
ADPG
Can be a leader or replica in the HA architecture
ADP ES Agents
ADP Control Agent
An agent that allows you to manage an ADP cluster with ADP ES
ADP Control ADBM Agent
A backup manager agent that ADP ES uses
Chrony
NTP Secondary
—
Monitoring
ADPG Exporter
Sends PostgreSQL metrics to Prometheus. It should be installed on all hosts with the ADPG service
PgBouncer Exporter
Sends PgBouncer metrics to Prometheus. It should be installed on all hosts with the ADPG service
Node Exporter
Sends system metrics to Prometheus. It should be installed on all hosts from which system metrics need to be collected
Host 3
ADPG
ADPG
Can be a leader or replica in the HA architecture
ADP ES Agents
ADP Control Agent
An agent that allows you to manage an ADP cluster with ADP ES
ADP Control ADBM Agent
A backup manager agent that ADP ES uses
Chrony
NTP Secondary
—
Monitoring
ADPG Exporter
Sends PostgreSQL metrics to Prometheus. It should be installed on all hosts with the ADPG service
PgBouncer Exporter
Sends PgBouncer metrics to Prometheus. It should be installed on all hosts with the ADPG service
Node Exporter
Sends system metrics to Prometheus. It should be installed on all hosts from which system metrics need to be collected
Host 4
Etcd
Etcd
You must use an odd number of nodes for the Etcd component. Three or more nodes are recommended
Chrony
NTP Slave
—
Monitoring
Node Exporter
Sends system metrics to Prometheus. It should be installed on all hosts from which system metrics need to be collected
Host 5
Etcd
Etcd
You must use an odd number of nodes for the Etcd component. Three or more nodes are recommended
Chrony
NTP Slave
—
Monitoring
Node Exporter
Sends system metrics to Prometheus. It should be installed on all hosts from which system metrics need to be collected
Host 6
Etcd
Etcd
You must use an odd number of nodes for the Etcd component. Three or more nodes are recommended
Chrony
NTP Slave
—
Monitoring
Node Exporter
Sends system metrics to Prometheus. It should be installed on all hosts from which system metrics need to be collected
Host 7
Balancer
HAProxy
—
Monitoring
Node Exporter
Sends system metrics to Prometheus. It should be installed on all hosts from which system metrics need to be collected
Host 8
Monitoring
Prometheus
The Prometheus server that collects and stores metrics
Grafana
The Grafana web interface for creating dashboards to visualize metrics. It is recommended to install Grafana to the host with a Prometheus server
-
After component distribution is completed, click Save.
Save mapping of components
Starting with ADCM 2.2.0, you can use another mapping mode — by hosts. To do this, switch on the Hosts mode toggle and map components to hosts by clicking Add components for each host sequentially.