[Linux-HA] STONITH Works from Shell Prompt But Not From heartbeat
Robinson, Eric
eric.robinson at pmcipa.com
Thu Sep 7 14:46:50 MDT 2006
When I run stonith from a shell prompt, I get:
[root at lb2 ]# stonith -t baytech -p "192.168.10.23 admin some_password"
-lS
stonith: baytech device OK.
db02
appftp2
(empty)
(empty)
autoldr
(empty)
lb1
Ts02b
But ha-debug shows it is not working from inside heartbeat:
heartbeat[3840]: 2006/09/05_07:51:15 info: Checking status of STONITH
device [BayTech RPC-3]
heartbeat[3840]: 2006/09/05_07:51:15 ERROR: STONITH device BayTech RPC-3
not operational!
heartbeat[9758]: 2006/09/05_07:51:15 WARN: Exiting STONITH-stat process
3840 returned rc 1.
heartbeat[9758]: 2006/09/05_07:51:15 ERROR: STONITH status operation
failed.
heartbeat[9758]: 2006/09/05_07:51:15 info: This may mean that the
STONITH device has failed!
My ha.cf looks like this:
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
traditional_compression false
keepalive 2
deadtime 30
warntime 10
initdead 120
udpport 694
baud 19200
serial /dev/ttyS0
bcast eth0
bcast eth1
bcast eth2
auto_failback off
stonith_host * baytech 192.168.10.23 admin some_password
node lb1
node lb2
respawn hacluster /usr/lib64/heartbeat/ipfail
ping 192.168.5.1
debug 1
apiauth ipfail gid=haclient uid=hacluster
Any ideas? I'm using heartbeat 2.0.4.
--
Eric Robinson
_ND_
Disclaimer - September 7, 2006
This email and any files transmitted with it are confidential and intended solely for General Linux-HA mailing list. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of Physician Select Management (PSM) or Physician's Managed Care (PMC). Warning: Although the message sender has taken reasonable precautions to ensure no viruses are present in this email, neither PSM nor PMC can accept responsibility for any loss or damage arising from the use of this email or attachments.
More information about the Linux-HA
mailing list