This article describes the actions available for the ADPG cluster in the ADCM UI. You can find cluster actions on the CLUSTERS tab.
The CLUSTERS tab displays a table with the following columns:
Name is a name specified during the cluster creation.
Bundle is a name of a bundle used to install the cluster.
Description is a description specified during the cluster creation.
State is the current cluster state (for example,
Status. This column contains the Status icon . The icon varies according to the current cluster status. If a cluster does not work correctly, the Status warning icon is displayed. When you click the icon, a browser opens the cluster Status page with statuses of all cluster service and their components.
Actions. This column displays the Actions icon . When you click this icon, a drop-down list with available actions is displayed.
Import. This column shows the Import icon . When you click the icon, a browser opens the Import page.
Upgrade. This column contains the Upgrade icon that allows you to upgrade the cluster version.
Config. This column displays the Configuration icon . When you click the icon, a browser opens the Configuration page that is described in the following article: Configure a cluster.
The last column without a caption displays the Delete icon .
You can use icons from the columns described above to perform cluster actions. When an action starts, ADCM displays its execution process and result on the JOBS tab. On this tab, you can expand nodes corresponding to complex actions to see inner steps.
Click Actions to display a drop-down list with the available actions and select an action to run it.
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 on the JOBS tab.
The Precheck action verifies if hosts have correct settings and all components and services are configured according to the ADPG cluster requirements. Precheck is available before the cluster installation.
The Check action includes Precheck and also checks if the installed cluster components operate correctly. Check is available after the cluster installation.
The actions store the result in the
global_adcm_precheck_fail ADCM variable to implement a postponed failure. The result is a boolean value. It is
true if the last Check or Precheck action is successful. The
false value indicates that an error occurred during checking. In this case, an icon with an exclamation mark is displayed against the Check global_adcm_precheck_fail operation. To see it, expand the row corresponding to the Check or Precheck action on the JOBS tab.
Review inner steps of the Check or Precheck action that are marked as successful to determine the cause of the problem. Click a step to open it and expand a row marked as Fails if such a row exists.
global_adcm_precheck_fail variable is also
false, if the Check or Precheck action is not executed.
The Reconfigure monitoring action reads monitoring configuration defined in ADCM UI, updates configuration files of pgwatch2 and monitoring agents according to specified settings, and restarts them.
The Reinstall action reinstalls the ADPG cluster. In its Run an action dialog window, you can choose whether ADCM reboots cluster servers after installation.
The Reinstall statuschecker action reconfigures and restarts the status checker for all cluster services.
The Remove action is available for the monitoring cluster. This action removes the Diamond, Graphite, and Grafana services.
When you click Import , a browser opens the Import page. On this page, you can select components of other clusters (for example, monitoring components) that should be integrated to the ADPG cluster.
To upgrade an ADPG cluster version, you need to upload a new bundle first. To do this, go to the BUNDLES tab, click Upload bundles and select a new bundle file in your environment.
If you see an exclamation mark in the Edition column, you need to sign the license agreement to use the uploaded bundle. Click the mark, read the agreement, and click Yes to accept it.
When a new bundle is loaded, open the CLUSTERS tab. The Upgrade icon becomes active , and you can click it to start the upgrade. A drop-down list with available upgrades is displayed.
When you select an upgrade version, ADCM shows a confirmation dialog window.
After you click Yes, ADCM changes the cluster state to
ready to upgrade and fills the drop-down list in the Actions column with two items: Precheck and Upgrade_minor.
Run Precheck action to make sure that hosts have correct settings and all components and services are configured according to the ADPG cluster requirements.
If Precheck is successful (you can find the result on the JOBS tab), execute the Upgrade_minor action. After upgrade, ADCM changes the cluster state to