Wednesday, February 22, 2006

Quote I found today

Hello, I've found this quote today
when reviewing the messeges of a
mailing list:

"To do is to be." - Socrates.
"To be is to do." - Plato.
"Do be do be do." - Sinatra.

Friday, February 17, 2006

GFS and McData Switch Annoying Firmware Update

I manage a computer farm which uses GFS to share
storage. By suggestion of HP we updated the firmware
of our mc data fiber channel switch. It was not
supposed to produce any problem or complication.
However, the cluster machines stopped being able
to fence the switch a week after the update. We didn't
think it was because the update due to the time that
had passed before the problem to occur. Reviewing the
systems, I noticed that it had to do with fencing.
I reviewed the fence_mcdata program and discovered a
very slight but annoying modification introduced by
the firmware update. When you ask the switch about
the status of a port it used to answer:

Port Information
Port Number: 0
Name: Name of the port
Blocked: true << or false, depending on the status
Extended Distance: false
Type: gPort

Now it answers

Port Information
Port Number: 0
Name: Name of the port
Blocked: Blocked << or Unblocked, depending on the status
Extended Distance: false
Type: gPort


This simple modification striked down my cluster and I had to modify fence_mcdata
from :
foreach my $line (@lines)
{
my $field = "";
my $b_state = "";

if ( $line =~ /^(.*):\s*(\S*)/ )
{
$field = $1;
$b_state = $2;
}
next unless ( $field eq "Blocked" );
if ( ($block && $b_state eq "true") ||
(!$block && $b_state eq "false") )
{
$fail = 0;
}
last;
}


to:

foreach my $line (@lines)
{
my $field = "";
my $b_state = "";

if ( $line =~ /^(.*):\s*(\S*)/ )
{
$field = $1;
$b_state = $2;
}
next unless ( $field eq "Blocked" );
if ( ($block && $b_state eq "Blocked") ||
(!$block && $b_state eq "Unblocked") )
{
$fail = 0;
}
last;
}

It is a real shame that our distributors didn't tell
us that there were such modifications on the interfaces !!!
It took a lot of time to find out about the problem
and our systems had to work with just one machine
until we found it. THey should't modify their interfaces
unless clearly notifying it to all of their clients.
Bad thing for you, falks at HP: you didn't honor
our priority contract.

Friday, February 03, 2006

Ancient godess

I wanna touch your face and eyes with my bare hands
I wanna be with you so close to feel your soul
Your soul so nice I've shared in part before
Your charm that makes me smile when I am alone.

Those lips of yours that now I feel are mine
those hips of ancient godess that you have
your breath that charms my will when you get close
your caresses that can erase my past

All those great things that you possess oh queen
and give as gifts to the eyes of this poor world
are gifts that you should give to me alone
are gifts I want to keep with me for long

Thursday, February 02, 2006

Morning thought on her

When you came to pass for the University that day I didn't ever imagine that we would go that far,
that I could love you that much. You just came with your cousin and I felt overwhelmed by your
presence. Your presence, full of enchantment , inspirer of the deepest concerns and desires.
And you know what I think about love: it requires time and knowledge, essentialy knowledge.
I can't but feel happy for all that things that came to pass, but I expected to be with you
to the end of my days: didn't you understand it? I bet you didn't. . . you were concerned
about my plans and about what your friends kept on telling you. Beware! you young fellow! you have
to keep on developing your own criterium, don't keep on trusting what people says: use your own brain and guts to decide!. At the end I was not the one who cheated. Sometimes I want to wish
you to fail and suffer, but don't ever come to really wish it. I hope you're all right and you
will wish me good winds in life. I'll wish you good winds if you do the same for me.