Hello,
I was tasked to automate some processes involving XO. After gaining insight into the API I am now stuck with the question how to choose a suitable pool for a new VM. We have multiple pools, mainly for separation purpose. Using the WebUI I can choose a pool based on my gut feeling, but then the host is chosen automagically. Therefor my both questions:
What would be a good method to pick a pool for a new VM ? Would checking the RAM allocation be enough ? Would it be a good way to gather all metrics from all hosts and sum them up ?
How is a host inside a pool chosen ? What factors are taken into account ? I have no insight into the process/algo.
Thank you in advance.
Best regards.