Managing virtual machines in placements
A virtual machine is assigned a placement when it is created from an image with the placement assigned. A VM can also inherit a placement from a volume created with an assigned image. However, a VM does not inherit the placement and changes to it from the node. For example, if you add a node with existing VMs to a placement, only the node will have the placement. The VMs will not inherit the same placement. Likewise, if you have a node and VMs on it assigned to the same placement, and you delete such a node from a placement, only the node will change the placement. The VMs on it will still keep the original placement.
Prerequisites
- Virtual machines are created, as described in Creating virtual machines.
- Placements are created for compute nodes, as described in Managing placements for compute nodes.
- The node and VMs hosted on it have the same placement configuration.
To edit the VM placement
Refer to the vinfra service compute server set
command in the Administrator Command Line Guide.