managing user access

jort

New Member
Nov 24, 2016
19
0
1
27
Im fairly new with proxmox and do not know its limits quite yet.
so i am wondering if anyone here can help me with my project.

i want be able to limit users resource pools, and then give them full permission to spend that pool however they want, without conflicting with any other users,and all of it has to be done through the api.
 
if i understand you correctly you want to give a pool e.g. x cpus and y gb ram and the users should be able to assign it how they want.
if this is correct, this is currently not implemented.
 
if i understand you correctly you want to give a pool e.g. x cpus and y gb ram and the users should be able to assign it how they want.
if this is correct, this is currently not implemented.

thats a shame, any work around for this? i have seen some ways to limit the storage each user can use by only allowing them a certain partition and by only giving them access to certain ids within the pool i would be able to limit the max amount of machines, but that doesnt prevent them from making 3 VM's that use max cores each

these are supposed to be for students, so each student will have his own pool were he can just play around with networking and VM's within that pool without affecting any other students, so i would really like to be able to control how much processing power and ram we give each student, so we dont end up with 3-5 students using the entire server power, otherwise ill see if i can implement a third system to handle this, thanks anyway for the quick response.
 
another question, is there a way for me to implement this my self?, a way for me to create this functionality within proxmox and add it to its api?
i heard that PVE is open source, so any place were i can best start on this?
 
another question, is there a way for me to implement this my self?, a way for me to create this functionality within proxmox and add it to its api?
i heard that PVE is open source, so any place were i can best start on this?

you can find our developer documentation in our wiki at http://pve.proxmox.com/wiki/Developer_Documentation - but I would suggest fixing something small before starting a big change like you suggested. also be aware that bigger changes probably require more discussion, planning and iterations.

if your hardware is powerful enough and performance is not that important (offering a playground for students sounds a bit like it would fit this criteria ;)) you could also do nested PVE - give each student a PVE installation running in a VM. that way, you can apply the limits on the "outer" PVE installation, and the students can get unlimited access to their own VMs within those constraints.