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 — the distribution of components between hosts should be performed manually.
|
The steps of adding components to hosts are listed below:
-
From the CLUSTERS tab switch to the cluster configuring. To do this, click the row that contains the added cluster or click the icon in the Config column. Both methods open the cluster menu.
Switching to cluster configuring -
Open the Hosts - Components tab in the cluster menu.
NOTEThe orange exclamation mark near the Hosts - Components menu item is displayed when the components distribution is needed.Switching to services components distributionYou must use an odd number of nodes for the Etcd component. Three or more nodes are recommended. You can click
to add additional hosts for Etcd and other components.
-
In the opened window, distribute all necessary components between cluster hosts. To distribute components, use one of the ways:
-
Select a component in the Components column (by clicking at it) and then define all hosts for it in the Hosts column (by alternate clicking at each host).
Choosing hosts for a component -
Select a host in the Hosts column (by clicking at it) and define all components for it in the Components column (by alternate clicking at each component).
Choosing components for a host
An 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 components distribution is completed, click Save.
Saving components distribution -
As a result, the orange exclamation mark near the menu item Hosts - Components stops being displayed.
The result of successful components distribution