Archive for March, 2008

Intro lecure/case studies

Friday, March 14th, 2008

The last evening we started with the System and Network administration with Linux – Case Studies course. The recordings can be downloaded for the intro and the first lecture.
(on the recordings in the background you can hear the sound of the fan of the projector, next time I’ll fix the placement of the camera)

There weren’t a lot of people, mostly because there wasn’t a lot of information about the course and that a lot of people were unable to enroll. Right now it’s possible with the filling of an application, we’ll look for how one should look like and will put it at the site.

Уводна лекция/case studies

Friday, March 14th, 2008

Снощи беше уводната лекция на “Системна и мрежова администрация с Linux – case studies”. Може да си свалите записите на увода и първата лекция.
(на записите се чува на фон вентилатора на проектора, следващия път ще намеря как да сложа камерата малко по-далече)

Имаше малко хора, предполагам основно поради липсата на информация по въпроса и поради това, че доста не са усетили да го запишат. В момента е възможно записването с молба, ще потърсим един образец и ще го качим на сайта.

New course in FMI

Tuesday, March 11th, 2008

We’ll have a new course in FMI – different case studies of the system and network administration with Linux. The course is every Thursday in hall 325 of FMI from 19:00 (some days it might be from 18:00, we’ll notify the people beforehand. We have a site for the course, the current list of teachers is me, Boyan Krosnov, Marian Marinov and Nikolay Nedyalkov (I’ll also talk with Vlado Karavelov on the last cases with the hardware).

Here’s the conspectus:

00– architectures used in the case studies
01– recovery – building recovery systems
02– config management – svn/git
03– basic router – firewall, routing, openvpn, nat, bridge, bonding
04– policy routing/multihoming+NAT
N links, incoming DNAT, connmark
N links, outgoing SNAT, balancing
N links, load balancing/connection (2 subcases)
05– traffic control
latency optimization
fairness
deep packet inspection (layer 7 filtering)
06– dynamic routing
OSPF
BGP
VRRP
anycast
07– heartbeat failover
drbd/iscsi/FC
OCFS
application tracking (mysql)
08– load balancing
DNS loadbalancing
layer 4 loadbalancing (iptables/LVS)
layer 7 loadbalancing (squid/tomcat)
09– network troubleshooting
path mtu
layer 2 cases – unknown unicast flooding, mac address table problems
bgp problems – youtube problem, long prefix problem, uRPF
filter tracking (hping, tcptraceroute)
asymetric routing problems (looking glass)
10– system/kernel debugging
sigsegv tracing (gdb, ulimit), attaching gdb to live process
strace, ltrace (limitations) – ffmpeg case, libdb exim case
11– optimization
dynamic content/apache
static content
DB optimizations – indexes, query optimizations, explain
select * from pesho where pesho.a in (select gosho from table2);
hardware recommendations – db, router, storage, app server, voip server

Нов курс във ФМИ

Tuesday, March 11th, 2008

Ще се води нов курс във ФМИ – различни case studies от системната и мрежова администрация с Linux. Курсът е всеки четвъртък в зала 325 на ФМИ, от 19:00 (някои дни може да е и от 18:00, ще се споменава предварително). Курса си има сайт, за момента ще го водим аз, Боян Кроснов, Мариан Маринов и Николай Недялков (ще се навива Владо Каравелов за последните неща около хардуера).

Ето го и конспекта:

00– architectures used in the case studies
01– recovery – building recovery systems
02– config management – svn/git
03– basic router – firewall, routing, openvpn, nat, bridge, bonding
04– policy routing/multihoming+NAT
N links, incoming DNAT, connmark
N links, outgoing SNAT, balancing
N links, load balancing/connection (2 subcases)
05– traffic control
latency optimization
fairness
deep packet inspection (layer 7 filtering)
06– dynamic routing
OSPF
BGP
VRRP
anycast
07– heartbeat failover
drbd/iscsi/FC
OCFS
application tracking (mysql)
08– load balancing
DNS loadbalancing
layer 4 loadbalancing (iptables/LVS)
layer 7 loadbalancing (squid/tomcat)
09– network troubleshooting
path mtu
layer 2 cases – unknown unicast flooding, mac address table problems
bgp problems – youtube problem, long prefix problem, uRPF
filter tracking (hping, tcptraceroute)
asymetric routing problems (looking glass)
10– system/kernel debugging
sigsegv tracing (gdb, ulimit), attaching gdb to live process
strace, ltrace (limitations) – ffmpeg case, libdb exim case
11– optimization
dynamic content/apache
static content
DB optimizations – indexes, query optimizations, explain
select * from pesho where pesho.a in (select gosho from table2);
hardware recommendations – db, router, storage, app server, voip server

some notes

Tuesday, March 11th, 2008

Some notes that I should remember tomorrow.

I’ll be joining a new course in FMI, which is coming to be really interesting, tomorrow I’ll write some more.
(note, you’ll still be able to enroll, we’ll also have video recordings)

Two coffees are neutralized well by three beers.
(I didn’t get a lot of sleep last night. Not that I’m sorry about the reason for under-sleeping…)

Correlator for the logs for a few nagios-es can be written pretty easy – I needed some walking in the clean air to clean up the basic idea. In general, a database of beginning and end of the state of a service with a separate information of the state of the checking place in relation to the rest and calculating the weight based on it – shouldn’t be hard to write with some scripting and SQL.

There’s an interesting event in Harvartska in a month or two, I might speak there (Marian tells me that it’s still possible), let’s see.

Seems like that we fixed the ugly bug that we fought for three weeks. I have digital-analog conversions and the problems related to them
(and their mother)

малко бележки

Tuesday, March 11th, 2008

Малко бележки, да не ги забравя за утре.

Ще се включа в един нов курс във ФМИ, който се очертава наистина забавен, утре ще има подробна информация.
(и отсега да кажа, все още ще можете да го запишете, ще правим и видео записи)

Две кафета се неутрализират добре от три бири.
(Не бях се наспал сутринта. Не съжалявам за причината да не се наспя де …)

Корелатор за log-овете от няколко nagios-а може да се напише доста лесно – трябваше ми да повървя малко на въздух само, да измисля някакъв приличен вариант. В общи линии описване в база с начало и край на състояние на услуга от определено място заедно с отделно описание на състояние на мястото спрямо останалите и така смятане на неговата тежест – не би трябвало да е особено сложно да се напише с малко скриптиране и SQL.

Има весело събитие в Хърватска след месец-два, може и да говоря на него (Мариян твърди, че все още имам възможност), да видим.

Май оправихме гадния бъг, дето го гонихме три седмици. Мразим аналогово-цифрови преобразувания и произхождащите гнусни проблеми.
(и майка им)

forgiveness

Sunday, March 9th, 2008

Today is a day for forgiveness. You ask for it and it’s given to you…

I can’t see the meaning. If there was something I had to forgive for, I won’t do it just because of this day, and if someone has to forgive me, to do it just because of this holiday seems a bit meaningless.

When something is too easy, it loses its meaning… Forgiveness has to be earned, or there’s no point in it if it’s for something that passes with time.

прошка

Sunday, March 9th, 2008

Днес се води ден на прошката. Човек иска прошка и му я дават…

На мен смисъла ми се губи. Ако има нещо, за което прощавам и не съм простил, няма да го направя и заради някакъв такъв ден, а ако някой има да прощава на мен, да го направи само заради празника пак ми се вижда безсмислено.

Когато нещо стане твърде лесно, си губи смисъла… Прошката трябва да се заслужи, или просто да няма нужда от нея, ако е за нещо, дето просто минава с времето.

“game”

Saturday, March 8th, 2008

(Congratulations, today’s the day of the women drinking :) )

From time to time some game pops up in the blogs – to write on some topic (five things that aren’t known about you, albums to take on a desert island, etc.) and to pass it to someone else, which have always seemed a bit boring…

So I’ve decided to start one that’s a bit more fun… It’s called “Pander^WHelp a friend”. The idea is to have a post like the one I made for Peio for one of you single friends and pass the torch to the next victim :)

About the meaning of all this – spring is coming, it would be nice to hear about some new people on the blogosphere, and the idiotic factor in this is not to be overlooked…

So, I’m passing the torch, to Valery Dachev, Peter Subev and … (let’s find one more victim) Eneya.
(come on, lazy asses :) )

“игра”

Saturday, March 8th, 2008

(Честит празник на женския алкохолизъм :) )

От време на време по блоговете се появява някаква игра – да пишеш по някаква тема (пет неща, дето не се знаят за тебе, албуми за вземане на самотен остров и т.н.) и да предаваш на други блогъри, които винаги са ми се виждали леко скучни – няма чак толкова тръпка в тях.

За това съм решил да пусна една игра, която да е малко по-весела… Казва се “Сводничи^WПомогни на другарче”. Идеята е да се пусне една обява като тая, която пуснах за Пейо за произволен ваш необвързан приятел/приятелка и да предадете нататък, към други жертви :)

Колкото до смисъла на цялата работа – иде пролет, ще е интересно да се чуе за нови хора из блогосферата, а и идиотския фактор на идеята хич не е за пренебрегване…

Та подавам щафетата, на Варели с Дачев, Боримечката и … (я да си харесаме още някой) Енея.
(айде, мързели :) )

Kultur Shock in Sofia – 2008

Friday, March 7th, 2008

Kultur Shock are grand.

The concert began with Balkandji and Cherno Ferede – it was nice (I hadn’t gone to a concert of theirs in a long time), they played a lot of well-known stuff which everybody sang (and which we even sing in the office from time to time :) ). After that Kultur Shock came on stage…

It was incredible. Great mosh, wonderful music, they gave themselves away, came out for three encores (one of them they did “Chai shukarie” and when they got off stage the crowd sang the refrain a few times before they came back). I’ll probably lack any voice tomorrow, but will have a muscle fever (if I don’t find my aspirin).

Also it should be noted that the Kultur Shock concerts show something that’s really lacking otherwise – the love between the Balkan nations. Everybody sang “Istanbul”, “Saraevo”, etc., even the company of macedonians that was next to me. The band itself is a demonstration of this – a Serbian, Bosnian and a Bulgarian at the same place …

(a side note – “blackbox” was not big enough. Can this be in a hall like “Hristo Botev” next time?)

Kultur Shock в София – 2008

Friday, March 7th, 2008

Kultur Shock са велики.

Започна се с Балканджи и Черно фередже – беше забавно (отдавна не им бях ходил на концерти), свириха все познати неща, дето се пяха стабилно (и които си пеем из офиса от време на време :) ). След което на сцената дойдоха Kultur Shock…

Беше размазващо. Страшно пого, страхотна музика, раздадоха се докрай, три пъти излизаха на бис (единия път правиха “Чай шукарие” и след като слязоха от сцената публиката пяхме припева няколко пъти, преди те пак да излязат). Аз вероятно утре няма да имам глас, за сметка на което ще имам мускулна треска (ако не си намеря аспирина).

Също трябва да се отбележи, че концертите на Kultur Shock изкарват на показ нещо, което иначе липсва – любовта между балканските народи. Всички пяха и “Истанбул”, и “Сараево” и т.н., и т.н., включително и компанията македонци, дето беше до мене. То и самата група е демонстрация на тоя принцип – сърбин, босненец и българин на едно място …

(да отбележа – blackbox ни беше малък. Следващия път може ли някоя зала като “Христо Ботев”?)

to help

Saturday, March 1st, 2008

(I’ve wanted to write this for a week and never found the time)

I have a really good friend, whom I want to help – Peio Popov. He needs a woman, because he’s getting really crazy.
(this is the result of one beer-drinking with him and Velin)

Some information about him:
Dimensions: 195cm height, 105 kg weight;
He’s trained boxing some years ago (it’s visible on his figure, his face is not broken enough);
Likes running (e.g. he’s tenacious);
He has a good sense of humor (although a bit weird);
Said he likes to sleep with the girl cuddled (which is a rare gift);
(he also says that he’s really warming)
A good IT specialist;
There’s always something you can talk to him about;
Likes poetry.

Some requirements for the woman:
To be brunette (this is somewhat of a discrimination);
To be at least 21 years old (the rule half of his age plus 7);
To be about half of his weight;
To be able to drink with her (this is something every real woman can);
Not to be slow or depressive;
(not slow – e.g. to be able to walk with him when he’s in a hurry)
It’s not a problem if she’s technically competent :) ;
To be able to think (this was something I had to enunciate);
To like the outdoors (this is something that Peio has to elaborate);
Acrobatic;
Not to be scared easily.

Because a lot of people asked – one, two photos of Peio.

Anyone willing send an email to peip(atsign)peio(dot)org with a photo in full stature (his request).

I also want to note that this IS NOT an attempt to make all women run away from him.

да помогнем.

Saturday, March 1st, 2008

(Това се каня да го напиша от една седмица, и все не оставаше време)

Имам един много добър приятел, на който искам да помогна – Пейо Попов. Той има нужда от жена, защото тотално се побърква.
(това е плод на един разговор с него и Велин на бира)

Малко информация за него:
Висок е 195, 105 кг;
Тренирал е бокс като по-млад (личи му по фигурата, иначе не са му намачкали достатъчни физиономията);
Обича да тича (т.е. достатъчно е издръжлив);
Има чуство за хумор (леко странно);
Обичал да спи гушнат с девойката (това си е рядко умение);
Твърди, че много топлел;
Ценен компютърджийски кадър;
Има винаги за какво да се говори с него;
Обича поезията.

Малко изисквания към девойката:
Да е чернокоса (тва малко бие на дискриминация);
Да е над поне 21 години (правилото неговата възраст, разделена на две, +7);
Да е някъде около два пъти по-лека от него;
Да може да се пие с нея (това всяка истинска жена трябва да го може);
Да не е бавна или мрънкаща;
Да може да върви с неговото темпо, като той бърза;
Не пречи да е технически грамотна :);
Да може да мисли (това трябваше аз да го формулирам);
Да я влече на открито (това май Пейо трябва да го разясни по-подробно);
Акробатична;
Да не се плаши лесно.

Понеже много хора поискаха – една, две снимки на Пейо.

Желаещите да пишат на peio(кльомба)peio(точка)org със снимка в цял ръст (по негово изискване).

Държа да отбележа, това НЕ Е опит да откажем всички жени от него.