Updated on 2024-11-29 GMT+08:00

Overview

Tenants are used in resource control and service isolation scenarios. Administrators need to determine the service scenarios of cluster resources and then plan tenants.

Multi-tenancy involves three types of operations: creating a tenant, managing tenants, and managing resources. Table 1 describes these operations.

Table 1 Multi-tenant operations

Operation

Action

Description

Creating a tenant

  • Add a tenant.
  • Add a sub-tenant.
  • Create a user and bind the user to the role of a tenant.

During the creation of a tenant, you can configure its computing resources, storage resources, and associated services based on service requirements. In addition, you can add users to the tenant and bind necessary roles to these users.

A user to create a level-1 tenant needs to be bound to the Manager_administrator or System_administrator role.

A user to create a sub-tenant needs to be bound to the role of the parent tenant at least.

Managing tenants

  • Manage the tenant directory.
  • Restore tenant data.
  • Clear non-associated queues of a tenant.
  • Delete a tenant.

You can edit tenants as services change.

A user to manage or delete a level-1 tenant or restore tenant data needs to be bound to the Manager_administrator or System_administrator role.

A user to manage or delete a sub-tenant needs to be bound to the role of the parent tenant at least.

Managing resources

  • Create a resource pool.
  • Modify a resource pool.
  • Delete a resource pool.
  • Configure a queue.
  • Configure the queue capacity policy of a resource pool.
  • Clear configurations of a queue.

You can reconfigure resources for tenants as the services change.

A user to manage resources needs to be bound to the Manager_administrator or System_administrator role.