Showing posts with label Distro. Show all posts
Showing posts with label Distro. Show all posts

Monday, 29 February 2016

In search of Xen

Apparently this is what searching for Xen looks like.

After getting the NAS box running (Although it seems to have developed some issues.) I wanted to move on to getting my other server set up and ready to go. This one will be acting as a router/firewall/proxy/all the good stuff and also as my webserver/minecraft server/all the other good stuff server. However I want to do this in such a way that when/if the time comes where I have/need to dedicate a separate machine for any of those tasks it will be fairly easy to migrate across.

To make migrations easier I am planning on running a Xen based hypervisor which will allow me to install pfsense for the router functions and a linux distro for the other server functions. However first I need to install Xen. The first way I tried to do this was by installing Xen over a Debian Jessie install to use that as dom0. This probably would've worked however it needed command line tools and that is something I'm trying to move away from. Particularly with software I don't understand.

Installing Debian was fairly easy and went like any other linux install except for one small detail. The machine didn't want to boot from the CD drive. Now it wasn't the CD. There is something funny here which means that I have to have the below abomination.
Yes, that is every drive that is connected to this machine beside the case, practically in the walkway for this room. To get it to boot from a CD basically you get the boot disk, put it in one of the CD drives, then try it, if it doesn't work keep trying to re-boot, swap drives and try putting another bootable disk in the other CD drive until it boots. Thankfully booting from the Hard Drives is reliable.

Unfortunately because of the whole command line thing I am now playing with XenServer which gives me the dom0 and the Xen install along with the XAPI interface which allows me to control the server from OpenXenManager which is written in Python and as such should run on Linux, Windows or Mac which is perfect for me.

Unfortunately there seem to be issues with that install booting as well so after I finish the last few things on Nathan's Computer I will spend some more time there and get it working.

Speaking of Nathan's computer. It is nearly ready to go, so once windows 7 has finished burning to the USB drive for installation I will be installing that and probably having some fun with benchmarks. Expect a write up of that later this week once I have finalised everything.

If you have played with hypervisors before and can see me running headlong into some giant problems please let me know so I can change course while it is still easy to do so. Alternatively if you don't wan to be hearing about my dodgy servers and would rather see some of the other cool stuff I've been working on let me know and I'll do some more posts on that.

Cheers,
Rex

Wednesday, 17 February 2016

Big Changes in my serving

No I haven't re-built the kitchen. For the last 18 or so months I have been running a number of servers from this:
It doesn't look like much. And in terms of "real" professional servers it isn't. However it has been more than good enough for me. Unfortunately there are some things I am not really that happy about. Recently I have become very fond of Arch Linux and have been enjoying some of it's features more than the Debian that is installed on this server. I know Debian is probably better for servers, but I'm just doing this at home for fun. So I'll do what I want.

The other main thing I haven't been so happy about is storage.
This is what the case looked like after I opened it up for the 1st time in 18 months. Probably a record for one of my computers. As you can see, arranged across the bottom is my network storage array. A jumble of random drives that has very little rhyme or reason, other than I could get my hands on them for the right price.

What they look like out of the case.

This is going to be changing soon. I have bought a case on ebay that will hopefully work as a NAS box. This will be my next big server thing to do. Also depending on how I'm going, this jumble of random drives will probably be dispersed somewhat and the old 20GB drives either retired from server, or relegated to use as boot drives with regular backups. Probably boot disks.

Another thing I will be probably looking at is airflow. Mainly with regards to dust. The house I live in is not new and has had plenty of time to start producing dust. Also this house doesn't have a dedicated server room with filtered AC. Bummer. This however is nothing new and hopefully I can reduce the amount of dust in this case (and the new one) with some slightly (?) informed planning of case ventilation.

I haven't decided on what software I'm going to run on the NAS box yet. That will have to wait until I get it. But I am starting to realise that the hodge podge of HDDs and no actual backup is really, really quite bad. So I dare say that both of those things will change in the future, even if I keep them like this for now.

However if you do happen to have a bunch of reasonable sized HDDs burning a hole in your pocket I know a quiet place where they can go to stay.

Cheers,
Rex

Friday, 15 January 2016

Bad Youtube Playback arch

Shortly before I left on my holiday I came across a problem that has been getting worse and worse over time. When I watch a video on Youtube on my laptop it would use quite a lot of CPU. Inititally I thought well that makes sense, seeing as it is a video and I know videos are a fairly intensive thing to handle.

However it got worse, to the point where my laptop with a quite reasonable for the task Core i5 processor and practically nothing else running would eventually reach thermal cutout temperatures (>100 degrees C) and eventually to the point where it couldn't really play videos. Surely there must be a better way.

And it turns out there is a better way, seeing as I am currently running Arch Linux on there. Also I didn't have that problem on Windows or Debian on the same computer.

Turns out that in Chromium (Not quite Chrome) there is something funny with the rendering for web based playback. This causes massive CPU usage for no good reason.

The Solution?

Go to the URL chrome://flags then enable "Override Software Rendering List" (#ignore-gpu-blacklist)

I'm not 100% sure what it does, but a guess for the blacklist mentioned in the # name make me think that perhaps it was trying to do all of the rendering in the CPU. Rather than getting the GPU (Integrated but still better) to do that part of the hard work, for which it is much more suited.

This may also work on Windows or Mac if you are having similar problems. It certainly hasn't hurt my computer and has made it barely load the CPU at all with video playback now.

If you have any other tips or tricks for Chrome/Chromium that make it perform better please let me know so we can help share this information.

Cheers,
Rex

Tuesday, 25 August 2015

Inception computers


So I managed to get the remote desktop connection working to my work computer. Unfortunately as you can see, that required a few layers. At the bottom of the screen is my Debian taskbar, then running within virtualbox is the windows install on the other partition of this computer. Then within that is an RDP connection to my work computer at the office.

Probably the most impressive thing about this whole setup is how good the performance was. It felt like I would still be able to use it for doing actual work.

I am in the process of finding an alternative that will run natively within my Linux install and I have found this program http://remmina.org/ that will do RDP through a TS Gateway which is causing my headaches. Unfortunately the ppa I found for it is only for newer versions of Ubuntu than the version of Debian I am using. So I can either compile from scratch and probably have to sort out a whole lot of dependencies. Or I can update in place this install of Debian I am using now. Or I move to a distro with rolling updates like Gentoo which I was going to use but then needed a working install far to quickly.

I'll let you know what I end up doing. And particularly if it is a bit interesting I will do a writeup on it. If anybody has a suggestion as to how I should proceed let me know what you think and why.

Cheers,
REx