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 componentAn example of components distribution for the ADPG Enterprise Edition is shown in the table below.
ADPG components distribution Host Service Component Notes Host 1
ADPG
ADPG
Can be a leader or replica in the HA architecture
Chrony
NTP Master
—
Host 2
ADPG
ADPG
Can be a leader or replica in the HA architecture
Chrony
NTP Secondary
—
Host 3
ADPG
ADPG
Can be a leader or replica in the HA architecture
Chrony
NTP Secondary
—
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
—
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
—
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
—
Host 7
Balancer
HAProxy
—
-
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.