Revision 075b91de docs/admin-guide.rst
b/docs/admin-guide.rst | ||
---|---|---|
140 | 140 |
Setting quota limits |
141 | 141 |
~~~~~~~~~~~~~~~~~~~~ |
142 | 142 |
|
143 |
Set default quotas
|
|
144 |
``````````````````
|
|
143 |
Set default quota |
|
144 |
````````````````` |
|
145 | 145 |
|
146 | 146 |
In 20-snf-astakos-app-settings.conf, |
147 | 147 |
uncomment the default setting ``ASTAKOS_SERVICES`` |
148 | 148 |
and customize the ``'uplimit'`` values. |
149 |
These are the default base quotas for all users.
|
|
149 |
These are the default base quota for all users. |
|
150 | 150 |
|
151 | 151 |
To apply your configuration run:: |
152 | 152 |
|
153 | 153 |
# snf-manage astakos-init --load-service-resources |
154 |
# snf-manage astakos-quota --sync
|
|
154 |
# snf-manage quota --sync |
|
155 | 155 |
|
156 |
Set base quotas for individual users
|
|
157 |
````````````````````````````````````
|
|
156 |
Set base quota for individual users |
|
157 |
``````````````````````````````````` |
|
158 | 158 |
|
159 |
For individual users that need different quotas than the default
|
|
159 |
For individual users that need different quota than the default |
|
160 | 160 |
you can set it for each resource like this:: |
161 | 161 |
|
162 |
# use this to display quotas / uuid
|
|
163 |
# snf-manage user-show 'uuid or email' --quotas
|
|
162 |
# use this to display quota / uuid |
|
163 |
# snf-manage user-show 'uuid or email' --quota |
|
164 | 164 |
|
165 |
# snf-manage user-modify 'user-uuid' --set-quota 'cyclades.vm' 10 |
|
165 |
# snf-manage user-modify 'user-uuid' --set-base-quota 'cyclades.vm' 10
|
|
166 | 166 |
|
167 | 167 |
|
168 | 168 |
Enable the Projects feature |
... | ... | |
182 | 182 |
|
183 | 183 |
You can also set a user-specific limit with:: |
184 | 184 |
|
185 |
# snf-manage user-modify 'user-uuid' --set-quota 'astakos.pending_app' 5 |
|
185 |
# snf-manage user-modify 'user-uuid' --set-base-quota 'astakos.pending_app' 5
|
|
186 | 186 |
|
187 | 187 |
When users apply for projects they are not automatically granted |
188 | 188 |
the resources. They must first be approved by the administrator. |
Also available in: Unified diff