[Linux-HA] rps10 power switch and linux-ha
Darren Jacobs
darren.jacobs at utoronto.ca
Mon Oct 31 14:24:18 MST 2005
Hi All,
I've setup a two node database cluster and I'm using a two rpc10 power
switches (and master and a slave switch) with ha-linux 1.2.3 to do
stonith. The power switch is cabled to the standby box with a serial
cable and the power of the active node is plugged into the power switch
(it has dual power supplies hence the two boxes). The standby box can
cut the power of the active box if it senses a failure.
I've tested the power switch with minicom it it works just peachy. But
I'm having problems getting stonith to work. The standby node,
fake2.nowhere.ca, has a ha.cf with the following single line:
--
stonith_host fake1.nowhere.ca rps10 /dev/ttyS0 fake1.ns.utoronto.ca *
--
also tried but still didn't work:
--
stonith rpc10 /etc/ha.d/rpc.cfg
--
the rpc.cfg file on fake2 has the entry:
--
/dev/ttyS0 fake1.nowhere.ca 0
--
If I do a "stonith -t rps10 test" from the command line of fake2 I get:
--
[root at fake2 ha.d]# stonith -t rps10 test
stonith: Did not find string: 'RPS-10 Ready' from WTI RPS10 Power Switch.
--
but minicom was able to talk with the power switch with no problem. Any
suggestions on trouble shooting this a bit deeper?
Darren.....
More information about the Linux-HA
mailing list