Hi,
I have a two-node cluster with ZFS replication and a Raspberry Pi as a qdevice for quorum.
All VM's and CT's are running on one node and storage is replicated to the other with ZFS. HA is configured for all CT/VM's.
For normal maintenance (updates/reboots) I have set the shutdown policy to 'migrate', so all CT/VM's get automatically migrated to the other node when rebooting the node they're running on. Once the rebooted node returns, all CT/VM's are migrated back.
This all works as intended, but when I power down both nodes, the one running the CT/VM's remains powered on, most likely because it cannot migrate the CT/VM's.
I'm planning on connecting a UPS (one for both nodes), but in case of a power failure both nodes will be shut down, most likely resulting in one node staying online due to the inability to migrate.
Is my assumption correct? What would be the best way to keep HA migrating the CT/VM's automatically, but shutdown all CT/VM's and power down the nodes in case of a power failure?
I have a two-node cluster with ZFS replication and a Raspberry Pi as a qdevice for quorum.
All VM's and CT's are running on one node and storage is replicated to the other with ZFS. HA is configured for all CT/VM's.
For normal maintenance (updates/reboots) I have set the shutdown policy to 'migrate', so all CT/VM's get automatically migrated to the other node when rebooting the node they're running on. Once the rebooted node returns, all CT/VM's are migrated back.
This all works as intended, but when I power down both nodes, the one running the CT/VM's remains powered on, most likely because it cannot migrate the CT/VM's.
I'm planning on connecting a UPS (one for both nodes), but in case of a power failure both nodes will be shut down, most likely resulting in one node staying online due to the inability to migrate.
Is my assumption correct? What would be the best way to keep HA migrating the CT/VM's automatically, but shutdown all CT/VM's and power down the nodes in case of a power failure?