Prepare hosts

To manage a cluster and its nodes via ADCM, it is necessary to prepare hosts for a cluster and link these hosts to ADCM. This is the function of ADCM hostproviders — special plugins for ADCM, which encapsulate the complex mechanism of interaction between ADCM and the hosts controlled by it.

ADCM supports several types of hostproviders. For more information on how to configure hostproviders and use them to create hosts, refer to the following documentation:

CAUTION
When creating ADH hosts via ADCM, you should specify their FQDNs. The maximum FQDN length is 38 symbols.

User permissions for ADH installation

If you specify a custom UNIX user in the hostprovider settings, which will be used to run ADH installation commands, make sure that the specified user can run commands as a superuser.

To grant the user the necessary rights to install ADH, do the following:

  1. Grant the root privileges for the user:

  • CentOS 7/RHEL 7/RED OS 7.3/Alt Linux SP 8

  • Ubuntu 22.04/Astra Linux SE 1.7 Orel

$ sudo usermod -aG wheel <user>

where <user> is a username.

$ sudo usermod -aG sudo <user>

where <user> is a username.

  1. Make sure that the /etc/sudoers file contains the record specified below depending on the operating system with the following command:

    $ sudo vi /etc/sudoers

    To return to the command line, press Esc, type :q!, and press Enter.

  • CentOS 7/RHEL 7/RED OS 7.3

  • Ubuntu 22.04/Astra Linux SE 1.7 Orel

  • Alt Linux SP 8

## Allows people in group wheel to run all commands
%wheel  ALL=(ALL)       ALL
# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL
## Uncomment to allow members of group wheel to execute any command
WHEEL_USERS ALL=(ALL:ALL) ALL
Found a mistake? Seleсt text and press Ctrl+Enter to report it