Thursday, March 13, 2014

Is storing JMS and TLOG files on a shared folder a good practice?

A friend of mine has JMS and TLOG files on a NFS4 shared folder, and shared among the 4 machines of his cluster.

Allegedly this should make his solution more "fault tolerant".

However, after 2 years in Production he has never, I say NEVER had a single machine outage (in any case, who cares about losing one, he has 4 machines in the cluster!) , on the other hand he had a few (at least 3) network glitches who made the NFS server unreachable for a period between a few minutes to a couple of hours.... this making ALL his solution completely unavailable.

So... if I had to make a choice, I would rather avoid NFS at all. If your main use case for NFS is that it makes it easier to deploy configuration files and applications, then consider using Puppet or use a different staging model.




Tuesday, March 11, 2014

find files with windows style linefeed

find . -name "*.sh" -exec grep -l "\r\n" {} \;

to fix them:

find . -name "*.sh" -exec grep -l "\r\n" {} \; | xargs dos2unix

Sunday, March 9, 2014

Ukraine

IF you are wondering what is REALLY happening in Ukraine, read this.

In a nutshell, Ukraine is yet another violent Nazi Golpe by the hands of US-NATO mercenaries - just like Libya, Syria etc etc. What happened in Europe in 1939, is happening now globally. And we are all Jews.

Quoting from "Arctic news": Ukraine is clearly another Western geopolitical stunt to stop Russian exports of oil and gas to Europe 


1 september 1939: German troops enter Poland, after having staged a false attack on a German radio station by FALSE Polish troops - just to have a pretext for war.