I have two physical servers that I'd like to setup for virtualization. I'd like to set them up in such a way so that the following goals are met:
- Allows live migration of guest OSes from one server to another, if I have to take one of the physical servers down for maintenance.
- If the hardware of one of the servers dies, I can do a cold migration of its guest OSes to the other server (i.e. all data is sync at all times between the two physical servers).
- Underlying storage for guest OSes can be efficiently snapshotted once every hour or once every day (e.g. using ZFS. I'm ruling out LVM, since taking multiple snapshots in LVM is inefficient).
Since OpenSolaris provides ZFS, I'm thinking using OpenSolaris/xVM as a dom0 would be a good fit. However, my understanding is that in order to allow live migration, you need to have another server (SAN) for shared storage, and I'd rather not add another server for cost reasons.
If it wasn't for the fact that ZFS isn't available for Linux (except through FUSE, which I'd rather avoid), I know I could set something like this up for DRBD. Could I do something similar to that with OpenSolaris? I've read about AVS, but I'm not sure if live migration can be made to work with that. Or if you have any other suggestions that use a different OS, I'm open to that as well.
Thanks!