如何在openstack或eucalyptus实例上应用调度算法?我使用过openstack和eucalyptus实例。我需要知道调度算法是如何应用于这些instances.Please的,我需要答案。
发布于 2014-05-13 15:10:55
我相信你问的是关于计算/卷调度过滤器的问题。
如果是这样的话,我希望你浏览一下现有的默认过滤器,并了解它们的行为,这样你就不会再重复发明轮子了。
查看nova.scheduler.driver.Scheduler,你可以找到默认的过滤器。
如果你真的想创建一个调度程序筛选器,那么在高层次上,你必须完成以下步骤。
1. Inherit nova.scheduler.driver.Scheduler class
2. Override the methods - schedule_run_instance & select_destinations
3. Implement your logic
4. Update nova.conf to include the new class for scheduler_driver property
5. Restart nova-scheduler service 如果没有抛出警告/错误,请查看日志。
这应该适用于openstack环境。
https://stackoverflow.com/questions/23614759
复制相似问题