• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

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

UltraMonkey-L7 V3(multi-thread implementation)


コミットメタ情報

リビジョン5e9c4a68ee73d49bd931b6d36dbaf9fd87c1289b (tree)
日時2015-10-22 17:09:28
作者Michiro Hibari <l05102@shib...>
コミッターMichiro Hibari

ログメッセージ

CRMファイルのサンプルをPM1.1系に対応

変更サマリ

差分

--- a/doc/heartbeat-ra/sample.crm
+++ b/doc/heartbeat-ra/sample.crm
@@ -1,9 +1,7 @@
11 ### Cluster Option ###
22 property no-quorum-policy="ignore" \
33 stonith-enabled="false" \
4- startup-fencing="false" \
5- stonith-timeout="750s" \
6- crmd-transition-delay=2s
4+ startup-fencing="false"
75
86 ### Resource Defaults ###
97 rsc_defaults resource-stickiness="INFINITY" \
@@ -26,13 +24,16 @@ group grpUltraMonkey \
2624 prmL7directord
2725 #group grpStonith1 \
2826 # prmStonith1-1 \
29-# prmStonith1-2 \
30-# prmStonith1-3
27+# prmStonith1-2
3128
3229 #group grpStonith2 \
3330 # prmStonith2-1 \
34-# prmStonith2-2 \
35-# prmStonith2-3
31+# prmStonith2-2
32+
33+### Fencing Topology ###
34+#fencing_topology \
35+# MODIFY_PRYMARY_HOST: prmStonith1-1 prmStonith1-2 \
36+# MODIFY_SECONDARY_HOST: prmStonith2-1 prmStonith2-2
3637
3738 ### Primitive Configuration ###
3839 primitive prmVIPcheck ocf:heartbeat:VIPcheck \
@@ -61,11 +62,14 @@ primitive prmL7vsd ocf:heartbeat:L7vsd \
6162 op monitor interval="10s" timeout="60s" on-fail="restart" \
6263 op stop interval="0s" timeout="60s" on-fail="block"
6364
64-primitive prmPingd ocf:pacemaker:pingd \
65+primitive prmPing ocf:pacemaker:ping \
6566 params \
6667 name="default_ping_set" \
6768 host_list="MODIFY_PING_TARGET_IP" \
6869 multiplier="100" \
70+ attempts="2" \
71+ timeout="2" \
72+ debug="true" \
6973 op start interval="0s" timeout="60s" on-fail="restart" \
7074 op monitor interval="10s" timeout="60s" on-fail="restart" \
7175 op stop interval="0s" timeout="60s" on-fail="ignore"
@@ -81,58 +85,47 @@ primitive prmDiskd ocf:pacemaker:diskd \
8185
8286 #primitive prmStonith1-1 stonith:external/stonith-helper \
8387 # params \
84-# priority="1" \
88+# pcmk_reboot_retries="1" \
8589 # stonith-timeout="40s" \
8690 # hostlist="MODIFY_PRYMARY_HOST" \
8791 # dead_check_target="MODIFY_TARGET_IP MODIFY_TARGET_IP ..." \
88-# standby_check_command="/usr/sbin/crm_resource -r prmVIP -W | grep -q `hostname`" \
89-# op start interval="0s" timeout="60s" \
90-# op monitor interval="10s" timeout="60s" \
91-# op stop interval="0s" timeout="60s"
92+# standby_check_command="/usr/sbin/crm_resource -r prmL7directord -W | grep -q `hostname`" \
93+# run_online_check="yes" \
94+# op start interval="0s" timeout="60s" on-fail="restart" \
95+# op stop interval="0s" timeout="60s" on-fail="ignore"
9296
9397 #primitive prmStonith1-2 stonith:external/ipmi \
9498 # params \
99+# pcmk_reboot_timeout="60s" \
95100 # passwd="MODIFY_IPMI_PASSWORD" \
96101 # ipaddr="MODIFY_IPMI_IP" \
97-# priority="2" \
98102 # userid="MODIFY_IPMI_USER" \
99103 # hostname="MODIFY_PRYMARY_HOST" \
100104 # interface="MODIFY_IPMI_INTERFACE" \
101-# stonith-timeout="60s" \
102-# op start interval="0s" timeout="60s" \
103-# op monitor interval="3600s" timeout="60s" \
104-# op stop interval="0s" timeout="60s"
105-
106-#primitive prmStonith1-3 stonith:meatware \
107-# params \
108-# priority="3" \
109-# stonith-timeout="600s" \
110-# hostlist="MODIFY_PRYMARY_HOST" \
111-# op start interval="0s" timeout="60s" \
112-# op monitor interval="3600s" timeout="60s" \
113-# op stop interval="0s" timeout="60s"
105+# op start interval="0s" timeout="60s" on-fail="restart" \
106+# op monitor interval="3600s" timeout="60s" on-fail="restart" \
107+# op stop interval="0s" timeout="60s" on-fail="ignore"
114108
115109 #primitive prmStonith2-1 stonith:external/stonith-helper \
116110 # params \
117-# priority="1" \
111+# pcmk_reboot_retries="1" \
118112 # stonith-timeout="40s" \
119113 # hostlist="MODIFY_SECONDARY_HOST" \
120114 # dead_check_target="MODIFY_TARGET_IP MODIFY_TARGET_IP ..." \
121-# standby_check_command="/usr/sbin/crm_resource -r prmVIP -W | grep -q `hostname`" \
122-# op start interval="0s" timeout="60s" \
123-# op monitor interval="10s" timeout="60s" \
124-# op stop interval="0s" timeout="60s"
115+# standby_check_command="/usr/sbin/crm_resource -r prmL7directord -W | grep -q `hostname`" \
116+# run_online_check="yes" \
117+# op start interval="0s" timeout="60s" on-fail="restart" \
118+# op stop interval="0s" timeout="60s" on-fail="ignore"
125119
126120 #primitive prmStonith2-2 stonith:external/ipmi \
127121 # params \
122+# pcmk_reboot_timeout="60s" \
128123 # passwd="MODIFY_IPMI_PASSWORD" \
129124 # ipaddr="MODIFY_IPMI_IP" \
130-# priority="2" \
131125 # userid="MODIFY_IPMI_USER" \
132126 # hostname="MODIFY_SECONDARY_HOST" \
133127 # interface="MODIFY_IPMI_INTERFACE" \
134-# stonith-timeout="60s" \
135-# op start interval="0s" timeout="60s" \
128+# op start interval="0s" timeout="60s" onfail\
136129 # op monitor interval="3600s" timeout="60s" \
137130 # op stop interval="0s" timeout="60s"
138131
@@ -141,9 +134,9 @@ primitive prmDiskd ocf:pacemaker:diskd \
141134 # priority="3" \
142135 # stonith-timeout="600s" \
143136 # hostlist="MODIFY_SECONDARY_HOST" \
144-# op start interval="0s" timeout="60s" \
145-# op monitor interval="3600s" timeout="60s" \
146-# op stop interval="0s" timeout="60s"
137+# op start interval="0s" timeout="60s" on-fail="restart" \
138+# op monitor interval="3600s" timeout="60s" on-fail="restart" \
139+# op stop interval="0s" timeout="60s" on-fail="ignore"
147140
148141 ### Resource Location ###
149142 location rsc_location-grpUltraMonkey-1 grpUltraMonkey \