takahasi hideo
hideo_tk960****@hotma*****
2011年 5月 24日 (火) 21:39:00 JST
$B;3Fb$5$s(B $B$*Hh$lMM$G$9!#9b66$G$9!#(B monitor$B$N @ _Dj$r$h$/M}2r$;$:@_Dj$7$F$*$j$^$7$?!#(B monitor$B$H$OJL$K(BLinux$B$N%7%'%k$K$F(Bpostgres$B$N%5!<%S%9$r4F;k$9$k$b$N$r:n @ .$7$F$*$j$^$7$?!#(B postgres$B$N%5!<%S%9$,5/F0$5$l$F$J$$>l9g$O!"(Bheartbeat$B$N%W%m%;%9$r>C$9=hM}$r9T$$!"(B $B%U%'%$%k%*!<%P$r<BAu$9$k$h$&$K$7$F$*$j$^$7$?!#(B $B2<5-$N=hM}$,9T$o$l$?;~E@$G%N!<%I$,5/F0$G$-$J$/$J$k$H$$$&$3$H$G$7$g$&$+!)(B > ptest[8477]: 2011/05/24_11:17:16 WARN: cluster_option: Using deprecated name 'default_resource_stickiness' for cluster option 'default-resource-stickiness' > ptest[8477]: 2011/05/24_11:17:16 ERROR: unpack_operation: Specifying on_fail=fence and stonith-enabled=false makes no sense $B!z$3$N%a%C%;!<%8$,=P$?$N$G!"(Bon-fail$B$O(Bstop$B$KJQ99$5$l$F$$$^$9!#(B > ptest[8477]: 2011/05/24_11:17:16 WARN: unpack_rsc_op: Processing failed op pgsql0_monitor_30000 on xxx-ech-db01: Timed Out > ptest[8477]: 2011/05/24_11:17:16 ERROR: unpack_rsc_op: Making sure pgsql0 doesn't come up again$B!!!z$3$N%a%C%;!<%8$,=P$?$N$G!"(Bpgsql0$B$O$I$N%N!<%I$G$b5/F0$G$-$J$/$J$C$?$H$$$C$F$$$^$9!#(B $B=hM}$,9T$o$l$kA0$K(Bheartbeat$B$N%W%m%;%9$r>C$7$?>l9g$O!"%N!<%I$O5/F0$G$-$k>uBV$J$N$G$7$g$&$+!)(B $B$*<j?t$r$*$+$1$7$^$9$,!"$h$m$7$/$*4j$$$7$^$9!#(B > Date: Tue, 24 May 2011 11:32:54 +0900 > From: renay****@ybb***** > To: renay****@ybb*****; linux****@lists***** > Subject: Re: [Linux-ha-jp] heartbeat$B$N%U%'%$%k%*!<%P!<;~(Bpostgres$B5/F0$K$D$$$F(B > > $B9b66$5$s(B > > $B$*Hh$lMM$G$9!#;3Fb$G$9!#(B > > $BD:$$$?(Bbz$B%U%!%$%k$+$i8=>]$r3NG'$7$^$7$?!#(B > > $B0J2<!":#2s$N;v>]$K$D$$$F3NG'FbMF$r5-:\$7$^$9!#(B > > $B-!:#2s$N(Bpgsql$B8N>c$O!"(Bmonitor$B=hM}$N%?%$%`%"%&%H$,H/@8$7$F$$$k!#(B > $B-"(Bpgsql$B$N(Bmonitor$B$N(Bon_fail$B$O(B"fence"$B$K @ _Dj$5$l$F$$$^$9$,!"(Bstonith$B$,M-8z$G$J$$0Y$K!"(Bstop$B$H$7$F=hM}$5$l$^$9!#(B > $B-#$h$C$F!"#F#O=hM}$G!"(BIPaddr,Filesystem$B$O(BFO$B$7$^$9$,!"(Bpgsql$B$O(Bstop$B$G=hM}$5$l$k$?$a!"#F#O$7$^$;$s!#(B > > on-fail="fence"$B @ _Dj;~$O!"M-8z$J(Bstonith$B @ _Dj$r9T$o$l$?J}$,NI$$$G$9!#(B > #$B$A$J$_$K!"(BHB2.1.4$B$"$?$j$G$O!"(Bon-fail="fence"$B$G(Bstonith$B$r @ _Dj$7$F$$$J$$$H!"%j%=!<%9$N5/F0$9$i=PMh$J$+$C$?$H5-21$7$F$$$^$9!#(B > > $B$^$?!"(BHB2.1.3$B$"$?$j$OLdBj$r$+$J$j;}$C$F$$$k%P!<%8%g%s$N$O$:$G$9$N$G!"=PMh$l$P!"(BPacemaker+Heartbeat$B$N9=@.$X$N0\9T$b8!F$$5$l$k$3$H$r?d>)$7$^$9!#(B > > $BG0$N0Y!"(Bbz$B%U%!%$%k$+$i$N>uBVA+0\=hM}$N @ hF,$N3:Ev$9$kItJ,$r0J2<$KE:IU$7$F$*$-$^$9!#(B > > ptest[8477]: 2011/05/24_11:17:16 notice: main: Required feature set: 2.0 > ptest[8477]: 2011/05/24_11:17:16 WARN: cluster_option: Using deprecated name 'default_resource_stickiness' for cluster option 'default-resource-stickiness' > ptest[8477]: 2011/05/24_11:17:16 ERROR: unpack_operation: Specifying on_fail=fence and stonith-enabled=false makes no sense $B!z$3$N%a%C%;!<%8$,=P$?$N$G!"(Bon-fail$B$O(Bstop$B$KJQ99$5$l$F$$$^$9!#(B > ptest[8477]: 2011/05/24_11:17:16 WARN: unpack_rsc_op: Processing failed op pgsql0_monitor_30000 on xxx-ech-db01: Timed Out > ptest[8477]: 2011/05/24_11:17:16 ERROR: unpack_rsc_op: Making sure pgsql0 doesn't come up again$B!!!z$3$N%a%C%;!<%8$,=P$?$N$G!"(Bpgsql0$B$O$I$N%N!<%I$G$b5/F0$G$-$J$/$J$C$?$H$$$C$F$$$^$9!#(B > > ptest[8477]: 2011/05/24_11:17:16 notice: clone_print: Master/Slave Set: ms-drbd0 > ptest[8477]: 2011/05/24_11:17:16 notice: native_print: drbd0:0 (heartbeat::ocf:drbd): Stopped > ptest[8477]: 2011/05/24_11:17:16 notice: native_print: drbd0:1 (heartbeat::ocf:drbd): Started xxx-ech-db02 > ptest[8477]: 2011/05/24_11:17:16 notice: group_print: Resource Group: postDb > ptest[8477]: 2011/05/24_11:17:16 notice: native_print: iPaddr (heartbeat::ocf:IPaddr): Stopped > ptest[8477]: 2011/05/24_11:17:16 notice: native_print: fs0 (heartbeat::ocf:Filesystem): Stopped > ptest[8477]: 2011/05/24_11:17:16 notice: native_print: pgsql0 (heartbeat::ocf:pgsql): Stopped > ptest[8477]: 2011/05/24_11:17:16 WARN: native_color: Resource drbd0:0 cannot run anywhere > ptest[8477]: 2011/05/24_11:17:16 notice: DemoteRsc: xxx-ech-db02 Demote drbd0:1 > ptest[8477]: 2011/05/24_11:17:16 notice: NoRoleChange: Leave resource drbd0:1 (xxx-ech-db02) > ptest[8477]: 2011/05/24_11:17:16 notice: PromoteRsc: xxx-ech-db02 Promote drbd0:1 > ptest[8477]: 2011/05/24_11:17:16 notice: DemoteRsc: xxx-ech-db02 Demote drbd0:1 > ptest[8477]: 2011/05/24_11:17:16 notice: NoRoleChange: Leave resource drbd0:1 (xxx-ech-db02) > ptest[8477]: 2011/05/24_11:17:16 notice: PromoteRsc: xxx-ech-db02 Promote drbd0:1 > ptest[8477]: 2011/05/24_11:17:16 WARN: native_color: Resource pgsql0 cannot run anywhere > ptest[8477]: 2011/05/24_11:17:16 notice: StartRsc: xxx-ech-db02 Start iPaddr > ptest[8477]: 2011/05/24_11:17:16 notice: StartRsc: xxx-ech-db02 Start fs0 > ptest[8477]: 2011/05/24_11:17:16 ERROR: unpack_operation: Specifying on_fail=fence and stonith-enabled=false makes no sense > ptest[8477]: 2011/05/24_11:17:16 ERROR: unpack_operation: Specifying on_fail=fence and stonith-enabled=false makes no sense > (snip) > > > $B0J>e$G$9!#(B > > > > > > > --- On Tue, 2011/5/24, renay****@ybb***** <renay****@ybb*****> wrote: > > > $B9b66$5$s(B > > > > $B$*$O$h$&$4$6$$$^$9!#;3Fb$G$9!#(B > > > > bz$B%U%!%$%k$NCf?H!"$"$j$,$H$&$4$6$$$^$9!#(B > > $BK\F|Cf$K3NG'$7$F!"$4O"Mm$7$^$9!#(B > > > > $B0J>e$G$9!#(B > > > > > > --- On Mon, 2011/5/23, takahasi hideo <hideo_tk960****@hotma*****> wrote: > > > > > $B9b66$G$9!#(B > > > xxx_ech_db02$B$N(Bvar/lib/heartbeat/pengine/pe-warn-25.bz2$B$N%U%!%$%k$NCf?H$H$J$j$^$9!#(B > > > > > > $B$[$+$KI,MW$J>pJs$O$4$6$$$^$9$G$7$g$&$+!)(B > > > $B0J>e!!$h$m$7$/$*4j$$$7$^$9(B > > > > > > <cib generated="true" admin_epoch="0" have_quorum="true" ignore_dtd="false" num_peers="2" cib_feature_revision="2.0" crm_feature_set="2.0" epoch="106" num_updates="53" cib-last-written="Wed May 18 05:06:16 2011" ccm_transition="2" dc_uuid="xxxxxxxx-fb58-4b77-8755-aee23da6a63d"> > > > <configuration> > > > <crm_config> > > > <cluster_property_set id="cib-bootstrap-options"> > > > <attributes> > > > <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="2.1.4-fb84f606a422 tip"/> > > > </attributes> > > > </cluster_property_set> > > > <cluster_property_set id="default_cluster_properties" score="10"> > > > <attributes> > > > <nvpair id="default-sticky" name="default_resource_stickiness" value="INFINITY"/> > > > </attributes> > > > </cluster_property_set> > > > </crm_config> > > > <nodes> > > > <node id="xxxxxxxx-ff8a-429a-81c2-db36ebb522e7" uname="xxx-ech-db01" type="normal"/> > > > <node id="xxxxxxxx-fb58-4b77-8755-aee23da6a63d" uname="xxx-ech-db02" type="normal"/> > > > </nodes> > > > <resources> > > > <master_slave id="ms-drbd0"> > > > <meta_attributes id="ma-ms-drbd0"> > > > <attributes> > > > <nvpair id="ma-ms-drbd0-1" name="clone_max" value="2"/> > > > <nvpair id="ma-ms-drbd0-2" name="clone_node_max" value="1"/> > > > <nvpair id="ma-ms-drbd0-3" name="master_max" value="1"/> > > > <nvpair id="ma-ms-drbd0-4" name="master_node_max" value="1"/> > > > <nvpair id="ma-ms-drbd0-5" name="notify" value="yes"/> > > > <nvpair id="ma-ms-drbd0-6" name="globally_unique" value="false"/> > > > </attributes> > > > </meta_attributes> > > > <primitive id="drbd0" class="ocf" provider="heartbeat" type="drbd"> > > > <instance_attributes id="ia-drbd0"> > > > <attributes> > > > <nvpair id="ia-drbd0-1" name="drbd_resource" value="drbd0"/> > > > </attributes> > > > </instance_attributes> > > > </primitive> > > > </master_slave> > > > <group id="postDb"> > > > <primitive class="ocf" provider="heartbeat" type="IPaddr" id="iPaddr"> > > > <instance_attributes id="ia_ipaddr"> > > > <attributes> > > > <nvpair id="ia_ipaddr" name="ip" value="192.168.22.110"/> > > > </attributes> > > > </instance_attributes> > > > </primitive> > > > <primitive class="ocf" provider="heartbeat" type="Filesystem" id="fs0"> > > > <meta_attributes id="ma-fs0"> > > > <attributes/> > > > </meta_attributes> > > > <instance_attributes id="ia-fs0"> > > > <attributes> > > > <nvpair id="ia-fs0-1" name="fstype" value="ext3"/> > > > <nvpair id="ia-fs0-2" name="directory" value="/data"/> > > > <nvpair id="ia-fs0-3" name="device" value="/dev/drbd0"/> > > > </attributes> > > > </instance_attributes> > > > </primitive> > > > <primitive class="ocf" provider="heartbeat" type="pgsql" id="pgsql0"> > > > <instance_attributes id="ia-pgsql0"> > > > <attributes> > > > <nvpair id="ia-pgsql0-1" name="pgctl" value="/usr/local/pgsql/bin/pg_ctl"/> > > > <nvpair id="ia-pgsql0-2" name="psql" value="/usr/local/pgsql/bin/psql"/> > > > <nvpair id="ia-pgsql0-3" name="pgdata" value="/data/pgsql/data/"/> > > > <nvpair id="ia-pgsql0-4" name="pgdba" value="postgres"/> > > > <nvpair id="ia-pgsql0-6" name="logfile" value="/var/log/postgresql/postgresql_log"/> > > > </attributes> > > > </instance_attributes> > > > <operations> > > > <op id="apPostgreSQLDB_start" name="start" timeout="60s" on_fail="fence"/> > > > <op id="apPostgreSQLDB_monitor" name="monitor" interval="30s" timeout="60s" on_fail="fence"/> > > > <op id="apPostgreSQLDB_stop" name="stop" timeout="60s" on_fail="fence"/> > > > </operations> > > > </primitive> > > > </group> > > > </resources> > > > <constraints> > > > <rsc_location id="rsc_location_group_1" rsc="ms-drbd0"> > > > <rule id="prefered_location_group_1" role="Master" score="100"> > > > <expression id="prefered_location_group_1_expr" attribute="#uname" operation="eq" value="xxx-ECH-DB01"/> > > > </rule> > > > </rsc_location> > > > <rsc_order id="drbd0_before_fs0" from="postDb" action="start" to="ms-drbd0" to_action="promote"/> > > > <rsc_colocation id="fs0_on_drbd0" to="ms-drbd0" to_role="Master" from="postDb" score="infinity"/> > > > </constraints> > > > </configuration> > > > <status> > > > <node_state id="xxxxxxxx-fb58-4b77-8755-aee23da6a63d" uname="xxx-ech-db02" crmd="online" crm-debug-origin="do_update_resource" shutdown="0" in_ccm="true" ha="active" join="member" expected="member"> > > > <lrm id="xxxxxxxx-fb58-4b77-8755-aee23da6a63d"> > > > <lrm_resources> > > > <lrm_resource id="iPaddr" type="IPaddr" class="ocf" provider="heartbeat"> > > > <lrm_rsc_op id="iPaddr_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" transition_key="10:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:7;10:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="3" crm_feature_set="2.0" rc_code="7" op_status="0" interval="0" op_digest="ffb115a07fbaa6a44930965c97b2f3a8"/> > > > </lrm_resource> > > > <lrm_resource id="fs0" type="Filesystem" class="ocf" provider="heartbeat"> > > > <lrm_rsc_op id="fs0_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" transition_key="11:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:7;11:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="4" crm_feature_set="2.0" rc_code="7" op_status="0" interval="0" op_digest="5d00981b951ad0fd957d03da4e84ffc2"/> > > > </lrm_resource> > > > <lrm_resource id="drbd0:1" type="drbd" class="ocf" provider="heartbeat"> > > > <lrm_rsc_op id="drbd0:1_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" transition_key="9:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:7;9:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="2" crm_feature_set="2.0" rc_code="7" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:1_start_0" operation="start" crm-debug-origin="do_update_resource" transition_key="7:2:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;7:2:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="6" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:1_post_notify_start_0" operation="notify" crm-debug-origin="do_update_resource" transition_key="52:2:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;52:2:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="7" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:1_pre_notify_promote_0" operation="notify" crm-debug-origin="do_update_resource" transition_key="56:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;56:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="10" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:1_post_notify_promote_0" operation="notify" crm-debug-origin="do_update_resource" transition_key="62:3:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;62:3:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="9" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:1_pre_notify_demote_0" operation="notify" crm-debug-origin="do_update_resource" transition_key="58:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;58:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="11" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:1_post_notify_demote_0" operation="notify" crm-debug-origin="do_update_resource" transition_key="59:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;59:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="12" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:1_pre_notify_stop_0" operation="notify" crm-debug-origin="do_update_resource" transition_key="54:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;54:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="13" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:1_post_notify_stop_0" operation="notify" crm-debug-origin="do_update_resource" transition_key="55:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;55:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="14" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > </lrm_resource> > > > <lrm_resource id="pgsql0" type="pgsql" class="ocf" provider="heartbeat"> > > > <lrm_rsc_op id="pgsql0_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" transition_key="12:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:7;12:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="5" crm_feature_set="2.0" rc_code="7" op_status="0" interval="0" op_digest="a226d5fbaf160cd1ef6c3af58be26a6b"/> > > > </lrm_resource> > > > </lrm_resources> > > > </lrm> > > > <transient_attributes id="xxxxxxxx-fb58-4b77-8755-aee23da6a63d"> > > > <instance_attributes id="status-xxxxxxxx-fb58-4b77-8755-aee23da6a63d"> > > > <attributes> > > > <nvpair id="status-xxxxxxxx-fb58-4b77-8755-aee23da6a63d-probe_complete" name="probe_complete" value="true"/> > > > </attributes> > > > </instance_attributes> > > > <instance_attributes id="master-xxxxxxxx-fb58-4b77-8755-aee23da6a63d"> > > > <attributes> > > > <nvpair id="status-master-drbd0:1-xxxxxxxx-fb58-4b77-8755-aee23da6a63d" name="master-drbd0:1" value="10"/> > > > </attributes> > > > </instance_attributes> > > > </transient_attributes> > > > </node_state> > > > <node_state id="xxxxxxxx-ff8a-429a-81c2-db36ebb522e7" uname="xxx-ech-db01" crmd="online" crm-debug-origin="do_update_resource" in_ccm="true" ha="active" join="member" expected="down" shutdown="1305662762"> > > > <lrm id="xxxxxxxx-ff8a-429a-81c2-db36ebb522e7"> > > > <lrm_resources> > > > <lrm_resource id="iPaddr" type="IPaddr" class="ocf" provider="heartbeat"> > > > <lrm_rsc_op id="iPaddr_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" transition_key="5:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:7;5:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="3" crm_feature_set="2.0" rc_code="7" op_status="0" interval="0" op_digest="ffb115a07fbaa6a44930965c97b2f3a8"/> > > > <lrm_rsc_op id="iPaddr_start_0" operation="start" crm-debug-origin="do_update_resource" transition_key="36:4:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;36:4:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="11" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="ffb115a07fbaa6a44930965c97b2f3a8"/> > > > <lrm_rsc_op id="iPaddr_stop_0" operation="stop" crm-debug-origin="do_update_resource" transition_key="36:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;36:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="18" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="ffb115a07fbaa6a44930965c97b2f3a8"/> > > > </lrm_resource> > > > <lrm_resource id="fs0" type="Filesystem" class="ocf" provider="heartbeat"> > > > <lrm_rsc_op id="fs0_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" transition_key="6:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:7;6:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="4" crm_feature_set="2.0" rc_code="7" op_status="0" interval="0" op_digest="5d00981b951ad0fd957d03da4e84ffc2"/> > > > <lrm_rsc_op id="fs0_start_0" operation="start" crm-debug-origin="do_update_resource" transition_key="37:4:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;37:4:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="12" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="5d00981b951ad0fd957d03da4e84ffc2"/> > > > <lrm_rsc_op id="fs0_stop_0" operation="stop" crm-debug-origin="do_update_resource" transition_key="38:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;38:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="17" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="5d00981b951ad0fd957d03da4e84ffc2"/> > > > </lrm_resource> > > > <lrm_resource id="drbd0:0" type="drbd" class="ocf" provider="heartbeat"> > > > <lrm_rsc_op id="drbd0:0_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" transition_key="4:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:7;4:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="2" crm_feature_set="2.0" rc_code="7" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:0_start_0" operation="start" crm-debug-origin="do_update_resource" transition_key="5:2:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;5:2:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="6" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:0_post_notify_start_0" operation="notify" crm-debug-origin="do_update_resource" transition_key="49:2:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;49:2:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="7" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:0_pre_notify_promote_0" operation="notify" crm-debug-origin="do_update_resource" transition_key="53:3:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;53:3:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="8" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:0_promote_0" operation="promote" crm-debug-origin="do_update_resource" transition_key="8:3:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;8:3:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="9" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:0_post_notify_promote_0" operation="notify" crm-debug-origin="do_update_resource" transition_key="54:3:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;54:3:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="10" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:0_pre_notify_demote_0" operation="notify" crm-debug-origin="do_update_resource" transition_key="50:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;50:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="16" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:0_demote_0" operation="demote" crm-debug-origin="do_update_resource" transition_key="5:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;5:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="19" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:0_post_notify_demote_0" operation="notify" crm-debug-origin="do_update_resource" transition_key="51:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;51:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="20" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:0_pre_notify_stop_0" operation="notify" crm-debug-origin="do_update_resource" transition_key="49:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;49:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="21" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > <lrm_rsc_op id="drbd0:0_stop_0" operation="stop" crm-debug-origin="do_update_resource" transition_key="6:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;6:6:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="22" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="1243523f1dae58b4aafa2650a7f3d441"/> > > > </lrm_resource> > > > <lrm_resource id="pgsql0" type="pgsql" class="ocf" provider="heartbeat"> > > > <lrm_rsc_op id="pgsql0_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" transition_key="7:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:7;7:0:7:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="5" crm_feature_set="2.0" rc_code="7" op_status="0" interval="0" op_digest="a226d5fbaf160cd1ef6c3af58be26a6b"/> > > > <lrm_rsc_op id="pgsql0_start_0" operation="start" crm-debug-origin="do_update_resource" transition_key="38:4:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;38:4:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="13" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="a226d5fbaf160cd1ef6c3af58be26a6b"/> > > > <lrm_rsc_op id="pgsql0_monitor_30000" operation="monitor" crm-debug-origin="do_update_resource" transition_key="39:4:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="2:-2;39:4:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="14" crm_feature_set="2.0" rc_code="-2" op_status="2" interval="30000" op_digest="e7361475ed22fe3e9bf0cfb14da69f2e"/> > > > <lrm_rsc_op id="pgsql0_stop_0" operation="stop" crm-debug-origin="do_update_resource" transition_key="2:5:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" transition_magic="0:0;2:5:0:69c1e75a-51c8-4a00-a8c4-26ad8b6a447c" call_id="15" crm_feature_set="2.0" rc_code="0" op_status="0" interval="0" op_digest="a226d5fbaf160cd1ef6c3af58be26a6b"/> > > > </lrm_resource> > > > </lrm_resources> > > > </lrm> > > > <transient_attributes id="xxxxxxxx-ff8a-429a-81c2-db36ebb522e7"> > > > <instance_attributes id="status-xxxxxxxx-ff8a-429a-81c2-db36ebb522e7"> > > > <attributes> > > > <nvpair id="status-xxxxxxxx-ff8a-429a-81c2-db36ebb522e7-probe_complete" name="probe_complete" value="true"/> > > > <nvpair id="status-xxxxxxxx-ff8a-429a-81c2-db36ebb522e7-fail-count-pgsql0" name="fail-count-pgsql0" value="1"/> > > > </attributes> > > > </instance_attributes> > > > <instance_attributes id="master-xxxxxxxx-ff8a-429a-81c2-db36ebb522e7"> > > > <attributes/> > > > </instance_attributes> > > > </transient_attributes> > > > </node_state> > > > </status> > > > </cib> > > > > > > > > > > > > > > > > Date: Mon, 23 May 2011 10:32:52 +0900 > > > > From: renay****@ybb***** > > > > To: linux****@lists***** > > > > Subject: Re: [Linux-ha-jp] heartbeat$B$N%U%'%$%k%*!<%P!<;~(Bpostgres$B5/F0$K$D$$$F(B > > > > > > > > $B9b66$5$s(B > > > > > > > > $B$3$s$K$A$O!"%a%$%H%j%C%/%9$N;3Fb$G$9!#(B > > > > > > > > postgreSQL$B<+BN$K(Bstart$B$,$+$+$C$F$$$k5$G[$,$J$$$^$^!"%j%=!<%9$N0\F0=hM}(B($B>uBVA+0\!K$,=*$o$C$F$$$^$9$N$G!"2?$+(Bcib$B>pJs$KLdBj$,$"$k$H;W$o$l$^$9!#(B > > > > > > > > /var/lib/heartbeat/pengine/pe-warn-25.bz2 > > > > > > > > $B$N%U%!%$%k$,$"$k$H>/$7$o$+$k$+$bCN$l$^$;$s!#(B > > > > > > > > Heartbeat$B%P!<%8%g%s$,(B2.1.3$B$H8E$a$J$N$G!">uBVA+0\$N:n @ .$K(Bxxx_ech_db01$B%5!<%P$N>C<:!J%m%0$G$$$&(BLOST)$B$,4XO"$7$F$$$k$+$bCN$l$^$;$s!#(B > > > > > > > > $B0J>e!"$h$m$7$/8f4j$$$$$?$7$^$9!#(B > > > > > > > > > > > > --- On Fri, 2011/5/20, takahasi hideo <hideo_tk960****@hotma*****> wrote: > > > > > > > > > $B9b66$H?=$7$^$9!#(B > > > > > > > > > > heartbeat$B!"(BDRBD$B!"(Bpostgresql$B$r;HMQ$7$F!"(B > > > > > $B%G!<%?%Y!<%9%/%i%9%?%5!<%P$r9=C[$7$F$*$j$^$9(B > > > > > > > > > > xxx_ech_db01$B%5!<%P(B (master)$B>c32$,H/@8;~!"(B > > > > > xxx_ech_db02$B%5!<%P(B(slave)$B$K%U%'%$%k%*!<%P!<$r9T$&$h$&$K @ _Dj$7$F$*$j$^$9!#(B > > > > > > > > > > xxx_ech_db01$B%5!<%P>c32(B(postgres$B$K$F=hM}$KIi2Y$,H/@8$7!"(Bpostgres$B$N%5!<%S%9$,0[>o=*N;(B)$B$,H/@8$7$?;~$K!"(B > > > > > xxx_ech_db02$B%5!<%P$K%U%'%$%k%*!<%P!<$5$l$F$$$?$N$G$9$,(B(master$B$K$O$J$C$F$*$j!"(Bmount$B$b$5$l$F$$$^$7$?(B) > > > > > $B$,(Bpostgres$B$N%5!<%S%9$,5/F0$7$F$*$j$^$;$s$G$7$?!#(B > > > > > > > > > > $B%5!<%P9=@.$O0J2<$K$J$j$^$9!#(B > > > > > 2$BBf$H$bF1$8$b$N$H$J$C$F$*$j$^$9(B > > > > > OS$B!!(BRedHat ES4.0 > > > > > > > > > > $B"!%+!<%M%k%P!<%8%g%s!'(B > > > > > Linux 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64 x86_64 x86_64 GNU/Linux > > > > > heartbest 2.1.3 > > > > > DRBD 0.7.2 > > > > > postgres8.2.3 > > > > > > > > > > $BA0!92s$K$b(Bxxx_ech_db01$B%5!<%P$K>c32(B(postgres$B$K$F=hM}$KIi2Y$,H/@8$7!"(Bpostgres$B$N%5!<%S%9$,0[>o=*N;(B)$B$,H/@8$7$?;~$O!"(B > > > > > xxx_ech_db02$B%5!<%P$K%U%'%$%k%*!<%P!<$,!"(B > > > > > $B<B9T$5$l!"(Bpostgres$B$N%5!<%S%9$b @ 5>o$K5/F0$7$F$*$j$^$7$?!#(B > > > > > > > > > > syslog$B$r3NG'$$$?$7$^$7$?$H$3$m!"(B > > > > > $BA0!92s$O0J2<$N%m%0$,=PNO$5$l$F$*$j$^$7$?$,!"(B > > > > > $B:#2s$N%m%0$K$O=PNO$5$l$F$*$j$^$;$s$G$7$?!#(B > > > > > > > > > > tengine: [5011]: info: send_rsc_command: Initiating action 34: start pgsql0_start_0 on ech-db02 > > > > > crmd: [18567]: info: do_lrm_rsc_op: Performing op=pgsql0_start_0 key=34:0:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) > > > > > lrmd: [18564]: info: rsc:pgsql0: start > > > > > > > > > > $B860x$,J,$+$i$::$$C$F$*$j$^$9!#(B > > > > > $B$[$+$KI,MW$J>pJs$O$4$6$$$^$9$G$7$g$&$+!)(B > > > > > > > > > > cib.xml$B$N%U%!%$%k @ _Dj$O0J2<$H$J$j$^$9!#(B > > > > > <cib generated="true" admin_epoch="0" have_quorum="true" ignore_dtd="false" num_peers="2" cib_feature_revision="2.0" crm_feature_set="2.0" epoch="106" num_updates="3" cib-last-written="Fri Mar 18 04:25:44 2011" ccm_transition="2" dc_uuid="$B#x#x#x#x#x#x(B-fb58-4b77-8755-aee23da6a63d"> > > > > > <configuration> > > > > > <crm_config> > > > > > <cluster_property_set id="cib-bootstrap-options"> > > > > > <attributes> > > > > > <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="2.1.4-fb84f606a422 tip"/> > > > > > </attributes> > > > > > </cluster_property_set> > > > > > <cluster_property_set id="default_cluster_properties" score="10"> > > > > > <attributes> > > > > > <nvpair id="default-sticky" name="default_resource_stickiness" value="INFINITY"/> > > > > > </attributes> > > > > > </cluster_property_set> > > > > > </crm_config> > > > > > <nodes> > > > > > <node id="XXXXXXXX-ff8a-429a-81c2-db36ebb522e7" uname="xxx-ech-db01" type="normal"/> > > > > > <node id="XXXXXXXX-fb58-4b77-8755-aee23da6a63d" uname="xxx-ech-db02" type="normal"/> > > > > > </nodes> > > > > > <resources> > > > > > <master_slave id="ms-drbd0"> > > > > > <meta_attributes id="ma-ms-drbd0"> > > > > > <attributes> > > > > > <nvpair id="ma-ms-drbd0-1" name="clone_max" value="2"/> > > > > > <nvpair id="ma-ms-drbd0-2" name="clone_node_max" value="1"/> > > > > > <nvpair id="ma-ms-drbd0-3" name="master_max" value="1"/> > > > > > <nvpair id="ma-ms-drbd0-4" name="master_node_max" value="1"/> > > > > > <nvpair id="ma-ms-drbd0-5" name="notify" value="yes"/> > > > > > <nvpair id="ma-ms-drbd0-6" name="globally_unique" value="false"/> > > > > > </attributes> > > > > > </meta_attributes> > > > > > <primitive id="drbd0" class="ocf" provider="heartbeat" type="drbd"> > > > > > <instance_attributes id="ia-drbd0"> > > > > > <attributes> > > > > > <nvpair id="ia-drbd0-1" name="drbd_resource" value="drbd0"/> > > > > > </attributes> > > > > > </instance_attributes> > > > > > </primitive> > > > > > </master_slave> > > > > > <group id="postDb"> > > > > > <primitive class="ocf" provider="heartbeat" type="IPaddr" id="iPaddr"> > > > > > <instance_attributes id="ia_ipaddr"> > > > > > <attributes> > > > > > <nvpair id="ia_ipaddr" name="ip" value="192.168.XX.XXX"/> > > > > > </attributes> > > > > > </instance_attributes> > > > > > </primitive> > > > > > <primitive class="ocf" provider="heartbeat" type="Filesystem" id="fs0"> > > > > > <meta_attributes id="ma-fs0"> > > > > > <attributes/> > > > > > </meta_attributes> > > > > > <instance_attributes id="ia-fs0"> > > > > > <attributes> > > > > > <nvpair id="ia-fs0-1" name="fstype" value="ext3"/> > > > > > <nvpair id="ia-fs0-2" name="directory" value="/data"/> > > > > > <nvpair id="ia-fs0-3" name="device" value="/dev/drbd0"/> > > > > > </attributes> > > > > > </instance_attributes> > > > > > </primitive> > > > > > <primitive class="ocf" provider="heartbeat" type="pgsql" id="pgsql0"> > > > > > <instance_attributes id="ia-pgsql0"> > > > > > <attributes> > > > > > <nvpair id="ia-pgsql0-1" name="pgctl" value="/usr/local/pgsql/bin/pg_ctl"/> > > > > > <nvpair id="ia-pgsql0-2" name="psql" value="/usr/local/pgsql/bin/psql"/> > > > > > <nvpair id="ia-pgsql0-3" name="pgdata" value="/data/pgsql/data/"/> > > > > > <nvpair id="ia-pgsql0-4" name="pgdba" value="postgres"/> > > > > > <nvpair id="ia-pgsql0-6" name="logfile" value="/var/log/postgresql/postgresql_log"/> > > > > > </attributes> > > > > > </instance_attributes> > > > > > <operations> > > > > > <op id="apPostgreSQLDB_start" name="start" timeout="60s" on_fail="fence"/> > > > > > <op id="apPostgreSQLDB_monitor" name="monitor" interval="30s" timeout="60s" on_fail="fence"/> > > > > > <op id="apPostgreSQLDB_stop" name="stop" timeout="60s" on_fail="fence"/> > > > > > </operations> > > > > > </primitive> > > > > > </group> > > > > > </resources> > > > > > <constraints> > > > > > <rsc_location id="rsc_location_group_1" rsc="ms-drbd0"> > > > > > <rule id="prefered_location_group_1" role="Master" score="100"> > > > > > <expression id="prefered_location_group_1_expr" attribute="#uname" operation="eq" value="xxx-ECH-DB01"/> > > > > > </rule> > > > > > </rsc_location> > > > > > <rsc_order id="drbd0_before_fs0" from="postDb" action="start" to="ms-drbd0" to_action="promote"/> > > > > > <rsc_colocation id="fs0_on_drbd0" to="ms-drbd0" to_role="Master" from="postDb" score="infinity"/> > > > > > </constraints> > > > > > </configuration> > > > > > </cib> > > > > > > > > > > $B0J>e!!$h$m$7$/$*4j$$$7$^$9!#(B > > > > > > > > > > $B!!!!(B > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Linux-ha-japan mailing list > > > > Linux****@lists***** > > > > http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan > > > > > > > _______________________________________________ > > Linux-ha-japan mailing list > > Linux****@lists***** > > http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan > > > > _______________________________________________ > Linux-ha-japan mailing list > Linux****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B... Télécharger