Servergroup in Nova and heat

Source: Internet
Author: User

Now, Nova can use commands to create a server group. VMS in the server group can specify some policies. These policies include affinity and anti-affinity. Affinity indicates that all VMS should be installed on one host as much as possible, and anti-ffinity indicates that VMS should be arranged on different hosts as much as possible. The command to create a server-group is as follows: Nova server-group-create group_name anti-afffinity
Then, when creating a VM, specify the group name through hint: Nova boot -- image cirros -- flavor m1.small -- hint group = group_name so that the created VM can be placed in a specified group.
Heat also has related resource, name is OS: Nova: servergroup related BP is as follows: https://blueprints.launchpad.net/heat/+spec/vm-instance-group-support

Reference: https://blueprints.launchpad.net/nova/+spec/instance-group-api-extensionhttp://docs.openstack.org/developer/nova/devref/filter_scheduler.html

Servergroup in Nova and heat

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.