How do you setup 2 HA Failover to run on 2 Unraid VMs

how do i setup HA in a cluster or Fail over
so 1 dns name homeassista:8123

but it will got ot my unraid Main and it will goto my unraid Backup

so in the event main server is shut off… HA still keeps running… i know with RPI the have like kube and rancher etc… so you can run across 8 Pis
but i wanna go over 2 VMs under Unraid.
and so if i edit the files… it updates on both systems… so i also dont have issue when main server fails my home assistant isnt down for the count… how can i link 2 together… in VM and whatever else i need

bump, did you got it solved?

no never found a way other the shutting down and manually copying things… i was hoping for a fail over feature… that was automatic… i also got tired of manually copying so i havent been keeping up with manually doing a fail over… as sometimes i change the page a bunch of times in a day say i wanna tweak and then id need to copy over… but be nice a
sync to other server so if 1 goes down the other pics up… but no never solved it