• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

UltraMonkey-L7 V3(multi-thread implementation)


Commit MetaInfo

Revision7c7c32d0790a0ec4395a673c8cb702a1ba42a0fa (tree)
Zeit2013-06-13 15:36:56
AutorHiroaki Nakano <nakano.hiroaki@nttc...>
CommiterHiroaki Nakano

Log Message

For merge v3.1.0

Signed-off-by: Hiroaki Nakano <nakano.hiroaki@nttcom.co.jp>

Ändern Zusammenfassung

Diff

--- a/doc/heartbeat-ra/sample.crm
+++ b/doc/heartbeat-ra/sample.crm
@@ -37,34 +37,34 @@ group grpUltraMonkey \
3737 ### Primitive Configuration ###
3838 primitive prmVIPcheck ocf:heartbeat:VIPcheck \
3939 params \
40- target_ip="" \
40+ target_ip="MODIFY_TARGET_VIP" \
4141 count="1" \
4242 wait="10" \
43- op start interval="0s" timeout="90s" on-fail="restart" start_delay="4s“
43+ op start interval="0s" timeout="90s" on-fail="restart" start_delay="4s"
4444
45-primitive prmVIP1 ocf:heartbeat:IPaddr2 \
45+primitive prmVIP ocf:heartbeat:IPaddr2 \
4646 params \
47- ip="" \
48- nic="" \
49- cidr_netmask="" \
47+ ip="MODIFY_VIP_IP" \
48+ nic="MODIFY_VIP_NIC" \
49+ cidr_netmask="MODIFY_VIP_NETMASK" \
5050 op start interval="0s" timeout="60s" on-fail="restart" \
5151 op monitor interval="10s" timeout="60s" on-fail="restart" \
52- op stop interval="0s" timeout="60s" on-fail="fence"
52+ op stop interval="0s" timeout="60s" on-fail="block"
5353
5454 primitive prmL7directord ocf:heartbeat:L7directord \
5555 op start interval="0s" timeout="60s" on-fail="restart" \
5656 op monitor interval="10s" timeout="60s" on-fail="restart" \
57- op stop interval="0s" timeout="60s" on-fail="fence"
57+ op stop interval="0s" timeout="60s" on-fail="block"
5858
5959 primitive prmL7vsd ocf:heartbeat:L7vsd \
6060 op start interval="0s" timeout="60s" on-fail="restart" \
6161 op monitor interval="10s" timeout="60s" on-fail="restart" \
62- op stop interval="0s" timeout="60s" on-fail="fence"
62+ op stop interval="0s" timeout="60s" on-fail="block"
6363
6464 primitive prmPingd ocf:pacemaker:pingd \
6565 params \
6666 name="default_ping_set" \
67- host_list="" \
67+ host_list="MODIFY_PING_TARGET_IP" \
6868 multiplier="100" \
6969 op start interval="0s" timeout="60s" on-fail="restart" \
7070 op monitor interval="10s" timeout="60s" on-fail="restart" \
@@ -73,7 +73,7 @@ primitive prmPingd ocf:pacemaker:pingd \
7373 primitive prmDiskd ocf:pacemaker:diskd \
7474 params \
7575 name="diskcheck_status_internal" \
76- device="" \
76+ device="MODIFY_TARGET_DISK_DEV" \
7777 interval="10" \
7878 op start interval="0s" timeout="60s" on-fail="restart" \
7979 op monitor interval="10s" timeout="60s" on-fail="restart" \
@@ -83,8 +83,8 @@ primitive prmDiskd ocf:pacemaker:diskd \
8383 # params \
8484 # priority="1" \
8585 # stonith-timeout="40s" \
86-# hostlist="" \
87-# dead_check_target="" \
86+# hostlist="MODIFY_PRYMARY_HOST" \
87+# dead_check_target="MODIFY_TARGET_IP MODIFY_TARGET_IP ..." \
8888 # standby_check_command="/usr/sbin/crm_resource -r prmVIP -W | grep -q `hostname`" \
8989 # op start interval="0s" timeout="60s" \
9090 # op monitor interval="10s" timeout="60s" \
@@ -92,12 +92,12 @@ primitive prmDiskd ocf:pacemaker:diskd \
9292
9393 #primitive prmStonith1-2 stonith:external/ipmi \
9494 # params \
95-# passwd="" \
96-# ipaddr="" \
95+# passwd="MODIFY_IPMI_PASSWORD" \
96+# ipaddr="MODIFY_IPMI_IP" \
9797 # priority="2" \
98-# userid="" \
99-# hostname="" \
100-# interface="" \
98+# userid="MODIFY_IPMI_USER" \
99+# hostname="MODIFY_PRYMARY_HOST" \
100+# interface="MODIFY_IPMI_INTERFACE" \
101101 # stonith-timeout="60s" \
102102 # op start interval="0s" timeout="60s" \
103103 # op monitor interval="3600s" timeout="60s" \
@@ -107,7 +107,7 @@ primitive prmDiskd ocf:pacemaker:diskd \
107107 # params \
108108 # priority="3" \
109109 # stonith-timeout="600s" \
110-# hostlist="" \
110+# hostlist="MODIFY_PRYMARY_HOST" \
111111 # op start interval="0s" timeout="60s" \
112112 # op monitor interval="3600s" timeout="60s" \
113113 # op stop interval="0s" timeout="60s"
@@ -116,8 +116,8 @@ primitive prmDiskd ocf:pacemaker:diskd \
116116 # params \
117117 # priority="1" \
118118 # stonith-timeout="40s" \
119-# hostlist="" \
120-# dead_check_target="" \
119+# hostlist="MODIFY_SECONDARY_HOST" \
120+# dead_check_target="MODIFY_TARGET_IP MODIFY_TARGET_IP ..." \
121121 # standby_check_command="/usr/sbin/crm_resource -r prmVIP -W | grep -q `hostname`" \
122122 # op start interval="0s" timeout="60s" \
123123 # op monitor interval="10s" timeout="60s" \
@@ -125,12 +125,12 @@ primitive prmDiskd ocf:pacemaker:diskd \
125125
126126 #primitive prmStonith2-2 stonith:external/ipmi \
127127 # params \
128-# passwd="" \
129-# ipaddr="" \
128+# passwd="MODIFY_IPMI_PASSWORD" \
129+# ipaddr="MODIFY_IPMI_IP" \
130130 # priority="2" \
131-# userid="" \
132-# hostname="" \
133-# interface="" \
131+# userid="MODIFY_IPMI_USER" \
132+# hostname="MODIFY_SECONDARY_HOST" \
133+# interface="MODIFY_IPMI_INTERFACE" \
134134 # stonith-timeout="60s" \
135135 # op start interval="0s" timeout="60s" \
136136 # op monitor interval="3600s" timeout="60s" \
@@ -140,21 +140,21 @@ primitive prmDiskd ocf:pacemaker:diskd \
140140 # params \
141141 # priority="3" \
142142 # stonith-timeout="600s" \
143-# hostlist="" \
143+# hostlist="MODIFY_SECONDARY_HOST" \
144144 # op start interval="0s" timeout="60s" \
145145 # op monitor interval="3600s" timeout="60s" \
146146 # op stop interval="0s" timeout="60s"
147147
148148 ### Resource Location ###
149149 location rsc_location-grpUltraMonkey-1 grpUltraMonkey \
150- rule 200: #uname eq \
151- rule 100: #uname eq \
150+ rule 200: #uname eq MODIFY_PRYMARY_HOST \
151+ rule 100: #uname eq MODIFY_SECONDARY_HOST \
152152 rule -INFINITY: not_defined default_ping_set or default_ping_set lt 100 \
153153 rule -INFINITY: not_defined diskcheck_status_internal or diskcheck_status_internal eq ERROR
154154 #location rsc_location-grpStonith1-2 grpStonith1 \
155-# rule -INFINITY: #uname eq
155+# rule -INFINITY: #uname eq MODIFY_PRYMARY_HOST
156156 #location rsc_location-grpStonith2-3 grpStonith2 \
157-# rule -INFINITY: #uname eq
157+# rule -INFINITY: #uname eq MODIFY_SECONDARY_HOST
158158
159159 ### Resource Colocation ###
160160 colocation rsc_colocation-grpUltraMonkey-clnPingd-1 INFINITY: grpUltraMonkey clnPingd