ApsaraDB for HBase Performance-enhanced Edition (Lindorm) provides a grouping feature, and you can create groups to isolate tenants. You can add region servers to different groups and store different tables in each group. This way, resources are isolated. This topic describes how to manage groups.

Background information

When multiple users or applications use an ApsaraDB for HBase Performance-enhanced Edition (Lindorm) cluster at the same time, resource contention issues among the users or applications may occur. The read and write operations on some important online services may be adversely affected by batch read or write operations on offline services. To resolve this issue, you can use the grouping feature of ApsaraDB for HBase Performance-enhanced Edition (Lindorm). Group1 is created, and RegionServer1 and RegionServer2 are added to Group1. Group2 is created, and RegionServer3 and RegionServer4 are added to Group2. Table1 and Table2 are moved to Group1. All regions of Table1 and Table2 are distributed to RegionServer1 and RegionServer2 in Group1. All regions of Table3 and Table4 are distributed to RegionServer3 and RegionServer4 in Group2. As a result, requests to Table1 and Table2 are processed by RegionServer1 and RegionServer2, and requests to Table3 and Table4 are processed by RegionServer3 and RegionServer4. This way, resources are isolated.

Prerequisites

You are logged on to Lindorm Insight of your cluster. For more information, see Log on to Lindorm Insight.

View the information about a group

  1. In the left-side navigation pane of the cluster management system, choose Cluster Management > Region Server Manager.
  2. In the Overview section of the page, you can view all groups of the current cluster.
    Note If no group is created for the cluster, a default group named default is automatically created. In this case, all region servers and tables belong to the default group.

Create a group

  1. In the left-side navigation pane of the cluster management system, choose Cluster Management > Region Server Manager.
  2. Click + Add in the upper right corner of the page.
  3. In the Create Group dialog box, specify GroupName.
  4. Click OK.
    Note By default, no region servers or tables are added to a group when a group is created. You must manually add region servers and tables to the group.

Delete a group

Important Before you delete a group, you must remove all region servers and tables from the group.
  1. In the left-side navigation pane of the cluster management system, choose Cluster Management > Region Server Manager.
  2. Click Delete in the Actions column corresponding to the group that you want to delete.
  3. In the message that appears, click OK.

Move a region server to a group

Important
  • By default, all region servers in a Lindorm cluster belong to the default group. Before you use region servers, you must manually add the region servers to the corresponding group.
  • If you add a table to a group that does not contain region servers, the region of the table becomes inaccessible because no region server is available for the region.
  • We recommend that you add at least two region servers to each group. When a region server is down, the regions of the tables in the group can be distributed to the other region server. If your group contains only one region server and the region server is down, all tables in the group become inaccessible.
  • When you remove a region server from a group, the regions that are being accessed on the region server are distributed to other region servers in the group.
  1. In the left-side navigation pane of the cluster management system, choose Cluster Management > Region Server Manager.
  2. Click Move To Group in the Actions column corresponding to the region server.
  3. In the Move To Group dialog box, select the group to which you want to move the region server from the Destination Group drop-down list.
  4. Click OK.

Move a table to a group

Warning Do not move tables to a group that does not contain region servers. Otherwise, the tables become inaccessible.
  1. On the Overview page, click Move To Group in the Actions column corresponding to the table that you want to move.
  2. In the Create Form dialog box, select the group to which you want to move the table from the Destination Group drop-down list.
  3. Click OK.