Happy New Year

It’s the right time to stop rushing ahead insanely, respire, have a seat and look back for a while. Hope you all had a fantastic year full of life-long memories and events and let the new 2013 be at least twice as good as 2012. Happy New Year to you and your families!

Marry Christmas

My hearty well-wishes to all who celebrates Christmas today. Wish all the best to all of you and your families.

P.S. as I live in an a orthodox country we celebrate it in January.

Spacewalk, osad and jabberd miscommunication

Spacewalk is really a handy tool if you want to keep your Linux infrastructure up to date. Especially if you run Redhat based ditro, since essentially it’s community supported version of Redhat’s product called Satellite.
But it has a nasty issue, at least in our case, when the clients stop responding to the commands from a server. There are two mechanisms to deliver an action from a server to a client: through rhnsd, which by defaults connects to a server every 4 hours and checks if there any action it should execute, or using jabber protocol. In the later case a client receives an action request, i.e. install the latest packages or execute a command, from a server almost instantaneously but as I mentioned before, this cool feature stops working for no obvious reason. Everything seems to be working just fine: jabberd and osa-dispatcher are up and running, all client connects to a server flawlessly but an action request never reaches the target just like it has never been sent or got lost in between. Anyway, it seems that the only way out from this annoying situation is the following:

/etc/init.d/jabberd stop
/etc/init.d/osa-dispatcher stop
rm -f /var/lib/jabberd/db/*
su - postgresq && psql
delete from rhnPushDispatcher;
delete from rhnpushclient;

This is how we have to fix it from time to time. And don’t forget to restart osad daemon on all of your clients to reinstantiate a connection to your spacewalk server. If you have more than 10 servers this part could be a huge PITA. Hope that 1.8 release lacks this problem.

One week in the USA or between San Francisco and LA.

It’s really unbelievable that sometimes even the wildest dreams come true and I had a chance to visit the USA and spent a whole week from the 10th till the 17th of November. After quite a long flight, roughly 13 hours, we landed in LA airport safe and sound, took a quick connection flight to San Francisco and around 8 p.m. arrived to the hotel – Radisson Fisherman’s Wharf.
Below is how I had seen LA for the first time in my life from the plane’s window during the descent:

Frankly speaking I heard about one-story America before but could hardly imagine how it looks in real life. Literally it goes to and beyond the horizon. It was quite a shock because where I live the absolute majority have to cram into multi-story (from 5 to 20 and higher) concrete buildings and only well off part of our society could effort to have a private house. Well, enough brooding and grumping. ;-)

Our plan was the following: to stay in SF for three days, then go off to Monterey for one night, then drive through 17-mile drive and leave to Sequoia national park, have a good night sleep there and finally off to LA. That was an amazing and indescribable trip and we had a chance to visit and see many places around SF and on our way to LA. Before visiting the USA I knew that it’s a beautiful country with stunning views and picturesque landscapes. But believe me, when I saw it with my own eyes and had a chance to taste its scent only then I had understood how little these words had in common with the reality. I won’t even try to express my fillings because I doubt that such words even exist and the only wish that I have now is that someday I could return back and show this radiant country to my kids. Below just a few pictures that I took using my modest camera so please be kind and don’t be too tough on me ;-)

DLM lock levels in OCFS2

Yesterday I had to get a bit deeper into OCFS2 details and come across this very helpful blog post about different DLM lock levels used in OCFS2. Gave me a chance to place all the ducks in a row.