Hosts: Ubuntu 12.04 LTS x64
VirtualBox: 4.2.x
I have been tasked with coming up with a solution for a backup datacenter. We are a small company but we have users all over the world. We depend on the internet directly (browser based apps) and VPN via routers. Ocassionally our internet fails. This last time we were down for almost a week. Long story short - someone plowed up a cable and it took them time to locate and fix it.
We have virtualized all our servers. What I want to do is be able to shutdown the servers and start them in geographically different location if something goes wrong.
We currently use glusterfs to store our VM's and data so I would just mirror the volumes to the new datacenter. I want to be able to "move" the virtual farm from the primary location (DC1) to the backup location (DC2) with minmal to no (manual) configuration changes required. How could this be done?
DC1 (Datacenter 1)
Physical IP Network: 10.1.0.0/16
DC2 (Datacenter 2)
Physical IP Network: 10.2.0.0/16
Virtual Farm (or Cloud) (where the servers run and users connect)
Vritual IP Network: 10.10.0.0/16
The virtual server farm and IP network typically runs on top of the physical IP network 10.1.0.0/16 at DC1. If DC1 failes the virtual server farm and network will be started at DC2. The virtual network (10.10.0.0/16) has now moved. All users connect to the servers using the servers virtual addresses (i.e. 10.10.0.0/16).
How do we inform the VPN routers that 10.10.0.0/16 (the virtual farm/cloud) is now running over at 10.2.0.0/16?
I know I can visit each router and manually update the routing table but that is less than desirable. There has to be a better way. I suspect there are some tools out there but I'm not sure what I am looking for. A lot of terms are thrown about assuming I know what they mean.
So, my disaster recovery plan is this:
1. Internet fails or other disaster at DC1
2. Shutdown virtual farm at DC1
3. Start virtual farm at DC2
4. Inform VPN routers that 10.10.0.0/16 now located at DC2 (10.2.0.0/16). <<< the part I'm not sure about