Heartbeat on Solaris
Joao Sa
joao-m-sa@ptinovacao.pt
Tue, 5 Mar 2002 18:07:29 -0000
Hi,
After downloading heartbeat 0.4.9a I tried to install it on Solaris 8, =
but
I've found some problems.
I would to like to share my experience and get your feedback about it.
First, I need to upgrade and install all packages needed by heartbeat
(automake, autoconf, etc)
I had a problem detecting the system type, and the problem appear to be =
in
sh
When executing ./config.guess I get the error "./config.guess: test:
argument expected"
After changing sh to bash it worked.
With everything compiled and installed, heartbeat don't start due to a
problem locking serial device (I use /dev/cua/b)
This is not a beautifull neither a secure solution but I use it only to =
test
if the problem is here: I comment the line '/* return(HA_FAIL); */' on =
the
file lib/plugins/HBcomm/serial.c and compiled again.
Using the initialization script at /etc/init.d/heartbeat I needed to =
change
the line
ERROR=3D"($HA_BIN/heartbeat 2>&1)"
to
ERROR=3D`$HA_BIN/heartbeat 2>&1`
After all this work the script ha.d/resource.d/IPaddr also don't work, =
so I
hacked into it and I've made some changes, mainly to work with the =
different
syntax of the solaris ifconfig command.
I would like to hear from you about running heartbeat on solaris.
If someone is interested in my IPaddr script I can send it by email.
Jo=E3o Miguel P. S=E1
joao-m-sa@ptinovacao.pt
PT Inova=E7=E3o, SA