Prepare hosts

The Prepare hosts action installs all packages declared in the cluster bundle on hosts, thus preparing new hosts before adding service components. By installing the necessary dependencies first, it helps to avoid an extensive lock period for the cluster when adding new services. During this action, no components are assigned or started on new hosts.

When adding new hosts to a cluster, it is recommended to run the Prepare hosts action before installing any service components. If components are installed without preparing the hosts, the same operations will be performed during component installation but the cluster will be locked longer.

You can activate the Prepare hosts action via cluster action on the Clusters page or as a host group action. To run an action, go to Clusters page, click actions default dark actions default light in the Actions column, and select the action from the drop-down list that appears.

Starting with ADCM 2.8.0, hosts can also be prepared via the Actions menu on the Hosts page.

Execute the Prepare hosts action via Clusters page
Execute the "Prepare hosts" action via Clusters page

To prepare a group of hosts:

  1. On the Clusters page, select the desired cluster.

  2. Go to the Configuration tab and select Action host groups.

  3. For the selected group of hosts, click the Actions drop-down menu and select Prepare hosts.

Execute the Prepare hosts action via host groups
Execute the "Prepare hosts" action via host groups

When you choose an action, ADCM displays a dialog window to confirm the choice. In this dialog window, you can select the Verbose checkbox to see additional execution details.

The Run an action window
The "Run an action" window

You can find execution process and result of the action on the Jobs page. On this page you can view action execution details, including verbose Ansible STDOUT/STDERR outputs.

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