Recently I've found that my server needs have changed somewhat, and with a few recent disk failures I decided to act upon it.
I have found myself wanting to practise other Linux distrabutions, Windows servers and generally experiment with server and networking systems. Unfortunatly I don't have as much spare hardware laying about as I once did as I get continually reminded by two perticular ladys who have become part of my life (yes it's the mother daughter tag team!) to stop hording. So now I'm left with very little in way of gear, never mind though as I have a storage server with a a dual core CPU, 3GB Ram a few TB of storage and very little to do other than warning me when drives are failing! So with this over powered machine being nothing more than a glorified room heater I decided to get it hosting some virtual servers (VPS).
First came the issues:
- For ease I had to get rid of my beloved Gentoo install
- I had a second drive drop out of my RAID 6 array, whilst I replaced it for some reason it would get to 99% resync then drop the entire array! I needed to --force assemble the array with 2 drives missing, not a good sign so needed to back the data up! (note I have important data backed up off site, but I have 100's of GB of DVD's that I have ripped from my collection that I'd rather not re-rip if I could help it!)
- I needed to pick the correct virtualisation platform and a nice straightforward control panel, whilst I am happy manipulating through shell it's just hassle I could avoid!
- The wife gets annoyed when I take the storage down as she can't watch or listen to anything on her PC or the Xbox's (Xbox Media Centre)
The solutions?
- Cloned the disk to an image and will redeploy on a VPS
- I backed all the data up on the arrays cold spares, borrowed 1TB drives, and the dual external drive that I use for on-site backups (totalling about 4.6TB)
- I installed cloudmin to test it on my desktop, liked it and tried it out on the server. Centos 5.5 continually kernel panic'ed after installation (duing boot) which I'm happy that I could have solved the problem (ctrl+c during boot allowed to a boot into shell) I really didn't want to waste my time. I then remembered that a friend of mine pointed out Proxmox (Debian with a nice control panel that manages KVM and OpenVZ), so installed it and love it!
- Tell her that it was either this or loose everything, seemed to work.
Other than swapping the servers E2160 for my wifes E6600 to benifit the virtualisation with VT-x (so I can host windows machines) the install was pretty straigh forward and worked like a charm. Whilst I will still need to run my CCTV system of the host machine every thing else should be able to run off guest VPS's.
Currently my new setup is as follows:
- arkh-morpork (Proxmox - host machine) - E6600, 3GB DDR2, 2 x 20GB IDE (RAID 1 for Boot), 2 x 40GB SATA (RAID 1 LVM for VPS's), 12 x 500GB (RAID 6 for Storage)
I may upgrade the LVM drives to 2 x 200GB however the boot drives will stay IDE as they are only used by the host machine not the VPS's
This machine is sharing the storage to VPS's via NFS and also stores VPS ISOs, images, backups. - thegreatatuin (Gentoo - guest machine) - 2 cores, 512MB RAM, 5GB LVM, 12 x 500GB shared via NFS
This machine is the original "everything in one" that I will now strip back down removing anything that other VPS's will now be used for, i.e. remove zoneminder, sip, etc.
This machine will mainly be used to distribute my storage i.e. samba, upnp, streaming. - dibbler (Windows 2008 - guest machine) 2 cores, 1GB RAM, 10GB LVM
This machine is simply to play with exchange and active directory functions with, I may use it permanently I may not. - nannyogg (trixbox - guest machine) 1 core, 256MB RAM, 5GB LVM
This is my new SIP PBX
Everything seems to be working as expected however I haven't tested performance yet to see if I can get the host machine struggling with the guest machines under stress.
One improvement that I want to make is to upgrade the host machines specification to quad core CPU, 8GB RAM and larger drives for the VPS LVM whether this will be achieved on it's current platform (AB9 Pro 775) or something newer I am unsure of yet and will depend on hardware costs.