Customization of scheduler manager
levonmelikbekjan at yahoo.de
Tue Jul 26 15:59:45 UTC 2022
as part of my thesis, I modified the Openstack version Train with the intention of sharing resources, which are not in use with other users to ensure maximum utilization. So far everything is working fine except for the last step. Let me first explain my work.
The system works according to the following rules:
1. Users who own compute hosts within the private cloud have the highest priority on their hosts.
2. Users who do not own hosts within the private cloud are low priority users who can instantiate their virtual machine on unused resources (on the hosts that have an owner).
3. If the owner wants to use his resources that are currently occupied, the foreign VM must be suspended to free up resources for the owners VM.
4. An owner is a low priority user on foreign hosts.
Everything works automatically and generically, but in step 3 I do not suspend those VMs, I delete them. I want the VMs to be suspended to be able to restart them with the intention of being able to continue processes that are paused, and I know there is maybe a REST API functions that provides this functionality. A user should be able to continue his work after resources become free again. It would be annoying if long-running processes were killed.
My question is this:
Is the suspend function the right choice? Are the resources released when I use the suspend function?
Thank you & Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openstack-discuss