Software requirements
Overview
The software requirements for Arenadata DB installation are listed below:
-
ADB supports the following operating systems:
-
Ubuntu 22.04. See Requirements for Astra Linux and Ubuntu below.
-
AltLinux 10.2 SP (for the Enterprise edition of ADB).
-
RED OS 7.3 Certified edition (for the Enterprise edition of ADB).
-
Astra Linux 1.7.6 "Orel" SE and Astra Linux 1.7.6 "Voronezh" (for the Enterprise edition of ADB). See Requirements for Astra Linux and Ubuntu below.
-
-
If you use ClickHouse or PostgreSQL as external storage systems for ADB Control/ADBM (see Metrics DB and Query DB in Arenadata DB Control overview), the required versions of these databases are:
-
ClickHouse 22.8 — 25.9
-
PostgreSQL 12.20
-
-
ADB uses Docker as a containerization platform for some services (for example, ADB Control and ADBM) and Enterprise Tools. ADB supports Linux vendor-specific Docker engines. You can also use pre-installed Docker by setting the Use existing docker flag when configuring the ADB cluster.
IMPORTANTStarting with ADB 6.27.1.56, ADB Control rewrites Docker settings in the /etc/docker/daemon.json file for security purposes. Thus, if you need to modify this file, set the Use existing docker option when configuring ADB. This option will also allow you to use Docker in the rootless mode.
-
ADB needs Java 17 for some services (e.g. PXF, ADB Control, and ADBM). In all operating systems except Astra Linux, no additional Java installation is needed since Java comes with the main operating system repository. In Astra Linux, before ADB installation, you should install Java manually and fill in the Java path in the JAVA_HOME field when configuring the ADB cluster. This step is also necessary in other operating systems if you use Java 17 with a path different from the default one.
The default Java paths for supported operating systems are listed below.
|
IMPORTANT
|
-
The minimal ADCM version is 2.6.0.
-
If you use ADBM, its minimal version for ADB 7 is 2.8.0.
-
If you use ADB Control, its minimal version for ADB 7 is 4.15.0.
-
ADB requires the
en_US.UTF-8operating system locale on all cluster hosts. Yet you do not need to select this locale as default. This locale is present by default in all supported operating systems except Astra Linux. In the case of Astra Linux, the locale is automatically added during ADB installation. To view available locales, run the following command:$ localectl list-locales -
It is recommended to switch off any antivirus software before ADB installation and during the ADB operation process. In case of using antivirus, please contact your antivirus software vendor to find out the settings necessary to allow ADB.
-
Only Latin characters and digits are allowed for ADB database objects. These characters are treated as reserved:
",&,',(space),(,),;,<,>,\,`,|. If such characters are present, Arenadata DB Backup Manager will not be able to back up/restore a database. -
During ADB installation, a bundle assigns the necessary permissions to the specific files and directories it creates, regardless of the
umaskvalue on cluster hosts. -
During ADB installation, the following changes are made at the operating system level. Do not change any of the objects listed below.
-
The following system files are modified:
-
/etc/hosts (optionally)
-
/etc/hostname (optionally)
-
/etc/chrony.conf (if you install Chrony)
-
/etc/ssh/sshd_config (always)
-
/etc/security/limits.conf (always)
-
-
A service file for configuring cgroup v2 for ADB is created at /etc/systemd/system/cgroup_v2_gpdb.service;
-
New files are created in the /sys/fs/cgroup directory.
-
-
The installation process creates a new file in the /var/spool/cron/ folder for the ADB system user (by default,
gpadmin). All technical accounts should be able to change that file as well (viacrontab -e -u gpadmin). ADB adds cron jobs to run the cluster maintenance scripts — their schedule and arguments should be modified using the corresponding section in the ADB configuration parameters. -
For online installation of ADB, all cluster hosts should have access to Arenadata repositories specified on the Configuration tab in the ADB cluster menu available via ADCM UI (see Arenadata repo url and Monitoring repo url fields). For offline installation, provide access to the host where the Enterprise Tools cluster is installed.
-
For both online and offline installation, all cluster hosts should have access to the repositories that are listed below (or local mirrors should be created):
-
AltLinux: ftp.altlinux.org
-
Astra Linux: download.astralinux.ru
-
RED OS: repo.red-soft.ru and repo1.red-soft.ru
-
Ubuntu: archive.ubuntu.com/ubuntu
-
Requirements for Astra Linux and Ubuntu
-
ADB, like other analytical DBMS, is optimized to work with generic kernels. Using the lowlatency kernels may not provide optimal performance for tasks that are typical for analytical data processing. Due to this, for proper operation of ADB, it is recommended to use generic cores only.
-
You should also consider version compatibility.
|
NOTE
ADB 6 was built upon cgroup v1.
Starting with version 7, ADB uses cgroup v2 that is the default in all supported operating systems.
|
Operating system prerequisites
Below is the list of prerequisites for your operating system environment to ensure proper ADB operation. You can either prepare the environment manually on all ADB hosts, or select the corresponding configuration parameters in the ADB service to automatically apply the recommended settings during ADB installation.
Before installing ADB, run the Precheck cluster action, which includes verification of the host operating system parameters.
| Requirement | Name of ADB configuration parameter |
|---|---|
The /etc/hosts file contains hostnames of all cluster hosts: coordinator host, standby coordinator host, and segment hosts. For example: 192.168.1.10 mdw.example.com 192.168.1.20 smdw.example.com 192.168.1.30 sdw1.example.com 192.168.1.40 sdw2.example.com Alternatively, DNS can be used for hostname resolution |
Edit /etc/hosts |
Security Enhanced Linux (SELinux) is disabled |
Disable linux security module (requires host reboot) |
IPv6 is disabled |
Disable IPv6 |
The value of the |
Set up MaxStartups for sshd |
Transparent Huge Pages in the Linux kernel are disabled |
Set up GRUB for DBMS (requires host reboot) |
The following limits are set for the default database user in the /etc/security/limits.conf file:
|
Set up ulimits for DBMS user |
The firewall is disabled on ADB hosts |
Disable firewall |
The recommended kernel parameters are as follows (use the
|
Sysctl parameters |
|
IMPORTANT
If you change the Disable linux security module and Set up GRUB for DBMS parameters, set the Reboot cluster servers after installation flag to If the Reboot cluster servers after installation flag was not set, it is recommended to stop the cluster and reboot the hosts manually to apply the specified settings. |