mysql replication – some tips

so.. i have couple of master machines and few slaves. some of slaves are offsite – 60ms away from primary site.

firefighting – asn32 and quagga crash

debian lenny, out-of-the-box quagga_0.99.10-1lenny1_i386 symptoms of disaster in bgpd.log: 2009/05/03 14:00:47 BGP: Assertion `len < str_size' failed in file bgp_aspath.c, line 619, function aspath_make_str_count 2009/05/03 14:00:47 BGP: Backtrace for 14 stack frames: 2009/05/03 14:00:47 BGP: [bt 0] /usr/lib/libzebra.so.0(zlog_backtrace+0x2a) [0xb7f50a5a] 2009/05/03 14:00:47 BGP: [bt 1] /usr/lib/libzebra.so.0(_zlog_assert_failed+0x77) [0xb7f50be7] [..]

2x full bgp feed with quagga

maybe someone will find this one handy. it’s description + config file for bgp setup i’ve recently put on production using debian lenny + quagga.

FAR

far is old school console file manager for windows. since quite a while it was open sourced but i’ve never had enough patience to find actual builds of it. now i got them: you can download lagal free builds of far woot !

data recovery from dying hard disk with dd

situation: i receive notebook with hdd in agonal state. winxp no longer boots up. i decide to connect hdd to desktop pc. bios detects it, but operating system [another winxp] is unable to recognize partitions. surprisingly linux [namely knoppix] detects partitions and is even able to read some files from secondary partition. i take another ... Read More

slacker season

summer. 20-25 C degrees, sunshine. bike/swimming/going around just for sake of it just about every evening. almost perfect. some of those rare in-front-of-the-pc activities: i’ve installed ubuntu to see if it’s any good. verdict? e.. i already have debian, why should i get something like it that is not exactly debian? maybe if i would ... Read More

this and that

some recent readings… – it might be surprising but i do read. something. sometimes..

iso/osi layer model violation

debian GNU/Linux, and open source in general, earn my living on a daily basis. most bizzare combination of tools with just minimum network hardware saved my bottom many times. on the list of most appreciated software besides obvious parts like kernel with its networking code, openssh, apache, php and so on i have to put: ... Read More

surviving the weekend – my way.

friday afternoon. i managed to escape from work at ~5.3o pm. could ‘ve been worse. went home and hunted for my customers. it’s a strategical moment… either i can be buried in work for next one week, be work-less and sentenced to spend weekend not doing anything or – as in this case – gather ... Read More

getting root acces to your linux without knowing the password

you have your linux box… and you dont remember root password. it happens all the time, doesnt it? you can change the password if you have direct access to computer’s console and there is no additional protection on boot-loader level. you just need to provide additional parameters to the kernel: single init=/bin/bash to do so ... Read More

poor mans multihoming under linux

purpose: utilize simultaneously symmetric and asymmetric internet connections on linux router to achieve cost efficient way of providing internet access for few dozens of users. why? symmetric connections to internet still tend to be overpriced, poland is no exception. small ISPs providing internet access for 100 or 200 users usually cannot afford pipes fat enough ... Read More