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:

  1. Select a cluster on the Clusters page. To do this, click a cluster name in the Name column.

    Select a cluster
    Select a cluster
  2. Open the Mapping tab on the cluster page.

    Switch to mapping service components
    Switch to mapping service components
  3. 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 component
    Select hosts for a component
    Mandatory components

     
    Each service can have mandatory and optional components. Mandatory components are highlighted in red. The ADCM UI also displays how many mandatory components should be installed.

    Mandatory components
    Mandatory components

    Currently, ADP and NTP Master components are mandatory and should be placed on one host.

    CAUTION
    Without assigning a necessary number of hosts to mandatory components, the component mapping cannot be saved.
    Example of components distribution for the ADP Enterprise Edition
    Host 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

  4. After component distribution is completed, click Save.

    Save mapping of components
    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.

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