Create a placement group
You can create a placement group:
- when creating a cloud server — the created server will be automatically added to the group;
- or separately — you can add a cloud server to this group only when creating the server.
Control panel
OpenStack CLI
-
In the Control panel, on the top menu, click Products and select Cloud Servers.
-
Open the Placement Groups tab.
-
Click Create group.
-
Enter the name of the group.
-
Select a placement policy:
- prefer different hosts (soft-anti-affinity) — the system will attempt to place servers on different hosts. If no suitable host is available when creating a server, it will be created on the same host;
- require different hosts (anti-affinity) — servers in the group must be placed on different hosts. If we do not find a suitable host, the server will not be created.
-
Click Create group.