Help Center/ MapReduce Service/ User Guide/ Managing Clusters/ Managing an MRS Cluster/ Synchronizing the MRS Cluster Configuration
Updated on 2024-09-23 GMT+08:00

Synchronizing the MRS Cluster Configuration

If a new configuration needs to be delivered to all services in the cluster, or Configuration Status of multiple services changes to Expired or Failed after a configuration is modified, the configuration parameters of these services are not synchronized and do not take effect. In this case, synchronize the configurations and restart related service instances for the cluster so that the new parameters take effect for all services.

Prerequisites

  • The IAM users have been synchronized in advance. You can do this by clicking Synchronize next to IAM User Sync on the Dashboard page of the cluster details.
  • You have logged in to MRS Manager. For how to log in, see Accessing MRS Manager.

Impact on the System

  • After the cluster configurations are synchronized, you need to restart the services whose configurations have expired. During the restart, the corresponding services are unavailable.
  • The instances whose configuration has expired are unavailable during restart.

Synchronizing Cluster Configurations on the Console

  1. Log in to the MRS console.
  2. On the Active Clusters page, select a running cluster and click its name to switch to the cluster details page.
  3. choose Configure > Synchronize Configuration in the upper right corner.

    This operation applies to MRS 2.x and earlier versions.

    Figure 1 Synchronizing configurations (using MRS 1.9.2 as an example)

  4. In the displayed dialog box, select "Restart services and instances whose configuration have expired" and click OK to restart the service whose configurations have expired.

    When Operation successful is displayed, click Finish. The cluster is started.

Synchronizing Cluster Configurations Using Manager

  1. Log in to MRS Manager.
  2. Choose Cluster > Dashboard.
  3. On this page, choose More > Synchronize Configuration.
  4. In the dialog box that is displayed, click OK.
  5. On the cluster dashboard page, choose More > Restart Configuration-Expired Instances.
  6. In the dialog box that is displayed, enter the password of the current login user and click OK.
  7. In the displayed dialog box, click OK.

    You can click View Instance to open the list of all expired instances and confirm that the instances have been restarted.