5

How to setup STONITH in a 2-node active/passive linux HA pacemaker cluster?

view full story
linux-howto

http://serverfault.com – I am trying to setup an active/passive (2 nodes) Linux-HA cluster with corosync and pacemaker to hold a PostgreSQL-Database up and running. It works via DRBD and a service-ip. If node1 fails, node2 should take over. The same if PG runs on node2 and it fails. Everything works fine except the STONITH thing. Between the nodes is an dedicated HA-connection (10.10.10.X), so I have the following interface configuration: eth0 eth1 host 10.10.10.251 172.10.10.1 node1 10.10.10.252 172.10.10.2 node2 Stonith is enabled and I am testing with a ssh-agent to kill node (HowTos)