Cluster ha groups

Subsections of Cluster ha groups

List cluster HA group

Options

optiondescriptionAllowed values

Examples

  • list cluster ha groups
proxcli cluster ha groups list

Create an HA cluster group

Options

optiondescriptionAllowed values
groupCluster ha group name to be createdstring
proxmox-nodesOn which proxmox nodes the group should applystring
restrictedThe CRM tries to run services on the node with the highest priority. If a node with higher priority comes online, the CRM migrates the service to that node. Enabling nofailback prevents that behavior.N/A
nofailbackResources bound to restricted groups may only run on nodes defined by the group. The resource will be placed in the stopped state if no group node member is online. Resources on unrestricted groups may run on any cluster node if all group members are offline, but they will migrate back as soon as a group member comes online. One can implement a preferred node behavior using an unrestricted group with only one member.N/A

Examples

  • create an HA group for application powerdns. the group will use proxmox nodes pve1 and pve2 and make sure the group resources will stay on those 2 nodes
proxcli cluster ha groups create --group powerdns --nofailback --proxmox-nodes "pve1,pve2"

Delete an HA cluster group

Options

optiondescriptionAllowed values
groupCluster ha group name to be deletedstring
Note

It is impossible to delete a group with associated resources. You must first delete resources from group and then delete the group

Examples

  • delete a cluster HA group
proxcli cluster ha groups delete --group powerdns