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 in a few different ways:
-
via cluster action on the Clusters page;
-
via the Actions menu in the cluster’s Hosts section (starting with ADCM 2.8.0);
-
via a host group action.
To run an action, go to Clusters page, click
in the Actions column, and select the action from the drop-down list that appears.
To prepare a group of hosts:
-
On the Clusters page, select the desired cluster.
-
Go to the Configuration tab and select Action host groups.
-
For the selected group of hosts, click the Actions drop-down menu and select Prepare hosts.
To prepare a single host:
-
On the Clusters page, select the desired cluster.
-
Go to the Hosts tab, click the Actions drop-down menu, and select Prepare host.
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.
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.