I currently have two XEN-Hosts running a set of virtual machines. These machines can communicate with each other via a host-only network. I want to be able to move virtual machines between both servers without the VMs even noticing they have been moved. As an example, consider the following setup: I have a webserver, that communicates with a database server via host-only networking on a 10.42.254.0 subnet. I want to be able to move the webserver to the other host (host2) and still be able to access the database running on host1, without changing the configuration.
My idea was to bridge the host-only bridge-adapters on both dedicated hosts in order to share the same subnet. Is this at all possible? Both Dom0s are located in the same data center and in the same subnet.
Somehow that solution does sound a bit dirty but I'm not sure how to maintain transparency between both systems in any other way.