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

Synchronizing MRS Component Configuration Parameters

If you find that the status of some components or instances expires or fails, you can synchronize the configuration to restore the configuration state. If all services in the cluster are in the Failed state, synchronize the cluster configuration with the background configuration.
  • If all services in the cluster are in the Configuration failed state, synchronize the cluster configuration with the background configuration.
  • If all services in the cluster are in the Configuration failed state, synchronize the service configuration with the background configuration.

Impact on the System

  • After synchronizing cluster or service configurations, restart the services whose configurations have expired. These services are unavailable during the restart.
  • After synchronizing the role instance configuration, restart the role instance whose configuration has expired. The role instance is unavailable during the restart.

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.

Synchronizing Configurations on the Console

Synchronizing cluster configurations

  1. Log in to the MRS console and click the name of the target cluster.
  2. On the cluster details page, choose Configuration > Synchronize Configuration in the upper right corner.

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

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

  3. 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 component configurations

  1. Log in to the MRS console and click the name of the target cluster.
  2. On the MRS cluster details page, click Components.
  3. Select the target service from the service list.
  4. On the Service Status page, choose More > Synchronize Configuration and operate as prompted.

Synchronizing role instance configurations

  1. Log in to the MRS console and click the name of the target cluster.
  2. On the MRS cluster details page, click Components.
  3. Select the target service from the service list.
  4. On the service details page, click Instances.
  5. Click the target role instance from the role instance list.
  6. In the upper part of the role instance status and metric information, choose More > Synchronize Configuration and synchronize the configuration as prompted.

    Figure 2 Configuration synchronization

Synchronizing Configurations Using Manager

Synchronizing cluster configurations

  1. Log in to Manager.

    • MRS 3.x: Choose Cluster > Dashboard.

      For MRS 3.3.0 or later, the Cluster > Dashboard page has been removed from Manager. You can choose More in the upper right corner of the Homepage to access cluster maintenance and management functions.

    • For MRS 2.x and earlier versions, click Services.

  2. On this page, choose More > Synchronize Configuration.
  3. Perform operations based on the cluster version.

    • MRS 2.x and earlier versions: Perform identity authentication, select "Restart services and instances whose configuration have expired", and click OK. No further action is required.
    • MRS 3.x and later versions: Click OK. After the synchronization is complete, perform the operations in 4 to restart the instance whose configurations have expired.

  4. Restart the instance whose configurations have expired. (Perform this operation only for MRS 3.x and later versions.)

    1. On Manager, choose Cluster > Dashboard.
    2. Choose More > Restart Configuration-Expired Instances.
    3. In the dialog box that is displayed, enter the password of the current login user and click OK.
    4. In the displayed dialog box, click OK.

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

Synchronizing component configurations

  1. Log in to Manager.

    • MRS 3.x: Choose Cluster > Services.
    • For MRS 2.x and earlier versions, click Services.

  2. Click the specified service name and choose More > Synchronize Configuration.
  3. Perform operations based on the cluster version.

    • MRS 2.x and earlier versions: Perform identity authentication, select "Restart services and instances whose configuration have expired", and click OK. No further action is required.
    • MRS 3.x and later versions: Click OK. After the synchronization is complete, perform the operations in 4 to restart the instance whose configurations have expired.

  4. Restart the instance whose configurations have expired. (Perform this operation only for MRS 3.x and later versions.)

    1. On Manager, choose Cluster > Dashboard.
    2. Choose More > Restart Configuration-Expired Instances.
    3. In the dialog box that is displayed, enter the password of the current login user and click OK.
    4. In the displayed dialog box, click OK.

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

Synchronizing role instance configurations

  1. Log in to Manager.

    • MRS 3.x: Choose Cluster > Services.
    • For MRS 2.x and earlier versions, click Services.

  2. Click the specified service name and click Instances.
  3. Click the target role instance from the role instance list.
  4. On the role instance information page, choose More > Synchronize Configuration.
  5. Perform operations based on the cluster version.

    • MRS 2.x and earlier versions: In the displayed dialog box, select "Restart services and instances whose configuration have expired" and click OK.
    • MRS 3.x and later versions: Click OK. After the synchronization is complete, perform the operations in 4 to restart the instance whose configurations have expired.

  6. Restart the instance whose configurations have expired. (Perform this operation only for MRS 3.x and later versions.)

    1. Click Instances.
    2. Select the instance to be restarted and choose More > Restart Instance.
    3. In the dialog box that is displayed, enter the password of the current login user and click OK.
    4. In the displayed dialog box, confirm the impact and click OK.

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