Scientific Linux — an alternative to CentOS?

18/08/2011 – 10:43 am

As CentOS is currently in a bit worrying situation with security updates arriving late, and major and point releases being months behind, it’s probably a good idea to have a look around and check what else is out there that claims to be binary compatible with RHEL. With more than 100 active installations of CentOS, I just have to make sure that we’re ready for the worst case. Obviously purchasing subscriptions with RHEL for all those installations is not an option; the customers can’t possibly agree to the significantly higher costs that would force on them.

Now, I don’t want to spread rumours or create unnecessary panic. I don’t really doubt that the CentOS team will somehow manage to increase their pace a little bit, and their latest announcement regarding continuous releases (essentially “backported” security updates) goes into the right direction, if they can for once stick to their promised timelines.

Nonetheless, I need stability and consistency. That absolutely entails security updates, quite obviously. From my personal and professional experience, if it has to be Linux, RHEL-derivates are by far the best bet for enterprise environments. So, just in case, what else is in store for paranoid people like me who have committed to using RHEL and its forks/clones? (where FreeBSD sadly isn’t an option)

Read the rest of this entry »

FreeBSD 8.2 on Xen using Para-Virtualisation, Step-by-Step

08/08/2011 – 07:55 pm

Using FreeBSD on Xen is not exactly uncharted territory any more these days, however you’ll often find that people use hardware virtualisation (HVM) instead of para-virtualisation (PV). The latter can unleash quite a bit more potential, and of course features like memory ballooning, live migration, attaching of network interfaces or storage at runtime, etc.  Some of these features may not yet be supported very well, but I’ve got trust in the FreeBSD community! (I only wish my C/C++ wasn’t so rusty and I had focused more on system-level development in the past. But well, writing tutorials to help others use it isn’t too bad either, is it? :P )  Problem is that documentation with regards to this subject is scattered all over the place and often outdated.

So anyways, enough waffle here. Those of you who are interested, should follow this link: my step-by-step guide on how to set up a FreeBSD PV guest from scratch, including pygrub support. The tutorial will walk you through all the steps required from setting up an empty stub, over creating a HVM guest, to transforming that into a PV guest (or even hybrid, if you wish).

GlusterFS, a workhorse that needs to be tamed

31/07/2011 – 08:51 pm

I’m sure by now most of you will have heard of GlusterFS, which allows you to store data on a very large scale, replicated, striped, or both – across multiple physical boxes. At the face of it, and if you believe the marketing, it is THE most reliable and fastest solution. And yes indeed, it has got massive potential, and it has matured a lot over the years since I last wrote about it. However, it still has got a few nasty pitfalls, which you need to be aware of before deploying it into a production environment. You should really test thoroughly how it copes with your workload, and how your applications and infrastructure behave in case of failure.

Read the rest of this entry »

So long, XenServer

19/01/2011 – 02:08 pm

Citrix XenServer is great. No really. As long as you don’t want to do uncommon things like, say, replacing a network card which is your management interface, or deleting snapshots and expecting to get the freed space back instantly, XenServer is solid and very easy to setup and use. With a few clicks you can set up VMs with just about any available OS, attach them to a network interface or even VLAN [more on that later], and are only a few more mouse clicks away from starting it. I’ve run various different OS on it: a bunch of Linux flavours, FreeBSD, Solaris, Windows. It runs and runs and runs.

So where’s the but? Here it comes: …but if something unexpected happens, you are seriously screwed. Here are a few examples from the past couple of months.

Read the rest of this entry »

EC2, Puppet, and some custom Development

02/01/2011 – 01:37 am

Hello, and a Happy New Year everyone! I have been quiet here for many months due to an incredible work load. Fortunately the festive season gave me some time to breath, and to look into things which I have been wanting to look into for months, namely Amazon’s EC2 cloud, which has become much more interesting (from a business perspective) since they have achieved PCI DSS certification, and Puppet, which is a brilliant tool to automate lots of server (or EC2 instance) management tasks.

Read the rest of this entry »

Why I’m not fond of Ubuntu Servers

16/05/2010 – 11:11 pm

Recently I have found myself complaining about Ubuntu Server more often, and people apparently start taking offence. First, let me clarify that I do think that Ubuntu is a very good option for desktop computers, if you’re not too keen on running commercial operating systems like Windows or Mac OSX. Without Ubuntu founder Mark Shuttleworth‘s help, Linux still wouldn’t be that popular on desktop computers. That is a great achievement and certainly helped Linux to become more mature (both on desktops and servers), as wider interest in Linux automatically helped growing the community of developers who participated in various Linux-related and open source projects.

That said, we must not forget Ubuntu’s focus, which I think (and I will expand on it later) is still valid: desktop and laptop computers.

Read the rest of this entry »

Reducing Downtime with Virtualisation

25/10/2009 – 04:15 pm

I’m not going to explain in depth how virtualisation can reduce downtimes in general, or what you need to achieve that. But from todays practical experience, I’d like to give one example.

Let’s say you are running FreeBSD on a server, and you need to do a major upgrade (that is from 6.x to 7.x). This process can take ages, if your machine is not running the latest hardware, and/or you have a lot of 3rd party software installed (ports). I’m not talking about an impatient person’s definition of ages, or about the one of a customer, who claims hundreds of quid financial loss in 20 minutes downtime on Sunday morning 1:30 am. :)  I’m talking about ages as in many hours.

Of course, a FreeBSD upgrade doesn’t require to be offline while it’s proceeding. But you will need to reboot. And as a rule of thumb, one can assume that dependencies in the ports will break. Usually only one or two of them, but it requires manual work, and can cause an unpredictable partial downtime, which is longer than it takes to reboot the machine.

So how can virtualisation help here? In a nutshell, it allows you to do the whole upgrade on another virtual machine. You can take a snapshot of the production machine, start it as a new VM, and do your work there, while the original VM stays online.

This also reduces stress enormously, because if you break something during the upgrade, there’s no time pressure to fix it. You can spend as much time as it takes to finish your work properly. Cool, isn’t it?

And when you’ve finished your work, you can inform your customer about an upcoming 1 or 2 minutes downtime for a major system upgrade (which you have already finished). :-)

All you need to do when the time has come, is to sync files which changed during run-time (for example mail folders), change the network settings in order to make your upgraded snapshot take over, and then you can safely decommission the old VM. It really is as easy as that.

Filemate SolidGo 48GB EC/34

11/10/2009 – 12:08 pm

photo

To cut a long story short:

  • massive speed improvement
  • excellent for work with many small files (compile times for big projects reduced significantly, to give one example)
  • good value for money (~ £125)

And now the down-sides:

  • getting very hot
I have been using it for 4 months, until it died today. I’m almost sure that it was the temperature together with the very slim design of my MacBook Pro. So I can definitely not recommend this solid state drive for 2008 MacBook Pro’s, but it may work for others.
It’s a shame…

My Broadband Adventure

19/08/2009 – 03:52 pm

It might be just me, my misperception, or the fact that I haven’t quite understood yet what “support” means in this country (I think it might be arguable if it means anything at all). But I have the feeling that ISPs in the UK have no clue what they are doing! Let’s hope they don’t do that on purpose…

When I moved in a year ago, there wasn’t a broadband connection in this house, but there was a phone line — with BT apparently. So I went for the option, which I hoped would be the quickest (in terms of getting connected): BT. 8meg sounded ok to me, and I didn’t want to use 3G all the time (although I had a lot of traffic allowance on my contract).

Read the rest of this entry »

How to Jailbreak iPhone 3GS with OS 3.0.1

08/08/2009 – 03:54 pm

Slowly, manuals spread around the web, but somehow many seem not to work as expected. I gave it a go and tried some with my brand-new iPhone 3GS 32GB (yeah, show-off, I know), until I finally found a pretty easy solution.

This tiny manual comes without any warranty whatsoever! I only collected information from other sources, which seem to work for me, but not necessarily for anyone else. In fact you will even lose Apple’s warranty with a jailbroken phone. So use it at your own risk.

Read the rest of this entry »