I'm trying to set up a "Highly Available" server configuration. From what my book says, I start with my original "Home" server that has Apache, and then I first make a clone.
To do this in DreamCompute, is this simply taking an "Instance Snapshot" of my Home server, and then launch "Home 2" using this snapshot as the source? This is what I have done, but I'm not sure if this the correct way for setting up this "High Availability" configuration.
The book says I need to install "keepalived" to ubuntu on both servers and set up a config file. In the file, a variable called "virtual_ipaddress" is supposed to be the same on both servers, and supposedly this is a "Floating IP" address. In the DreamCompute panel, I tried to associate a Floating IP with both servers, but I keep getting these errors in the panel:
Error: External network ***** is not reachable from subnet ******. Therefore, cannot associate Port ****** with a Floating IP. Neutron server returns request_ids: ['*****']
Error: Unable to associate IP address ....
I looked into this DreamCompute guide: https://help.dreamhost.com/hc/en-us/articles/215912768-How-to-manage-floating-IP-addresses-on-DreamCompute-instances . It says instances with public networking will have Public IPs but no Floating IPs? What do I do now?
Currently, I have 3 instances, each one has it's own Public IP. There is my main "Home" server, "Home 2" clone server, and "Slave" as a MySQL slave for master MySQL "Home". I got the Master-Slave database concept working.