My question relates to activating HA in a 3 node cluster which uses local ZFS storages.
Each node has two ZFS pools of equal capacity: pve-a ( zfs-a, zfs-b ) pve-b ( zfs-b, zfs-c ) pve-c ( zfs-c, zfs-a )
pve-a (zfs-a) replicates to pve-b (zfs-a)
pve-b (zfs-b) replicates to pve-c (zfs-b)
pve-c (zfs-c) replicates to pve-a (zfs-c)
This round robin style replication allows any VM to be activated quickly but manually if any node goes down.
Id like to activate HA to automate the process but not sure the best way.
Does HA automatically know each VM is already replicated on the next node in the round-robin ?
Will HA try to make another copy of a VM that is already replicated ?
Does HA know not to try and put a VM from pve-a to pve-c (since the only valid destination zfs exists on pve-b).
Will HA be upset that pve-c doesn't have a copy of zfs-a ?
I'm new to this and not sure if this style of setup is unique, apologies if this has already been asked/answered but I couldn't seem to find the answers after researching.
I suspect I may have to create a HA group for each node which only allows VMs from one node to restore on the next. But still unclear if the already replicated machines will be utilized. Also I'm not sure about fencing and creating a watchdog to prevent race conditions after a node restore.
Any feedback is appreciated. Thank you!
Each node has two ZFS pools of equal capacity: pve-a ( zfs-a, zfs-b ) pve-b ( zfs-b, zfs-c ) pve-c ( zfs-c, zfs-a )
pve-a (zfs-a) replicates to pve-b (zfs-a)
pve-b (zfs-b) replicates to pve-c (zfs-b)
pve-c (zfs-c) replicates to pve-a (zfs-c)
This round robin style replication allows any VM to be activated quickly but manually if any node goes down.
Id like to activate HA to automate the process but not sure the best way.
Does HA automatically know each VM is already replicated on the next node in the round-robin ?
Will HA try to make another copy of a VM that is already replicated ?
Does HA know not to try and put a VM from pve-a to pve-c (since the only valid destination zfs exists on pve-b).
Will HA be upset that pve-c doesn't have a copy of zfs-a ?
I'm new to this and not sure if this style of setup is unique, apologies if this has already been asked/answered but I couldn't seem to find the answers after researching.
I suspect I may have to create a HA group for each node which only allows VMs from one node to restore on the next. But still unclear if the already replicated machines will be utilized. Also I'm not sure about fencing and creating a watchdog to prevent race conditions after a node restore.
Any feedback is appreciated. Thank you!
Last edited: