Does incus have any kind of cluster groups or zones that control database node decisions?

Dear Incus community,

i have a running incus cluster with 5 nodes.

Node 1, 2, 3 are in the same rack, share a power supply and furthermore things (zone 1)
Node 4 is in another dc-room and rack with its own power supply, electricity and network uplink (zone 2)
Node 5 similar to node 4 (zone 3)

I would like to have the databases for the incus cluster spread over node 4, node 5 and one of the nodes 1, 2 or 3. Currently it can happen that the database replicas are spread over node 1, 2, 3 which would end in a defect cluster in case zone 1 has an outage.

Does incus have some kind of zones or grouping feature for incus cluster members so that it won’t schedule more than 1 database master processes for the quorum in one single zone?

Thank you very much and best regards

That’s what the failure domains on the cluster nodes are for.

Okay thanks. I added the first 3 hosts to a similar failure domain and the others to different ones. Now it should work.