Changing placement assignment
Limitations
- After adding a node to a placement, VMs already hosted on the node will not be automatically assigned this placement.
- A virtual machine that is assigned a placement can only be migrated between nodes in this placement. When adding nodes to placements, make sure to provide migration options for various scenarios, including high availability and maintenance. Avoid situations when VMs cannot migrate because of limitations imposed by placements. In this case, a VM placement can be edited, as described in Managing virtual machines in placements.
Prerequisites
- Placements for compute nodes are created, as described in Creating placements.
To assign a placement to a node
Admin panel
- On the Compute > Nodes > Placements tab, click the required placement.
- Go to the Nodes tab, and then click Add.
- Select the nodes to assign the placement to, and then click Add.
To assign a placement to an image
Admin panel
- Open the Compute > Nodes > Placements tab, and then click the required placement.
- On the Properties tab, click Add in the Images section.
- Select one or more images to assign the placement to, and then click Add.
When you select this image while creating a VM, the corresponding placement will be selected automatically.
To assign a placement to a flavor
Admin panel
- Open the Compute > Nodes > Placements tab, and then click the required placement.
- On the Properties tab, click Add in the Flavors section.
- Select one or more flavors to assign the placement to, and then click Add.
When you select this flavor while creating a VM, the corresponding placement will be selected automatically.
To remove placement assignments
Admin panel
- On the Compute > Nodes > Placements tab, click the required placement.
- On the Properties tab, click the bin icon next to an image or a flavor to remove it.
- Go to the Nodes tab, and click the bin icon next to a node to remove it.