ApsaraDB for HBase Performance-enhanced Edition (Lindorm) provides the grouping feature to resolve isolation issues that may occur in multitenancy scenarios. Lindorm allows you to assign LDServers to different groups and store different tables in each group. This way, resources are isolated from each other. This topic describes how to manage groups.

Background information

When multiple users or applications use a Lindorm cluster at the same time, resource contention issues between the users or applications can occur. The read and write operations of some key online applications may be affected by bulk read and write operations of offline applications in a negative manner. To resolve this issue, you can use the grouping feature. In the example, Group1 is created and LDServer1 and LDServer2 are assigned to Group1. Group2 is created and LDServer3 and LDServer4 are assigned to Group2. Table1 and Table2 are moved to Group1. In this case, all the regions of Table1 and Table2 are distributed to LDServer1 and LDServer2 in Group1. Table3 and Table4 are moved to Group2. In this case, all the regions of Table3 and Table4 are distributed to LDServer3 and LDServer4 in Group2. As a result, the requests to Table1 and Table2 are sent to LDServer1 and LDServer2, and the requests to Table3 and Table4 are sent to LDServer3 and LDServer4. This way, resources are isolated.

View group information

In the Group information section on the Cluster overview tab in Lindorm Insight, you can view the information about all the groups of the current cluster. By default, a group named default is assigned to a Lindorm cluster. If you do not create groups, all LDServers and tables belong to this group. Group information

Create a group

  1. Log on to Lindorm Insight. For more information, see Log on to Lindorm Insight.
  2. In the Group overview section on the Cluster overview page, choose More > Create group. Create a group
  3. In the Create group dialog box, enter a group name in the GroupName field.
  4. Click OK.
    Note After the group is created, no LDServers or tables exist in the group by default. You must manually move LDServers and tables to the group.

Move LDServers to a group

By default, all LDServers in a Lindorm cluster belong to the default group. Before you use the LDServers, you must manually move the LDServers to groups based on your business requirements.

  1. Log on to Lindorm Insight. For more information, see Log on to Lindorm Insight.
  2. In the Online servers section on the Cluster overview tab, select the LDServers that you want to move.
  3. Click Move group.
  4. In the Move group of ldserver dialog box, select a group from the target group drop-down list.
  5. Click OK. Move LDServers to a group
    Note
    • If you move a table to a group that does not contain LDServers, the regions of the table cannot be accessed because no LDServers are available.
    • We recommend that you move at least two LDServers to each group. This way, if one of the LDServers fails, the regions of tables on the failed LDServer can be migrated to the other LDServer in the group. If only one LDServer is moved to a group and the LDServer fails, all the tables in the group cannot be accessed.
    • After an LDServer is removed from a group, the online regions on this LDServer are immediately distributed to the other LDServers in the group in an even manner.

Delete a group

  1. Log on to Lindorm Insight. For more information, see Log on to Lindorm Insight.
  2. In the Group overview section on the Cluster overview tab, find the group that you want to delete and click Delete in the Action column. Group overview section
  3. In the message that appears, click Yes.
    Note A group can be deleted only if all LDServers and tables in the group are removed.