All Products
Search
Document Center

Microservices Engine:Upgrade a ZooKeeper version

Last Updated:Oct 15, 2024

ZooKeeper engines provide Professional Edition and Developer Edition. Each ZooKeeper engine edition has different versions. Basic Edition is discontinued, and features in Basic Edition are no longer updated. This topic describes how to upgrade ZooKeeper versions in the Microservices Engine (MSE) console. You can upgrade a ZooKeeper engine from Basic Edition to Professional Edition or Developer Edition. You can also upgrade the ZooKeeper engine to a specified version.

Prerequisites

  • MSE is activated. For more information, see .

  • A ZooKeeper engine is created. For more information, see Create a ZooKeeper engine.

Advantages of MSE ZooKeeper Professional Edition

MSE ZooKeeper Professional Edition has advantages over open source ZooKeeper from the following aspects. This makes services more stable and O&M more convenient.

  • High availability and stability: supports multi-zone deployment, load balancing for high availability, auto repair upon node failures, and scaling without affecting services.

  • Enhanced observability: provides capabilities such as metric monitoring and push tracking. The supported metrics include ZooKeeper business metrics, system resource metrics, and top N metrics.

  • Improved performance: The disk performance is improved. MSE ZooKeeper Professional Edition is integrated with Dragonwell JDK and delivers twice the performance of MSE ZooKeeper Basic Edition.

Upgrade from Basic Edition to Professional Edition or Developer Edition

MSE ZooKeeper Basic Edition is discontinued, and features in Basic Edition are no longer updated. This section provides guidance on how to upgrade MSE ZooKeeper Basic Edition to MSE ZooKeeper Professional Edition or Developer Edition.

Note
  • The period of time that is required to upgrade the version of a ZooKeeper engine is approximately 10 minutes. During the upgrade, you cannot perform operations on the ZooKeeper engine in the MSE console. We recommend that you upgrade the edition of the ZooKeeper engine during off-peak hours to prevent service interruption.

  • If the ZooKeeper engine has three or more nodes, each node performs rolling deployments and automatically completes data synchronization. This ensures service continuity during the upgrade. If the ZooKeeper engine has one or two nodes, the engine is not a high-availability engine, and services are interrupted during the upgrade.

  1. Log on to the MSE console, and select a region in the top navigation bar.

  2. In the left-side navigation pane, choose Microservices Registry > Instances.

  3. On the Instances page, find the MSE instance, and click More in the Actions column.

    • For a subscription instance, select Upgrade or Downgrade based on your business requirements.

    • For a pay-as-you-go instance, select Upgrade/Downgrade.

    Note

    If the instance is of the latest version, click Upgrade to go to the Upgrade/Downgrade page and scale out or scale in the instance.

  4. On the Upgrade/Downgrade page, select a product edition, and specify Engine Specifications and Number of Cluster Nodes based on your business requirements.

    A Professional Edition instance can have multiple nodes, and a Developer Edition instance can have a single node.

    When you select a product edition for an upgrade or downgrade, take note of the following limits:

    • You can upgrade a Basic Edition instance to a Developer Edition instance or a Professional Edition instance.

    • You can upgrade a Developer Edition instance of an earlier version to a Developer Edition instance of a later version. You cannot upgrade a Developer Edition instance to a Professional Edition instance.

    • You can upgrade a Professional Edition instance of an earlier version to a Professional Edition instance of a later version. You cannot downgrade a Professional Edition instance to a Developer Edition instance.

  5. Confirm the order.

    1. Click Buy Now.

    2. On the Confirm Order page, read the terms of service, select the check box to confirm that you have read the terms of service, and then click Pay.

Upgrade MSE Nacos versions

Note
  • The period of time that is required to upgrade the version of a Nacos engine is approximately 10 minutes. During the upgrade, you cannot perform operations on the Nacos engine in the MSE console. We recommend that you upgrade the edition of the ZooKeeper engine during off-peak hours to prevent service interruption.

  • For an instance that contains three or more nodes, a rolling deployment is performed for each node, and data is automatically synchronized to these nodes. Your business is not affected during the upgrade. For an instance that contains one or two nodes, the instance cannot provide high availability, and business interruptions may occur during the upgrade.

  • The upgrade does not affect your business. However, the instance needs to disconnect from and re-connect to the network during the upgrade. In this case, the system generates logs for the reconnection, and jitters occur on the monitoring data of the instance.

  1. Log on to the MSE console, and select a region in the top navigation bar.

  2. In the left-side navigation pane, choose Microservices Registry > Instances.

  3. On the Instances page, find the desired instance and click Upgradeable in the Engine version column.

    Note
    • If the instance is of the latest version, Upgradeable is not displayed in the Engine version column of the instance.

    • You can also click the instance that you want to upgrade on the Instances page. On the Basic Information page, click Manually Upgrade next to Engine version.

  4. In the Cluster Upgrade message, click OK.