OSDN Git Service

Fix Resource Agents for HBv2
[ultramonkey-l7/ultramonkey-l7-v2.git] / doc / heartbeat-ra / README
1 Heartbeat Resource Agent and example configuration files.
2
3 == Files ==
4 L7directord:    Resource Agent for l7directord.
5 L7vsd:          Resource Agent for l7vsd.
6 SSLProxy:       Resource Agent for sslproxy.
7 VIPcheck:       Resource Agent for VIP.
8 authkeys:       Heartbeat authkey example.
9 cib.xml-sample: Heartbeat cib.xml example.
10 cib.xml-sample.ssl:
11                 Heartbeat cib.xml example using SSLProxy.
12 ha.cf:          Heartbeat ha.cf example.
13 logd.cf:        Heartbeat logd.cf example.
14
15 == Set up ==
16 See Heartbeat2 install manual for UltraMonkey-L7. (Japanese)
17 http://sourceforge.jp/projects/ultramonkey-l7/docs/?category_id=964
18
19 You can use Resource Agents as they are.  But you must edit at
20 least IP addresses in configuration files.
21
22 When you edit the init script "l7vsd" as follows, you must edit
23 the Resource Agent "L7vsd" and "L7directord" as described later.
24
25   [init script "l7vsd"]
26   -----------------------------------------------------------------
27     <default>       L7VSD_OPTIONS="-b"    # run as blocking mode
28
29     <after edit>    L7VSD_OPTIONS=""      # run as non-blocking mode
30   -----------------------------------------------------------------
31
32   [Resource Agent "L7directord"]
33    at the function "l7vsd_flush()"
34   -----------------------------------------------------------------
35     <default>       PS=`pgrep -fox "/usr/sbin/l7vsd -b" | wc -l`
36
37     <after edit>    PS=`pgrep -fox "/usr/sbin/l7vsd" | wc -l`
38   -----------------------------------------------------------------
39
40   [Resource Agent "L7vsd"]
41    at the function "isRunning()"
42   -----------------------------------------------------------------
43     <default>       RET=`pgrep -fox "/usr/sbin/l7vsd -b" | wc -l`
44
45     <after edit>    RET=`pgrep -fox "/usr/sbin/l7vsd" | wc -l`
46   -----------------------------------------------------------------
47