简体   繁体   English

如何使用仪表板设置openstack动态资源分配和实时迁移?

[英]how to setup openstack dynamic resource allocation and live migration using dashboard?

sorry to ask my questions on stackoverflow instead of ask.openstack. 很抱歉问我关于stackoverflow的问题,而不是ask.openstack。 I really need answers and ask.openstack is useless. 我真的需要答案,然后问。openstack是没用的。 my questions are: 我的问题是:

  1. what is openstack heat? 什么是开放式堆热?
  2. how to setup dynamic resource allocation for an instance using dashboard? 如何使用仪表板为实例设置动态资源分配?
  3. is there any way to automatically live migrate instances on openstack when dynamic resource allocation is active and openstack node runs out of resources? 当动态资源分配处于活动状态并且openstack节点资源用尽时,有什么方法可以在openstack上自动进行实时迁移实例?

Answer-1: 答1:

OpenStack Heat: OpenStack Heat:

Heat is a service to orchestrate composite cloud applications using a declarative template format through an OpenStack-native REST API. Heat是一项服务,用于通过OpenStack本机REST API使用声明性模板格式来编排复合云应用程序。

Heat is a project under OpenStack tent which is used for orchestration of resources using templates in yaml format Heat是OpenStack帐篷下的一个项目,用于使用Yaml格式的模板编排资源

  1. Heat template is defined with sections like definition , parameters , resources , outputs definitionparametersresourcesoutputs等部分definition热模板。
  2. Based on the topology and requirement of resources like VM , port , network , subnet ... the resources are defined in template. 根据拓扑结构和VMportnetworksubnet等资源的需求,资源在模板中定义。 All the supported resource types are available at https://docs.openstack.org/heat/latest/template_guide/openstack.html 所有受支持的资源类型均位于https://docs.openstack.org/heat/latest/template_guide/openstack.html

Official documentation of heat: https://docs.openstack.org/heat/latest/ 热量的官方文档: https : //docs.openstack.org/heat/latest/

Answer-2: 答2:

Dynamic resource allocation for instance using dashboard 使用仪表板动态分配资源

Dynamic resource allocation is allocating/changing the resources after instance is up and running, for example attach the port to instance , attach volume to instance , resize the instance ... . Dynamic resource allocation是在实例启动并运行后分配/更改资源,例如, attach the port to instanceattach volume to instanceresize the instance ...。 Yes these can be done from dashboard/horizon. 是的,这些可以从仪表板/地平线完成。

Answer-3: 答-3:

Live-migration of instance: 实例的实时迁移:

Yes, live migration can be done and step by step procedure available at https://docs.openstack.org/nova/pike/admin/live-migration-usage.html 是的,可以进行实时迁移,并可以通过以下步骤逐步进行操作: https://docs.openstack.org/nova/pike/admin/live-migration-usage.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM