Help Center/ MapReduce Service/ User Guide/ Managing Clusters/ Managing MRS Cluster Components/ Perform an Active/Standby Switchover for MRS Role Instances
Updated on 2024-09-23 GMT+08:00

Perform an Active/Standby Switchover for MRS Role Instances

Some service roles are deployed in active/standby mode. If the active instance needs to be maintained and cannot provide services, or other maintenance is required, you can manually trigger an active/standby switchover.

Prerequisites

You have logged in to MRS Manager. For details, see Accessing MRS Manager.

Procedure

  1. Log in to FusionInsight Manager.
  2. Choose Cluster > Services.

    For MRS 2.x and earlier versions, click Services. The parameters vary depending on the version.

  3. Click the specified service name (such as HDFS).
  4. On the service details page, expand the More drop-down list and select Perform Role Instance Switchover.

    For example, click Perform NameNode Switchover.

  5. In the displayed dialog box, enter the password of the current login user and click OK.
  6. In the dialog box that is displayed, confirm the operation impact and click OK to perform an active/standby switchover for role instances.

    • The following components support active/standby switchover of role instances: DBService, HDFS, YARN, Storm, HBase, MapReduce, and Loader. This function cannot be used for other role instances.
    • When an active/standby switchover is performed for a NameNode on HDFS, a NameService must be set.