Introduction
If you have a Virtuozzo 7 VPS, there are a few steps that must be taken to enable quotas in this environment.
This is due to the nature of Virtuozzo quota types.
What is a container?
The container is a spun up virtualized instance. This instance is going to be the virtual server in which you will be hosting your website, emails, databases, and other various web hosting information.
Procedure
Finding the Container UUID
You will need to find the container UUID. This can be achieved by running the following command:
# prlctl list -a UUID STATUS IP_ADDR T NAME {600adc12-0e39-41b3-bf05-c59b7d26dd73} running 10.10.1.101 CT MyCT {b2de86d9-6539-4ccc-9120-928b33ed31b9} stopped 10.10.100.1 VM MyVM
We can see the first entry in bold is the UUID, which is the Container_ID.
Enabling Quotas
Perform the following steps:
-
Set the
QUOTAUGIDLIMIT
parameter to a value that is greater than zero. This can be seen below in step 2. -
Run the following command to enable quotas, where
UUID
represents the container ID of the container that you wish enable quotas on.prlctl set <UUID> --quotaugidlimit 1
- Restart the Container.
prlctl restart UUID
Comments
0 comments
Article is closed for comments.