Install a cluster
Step 1. Run installation
The last step of adding a new Enterprise Tools cluster is to install its services. To do this:
-
Apply the Offline Install action to the cluster selected on the Clusters page by clicking the
icon in the Actions column.
Switch to cluster installation -
In the opened window, enter a full path to the shell script that is received from the Arenadata support team and click Run.
Verify installation -
Wait until the installation process is completed.
NOTEIn case of errors, you can find logs on the Jobs page.
Cluster installation is completed
Step 2. Upload packages for offline installation
In addition to installing the ET services, it is required to upload all installation files and images to an initialized HTTP repository and Docker Registry on the host where the ET cluster is deployed. It is necessary for future offline deployment of Arenadata products.
In case of insufficient disk space errors, perform the following steps on the host:
-
Determine the Docker data storage directory:
$ sudo docker info | grep 'Docker Root Dir'The result should look like this:
Docker Root Dir: /var/lib/docker
-
Check available disk space:
$ sudo df -h /var/lib/docker $ sudo df -h /opt/arenadata/etools $ sudo df -h /tmpNOTEIf the command output for the specified directories shows the same mount point (theMounted oncolumn), it means that the directories are located in the same filesystem and use a common disk space. In this case, refer to the value in theAvailcolumn for that filesystem rather than for each directory separately. -
Check actual disk space usage:
$ sudo du -sh /var/lib/docker $ sudo du -sh /opt/arenadata/etools $ sudo docker image ls -
If necessary, remove unused Docker objects:
IMPORTANT-
The command removes unused Docker images, containers, networks, and temporary data used by various services and applications on the server, not only ET components.
-
Before running the command, ensure that the resources being removed are not used by other services or applications.
$ sudo docker system prune -a -
To upload the packages, perform the following steps:
-
Apply the Upload Pack action to the cluster selected on the Clusters page by clicking the
icon in the Actions column.
Switch to uploading packages -
In the opened window, enter a full path to the shell script received from the Arenadata support team and click Run.
Verify upload -
Wait until the upload process is completed.
NOTEIn case of errors, you can find logs on the Jobs page.
Step 3. Verify results
The steps for checking the installation results are listed below:
-
Check that ports
443and81are listened at the host where cluster is installed. The first port is used by the Docker Registry service, the second one — by the HTTP Mirror service.$ sudo netstat -ntlp|grep L|grep -E "81|443"The result should look like this:
tcp6 0 0 :::443 :::* LISTEN 1694/docker-proxy-c tcp6 0 0 :::81 :::* LISTEN 1708/docker-proxy-c
-
Check that the /opt/arenadata/etools/httprepo/packages/arenadata-repo folder exists at the host where the cluster is installed. This folder should contain the data necessary for offline installation of the products that you have chosen before getting a shell script from the Arenadata support team.
$ ls -la /opt/arenadata/etools/httprepo/packages/arenadata-repoThe following example displays the data that can be placed in this folder for ADH installation.
total 0 drwxr-xr-x 5 root root 45 Sep 16 13:35 . drwxr-xr-x 3 root root 28 Sep 16 13:35 .. drwxr-xr-x 4 root root 38 Sep 16 13:35 ADH drwxr-xr-x 4 root root 28 Sep 16 13:35 ADM drwxr-xr-x 3 root root 20 Sep 16 13:35 zookeeper