I’ve had my HP microserver for four years this summer and it’s been a great little machine and very reliable, but the time has come to upgrade the machine as it doesn’t run very quitely and could be more power efficient. I’m currently using Ubuntu 12.04 and am a little bit nervous about upgrading to 16.04 – so a new machine allows me to transfer over in a more leisurely fashion.
The replacement is going to be using an ASRock low powered CPU motherboard machine to minimise power consumption and noise. I’ve used an ASRock motherboard in my router and it runs virtually silent as I didn’t need any fans running in the case.
My first choice was the ASRock J3710-ITX, but its currently retailing at £40 more than the ASRock N3700-ITX, so I’ve gone with the cheaper one. The main difference between the boards is the CPU (see 1 and 2 at the end), but since this is primarily a file server, I’m not concerned about the N3700 being lower frequency.
The rest of the parts are on a wishlist until the motherboard has been shipped, but the plan is:
The file server will be in a RAID 1 configuration using the Red and Purple WD drives, the SSD being the O/S drive. I’ve deliberately not selected two reds or two purples so that the drives should be made at different times and shouldn’t both be from the same batch. Most likely I’ll repurpose the existing 2TB drives to I have for the offsite backup to save money!
The 5.25in rack allows me to plug in one of the offsite HDDs without opening up the case. The case will be used to home my router machine, allowing me to put the file server into the Lian Li media center case.
I’ve previously posted about how slow my ADSL connection is (5Mbps max!) and that I bought a 4G router just over a year ago (http://blog.v-s-f.co.uk/2014/10/fed-up-of-waiting-for-superfast-broadband/). Before I bought the 4G router, I decided to look at how to load balance the connections. There were two reasons for doing so. One was that I planned to buy another ADSL connection to get a stunning combined* max of 10Mbps!!! And the other reason is that the 4G connection has a few quirks that mean I prefer to send and receive certain traffic down the ADSL connection.
I did a lot of research and bought a Netgear FVS336G v2 off Ebay. At the time I bought it, I only had the ADSL connection, but the device only lasted a month. The device wouldn’t work on the newest firmware, would work for a few days and then grind to a halt and also my tablet couldn’t access the internet! Needless to say, it went back on Ebay…
After more research I then found pfSense. At the time I had a spare media centre pc lying around which had become redundant, but ran at 80 watts idle. I repurposed it for the task of determining if pfSense would be suitable.
pfSense is brilliant and free! As a router it does everything I could possibly want (Port forwarding, OpenVPN, Firewall and Load Balancing to name but a few). The administration portal never crashes or decides not to load a page – it simply works.
I started off again with just the ADSL connection and then bought the 4G router. Setting up the load balancing took a bit of time along with determining what firewalls to put in place.
I’ve recently upgraded the hardware to use a low power cpu on board motherboard and the entire system now runs at a max of 20 watts.
Even when the 4G conection was running at 50Mbps for over 10 minutes, the cpu never went above 5%.
(Example of the firewall rules for sending traffic down ADSL for banking and email)
* Load balancing WAN connections does not mean you will achieve A+B – you would need to bond the connections to get close to achieving A+B speeds. For example in the screen shot above where 50Mbps is being transfered, it’s all across the 4G connection as the connections are not bonded. Load balancing however in my situation is great as a family member can watch iPlayer and I can still browse the internet without affecting the video stream as the data will normally be distributed across the connections available according to load.
I bought a new motherboard, small ssd and some ram the other day on Amazon to rebuild my home router and make it more energy efficient. I was really looking forward to going home on Friday and setting it all up only to find out that I’d bought the wrong ram! Realised as soon as I opened the box and though “eh?” that ram’s laptop ram… Doh!