Updated on 2024-06-19 GMT+08:00

Installing an Online Patch

Install the cluster version patch as required if you obtain patch information from:

  • The message center service
  • On a cluster details page of the MRS console, choose Patches > Cluster Component Patches to view the patches that can be installed.

Preparing for Patch Installation

  • For details about how to check the cluster status, see section Performing a Health Check. Exceptions such as cluster node faults and hard disk faults may cause patch installation and uninstallation failures. Before you install or uninstall the patch, ensure that the cluster is healthy.
  • Click Patches then Cluster Component Patches, view the Patch Description column of the target patch, and read the patch description carefully to understand the patch installation procedure and impact.
  • MRS 2.x and earlier versions, MRS 3.1.5 and later versions, and MRS 3.2.0-LTS and later versions support online patch installation.

Installing a Patch

  1. Log in to the MRS management console.
  2. On the Active Clusters page displayed by default, click the name of the target cluster to enter the cluster details page.
  3. In the Patches tab, click Cluster Component Patches. In the operation list, click Install next to the patch you want to install.
  4. In the displayed dialog box, select I have read Patch Description and understood that this operation may restart services. Click Yes and wait until the patch is successfully installed.
  5. Check the patch status. Restart the components and install the client patch according to the patch description.

    If there is an isolated host in the cluster, the patch will not be installed on the isolated host. In this case, when the installation completes, the patch is partially installed. After an isolated node is restored and the isolation is canceled, you can install the patch again. In this case, the patch is installed only on the node where isolation is canceled. For versions earlier than MRS 3.x, perform operations by referring to Restoring Patches for the Isolated Hosts.

Uninstalling a Patch

  1. Log in to the MRS management console.
  2. On the Active Clusters page displayed by default, click the name of the target cluster to enter the cluster details page.
  3. In the Patches tab, click Cluster Component Patches. In the operation list, click Uninstall next to the patch you want to uninstall.
  4. In the displayed dialog box, select the confirmation check box and click Yes. Wait until the patch is successfully uninstalled.
  5. Restart the component and uninstall the client patch according to the patch description.

    If there is an isolated host in the cluster, the patch will not be uninstalled on the isolated host. In this case, when the uninstallation completes, the patch is partially uninstalled. After the isolated node is restored and the isolation is canceled, you can uninstall the patch again. In this case, the patch is uninstalled only on the node whose isolation is canceled. For versions earlier than MRS 3.x, perform operations by referring to Restoring Patches for the Isolated Hosts.