hatools
The hatools provide some programs to improve shell scripting in a High Availability environment.
The halockrun program provides a simple and reliable way to implement a locking in shell scripts. A typical usage for halockrun is to prevent cronjobs to run simultanously. halockrun's implementation makes it very resilient to all kind of stale locks.
The hatimerun program provides a time-out mechanism which can be used from shell scripts.
Download the most recent source distribution of the hatools:
V2.13 - 04. Dec 2009
Monor bugfixFull changelog
The installation should be very seamless by just doing
./configure make make install
You can also find some binary distributions maintained by 3rd parties in the related box.
The hatools are believed to work on all POSIX compliant systems. Successfull tests were conducted on Linux (gcc and intel CC), OSX (gcc), Solaris (gcc) and AIX (gcc). Previous versions were also tested on HP-UX (gcc, acc).
