Install a cluster

Step 1. Precheck

Before installing a new cluster it is recommended to run the Precheck action. By doing this, you make sure that all necessary repositories are available, the cluster does not contain hosts with the same IP addresses, and all other prerequisites are met. Do the following:

  1. Apply the Precheck action to the cluster selected on the Clusters page by clicking the actions default dark actions default light icon in the Actions column.

    Run the cluster precheck
    Run the cluster precheck
  2. Verify the requested action in the opened window.

    Verify the action
    Verify the action
  3. Open the Jobs page to see the result of the Precheck action. If the action completes successfully, the corresponding task changes its status from running to success. If the job fails, it switches to the failed status. Click the job on the Jobs page to see more detailed information about the errors that occurred.

    View jobs
    View jobs

Step 2. Run installation

There are two ways to install cluster services:

  1. Whole cluster. In this method all services are installed automatically one by one after applying the Install action to a cluster.

  2. Single services. In this method each service is installed manually after applying one or more actions to it. This way is also suitable for installing new services in the already deployed cluster.

In both cases each service starts automatically after installation.

In case of errors, you can find logs on the Jobs page.

IMPORTANT

Make sure that the Enable backups toggle button in the configuration settings of the ADP cluster is disabled before installation of the Backup Manager Agent component that belongs to the ADP ES Agents service. This component is a backup manager, and it is impossible to use both backup methods simultaneously.

Whole cluster

To install all cluster services within a single action, follow the steps:

  1. Apply the Install action to the cluster selected on the Clusters page by clicking the actions default dark actions default light icon in the Actions column.

    Switch to the whole cluster installation
    Switch to the whole cluster installation
  2. Verify the requested action in the opened window.

    Verify the action
    Verify the action
  3. Wait until the job is completed.

Single services

To install one or several cluster services manually, add these services to the cluster and then perform the actions described below.

CAUTION
Notice that services are installed one by one. Do not install another service until the installation of the previous one is completed.
  1. Open the Services tab on the cluster page. For each service that should be installed, click the actions default dark actions default light icon in the Actions column and select the Install action.

    "Switch to installation of single services
    Switch to installation of single services
  2. Confirm the action in the opened window. To do this, click Next to switch to the Confirmation tab and click Run.

    Confirm the action for a service
    Confirm the action for a service
  3. Wait until the job is completed. Then check that the service state has changed from created to installed.

  4. Repeat the previous actions for other services that should be installed.

IMPORTANT

When you install ADP ES services manually, one by one, use the following order:

  1. Chrony

  2. Database

  3. AD Eureka

  4. ADP Control

  5. ADBM

Step 3. View the results of installation

ADCM starts a single job for installation process, as well as for any other task. You can find out about the status of jobs more specifically on the Jobs page.

The Jobs page
The Jobs page

The successful completion of the service installation is determined by the transition of the job from the running status to the success status on the Jobs page. If the job fails, it switches to the failed status. In this case it is possible to see more detailed information about the errors that occurred by clicking the failed job on the Jobs page.

Switch to a job page
Switch to a job page
Install cluster job page
Install cluster job page

A job page contains two sections: ansible [ stdout] and ansible [ stderr ]. These are technical logs of the job that include information from standard I/O streams stdout/stderr. These logs can help to understand what caused the problems.

There can also be the optional third section ansible [ check ]. These are the logs of the most frequent errors checks. The description of these errors is more simple and specific, than in two previous technical logs.

The contents of all three sections should be studied if errors occur.

Job details
Job details

Step 4. Check the cluster state after installation

As a result of successful installation, the cluster and its services change their state according to the following rules:

  • The cluster state, displayed in the State field on the Clusters page, is being changed from created to installed.

    The cluster state after successful installation
    The cluster state after successful installation
  • The state of cluster services, displayed on the Services tab of the cluster page, is being changed from created to installed.

    The state of cluster services after successful installation
    The state of cluster services after successful installation

Step 5. Check the ADP Control web interface

After the installation of ADP Control has been completed, its user interface becomes available at http://<adpc_host>:8090 (where <adpc_host> is the IP address of the host with the ADP Control component installed and 8090 is the default value of the Listening WEB UI port parameter in the Backend parameters section of the ADP Control service configuration). The adpgc user with the password specified in the UI component parameters — Admin’s password parameter during installation is automatically created. Use these credentials to log in to ADP Control.

ADP Control login window
ADP Control login window

After you log in to the ADP Control UI, the Topology page will be opened.

ADP Control user interface
ADP Control user interface
Found a mistake? Seleсt text and press Ctrl+Enter to report it