Here is what I wanted to accomplish.
One server with several VM’s to run 24/7
- Router ( to route between Home lab and Internet) / Linux
- Windows Deployment server (So I can easily deploy new VM’s into the lab). Will be running in windows server 2012R2. I will Buy 1 License for this. Deployment images will be done with evaluation images. This will also be my vpn server and router between LAB and Internet
- Plex Media Server (Same as I have now but with more Storage) with owncloud. This will be running on opensuse
- Client and Server VM’s to get me through the exams. Probably between 5-8 but they do not need to run at the same time and once an exam is done I will delete the VM’s. So I can create new once for the next exam.
The media server will take the most of it, but only when it is streaming to multiple devices which do not happen allot. I need redundancy. I can’t afford to loose data as I will lose all my media including private videos and photos
- Processor: Intel Core i5 4460 (€155.95)
- Case: Cooler Master CM Force 500 (€ 39,95)
- Memory: 2X Kingston ValueRAM KVR16N11/8 16GB ( will add 16 more if needed ) (€137.90)
- Powersupply: Corsair CX500M (€ 57,95)
- Harddrives: 4 X Seagate ST3000DM001 3TB (motherboard will support raid)(€372.55) and one 500GB disk I had left
- Motherboard: ASROCK H86 Pro4 (€ 89,95)
Total cost: (€854,25)
Harddrives and memory are the most expensive items on the list. I’m sure it can be done with other setups and be a little bit cheaper. If you created another setup then please leave a comment below this article and explain why you have chosen for your setup.
I will use the 500 GB as a startup disk and install Hyper-V on this disk
The build went well and there were no issues. Here are some nice photos
Photo’s to come
The motherboard has a build in RAID (for 6 disks). For home use it is ok. First I put the disk in RAID-5, but the writing speed was very very slow. Around 20mb/s. So I bought an extra disk and put it in RAID 10. It is now fast enough for me to use in a home environment. The lesson is never put the disks in RAID-5 when using an onboard raid controller
I have downloaded the Hyper-V core (as this is free from Microsoft). I used the program linux pendrive to put it on a USB stick as I do not have a CD-ROM installed on the server. if you do the same just make sure you select windows 8 in the list otherwise it will not boot. Put it in the server and booted it up. Installed Hyper-V on the 500 GB disk, yes I know normally you put this on a SSD drive. But I do not have any. perhaps in the future. The virtual machines and virtual disk will be placed on the RAID setup. So if the 500 GB disk fails I still have all the data. Configured the PC name and gave it a static IP address. Made sure that remote was enabled.
Now I can use it remotely and use Hyper-V manager and Server manager from my windows 8.1 PC after some tweaks in windows 8.1 as I’m using it in a workgroup environment. You can read here how to do this.
Now that I have everything installed I need to configure Hyper-V. I want to be able to upload ISO images to the server for installation on VM’s. Like windows or Linux. I also want to be able to copy or upload Virtual disks to the server and I want to have access to the virtual machines directory on the server. in case I need to copy or move something.
like all windows 2012 servers it has got the files server role already installed. So I can start and create the share. So I need 3 share
- Virtual Machines
- ISO Images (This will be on the 500 GB disk)
In Server manager go to servers and select the HyperV server. Right mouse click on the server and select computer management
In computer Management select shares folders and then share. Right mouse click and where in the white area and select new share. The sharing wizard starts. When browsing to the folder select the C or D drive. Right mouse click and create a new folder. Name the folder and select it then press ok. I also made the folders accessible to everyone
Repeat the step for all the directory’s you want and done. This is the easiest way to create and share folders on the HyperV server. You can also do this in servermanager trough the file and storage dashboard. But I wanted to show you an alternative way.
Now we configure Hyper V to use these directorys. Open hyper-V manager (right mouse click on the shyperv server in server manager and select hyperv manager) and press settings. Now point the disk and the virtual machines to the right directories
Now We upload the ISO images to the ISO directory on the server. This can be done thought the network on you client pc and I’m sure you know how to do this
Now the server is setup and we can start create VM’s. I will explain this in other blogposts to come