Updated on 2024-09-23 GMT+08:00

Managing MRS Role Instances

You can start a role instance that is in the Stopped, Failed to stop or Failed to start status, stop an unused or abnormal role instance or restart an abnormal role instance to recover its functions.

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.

Managing Role Instances 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. On the MRS cluster details page, click Components.

    Figure 1 Components page

  4. Select the target service from the service list.
  5. Click the Instances tab.
  6. Select the check box on the left of the target role instance.
  7. Click More, select operations such as Start Instance, Stop Instance, Restart Instance, Rolling-restart Instance, or Delete Instance based on site requirements.

    Component Restart Reference Information outlines which instances support or not support rolling restart.

Managing Role Instances on Manager

  1. Log in to Manager.
  2. Go to the service instance page.

    • MRS 3.x and later versions: Choose Cluster > Services, click the name of the target service, and click Instances.
    • MRS 2.x and earlier versions: Click Services and click Instances.

  3. Select the check box on the left of the target role instance.
  4. Choose More > Start Instance, Stop Instance, or Restart Instance as prompted.

    Component Restart Reference Information outlines which instances support or not support rolling restart.

Exporting and Importing Role Instance Configurations

For clusters of MRS 3.x and later

  1. Log in to Manager.
  2. Choose Cluster > Services and click the name of the service to be operated in the service view.
  3. Click Instances and click the instance to be operated.
  4. Click Instance Configuration and click Export to export the configuration parameter file to the local PC.
  5. On the Instance Configurations page, click Import, select the configuration parameter file of the instance, and import the file.

For MRS clusters of 2.x and earlier:

  1. Log in to MRS Manager.
  2. Click Services.
  3. Select a service.
  4. Select a role instance or click Instances.
  5. Select a role instance on a specified host.
  6. Click Instance Configuration.
  7. Click Export Instance Configuration to export the configuration data of a specified role instance, and choose a path for saving the configuration file.
  8. Click Import Instance Configuration to import the configuration data of the specified role instance.

    Click Save Configuration and select Restart the role instance. Click OK.

    After the system displays "Operation succeeded", click Finish. The role instance is started.