[Users] Can host hooks be used to implement the following policy to avoid "boot storm"?
Itamar Heim
iheim at redhat.com
Sun May 26 07:41:09 UTC 2013
On 05/26/2013 09:59 AM, Roy Golan wrote:
> On 05/24/2013 03:22 PM, Itamar Heim wrote:
>> On 05/23/2013 04:23 PM, lofyer wrote:
>>> Can host hooks be used to implement the following policy to avoid "boot
>>> storm"?
>>>
>>> 1.count and sort VMs awaiting for boot.
>>> 2.If the count is less than or equal to, for example 5, then boot all
>>> VMs and exit the script.
>>> 3.Otherwise, boot and dequeue vm0 to vm4, and minus the count by 5.
>>> 4.Sleep some time, and go to step 2.
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>
>> hooks run one on vm-start one by one. would be a bit tricky to do the
>> above.
>> roy - didn't you add some mechanism to throttle boot storms in the
>> engine?
> yes at RunVmCommandBase.delay(Guid vdsId) - but it doesn't fit here.
> It'll delay the VM run only when there is no free memory to run the VM
> and will wait till engine signals after gathering statistics of
> powering up VMs.
lofyer - any other issue other than memory bottleneck you were trying to
resolve?
Thanks,
Itamar
More information about the Users
mailing list