Schema-Registry actions
This article describes the main actions available for working with the service in ADCM.
To go to actions in the service, click the cluster name on the Clusters page, open the Services tab, click in the line corresponding to Schema-Registry service and choose the desired action.
When you select an action, ADCM displays a dialog box to confirm your selection. In this dialog box, you can select the Verbose check box to view additional information about the execution of the action on the Jobs page.
To view the results of an action, go to Jobs and click the name of the corresponding action or on its component.
Next, the page with the results of the action becomes available for viewing, where you can analyze errors if they occur.
Check
The Check action checks the health of the service.
In Schema-Registry, Check action starts the creation of a test topic, writes messages to it, and checks the availability of messages on each of the hosts with Kafka Broker.
Expand
The Expand action expands the number of service instances in the established cluster. To expand the number of service instances, do the following:
-
Set options for installing new instances of the service.
-
Confirm your choice by clicking Next.
Configuration to run cluster extensionOptions for installing new service instancesOption Description Disable SELinux
Disable SELinux on added hosts. In order for this setting to take effect, after the operation is completed, you must restart the hosts manually
Disable Firewalld
Shutting down firewalld on hosts
Install OpenJDK
Installing java-1.8.0-openjdk package on hosts
Set vm.swappiness to 0
Disabling swapping on hosts
Configure /etc/hosts
Write added nodes to /etc/hosts on cluster hosts. It is recommended to disable this option if DNS is configured
Set service checks
Enables service checking when starting an action
-
Add the required number of hosts for each available component.
-
Confirm the action by clicking Run.
NOTEWhen placing components on new hosts, it is necessary to place the System metrics Agent component of the Monitoring Clients service on the each new host.
Installing service components for cluster expansion
Shrink
The Shrink action reduces the number of service instances in the installed cluster. To reduce the number of service instances, do the following:
-
In the configuration for deleting service instances, set the Set service checks parameter. If the value
true
is selected, service check is enabled when the action is launched (similar to the Check action). Otherwise, the service is not checked. -
Click Next.
Configuration for deleting service instances -
Select which hosts hosting components need to be removed.
-
Confirm the action by clicking Run.
Restart
The Restart action stops and then starts the service. To restart the service:
Start
The Start action starts the service. To start the service:
-
Select the required value for the Apply configs from ADCM option.
-
Confirm the action by clicking Run.