cvb941 / HAHA

Highly Available Home Assistant - a solution for running a redundant installation of Home Assistant
301 stars 30 forks source link

Support for ESXI, Virtualbox #3

Open Makr91 opened 4 years ago

Makr91 commented 4 years ago

So, I know this is still pretty new, in my home environment, I have a server rack, 5 Servers, 2 of which are UPS backed and run ESXI, the other are CentOS ZoL with KVM and GPU Passthrough. I would ideally like to run this on each of the Hosts as VMs (Preferably CentOS) but I am unsure of which direction to go.

Should I try to get Ansible to create a Docker container in CentOS like you stated, or would it be better to try to get ESXI and KVM to emulate Raspbian and have Ansible handle the Raspbian hosts?

cvb941 commented 4 years ago

If you get Ansible to talk to the VMs and ensure they can form a swarm between them, it should work.

However, as I said in the readme, since I used Raspberries to make this work I have chosen images (namely the MariaDB one) which work on arm32 but incidentally are not compatible with x86. But it should be just a matter of changing the MariaDB images in docker-compose.yaml to the default ones from https://github.com/colinmollenhour/mariadb-galera-swarm.

Have you found a different solution in the meantime?