I'm about 2 weeks into a project which to this point has been very educational. I'm trying to setup an environment which can host several isolated virtual machines (firewall/vpn, web & app servers, git servers, etc) and also serve my family's photo, music, and movie collection (CIFS/SMB). Data preservation is paramount, I back-up the really really really important stuff (photos, documents) to a USB drive and keep it at work. The appliances I run need resiliency as well, so I believe some level of RAID is necessary. Snapshotting (ZFS) would fit the bill nicely for 'oops I accidentally deleted something' moments.
For the VM server, I'm currently running ESXi 4.1 on some newly purchased hardware:
Motherboard: SuperMicro X8SIL-F
Processor: Intel Xeon X3440 Lynnfield 2.53GHz
Memory: 8GB (2x4GB) Kingston DDR3
The server is running completely disk-less. It boots the hypervisor off a USB flash drive, and contains a single datastore served via a QNAP T-219 NAS applicance using iSCSI. The X8SIL-F supports IPMI 2.0, making remote management a breeze. Everything works very nicely together, and if I could keep this setup, I probably would. The problem is that I need to ship the QNAP appliance off-site, since it was originally purchased to serve as a low-touch file server for my wife's business. Plus, having it off-site will give me a more regular backup strategy (via rsync).
So I'm at a point where I need to replace the SAN aspect of the setup. I'm researching (and debating) the possibility of having the ESXi server play double-duty - hosting virtual machines *and* serving as a SAN device. This would be ideal from a cost and power consumption perspective, but may not be feasible or practical. I'm all over the place at this point in terms of research/questions:
Does anyone have any experience or insight that could help me?
Thanks!
For the VM server, I'm currently running ESXi 4.1 on some newly purchased hardware:
Motherboard: SuperMicro X8SIL-F
Processor: Intel Xeon X3440 Lynnfield 2.53GHz
Memory: 8GB (2x4GB) Kingston DDR3
The server is running completely disk-less. It boots the hypervisor off a USB flash drive, and contains a single datastore served via a QNAP T-219 NAS applicance using iSCSI. The X8SIL-F supports IPMI 2.0, making remote management a breeze. Everything works very nicely together, and if I could keep this setup, I probably would. The problem is that I need to ship the QNAP appliance off-site, since it was originally purchased to serve as a low-touch file server for my wife's business. Plus, having it off-site will give me a more regular backup strategy (via rsync).
So I'm at a point where I need to replace the SAN aspect of the setup. I'm researching (and debating) the possibility of having the ESXi server play double-duty - hosting virtual machines *and* serving as a SAN device. This would be ideal from a cost and power consumption perspective, but may not be feasible or practical. I'm all over the place at this point in terms of research/questions:
- Can I utilize the RAID capabilities on my motherboard? The X8XIL-F has the Intel 3420 chip, and in the bios has options for 'Intel' and 'Adaptec' RAID codebases. I've played around a bit, but can't seem to get it working. I would want RAID1 for my primary VM datastore, but not for the drives hosting file-share content as they would hopefully run ZFS...
- Has anybody created ZFS on top of VMFS datastores? Are there any performance / integrity concerns with this setup?
- Would it be a bad idea to create a FreeNAS virtual machine and give it pass-thru/direct access to the disks used to serve my home file-sharing content? I've gone through the necessary steps and it works - but I'm a bit apprehensive about doing something that is off the beaten path...
- If I need to build another (dedicated) SAN device, would iSCSI or NFS be the preferred protocol? Currently, I'm leaning towards NFS after reading about thin provisioning support and the benefits of direct VMDK file access for backup/snapshot purposes. The difference in performance seems to be negligable.
Does anyone have any experience or insight that could help me?
Thanks!