Help Center/ MapReduce Service/ User Guide/ MRS Cluster O&M/ Checking MRS Cluster Health/ Performing a Health Check for an MRS Cluster
Updated on 2024-09-23 GMT+08:00

Performing a Health Check for an MRS Cluster

The cluster health check includes three key items: object health, related alarms, and custom metrics. The check result may not match the health status shown on the UI. A health check includes MRS Manager, service-level, and host-level health checks:

  • MRS Manager health checks focus on whether the unified management platform can provide management functions properly.
  • Service-level health checks focus on whether components can provide services properly.
  • Host-level health checks focus on whether host indicators are normal.

To ensure that cluster parameters, configurations, and monitoring are correct and that the cluster can run stably for a long time, you can perform a health check during routine maintenance.

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.

Health Check on the MRS Management 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. Start the health check.

    Health check operations on the MRS management console are valid for clusters of MRS 1.9.2 only.

    • Perform the health check for all services.

      Choose Management Operations > Start Cluster Health Check.

    • Perform the health check for a service.

      Click Components. In the service list, click the target service name and choose More > Start Service Health Check.

    • Perform the health check for a host.

      Click Nodes, expand the node group information, select the check box of the target hosts, and choose Node > Start Host Health Check.

Performing a Health Check on Manager

For MRS 3.x and later versions:

  1. Log in to FusionInsight Manager.
  2. Choose O&M > Health Check.

    By default, all saved health check reports are displayed in a list. For details, see Table 1.

  3. Start health checks.

    • Start a health check.

      Click Start Check. In the displayed dialog box, click OK to start a health check.

    • Set periodic automatic health check.

      Click Configuration, select Enable, set the check period to Daily, Weekly, or Monthly based on your needs, and click OK to save the configuration.

For MRS 2.x or earlier:

  1. Log in to MRS Manager.
  2. Start health checks.

    • Start a health check.

      Click Services and choose More > Start Service Health Check.

    • Set periodic automatic health check.
      1. Click System, click Check Health Status under Maintenance, and click Configure Health Check.
      2. Set the Max. Number of Health Check Reports. The value must be an integer ranging from 1 to 100.
      3. Click Periodic Health Check to enable this function. Set the check period to Daily, Weekly, or Monthly based on O&M requirements, and click OK to save the configuration.