LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Home Server Planning - KVM & ZoL (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/home-server-planning-kvm-and-zol-4175470914/)

tidal 07-25-2013 03:08 PM

Home Server Planning - KVM & ZoL
 
Hello everyone,

I am doing some pondering on how I would like to set up a home server environment.

I am currently planning on using KVM on CentOS 6.4 to host the network's services. My thinking behind placing services on VMs is to avoid the kludge that my old home server has mutated into over the years. I am currently experimenting with KVM due to it being supported by Red Hat and the troubles I have had in the past trying to get live migration working on Xen (in the off-chance such a measure were to be wanted for home use).

The VMs would be stored on a ZFS array managed by the host using ZFS on Linux, in order to avoid having to buy separate hardware for a FreeBSD box just for storage. I would likely push my snapshots to a separate machine placed in as far away a corner as possible. I don't think off-site would be viable for me cost-wise.

I am still testing pieces of this setup in virtual machines, and am holding off on the hardware until I can get the test versions to be more functional.

Does this overall setup idea raise any immediate red flags? Has anyone had any major performance problems with either ZoL or KVM?

Thanks

Edit - Did a live migration with KVM successfully with my sandbox machines. Other than a few silly mistakes, it was fairly easy to push from the source to the destination. This was a welcome change from the difficulties I was having with Xen. However, at the time of my original post I had forgotten about the fact that the virtual disks must be accessible by the source and destination at the same place on the file system on both machines. This would mean a separate server, or simply not being able to fully move a machine, disks and all, from place to place without downtime (not critical in a home environment, of course).

Re-Edit: KVM migration wasn't quite as seamless as it seemed at first, though I think most of the problems were just a case of being a wee bit too gleeful about tossing my test VM around. But that is a whole thread on its own.

dyasny 07-26-2013 04:56 PM

Why do you need ZFS? Especially ZoL, which is not very well tested in production

tidal 07-26-2013 05:56 PM

Quote:

Originally Posted by dyasny (Post 4997535)
Why do you need ZFS? Especially ZoL, which is not very well tested in production

It's likely my desire to experiment bleeding into my plans for a long-term home setup. I think the snapshots would be useful if I ever had to get an older version of my content, and what I have read about pushing snapshots through SSH seems like a very convenient way of pushing changes to an external server.

dyasny 07-27-2013 12:23 PM

I'd prefer to use LVM snapshots and DRBD, but it's your setup...


All times are GMT -5. The time now is 05:05 AM.