KVM/Ansible/Docker/HAProxy Project
It's been a while-I know! So, I've made plenty of progress on my KVM hosted VM cluster project. I have set up (currently) 6 VMs (or "domains" in KVM parlance) running on a Core2Quad with 8GB of RAM. I love that I can overcommit resources with impunity-this is perfect for a lab environment. After spending weeks of what free time I could muster-I got Ubuntu cloud images to run with cloud-configs on .IMG files for automatic set up, I templated the VMs so that my router could automatically assign static IPs to each VM. All using bash scripting and pre-built KVM XML files to get a handle on things. Next came Ansible, with that I've completed the set up of my Ansible VM that will manage the pile of VMs on the server. I have also scripted in Ansible the foundation playbook for relaunching the entire cluster-which was previously written in bash. I still need to write the Jinja2 template for the VMs though-using a shell command to side step that need for now. So today I've got the updating of the VMs without tear down (destroying the VMs and rebuilding from a fresh image-I built this complete option in Bash-including the pull of the most recent image from Ubuntu's servers) scripted. I'm now at the point where I have to step back and get the security figured out. I have to firewall the host server and all the VMs-and also look at moving the switch that the server and Raspberry Pi farm are plugged into behind a router... I may also look at an intrusion detection server in the group in addition to my planned ELK server... I really wish Shaw hadn't done away with the two dynamic IPs you used to get on Residential Internet... #firstworldproblems













