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 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 releases include the Horizon integration of the Quota feature.
Workload Quotas are managed like any other Project Quotas.
Login into Horizon as user with admin role
Navigate to Identity
Navigate to Projects
Identify the Project to modify or show the quotas on
Use the small arrow next to "Manage Members" to open the submenu
Choose "Modify Quotas"
Navigate to "Workload Manager"
Edit Quotas as desired
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.0 and 4.0 SP1 do not yet have the Quota Types Snapshots and Volumes integrated. Using those will not generate any Quotas a Tenant has to apply to.
Show Quota Type Details
The following command will show the details of a provided Quota Type.
<quota_type_id>
➡️ID of the Quota Type to show
Create a Quota
The following command will create a Quota for a given project and set the provided value.
<quota_type_id>
➡️ID of the Quota Type to be created<allowed_value>
➡️ Value to set for this Quota Type<high_watermark>
➡️ Value to set for High Watermark warnings<project_id>
➡️ Project to assign the quota to
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.
<project_id>
➡️ Project to list the Quotas from
Show allowed Quota
The following command shows the details about a provided allowed Quota.
<allowed_quota_id>
➡️ID of the allowed Quota to show.
Update allowed Quota
The following command shows how to update the value of an already existing allowed Quota.
<allowed_value>
➡️ Value to set for this Quota Type<high_watermark>
➡️ Value to set for High Watermark warnings<project_id>
➡️ Project to assign the quota to<allowed_quota_id>
➡️ID of the allowed Quota to update
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.
<allowed_quota_id>
➡️ID of the allowed Quota to delete
Last updated