News archives for computing

February 27, 2008

Fail

Filed under: Computing

did that hurt?

…aka 1/6th of the screen left! Yay!

January 9, 2008

New job

Filed under: About, Computing

As of today, I am formally a Software Designer at Sulake Dynamoid. My main focus will be working on IRC-Galleria, the largest online community in Finland. The site boasts a whopping 800,000 member visits a week and is thus one of the world’s most active online communities. I have been interested in virtual communities for some time now (heck, I started one too) and the opportunity to work in the field professionally is something of a dream come true. I anticipate a lot of challenging work ahead but also many opportunities to further my skills in an exceptional working environment.

To find me at IRC-Galleria, look for a certain yakbrain.

August 3, 2007

Web Portfolio

Filed under: About, Computing

Having put web sites online since 2001, a web portfolio was long overdue. It is not a coincidence that the portfolio is also available in Finnish, nor that the Curriculum Vitae and about page have also been updated. Time to write some job applications.

May 16, 2007

Stunnel chroot scripts updated for Etch

Filed under: Computing

The need to work around a bug getting my new Nokia E61 phone to speak with Exim4 got me around to updating the chrooting scripts for Stunnel to work with Debian Etch. The few who will find pleasure in this, enjoy!

April 21, 2007

Crash déjà vu

Filed under: General, Computing

OpenVZIt happened again. The GNU C Library broke, this time on Debian Etch. Not being able to track down the problem to either something I did or a Debian bug, I decided on adding another layer of protection. All services at tsampa.org are now running as virtual private servers (VPS) under OpenVZ. If any VPS dies, it does not hose the main system allowing me to restore within minutes instead of reinstalling and configuring everything from scratch. This also allows several auxiliary benefits, including easy migration to newer server hardware when that time comes and easy server resource management. Thumbs up for OpenVZ!

March 30, 2007

Anatomy of a server crash gone horribly wrong

Filed under: General, Computing

Partitioning...

On February 20th, a routine upgrade of the server software using the Debian package manager failed horribly. The most central software library of them all, the GNU C Library, failed to upgrade correctly leaving the system largely non-functional. And to top it off, the Windows laptop followed suit with a prompt blue screen of death, thus killing the last open shell to the server. The web servers and databases were still happily up and running thanks to being isolated in their own self-containing jail environments, but most everything else, including logging in, was dead in the water. A reboot gave the expected result when the system failed to boot. Caputt.

I forked up the $50 for a 24 hour rental of a remote console with various rescue tools and operating system reloaders to be able to make a last full backup before reinstalling. While at it, I figured I would go ahead and upgrade to Debian Etch, since it is just around the corner to become the new stable release. But the server configuration, while flexible and hard drive failure resistant, proved to be a nightmare in this scenario where data had to be rescued off an unbootable system; the server was configured to mirror the data on two identical hard drives (RAID level 1) with most of the data residing on LVM volumes formatted with the ReiserFS filesystem. With a hardware card taking care of the mirroring, the two drives still transparently appeared as a single drive to the rescue disks. Alas, the rescue disks proved not have the software libraries needed to mount the LVM volumes AND read the ReiserFS format. Goodbye quick backup, goodbye.

Plan B was to have the RAID array broken up by removing the hardware card to allow a fresh install of the operating system with the requisite tools on one drive to access the original data on the second drive. This took a bit of constructive hard drive switching and bootloader configuration as the boot information and drive partition tables turned out to be stored on the hardware RAID card itself making the drive information unaccessible without it. In the end, fed up with facing yet another several hour wait to have a hard drive removed, I bravely installed the new operating system while having the original drive plugged in as secondary master with the feared result that I whacked up the partition table for the last original drive in the process. This was four days after the server crashed, two of which was spent waiting for the remote console to actually be hooked up and then determined not to work in my server rack due to a local issue necessitating the temporary relocation of my server. At this time, I had arrived at the tranquil conclusion that losing the last few months of e-mail and a few scripts would not be the end of the world. And it wasn’t. Alea iacta est and whatnot, I still had a reasonable fresh full backup of all the web data complemented by Google’s cache so things were reasonably dandy.

Armed with a new sense of how to reconfigure the server to better take this kind of disaster scenario into account, I had the techs remove the hardware RAID card for good and set out to install Debian Etch with software RAID. Things were not smooth sailing now either, as the installer first refused to install Etch due to a hard to track down Debootstrap Error, the server chassis needed to be replaced due to a faulty keyboard port and the techs made several mistakes (it did net me free access to the remote console for a few days and a free 512MB RAM addition for a current total of 2GB). In the end, it took an incredible eight days to go come to the point where I could actually do a 30 minute fresh install of the system and have the server moved back to its regular slot.

With this much downtime already behind me and no paying clients on the server, I took the time to upgrade all software, to rewrite the jailing scripts where needed and, more than anything else, to hack on a comeback to be reckoned with for my virtual powerlifting project (soon to be relaunched, tighten your socks!)… basically doing things that would have been needed to be done soon anyway. Apologies for the downtime, stay tuned for the pay off.

The final bits and pieces have now been restored here at tsampa.org, shoot me an e-mail if something is not working like it used to.

November 29, 2005

Chrooting scripts for Temboz and Stunnel

Filed under: Computing

I stumbled upon the Temboz RSS aggregator a few days ago and immediately knew this would replace my previous aggregator of choice, Feed On Feeds. To secure the built-in web server that ships with Temboz for remote use, I wrote a chrooting script for it and also ended up chrooting Stunnel to force Temboz to speak https (as in encrypted login information). Both scripts are for Debian (tested on Sarge). In a plainspeak nutshell: the computing section has received a long awaited update with the introduction of a Linux Server Notes department. :-)

October 19, 2005

For whom the bell tolls

Filed under: Computing, Family

sushiGot and turned myself 30 a few weeks ago. Things have been really busy, for one thing I migrated the server once more to another host (RAID-1 and 1.5GB RAM, yay!), but finally immortalized a pile of my birthday sushi as a delicious wallpaper. I really need that as a desktop reminder that life still has a meaning after having accidentally wiped 1600 songs off the 20GB iPod I was kindly given by friends and family. Definitively need more sushi for that brain boosting dose of omega-3 it seems…

May 31, 2005

tsampaPRtable virgin release

Filed under: Training, Computing

Wrote a dirty little PHP script to generate a personal record matrix out of a plain text file to save me from the thumping headache associated with manually managing the jungle of <td> tags that comprises my powerlifting personal record matrix. Besides being practical, the script also adds a few goodies that are not feasible to do manually. tsampaPRtable is GPLd, so feel free to grab a copy whatever your PR needs.

May 15, 2005

Welcome to the new server!

Filed under: General, Computing

After two years of running tsampa.org on a virtual dedicated server over at Advantagecom (excellent hosting btw), we are now running on a dedicated 2.4 GHz Pentium 4 box with 1GB of RAM powered by Debian Sarge. The brunt of the migration effort is on the backside (my collected notes span 50 pages in OpenOffice), but I did take this opportunity to redesign and move the frontpage and Under the Bar from Movable Type to a hacked Wordpress 1.5. My design is, understandably enough, called One Line to Rule them All… There are still a few rough edges to sort out, but do e-mail me if anything strikes you as broken or, gulp, undesirable.

December 21, 2003

Wallpapers

Filed under: Computing

camel wallpaperCreated a wallpapers section under computing. Currently features this camel plus the obvious Christmas choice in a wide range of resolutions from 640x480 to 1920x1440. Enjoy!