I'm tinkering with a Debian Xen dom0, curious about the ways I can host domUs. This is not production, I'm just learning.
I'm considering a setup that centralizes all irreplaceable data on a box running FreeNAS, which can export iSCSI or NFS. If I understand correctly, iSCSI would allow me to layer LVM on top, which is the preferred way to run domUs for flexibility and performance. NFS would be used if I did a file-based VM setup, which I consider second choice.
The way I *think* it would work best:
Code:
FreeNAS SAN
-----------
Raw Disks -> RAID -> zpool -> dataset -> iSCSI target
Xen Server
----------
iSCSI initiator -> 1 pv -> 1 vg -> multiple LVs for VMs
Would anyone care to comment on the viability, merits and demerits of such a setup? I'm interested in comments on performance, maintainability, backup and snapshotting, and any other administrative concern in a production environment.
In short: is there a standard or generally-accepted way to deploy Xen domUs to remote storage, all these considered?