Piranha fos send_program parameter.

SHIBATA, Makoto ugya99 at yahoo.co.jp
Thu Apr 22 09:37:58 UTC 2004


Redhat 2.1AS
piranha-0.7.0-3

We try "fos" of piranha between two box.

When I config "send_program" parameter.
Stanby fos fails invoke nanny process, and failover
began...

When comment out "send_program", Two servers works
normally.

Where is wrong?


[root at db2sby ha]# cat lvs.cf
serial_no = 62
primary = 192.168.0.89
service = fos
backup_active = 1
backup = 192.168.0.90
heartbeat = 1
heartbeat_port = 1539
keepalive = 10
deadtime = 20
network = direct
reservation_conflict_action = preempt
debug_level = 2
failover db2server {
     address = 192.168.0.99 eth0:1
     vip_nmask = 255.255.255.0
     active = 1
     port = 50000
     timeout = 60
#    expect = "DB2CHECK_OK"
#    send_program="/home/shibata/scripts/check_db2.sh"
     start_cmd = "/home/shibata/scripts/start_db2.sh"
     stop_cmd = "/home/shibata/scripts/stop_db2.sh"
}
[root at db2sby ha]#









More information about the Piranha-list mailing list