Add components

In ADCM a component means a part of a service that should be deployed on one or several cluster hosts. For example, NiFi service can consist of such components as NiFi Server, NiFi Registry.

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:

  1. 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.

    adcm cluster config
    Switching to cluster configuring
  2. Open the Hosts - Components tab in the cluster menu.

    NOTE
    The orange exclamation mark near the Hosts - Components menu item is displayed when the components distribution is needed.
    adcm components 01
    Switching to services components distribution
  3. 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).

      adcm components 02
      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).

      adcm components 03
      Choosing components for a host
    Mandatory and optional components

     
    Each service can have mandatory and optional components:

    • If the component is optional, it has a simple quantitative counter located to the right of its name — without the / symbol. This counter displays the number of hosts that is assigned to the current component.

      adcm components 04
      Optional components
    • If the component is mandatory, its quantitative counter contains the / symbol. The first digit in the counter (displayed before /) shows the current number of assigned hosts, and the second digit (displayed after /) — the minimal required number of hosts.

      adcm components 05
      Mandatory components
      CAUTION
      Without assigning necessary count of hosts to mandatory components, the service distribution map cannot be saved.

    The examples of distribution components in ADS clusters consisting of 3 and 5 hosts are described in the table below.

    Examples of components distribution
    • 3 hosts

    • 5 hosts

    Host Service Component

    Host 1

    Zookeeper

    Zookeeper server

    Kafka

    Kafka Broker

    Kafka-Manager

    Kafka-Manager

    Kafka REST Proxy

    Kafka REST Proxy

    Schema-Registry

    Schema-Registry

    Host 2

    Zookeeper

    Zookeeper Server

    KSQL

    KSQL Server

    KSQL Client

    Kafka

    Kafka Broker

    NiFi

    NiFi Server

    Host 3

    Zookeeper

    Zookeeper Server

    Kafka

    Kafka Broker

    Kafka Connect

    Kafka Connect Worker

    NiFi

    NiFi Server

    NiFi Registry

    MiNiFi

    MiNiFi C2 Server

    MiNiFi Agent

    Host Service Component

    Host 1

    Zookeeper

    Zookeeper Server

    Kafka

    Kafka Broker

    Kafka-Manager

    Kafka-Manager

    Schema-Registry

    Schema-Registry

    Host 2

    Zookeeper

    Zookeeper Server

    Kafka

    Kafka Broker

    Host 3

    Zookeeper

    Zookeeper Server

    KSQL

    KSQL Server

    KSQL Client

    Kafka REST Proxy

    Kafka REST Proxy

    Host 4

    Kafka

    Kafka Broker

    NiFi

    NiFi Server

    NiFi Registry

    Host 5

    NiFi

    NiFi Server

    MiNiFi

    MiNiFi C2 Server

    MiNiFi Agent

    Kafka Connect

    Kafka Connect Worker

  4. After components distribution is completed, click Save.

    adcm components 07
    Saving components distribution
  5. As a result, the orange exclamation mark near the menu item Hosts - Components stops being displayed.

    adcm components 06
    The result of successful components distribution
Found a mistake? Seleсt text and press Ctrl+Enter to report it