ADPG service actions
This article describes the actions available for the ADPG service.
Check
The Check action verifies whether the settings of hosts, components, and related services match the requirements of the service, and whether the service itself works correctly.
You can find the action result and the process of its execution on the Jobs page.
Expand
The Expand action adds new hosts to a service.
|
IMPORTANT
If you use the Monitoring service, call the Reconfigure and restart action of the Monitoring service after the Expand action is finished to ensure that metrics are collected from added hosts. If you are using ADP ES for the ADP cluster, it is necessary to run the actions for services in the following order:
|
When you choose Expand, ADCM displays a dialog window to specify settings for the action.
In the Run an action dialog window, you can choose whether ADCM reboots cluster servers after installation. Click Next to open the Host — Component tab where you can add cluster hosts to the component.
Components of the service for which the action is executed are highlighted in green. Click Add hosts and select a host for the component from the list that appears. The list displays hosts added to the cluster. To add a new host to the cluster, go to the Hosts page.
After the host is added, click Next.
Reconfigure & Restart
The Reconfigure & Restart action updates service configuration files with the configuration settings specified on the service Primary configuration tab. If a changed parameter requires a restart, the action restarts the service. If not, the Reconfigure & Restart action only reloads configuration.
If you make changes directly to the postgresql.conf or pg_hba.conf file, these changes will be lost.
In the action’s confirmation window, you can enable the Service user password reset option. This option allows you to regenerate passwords for the adpg_replicator and adpg_rewind system Patroni users. It can be useful if you need to update passwords for security reasons, for example, in case of password leaks.
You can also activate the Show advanced toggle button to display the Force reconfigure and restart checkbox that disables validation of the configuration settings before restarting ADPG.
The Force reconfigure and restart option should be used when:
-
The ADPG service is stopped and cannot be started due to misconfiguration. In this case, configuration settings will be replaced with the default values.
-
You have changed parameters of the Patroni ADPG configurations section that require the restart of the Patroni service, for example,
patroni_log_dir.
Reinstall
The Reinstall action reinstalls the service. It checks installed files and overwrites files with incorrect content. The Reinstall action also installs missing files.
In the Run an action dialog window, you can choose whether ADCM reboots cluster servers after installation.