[Linux-HA] Building HeartBeat-2.1.4-STABLE on solaris

£.$ shankar.jsl.lol at gmail.com
Wed Jan 28 07:43:55 MST 2009


Hi,

Did anyone build HeartBeat-2.1.4-STABLE on Solaris SPARC/X86.

I tried to build on Solaris Sparc after installing all the following
dependencies

libiconv
gcc
libgcc
autoconf
automake
libtool
libsigsegv
m4
libnet
swig

Dependencies include perl, python etc.

I had to modify libtool,cl_reboot.c and crm_mon.c to complete building.

I installed the build without having user (hacluster) and group (haclient).
Encountered with access permission problems at several places when starting
heartbeat.

Though I re-installed HeartBeat (in another machine) after the user is
created, BasicSanityCheck script gives the following


bash-3.00# ./BasicSanityCheck
Using interface: bge0
Starting base64 and md5 algorithm tests
base64 and md5 algorithm tests succeeded.
Starting Resource Agent tests
Testing RA: Dummy
Testing RA: IPaddr
RA tests PASSED
Starting IPC tests
Starting heartbeat
Starting High-Availability services:
2009/01/28_19:44:40 INFO:  Resource is stopped
Done.

Does not look like we STONITHed ImAlwaysDead.com
Does not look like we took over the IP address
/opt/LXHAhb/bin/cl_status rscstatus failed [13]
Does not look like we ARPed the address
Looks like monitor operation failed
Reloading heartbeat
Reloading heartbeat
Stopping heartbeat
Stopping High-Availability services:
Done.

Checking STONITH basic sanity.
Performing apphbd success case tests
Performing apphbd failure case tests
Starting LRM tests
LRM tests failed.
Starting heartbeat
Starting High-Availability services:
2009/01/28_19:50:25 INFO:  Resource is stopped
Done.

starting STONITH Daemon tests
STONITH Daemon tests failed.
Stopping heartbeat
Stopping High-Availability services:
Done.

Starting CRM tests
CRM tests failed (rc=1).
heartbeat[8855]: 2009/01/28_19:44:45 ERROR: api_process_request: bad request
[getrsc]
heartbeat[8855]: 2009/01/28_19:44:45 ERROR: MSG: Dumping message with 5
fields
heartbeat[8855]: 2009/01/28_19:44:45 ERROR: MSG[0] : [t=hbapi-req]
heartbeat[8855]: 2009/01/28_19:44:45 ERROR: MSG[1] : [reqtype=getrsc]
heartbeat[8855]: 2009/01/28_19:44:45 ERROR: MSG[2] : [dest=ss09]
heartbeat[8855]: 2009/01/28_19:44:45 ERROR: MSG[3] : [pid=8880]
heartbeat[8855]: 2009/01/28_19:44:45 ERROR: MSG[4] : [from_id=ipfail]
ipfail[8880]: 2009/01/28_19:44:45 ERROR: No managed resources
heartbeat[8855]: 2009/01/28_19:44:45 ERROR: Client
/opt/LXHAhb/lib/heartbeat/ipfail exited with return code 100.
heartbeat[8855]: 2009/01/28_19:46:48 ERROR: api_process_request: bad request
[getrsc]
heartbeat[8855]: 2009/01/28_19:46:48 ERROR: MSG: Dumping message with 5
fields
heartbeat[8855]: 2009/01/28_19:46:48 ERROR: MSG[0] : [t=hbapi-req]
heartbeat[8855]: 2009/01/28_19:46:48 ERROR: MSG[1] : [reqtype=getrsc]
heartbeat[8855]: 2009/01/28_19:46:48 ERROR: MSG[2] : [dest=ss09]
heartbeat[8855]: 2009/01/28_19:46:48 ERROR: MSG[3] : [pid=9256]
heartbeat[8855]: 2009/01/28_19:46:48 ERROR: MSG[4] : [from_id=9256]
ccm[9538]: 2009/01/28_19:49:45 ERROR: Lost connection to heartbeat service.
Need to bail out.
heartbeat[9506]: 2009/01/28_19:49:45 CRIT: Emergency Shutdown: Master
Control process died.
heartbeat[9506]: 2009/01/28_19:49:45 CRIT: Killing pid 8855 with SIGTERM
heartbeat[9506]: 2009/01/28_19:49:45 CRIT: Killing pid 9507 with SIGTERM
heartbeat[9506]: 2009/01/28_19:49:45 CRIT: Killing pid 9508 with SIGTERM
heartbeat[9506]: 2009/01/28_19:49:45 CRIT: Killing pid 9509 with SIGTERM
heartbeat[9506]: 2009/01/28_19:49:45 CRIT: Killing pid 9510 with SIGTERM
heartbeat[9506]: 2009/01/28_19:49:45 CRIT: Killing pid 9511 with SIGTERM
heartbeat[9506]: 2009/01/28_19:49:45 CRIT: Killing pid 9512 with SIGTERM
heartbeat[9506]: 2009/01/28_19:49:45 CRIT: Emergency Shutdown(MCP dead):
Killing ourselves.
heartbeat[10233]: 2009/01/28_19:50:30 ERROR: api_process_request: bad
request [getrsc]
heartbeat[10233]: 2009/01/28_19:50:30 ERROR: MSG: Dumping message with 5
fields
heartbeat[10233]: 2009/01/28_19:50:30 ERROR: MSG[0] : [t=hbapi-req]
heartbeat[10233]: 2009/01/28_19:50:30 ERROR: MSG[1] : [reqtype=getrsc]
heartbeat[10233]: 2009/01/28_19:50:30 ERROR: MSG[2] : [dest=ss09]
heartbeat[10233]: 2009/01/28_19:50:30 ERROR: MSG[3] : [pid=10263]
heartbeat[10233]: 2009/01/28_19:50:30 ERROR: MSG[4] : [from_id=ipfail]
ipfail[10263]: 2009/01/28_19:50:30 ERROR: No managed resources
heartbeat[10233]: 2009/01/28_19:50:30 ERROR: Client
/opt/LXHAhb/lib/heartbeat/ipfail exited with return code 100.
OOPS! Looks like we had some errors come up.

What I would need to do to get this thing working

I have seen some threads referring to go for pkg instead of building. Is PKG
for heart beat avail somewhere?

Please help me out

Regards,
Sankar


More information about the Linux-HA mailing list