Skip to content

Server groups console

Overview

Server groups provide a mechanism for controlling the placement of instances and can be an essential tool for optimizing performance, availability, and fault tolerance in a cloud environment.

Select Compute > Server Groups to view the server groups console.

The console lists all server groups in your project, and lets you create, edit, and delete server groups.

Create a server group by specifying a name and an affinity policy.

  • Affinity (mandatory): The instances in the affinity group are strictly allocated to the same physical machine. When there are no more physical machines to allocate, the allocation fails.
  • Anti-affinity (mandatory): The instances in the anti-affinity group are strictly allocated to different physical machines. When there are no more physical machines to allocate, the allocation fails.
  • Affinity (not mandatory): The instances in the affinity group are allocated to the same physical machine as much as possible, and when there are no more physical machines to allocate, the normal allocation strategy is returned.
  • Anti-affinity (not mandatory): The instances in the anti-affinity group are allocated to different physical machines as much as possible. When there are no more physical machines to allocate, the normal allocation strategy is returned.

Server group details

Here's a table summarizing the properties and attributes that you should understand in order to work with server groups in the Compute service:

Property/Attribute Description
Name A human-readable name for the server group, used for identification purposes.
ID A unique identifier automatically assigned to the server group by OpenStack.
Policies A list of policies that dictate the placement and scheduling of instances within the server group. Common policies include affinity, anti-affinity, soft-affinity, and soft-anti-affinity.
Members A list of instance IDs that are members of the server group.
Metadata A set of key-value pairs associated with the server group, providing additional information or customization options.
Project ID The ID of the project or tenant to which the server group belongs.
User ID The ID of the user who created the server group.

Understanding these properties and attributes helps you effectively manage server groups, ensuring that instances are scheduled and placed according to the desired policies for optimal performance and availability.

Server groups

Server groups CLI reference

Server groups API reference