Add components
In ADCM, a component means a part of a service that should be deployed on one or several cluster hosts. For example, the ADB service consists of the ADB Master, ADB Segment, and ADB Standby components.
|
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 componentThe typical scheme of mapping components in ADB clusters is described in the table below. It is based on the Enterprise Edition of ADB.
Example of mapping ADB components to hosts Host Service Component Notes Master host
ADB
ADB Master
Should be installed only on one master host
Chrony
NTP Master
Should be installed only on one master host
Secondary Master Host (Standby)
ADB
ADB Standby
Should be installed on the standby master host
Chrony
NTP Secondary
Can be installed optionally on the standby master host
Segment host (1..N)
ADB
ADB Segment
Should be installed on one or more segment hosts
Chrony
NTP Slave
Can be installed optionally on one or more segment hosts
PXF
PXF
Should be installed on one or more segment hosts and, optionally, on the master host
Monitoring host
Monitoring
Prometheus Server
If monitoring is used, the Prometheus Server and Grafana components are recommended to be installed on a host separate from ADB.
Monitoring
Grafana
PgBouncer host
PgBouncer
PgBouncer
If PgBouncer is used, it can be installed on a host separate from ADB, on the master host, or on the standby master host; it cannot be installed on a segment host
IMPORTANTDepending on where you install PgBouncer, the
pg_hbarules required to enable connections to ADB via PgBouncer can differ. For more details, refer to the Allow PgBouncer connections section in the PgBouncer configuration parameters. -
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.