Is it possible to configure Host overcommit (CPU / Memory) via XML-RPC API?
I have tried to update a Host, but this information seems to be outside of the template.
Is it possible? How?
Is it possible to configure Host overcommit (CPU / Memory) via XML-RPC API?
I have tried to update a Host, but this information seems to be outside of the template.
Is it possible? How?
Hello, it should work and it is part of template.
RESERVED_CPU and RESERVED_MEM in negative numbers
<TEMPLATE>
<ARCH><![CDATA[x86_64]]></ARCH>
<CPUSPEED><![CDATA[2941]]></CPUSPEED>
<HOSTNAME><![CDATA[node1]]></HOSTNAME>
<HYPERVISOR><![CDATA[kvm]]></HYPERVISOR>
<IM_MAD><![CDATA[kvm]]></IM_MAD>
<MODELNAME><![CDATA[Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz]]></MODELNAME>
<NETRX><![CDATA[325639025437]]></NETRX>
<NETTX><![CDATA[2998717896647]]></NETTX>
<RESERVED_CPU><![CDATA[-2400]]></RESERVED_CPU>
<RESERVED_MEM><![CDATA[-13104]]></RESERVED_MEM>
<VERSION><![CDATA[5.4.4]]></VERSION>
<VM_MAD><![CDATA[kvm]]></VM_MAD>
</TEMPLATE>
Is it these two?
I was expecting something matching the web interface.
I now saw a post mentioning negative values for reservations as a way to overcommit, is that it?
I guess I will have to review the documentation.
Yes, it is.