Workload Quotas

Trilio enables Openstack administrators to set Project Quotas against the usage of Trilio.

The following Quotas can be set:

  • Number of Workloads a Project is allowed to have

  • Number of Snapshots a Project is allowed to have

  • Number of VMs a Project is allowed to protect

  • Amount of Storage a Project is allowed to use on the Backup Target

Work with Workload Quotas via Horizon

The Trilio Quota feature is available for all supported Openstack versions and distributions, but only Train and higher releases include the Horizon integration of the Quota feature.

Workload Quotas are managed like any other Project Quotas.

  1. Login into Horizon as user with admin role

  2. Navigate to Identity

  3. Navigate to Projects

  4. Identify the Project to modify or show the quotas on

  5. Use the small arrow next to "Manage Members" to open the submenu

  6. Choose "Modify Quotas"

  7. Navigate to "Workload Manager"

  8. Edit Quotas as desired

  9. Click "Save"

Work with Workload Quotas via CLI

List available Quota Types

Trilio is providing several different Quotas. The following command allows listing those.

Trilio 4.1 do not yet have the Quota Type Volume integrated. Using this will not generate any Quotas a Tenant has to apply to.

workloadmgr project-quota-type-list

Show Quota Type Details

The following command will show the details of a provided Quota Type.

workloadmgr project-quota-type-show <quota_type_id>

Create a Quota

The following command will create a Quota for a given project and set the provided value.

workloadmgr project-allowed-quota-create --quota-type-id quota_type_id
                                         --allowed-value allowed_value 
                                         --high-watermark high_watermark 
                                         --project-id project_id

The high watermark is automatically set to 80% of the allowed value when set via Horizon.

A created Quota will generate an allowed_quota_object with its own ID. This is ID is needed when continuing to work with the created Quota.

List allowed Quotas

The following command lists all Trilio Quotas set for a given project.

workloadmgr project-allowed-quota-list <project_id>

Show allowed Quota

The following command shows the details about a provided allowed Quota.

workloadmgr project-allowed-quota-show <allowed_quota_id>

Update allowed Quota

The following command shows how to update the value of an already existing allowed Quota.

workloadmgr project-allowed-quota-update [--allowed-value <allowed_value>]
                                         [--high-watermark <high_watermark>]
                                         [--project-id <project_id>]

Delete allowed Quota

The following command will delete an allowed Quota and sets the value of the connected Quota Type back to unlimited for the affected project.

workloadmgr project-allowed-quota-delete <allowed_quota_id>

Last updated