山内ã•ã‚“
ãŠç–²ã‚Œæ§˜ã§ã™ã€ç¦ç”°ã§ã™ã€‚
ã“ã¡ã‚‰ã‚’見ãŸã®ã§ã™ãŒã€
https://github.com/ClusterLabs/pacemaker/tags
pacemaker 1.1.12 561c4cf ãŒæœ€æ–°ã®ã‚ˆã†ãªã®ã§ã™ãŒã€‚
済ã¿ã¾ã›ã‚“ãŒã€ã“れ以é™ã®æœ€æ–°ç‰ˆã¯ã©ã¡ã‚‰ã«ã‚ã‚‹ã‹æ•™ãˆã¦é ‚ã‘ã¾ã™ã‹ã€‚
宜ã—ããŠé¡˜ã„ã—ã¾ã™ã€‚
以上
2015å¹´3月17æ—¥ç«æ›œæ—¥ã€<renayama19661014@ybb.ne.jp
<javascript:_e(%7B%7D,'cvml','renayama19661014@ybb.ne.jp');>>ã•ã‚“ã¯æ›¸ãã¾ã—ãŸ:
> ç¦ç”°ã•ã‚“
>
> ãŠç–²ã‚Œæ§˜ã§ã™ã€‚山内ã§ã™ã€‚
>
> ã¯ã„。å¤ã„ã§ã™ã€‚
>
> PacemakerãŒHeartbeat3.0.6ã«å¯¾å¿œã—ãŸã®ã¯æ„外ã¨æœ€è¿‘ã§ã™ã€‚
> ã‚‚ã£ã¨æ–°ã—ã„ã‚‚ã®ã‚’入れã¦ãã ã•ã„。(ã¾ãŸã€ã‚½ãƒ¼ã‚¹ã‹ã‚‰æ§‹ç¯‰ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ãŒãƒ»ãƒ»ãƒ»ãƒ»)
>
>
>
> 本家ã®githubã‹ã‚‰å…¥æ‰‹å¯èƒ½ã§ã™ã€‚
> * https://github.com/ClusterLabs/pacemaker
>
>
> å ´åˆã«ã‚ˆã£ã¦ã¯ã€æœ€æ–°ã®masterã¯ã‚¨ãƒ©ãƒ¼ãªã©ãŒå‡ºã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ã®ã§ã€ãã®å ´åˆã¯ã€ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’å¤ã„æ–¹ã«ãŸãã£ã¦
> ã„ãã®ãŒè‰¯ã„ã¨æ€ã„ã¾ã™ã€‚
>
> 以上ã§ã™ã€‚
>
>
>
> ----- Original Message -----
> >From: Masamichi Fukuda - elf-systems <masamichi_fukuda@elf-systems.com>
> >To: 山内英生 <renayama19661014@ybb.ne.jp>; "
> linux-ha-japan@lists.sourceforge.jp" <linux-ha-japan@lists.sourceforge.jp>
> >Date: 2015/3/17, Tue 16:06
> >Subject: Re: [Linux-ha-jp] スプリットブレイン時ã®STONITHエラーã«ã¤ã„ã¦
> >
> >
> >山内ã•ã‚“
> >
> >ãŠç–²ã‚Œæ§˜ã§ã™ã€ç¦ç”°ã§ã™ã€‚
> >
> >以å‰ã®ãƒ¡ãƒ¼ãƒ«ã§heartbeatã¨pacemakerを最新版を入れãŸã»ã†ãŒè‰¯ã„ã¨å›žç”é ‚ãã¾ã—ãŸã€‚
> >ãã“ã§ä»Šå›žã€heartbeat3.0.6ã¨pacemaker1.1.12を入れãŸã®ã§ã™ãŒã€‚
> >
> >heartbeat configuration: Version = "3.0.6"
> >pacemaker configuration: Version = 1.1.12 (Build:
> 561c4cf)pacemakerãŒã¾ã å¤ã„ã¨ã„ã†ã“ã¨ã§ã—ょã†ã‹ã€‚
> >
> >済ã¿ã¾ã›ã‚“ãŒã€å®œã—ããŠé¡˜ã„ã—ã¾ã™ã€‚
> >
> >以上
> >
> >
> >
> >2015年3月17日 14:59 <renayama19661014@ybb.ne.jp>:
> >
> >ç¦ç”°ã•ã‚“
> >>
> >>ãŠç–²ã‚Œæ§˜ã§ã™ã€‚山内ã§ã™ã€‚
> >>
> >>ãµã¨æ€ã£ãŸã®ã™ãŒã€ä»¥å‰ã®ã‚„ã‚Šå–ã‚Šã®ãƒ¡ãƒ¼ãƒ«ã§ä»¥ä¸‹ã¨å›žç”ã—ã¦ã¾ã™ãŒã€å•é¡Œãªã„ã§ã—ょã†ã‹ï¼Ÿ
> >>
> >>
> >>>>>>>> 2)Heartbeat3.0.6+Pacemaker最新 : OK
> >>>>>>>>
> >>>>>>>> ã©ã†ã‚„らã€Heartbeatも最新版3.0.6を組åˆã›ã‚‹å¿…è¦ãŒã‚るよã†ã§ã™ã€‚
> >>>>>>>> * http://hg.linux-ha.org/heartbeat-STABLE_3_0/rev/cceeb47a7d8f
> >>
> >>以下ã®crm_monã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’見るã¨ã€1.1.12ã®ã‚ˆã†ã§ã™ã€‚
> >>Heartbeat3.0.6ã¨çµ„ã¿åˆã‚ã›ã‚‹ã«ã¯ã€ã‹ãªã‚Šæ–°ã—ã‚ã®PacemakerãŒå¿…è¦ã§ã™ã€‚
> >>
> >>># crm_mon -rfA
> >>>
> >>>Last updated: Tue Mar 17 14:14:39 2015
> >>>Last change: Tue Mar 17 14:01:43 2015
> >>>Stack: heartbeat
> >>>Current DC: lbv2.beta.com (82ffc36f-1ad8-8686-7db0-35686465c624) -
> parti
> >>>tion with quorum
> >>>Version: 1.1.12-561c4cf
> >>
> >>ãŸã¶ã‚“ã€ä»¥ä¸‹ã®å¤‰æ›´ä»¥é™ã¯å°‘ãªãã¨ã‚‚å¿…è¦ã‹ã¨æ€ã„ã¾ã™ã€‚
> >>
> >>
> https://github.com/ClusterLabs/pacemaker/commit/f2302da063d08719d28367d8e362b8bfb0f85bf3
> >>
> >>
> >>
> >>以上ã§ã™ã€‚
> >>
> >>
> >>
> >>----- Original Message -----
> >>>From: Masamichi Fukuda - elf-systems <masamichi_fukuda@elf-systems.com>
> >>>To: 山内英生 <renayama19661014@ybb.ne.jp>; "
> linux-ha-japan@lists.sourceforge.jp" <linux-ha-japan@lists.sourceforge.jp>
> >>
> >>>Date: 2015/3/17, Tue 14:38
> >>>Subject: Re: [Linux-ha-jp] スプリットブレイン時ã®STONITHエラーã«ã¤ã„ã¦
> >>>
> >>>
> >>>山内ã•ã‚“
> >>>
> >>>ãŠç–²ã‚Œæ§˜ã§ã™ã€ç¦ç”°ã§ã™ã€‚
> >>>
> >>>stonith-helperã®ã‚·ã‚§ãƒãƒ³ã‚°è¡Œã«-xã‚’è¿½åŠ ã™ã‚Œã°è‰¯ã„ã®ã§ã—ょã†ã‹ï¼Ÿ
> >>>stonith-helperã®å…ˆé 行を#!/bin/bash -xã«ã—ã¦ã‚¯ãƒ©ã‚¹ã‚¿ã‚’èµ·å‹•ã—ã¦ã¿ã¾ã—ãŸã€‚
> >>>
> >>>crm_monã§ã¯å…ˆã»ã©ã¨å¤‰ã‚ã‚Šã¯ãªã„よã†ã§ã™ã€‚
> >>>
> >>>
> >>>
> >>># crm_mon -rfA
> >>>
> >>>Last updated: Tue Mar 17 14:14:39 2015
> >>>Last change: Tue Mar 17 14:01:43 2015
> >>>Stack: heartbeat
> >>>Current DC: lbv2.beta.com (82ffc36f-1ad8-8686-7db0-35686465c624) -
> parti
> >>>tion with quorum
> >>>Version: 1.1.12-561c4cf
> >>>2 Nodes configured
> >>>8 Resources configured
> >>>
> >>>Online: [ lbv1.beta.com lbv2.beta.com ]
> >>>
> >>>Full list of resources:
> >>>
> >>> Resource Group: HAvarnish
> >>> vip_208 (ocf::heartbeat:IPaddr2): Started lbv1.beta.com
> >>> varnishd (lsb:varnish): Started lbv1.beta.com
> >>> Resource Group: grpStonith1
> >>> Stonith1-1 (stonith:external/stonith-helper): Stopped
> >>> Stonith1-2 (stonith:external/xen0): Stopped
> >>> Resource Group: grpStonith2
> >>> Stonith2-1 (stonith:external/stonith-helper): Stopped
> >>> Stonith2-2 (stonith:external/xen0): Stopped
> >>> Clone Set: clone_ping [ping]
> >>> Started: [ lbv1.beta.com lbv2.beta.com ]
> >>>
> >>>Node Attributes:
> >>>* Node lbv1.beta.com:
> >>> + default_ping_set : 100
> >>>* Node lbv2.beta.com:
> >>> + default_ping_set : 100
> >>>
> >>>Migration summary:
> >>>* Node lbv2.beta.com:
> >>> Stonith1-1: migration-threshold=1 fail-count=1000000
> last-failure='Tue Mar 17
> >>> 14:12:16 2015'
> >>>* Node lbv1.beta.com:
> >>> Stonith2-1: migration-threshold=1 fail-count=1000000
> last-failure='Tue Mar 17
> >>> 14:12:21 2015'
> >>>
> >>>Failed actions:
> >>> Stonith1-1_start_0 on lbv2.beta.com 'unknown error' (1): call=31,
> st
> >>>atus=Error, last-rc-change='Tue Mar 17 14:12:14 2015', queued=0ms,
> exec=1065ms
> >>> Stonith2-1_start_0 on lbv1.beta.com 'unknown error' (1): call=26,
> st
> >>>atus=Error, last-rc-change='Tue Mar 17 14:12:19 2015', queued=0ms,
> exec=1081ms
> >>>
> >>>ãã®ä»–ã®ãƒã‚°ã‚’探ã—ã¦ã¿ã¾ã—ãŸã€‚
> >>>
> >>>heartbeat起動時ã§ã™ã€‚
> >>>
> >>>
> >>>
> >>># less /var/log/pm_logconv.out
> >>>Mar 17 14:11:28 lbv1.beta.com info: Starting Heartbeat 3.0.6.
> >>>Mar 17 14:11:33 lbv1.beta.com info: Link lbv2.beta.com:eth1 is up.
> >>>Mar 17 14:11:34 lbv1.beta.com info: Start "ccm" process. (pid=13264)
> >>>Mar 17 14:11:34 lbv1.beta.com info: Start "lrmd" process. (pid=13267)
> >>>Mar 17 14:11:34 lbv1.beta.com info: Start "attrd" process. (pid=13268)
> >>>Mar 17 14:11:34 lbv1.beta.com info: Start "stonithd" process.
> (pid=13266)
> >>>Mar 17 14:11:34 lbv1.beta.com info: Start "cib" process. (pid=13265)
> >>>Mar 17 14:11:34 lbv1.beta.com info: Start "crmd" process. (pid=13269)
> >>>
> >>>
> >>># less /var/log/error
> >>>Mar 17 14:12:20 lbv1 crmd[13269]: error: process_lrm_event:
> Operation Stonith2-1_start_0 (node=lbv1.beta.com, call=26, status=4,
> cib-update=19, confirmed=true) Error
> >>>
> >>>
> >>>syslogã‹ã‚‰stonithã‚’grepã—ãŸã‚‚ã®ã§ã™
> >>>
> >>>Mar 17 14:11:34 lbv1 heartbeat: [13255]: info: Starting child client
> "/usr/local/heartbeat/libexec/pacemaker/stonithd" (0,0)
> >>>Mar 17 14:11:34 lbv1 heartbeat: [13266]: info: Starting
> "/usr/local/heartbeat/libexec/pacemaker/stonithd" as uid 0 gid 0 (pid
> 13266)
> >>>Mar 17 14:11:34 lbv1 stonithd[13266]: notice: crm_cluster_connect:
> Connecting to cluster infrastructure: heartbeat
> >>>Mar 17 14:11:34 lbv1 heartbeat: [13255]: info: the send queue length
> from heartbeat to client stonithd is set to 1024
> >>>Mar 17 14:11:40 lbv1 stonithd[13266]: notice: setup_cib: Watching for
> stonith topology changes
> >>>Mar 17 14:11:40 lbv1 stonithd[13266]: notice: unpack_config: On loss
> of CCM Quorum: Ignore
> >>>Mar 17 14:11:40 lbv1 stonithd[13266]: warning: handle_startup_fencing:
> Blind faith: not fencing unseen nodes
> >>>Mar 17 14:11:40 lbv1 stonithd[13266]: warning: handle_startup_fencing:
> Blind faith: not fencing unseen nodes
> >>>Mar 17 14:11:41 lbv1 stonithd[13266]: notice:
> stonith_device_register: Added 'Stonith2-1' to the device list (1 active
> devices)
> >>>Mar 17 14:11:41 lbv1 stonithd[13266]: notice:
> stonith_device_register: Added 'Stonith2-2' to the device list (2 active
> devices)
> >>>Mar 17 14:12:04 lbv1 stonithd[13266]: notice:
> xml_patch_version_check: Versions did not change in patch 0.5.0
> >>>Mar 17 14:12:20 lbv1 stonithd[13266]: notice: log_operation:
> Operation 'monitor' [13386] for device 'Stonith2-1' returned: -201 (Generic
> Pacemaker error)
> >>>Mar 17 14:12:20 lbv1 stonithd[13266]: warning: log_operation:
> Stonith2-1:13386 [ Performing: stonith -t external/stonith-helper -S ]
> >>>Mar 17 14:12:20 lbv1 stonithd[13266]: warning: log_operation:
> Stonith2-1:13386 [ failed to exec "stonith" ]
> >>>Mar 17 14:12:20 lbv1 stonithd[13266]: warning: log_operation:
> Stonith2-1:13386 [ failed: 2 ]
> >>>
> >>>
> >>>
> >>>宜ã—ããŠé¡˜ã„ã—ã¾ã™ã€‚
> >>>
> >>>以上
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>2015年3月17日 13:32 <renayama19661014@ybb.ne.jp>:
> >>>
> >>>ç¦ç”°ã•ã‚“
> >>>>
> >>>>ãŠç–²ã‚Œæ§˜ã§ã™ã€‚山内ã§ã™ã€‚
> >>>>
> >>>>ã¨ã„ã†ã“ã¨ã¯ã€stonith-helperã®startã«å•é¡ŒãŒã‚るよã†ã§ã™ã。
> >>>>
> >>>>stonith-helperã®å…ˆé ã«
> >>>>
> >>>>#!/bin/bash -x
> >>>>
> >>>>
> >>>>を入れã¦ã€ã‚¯ãƒ©ã‚¹ã‚¿ã‚’èµ·å‹•ã™ã‚‹ã¨ä½•ã‹ã‚ã‹ã‚‹ã‹ã‚‚知れã¾ã›ã‚“。
> >>>>
> >>>>ã¡ãªã¿ã«ã€stonith-helperã®ãƒã‚°ã‚‚ã©ã“ã‹ã«å‡ºã¦ã„ã‚‹ã¨æ€ã†ã®ã§ã™ãŒã€‚。。
> >>>>
> >>>>
> >>>>
> >>>>以上ã§ã™ã€‚
> >>>>
> >>>>----- Original Message -----
> >>>>>From: Masamichi Fukuda - elf-systems <
> masamichi_fukuda@elf-systems.com>
> >>>>>To: 山内英生 <renayama19661014@ybb.ne.jp>; "
> linux-ha-japan@lists.sourceforge.jp" <linux-ha-japan@lists.sourceforge.jp>
> >>>>
> >>>>>Date: 2015/3/17, Tue 12:31
> >>>>>Subject: Re: [Linux-ha-jp] スプリットブレイン時ã®STONITHエラーã«ã¤ã„ã¦
> >>>>>
> >>>>>
> >>>>>山内ã•ã‚“
> >>>>>cc:æ¾å³¶ã•ã‚“
> >>>>>
> >>>>>ã“ã‚“ã«ã¡ã¯ã€ç¦ç”°ã§ã™ã€‚
> >>>>>
> >>>>>åŒã˜ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«xen0ã¯ã‚ã‚Šã¾ã—ãŸã€‚
> >>>>>
> >>>>># pwd
> >>>>>/usr/local/heartbeat/lib/stonith/plugins/external
> >>>>>
> >>>>># ls
> >>>>>drac5 ibmrsa kdumpcheck riloe vmware
> >>>>>dracmc-telnet ibmrsa-telnet libvirt ssh xen0
> >>>>>hetzner ipmi nut stonith-helper xen0-ha
> >>>>>hmchttp ippower9258 rackpdu vcenter
> >>>>>
> >>>>>宜ã—ããŠé¡˜ã„ã—ã¾ã™ã€‚
> >>>>>
> >>>>>以上
> >>>>>
> >>>>>
> >>>>>
> >>>>>2015-03-17 10:53 GMT+09:00 <renayama19661014@ybb.ne.jp>:
> >>>>>
> >>>>>ç¦ç”°ã•ã‚“
> >>>>>>cc:æ¾å³¶ã•ã‚“
> >>>>>>
> >>>>>>ãŠç–²ã‚Œæ§˜ã§ã™ã€‚山内ã§ã™ã€‚
> >>>>>>
> >>>>>>>標準出力や標準エラー出力ã¯ã‚ã‚Šã¾ã›ã‚“ã§ã—ãŸã€‚
> >>>>>>>
> >>>>>>>stonith-helperãŒãŠã‹ã—ã„ã®ã§ã—ょã†ã‹ã€‚
> >>>>>>>stonith-helperã¯ã‚·ã‚§ãƒ«ã‚¹ã‚¯ãƒªãƒ—トãªã®ã§ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã¯ã‚ã¾ã‚Šæ°—ã«ã—ã¦ã„ãªã‹ã£ãŸã®ã§ã™ãŒã€‚
> >>>>>>>stonith-helperã¯ã“ã“ã«é…ç½®ã•ã‚Œã¦ã„ã¾ã™ã€‚
> >>>>>>>/usr/local/heartbeat/lib/stonith/plugins/external/stonith-helper
> >>>>>>
> >>>>>>ã“ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«xen0ã‚‚ã‚ã‚Šã¾ã™ã‹ï¼Ÿ
> >>>>>>ç„¡ã„よã†ã§ã—ãŸã‚‰ã€å•é¡ŒãŒã‚ã‚Šã¾ã™ã®ã§ã€ä¸€åº¦ã€stonith-helperã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚’属性ãªã©ã¯ãã®ã¾ã¾ã€xen0ã¨åŒã˜ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«
> >>>>>>コピーã—ã¦ã¿ã¦ãã ã•ã„。
> >>>>>>
> >>>>>>ãã‚Œã§ç¨¼åƒã™ã‚‹ãªã‚‰ã€pm_extrasã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã«å•é¡ŒãŒã‚ã‚‹ã¨ã„ã†ã“ã¨ã«ãªã‚Šã¾ã™ã€‚
> >>>>>>
> >>>>>>以上ã§ã™ã€‚
> >>>>>>
> >>>>>>----- Original Message -----
> >>>>>>>From: Masamichi Fukuda - elf-systems <
> masamichi_fukuda@elf-systems.com>
> >>>>>>>To: 山内英生 <renayama19661014@ybb.ne.jp>; "
> linux-ha-japan@lists.sourceforge.jp" <linux-ha-japan@lists.sourceforge.jp>
> >>>>>>
> >>>>>>>Date: 2015/3/17, Tue 10:31
> >>>>>>>Subject: Re: [Linux-ha-jp] スプリットブレイン時ã®STONITHエラーã«ã¤ã„ã¦
> >>>>>>>
> >>>>>>>
> >>>>>>>山内ã•ã‚“
> >>>>>>>cc:æ¾å³¶ã•ã‚“
> >>>>>>>
> >>>>>>>ãŠã¯ã‚ˆã†ã”ã–ã„ã¾ã™ã€ç¦ç”°ã§ã™ã€‚
> >>>>>>>crmã®ä¾‹ã‚’ã‚ã‚ŠãŒã¨ã†ã”ã–ã„ã¾ã™ã€‚
> >>>>>>>
> >>>>>>>早速ã€ã“ã¡ã‚‰ã®ç’°å¢ƒã«åˆã‚ã›ã¦ã¿ã¾ã—ãŸã€‚
> >>>>>>>
> >>>>>>>$ cat test.crm
> >>>>>>>### Cluster Option ###
> >>>>>>>property \
> >>>>>>> no-quorum-policy="ignore" \
> >>>>>>> stonith-enabled="true" \
> >>>>>>> startup-fencing="false" \
> >>>>>>> stonith-timeout="710s" \
> >>>>>>> crmd-transition-delay="2s"
> >>>>>>>
> >>>>>>>### Resource Default ###
> >>>>>>>rsc_defaults \
> >>>>>>> resource-stickiness="INFINITY" \
> >>>>>>> migration-threshold="1"
> >>>>>>>
> >>>>>>>### Group Configuration ###
> >>>>>>>group HAvarnish \
> >>>>>>> vip_208 \
> >>>>>>> varnishd
> >>>>>>>
> >>>>>>>group grpStonith1 \
> >>>>>>> Stonith1-1 \
> >>>>>>> Stonith1-2
> >>>>>>>
> >>>>>>>group grpStonith2 \
> >>>>>>> Stonith2-1 \
> >>>>>>> Stonith2-2
> >>>>>>>
> >>>>>>>### Clone Configuration ###
> >>>>>>>clone clone_ping \
> >>>>>>> ping
> >>>>>>>
> >>>>>>>### Fencing Topology ###
> >>>>>>>fencing_topology \
> >>>>>>> lbv1.beta.com: Stonith1-1 Stonith1-2 \
> >>>>>>> lbv2.beta.com: Stonith2-1 Stonith2-2
> >>>>>>>
> >>>>>>>### Primitive Configuration ###
> >>>>>>>primitive vip_208 ocf:heartbeat:IPaddr2 \
> >>>>>>> params \
> >>>>>>> ip="192.168.17.208" \
> >>>>>>> nic="eth0" \
> >>>>>>> cidr_netmask="24" \
> >>>>>>> op start interval="0s" timeout="90s" on-fail="restart" \
> >>>>>>> op monitor interval="5s" timeout="60s" on-fail="restart" \
> >>>>>>> op stop interval="0s" timeout="100s" on-fail="fence"
> >>>>>>>
> >>>>>>>primitive varnishd lsb:varnish \
> >>>>>>> op start interval="0s" timeout="90s" on-fail="restart" \
> >>>>>>> op monitor interval="10s" timeout="60s" on-fail="restart" \
> >>>>>>> op stop interval="0s" timeout="100s" on-fail="fence"
> >>>>>>>
> >>>>>>>primitive ping ocf:pacemaker:ping \
> >>>>>>> params \
> >>>>>>> name="default_ping_set" \
> >>>>>>> host_list="192.168.17.254" \
> >>>>>>> multiplier="100" \
> >>>>>>> dampen="1" \
> >>>>>>> op start interval="0s" timeout="90s" on-fail="restart" \
> >>>>>>> op monitor interval="10s" timeout="60s" on-fail="restart" \
> >>>>>>> op stop interval="0s" timeout="100s" on-fail="fence"
> >>>>>>>
> >>>>>>>primitive Stonith1-1 stonith:external/stonith-helper \
> >>>>>>> params \
> >>>>>>> pcmk_reboot_retries="1" \
> >>>>>>> pcmk_reboot_timeout="40s" \
> >>>>>>> hostlist="lbv1.beta.com" \
> >>>>>>> dead_check_target="192.168.17.132 10.0.17.132" \
> >>>>>>> standby_check_command="/usr/local/sbin/crm_resource -r
> varnishd -W | grep -q `hostname`" \
> >>>>>>> run_online_check="yes" \
> >>>>>>> op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>> op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>
> >>>>>>>primitive Stonith1-2 stonith:external/xen0 \
> >>>>>>> params \
> >>>>>>> pcmk_reboot_timeout="60s" \
> >>>>>>> hostlist="lbv1.beta.com:/etc/xen/lbv1.cfg" \
> >>>>>>> dom0="xen0.beta.com" \
> >>>>>>> op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>> op monitor interval="3600s" timeout="60s" on-fail="restart" \
> >>>>>>> op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>
> >>>>>>>primitive Stonith2-1 stonith:external/stonith-helper \
> >>>>>>> params \
> >>>>>>> pcmk_reboot_retries="1" \
> >>>>>>> pcmk_reboot_timeout="40s" \
> >>>>>>> hostlist="lbv2.beta.com" \
> >>>>>>> dead_check_target="192.168.17.133 10.0.17.133" \
> >>>>>>> standby_check_command="/usr/local/sbin/crm_resource -r
> varnishd -W | grep -q `hostname`" \
> >>>>>>> run_online_check="yes" \
> >>>>>>> op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>> op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>
> >>>>>>>primitive Stonith2-2 stonith:external/xen0 \
> >>>>>>> params \
> >>>>>>> pcmk_reboot_timeout="60s" \
> >>>>>>> hostlist="lbv2.beta.com:/etc/xen/lbv2.cfg" \
> >>>>>>> dom0="xen0.beta.com" \
> >>>>>>> op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>> op monitor interval="3600s" timeout="60s" on-fail="restart" \
> >>>>>>> op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>
> >>>>>>>### Resource Location ###
> >>>>>>>location HA_location-1 HAvarnish \
> >>>>>>> rule 200: #uname eq lbv1.beta.com \
> >>>>>>> rule 100: #uname eq lbv2.beta.com
> >>>>>>>
> >>>>>>>location HA_location-2 HAvarnish \
> >>>>>>> rule -INFINITY: not_defined default_ping_set or
> default_ping_set lt 100
> >>>>>>>
> >>>>>>>location HA_location-3 grpStonith1 \
> >>>>>>> rule -INFINITY: #uname eq lbv1.beta.com
> >>>>>>>
> >>>>>>>location HA_location-4 grpStonith2 \
> >>>>>>> rule -INFINITY: #uname eq lbv2.beta.com
> >>>>>>>
> >>>>>>>
> >>>>>>>ã“れをæµã—ã“ã‚“ã ã¨ã“ã‚ã€æ˜¨æ—¥ã¨ã¯ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãŒç•°ãªã‚Šã¾ã™ã€‚
> >>>>>>>pingã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã¯ãªããªã£ã¦ã„ã¾ã—ãŸã€‚
> >>>>>>>
> >>>>>>># crm_mon -rfA
> >>>>>>>Last updated: Tue Mar 17 10:21:28 2015
> >>>>>>>Last change: Tue Mar 17 10:21:09 2015
> >>>>>>>Stack: heartbeat
> >>>>>>>Current DC: lbv2.beta.com (82ffc36f-1ad8-8686-7db0-35686465c624) -
> parti
> >>>>>>>tion with quorum
> >>>>>>>Version: 1.1.12-561c4cf
> >>>>>>>2 Nodes configured
> >>>>>>>8 Resources configured
> >>>>>>>
> >>>>>>>
> >>>>>>>Online: [ lbv1.beta.com lbv2.beta.com ]
> >>>>>>>
> >>>>>>>Full list of resources:
> >>>>>>>
> >>>>>>> Resource Group: HAvarnish
> >>>>>>> vip_208 (ocf::heartbeat:IPaddr2): Started
> lbv1.beta.com
> >>>>>>> varnishd (lsb:varnish): Started lbv1.beta.com
> >>>>>>> Resource Group: grpStonith1
> >>>>>>> Stonith1-1 (stonith:external/stonith-helper): Stopped
> >>>>>>> Stonith1-2 (stonith:external/xen0): Stopped
> >>>>>>> Resource Group: grpStonith2
> >>>>>>> Stonith2-1 (stonith:external/stonith-helper): Stopped
> >>>>>>> Stonith2-2 (stonith:external/xen0): Stopped
> >>>>>>> Clone Set: clone_ping [ping]
> >>>>>>> Started: [ lbv1.beta.com lbv2.beta.com ]
> >>>>>>>
> >>>>>>>Node Attributes:
> >>>>>>>* Node lbv1.beta.com:
> >>>>>>> + default_ping_set : 100
> >>>>>>>* Node lbv2.beta.com:
> >>>>>>> + default_ping_set : 100
> >>>>>>>
> >>>>>>>Migration summary:
> >>>>>>>* Node lbv2.beta.com:
> >>>>>>> Stonith1-1: migration-threshold=1 fail-count=1000000
> last-failure='Tue Mar 17
> >>>>>>> 10:21:17 2015'
> >>>>>>>* Node lbv1.beta.com:
> >>>>>>> Stonith2-1: migration-threshold=1 fail-count=1000000
> last-failure='Tue Mar 17
> >>>>>>> 10:21:17 2015'
> >>>>>>>
> >>>>>>>Failed actions:
> >>>>>>> Stonith1-1_start_0 on lbv2.beta.com 'unknown error' (1):
> call=31, st
> >>>>>>>atus=Error, last-rc-change='Tue Mar 17 10:21:15 2015', queued=0ms,
> exec=1082ms
> >>>>>>> Stonith2-1_start_0 on lbv1.beta.com 'unknown error' (1):
> call=31, st
> >>>>>>>atus=Error, last-rc-change='Tue Mar 17 10:21:16 2015', queued=0ms,
> exec=1079ms
> >>>>>>>
> >>>>>>>
> >>>>>>>/var/log/ha-debugã®ãƒã‚°ã§ã™ã€‚
> >>>>>>>
> >>>>>>>IPaddr2(vip_208)[7851]: 2015/03/17_10:21:22 INFO: Adding inet
> address 192.168.17.208/24 with broadcast address 192.168.17.255 to device
> eth0
> >>>>>>>IPaddr2(vip_208)[7851]: 2015/03/17_10:21:22 INFO: Bringing device
> eth0 up
> >>>>>>>IPaddr2(vip_208)[7851]: 2015/03/17_10:21:22 INFO:
> /usr/libexec/heartbeat/send_arp -i 200 -r 5 -p
> /var/run/resource-agents/send_arp-192.168.17.208 eth0 192.168.17.208 auto
> not_used not_used
> >>>>>>>
> >>>>>>>標準出力や標準エラー出力ã¯ã‚ã‚Šã¾ã›ã‚“ã§ã—ãŸã€‚
> >>>>>>>
> >>>>>>>stonith-helperãŒãŠã‹ã—ã„ã®ã§ã—ょã†ã‹ã€‚
> >>>>>>>stonith-helperã¯ã‚·ã‚§ãƒ«ã‚¹ã‚¯ãƒªãƒ—トãªã®ã§ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã¯ã‚ã¾ã‚Šæ°—ã«ã—ã¦ã„ãªã‹ã£ãŸã®ã§ã™ãŒã€‚
> >>>>>>>stonith-helperã¯ã“ã“ã«é…ç½®ã•ã‚Œã¦ã„ã¾ã™ã€‚
> >>>>>>>/usr/local/heartbeat/lib/stonith/plugins/external/stonith-helper
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>宜ã—ããŠé¡˜ã„ã—ã¾ã™ã€‚
> >>>>>>>
> >>>>>>>以上
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>2015-03-17 9:45 GMT+09:00 <renayama19661014@ybb.ne.jp>:
> >>>>>>>
> >>>>>>>ç¦ç”°ã•ã‚“
> >>>>>>>>
> >>>>>>>>ãŠã¯ã‚ˆã†ã”ã–ã„ã¾ã™ã€‚山内ã§ã™ã€‚
> >>>>>>>>
> >>>>>>>>念ã®ç‚ºã€æ‰‹å…ƒã«ã‚る複数ã®stonithを利用ã—ãŸå ´åˆã®ä¾‹ã‚’抜粋ã—ã¦ãŠé€ã‚Šã—ã¾ã™ã€‚
> >>>>>>>>(実際ã«ã¯ã€æ”¹è¡Œã«æ°—を付ã‘ã¦ãã ã•ã„)
> >>>>>>>>
> >>>>>>>>以下ã®ä¾‹ã¯ã€PM1.1ç³»ã§ã®è¨å®šã§ã€
> >>>>>>>>nodeaã¯ã€prmStonith1-1〠prmStonith1-2ã®é †ã§stonithãŒå®Ÿè¡Œã•ã‚Œã¾ã™ã€‚
> >>>>>>>>nodebã¯ã€prmStonith2-1〠prmStonith2-2ã®é †ã§stonithãŒå®Ÿè¡Œã•ã‚Œã¾ã™ã€‚
> >>>>>>>>
> >>>>>>>>stonith自体ã¯ã€helperã¨sshã§ã™ã€‚
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>(snip)
> >>>>>>>>### Group Configuration ###
> >>>>>>>>group grpStonith1 \
> >>>>>>>>prmStonith1-1 \
> >>>>>>>>prmStonith1-2
> >>>>>>>>
> >>>>>>>>group grpStonith2 \
> >>>>>>>>prmStonith2-1 \
> >>>>>>>>prmStonith2-2
> >>>>>>>>
> >>>>>>>>### Fencing Topology ###
> >>>>>>>>fencing_topology \
> >>>>>>>>nodea: prmStonith1-1 prmStonith1-2 \
> >>>>>>>>nodeb: prmStonith2-1 prmStonith2-2
> >>>>>>>>(snp)
> >>>>>>>>primitive prmStonith1-1 stonith:external/stonith-helper \
> >>>>>>>>params \
> >>>>>>>>
> >>>>>>>>pcmk_reboot_retries="1" \
> >>>>>>>>pcmk_reboot_timeout="40s" \
> >>>>>>>>hostlist="nodea" \
> >>>>>>>>dead_check_target="192.168.28.60 192.168.28.70" \
> >>>>>>>>standby_check_command="/usr/sbin/crm_resource -r prmRES -W | grep
> -qi `hostname`" \
> >>>>>>>>run_online_check="yes" \
> >>>>>>>>op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>>>op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>>
> >>>>>>>>primitive prmStonith1-2 stonith:external/ssh \
> >>>>>>>>params \
> >>>>>>>>pcmk_reboot_timeout="60s" \
> >>>>>>>>hostlist="nodea" \
> >>>>>>>>op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>>>op monitor interval="3600s" timeout="60s" on-fail="restart" \
> >>>>>>>>op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>>
> >>>>>>>>primitive prmStonith2-1 stonith:external/stonith-helper \
> >>>>>>>>params \
> >>>>>>>>pcmk_reboot_retries="1" \
> >>>>>>>>pcmk_reboot_timeout="40s" \
> >>>>>>>>hostlist="nodeb" \
> >>>>>>>>dead_check_target="192.168.28.61 192.168.28.71" \
> >>>>>>>>standby_check_command="/usr/sbin/crm_resource -r prmRES -W | grep
> -qi `hostname`" \
> >>>>>>>>run_online_check="yes" \
> >>>>>>>>op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>>>op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>>
> >>>>>>>>primitive prmStonith2-2 stonith:external/ssh \
> >>>>>>>>params \
> >>>>>>>>pcmk_reboot_timeout="60s" \
> >>>>>>>>hostlist="nodeb" \
> >>>>>>>>op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>>>op monitor interval="3600s" timeout="60s" on-fail="restart" \
> >>>>>>>>op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>>(snip)
> >>>>>>>>location rsc_location-grpStonith1-2 grpStonith1 \
> >>>>>>>>rule -INFINITY: #uname eq nodea
> >>>>>>>>location rsc_location-grpStonith2-3 grpStonith2 \
> >>>>>>>>rule -INFINITY: #uname eq nodeb
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>以上ã§ã™ã€‚
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>>--
> >>>>>>>
> >>>>>>>ELF Systems
> >>>>>>>Masamichi Fukuda
> >>>>>>>mail to: masamichi_fukuda@elf-systems.com
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>_______________________________________________
> >>>>>>Linux-ha-japan mailing list
> >>>>>>Linux-ha-japan@lists.sourceforge.jp
> >>>>>>http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
> >>>>>>
> >>>>>
> >>>>>
> >>>>>--
> >>>>>
> >>>>>ELF Systems
> >>>>>Masamichi Fukuda
> >>>>>mail to: masamichi_fukuda@elf-systems.com
> >>>>>
> >>>>>
> >>>>
> >>>>_______________________________________________
> >>>>Linux-ha-japan mailing list
> >>>>Linux-ha-japan@lists.sourceforge.jp
> >>>>http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
> >>>>
> >>>
> >>>
> >>>--
> >>>
> >>>ELF Systems
> >>>Masamichi Fukuda
> >>>mail to: masamichi_fukuda@elf-systems.com
> >>>
> >>>
> >>
> >>_______________________________________________
> >>Linux-ha-japan mailing list
> >>Linux-ha-japan@lists.sourceforge.jp
> >>http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
> >>
> >
> >
> >--
> >
> >ELF Systems
> >Masamichi Fukuda
> >mail to: masamichi_fukuda@elf-systems.com
> >
> >
>
> _______________________________________________
> Linux-ha-japan mailing list
> Linux-ha-japan@lists.sourceforge.jp
> http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
>
--
ELF Systems
Masamichi Fukuda
mail to: *masamichi_fukuda@elf-systems.com <elfsystems.com@gmail.com>*
ãŠç–²ã‚Œæ§˜ã§ã™ã€ç¦ç”°ã§ã™ã€‚
ã“ã¡ã‚‰ã‚’見ãŸã®ã§ã™ãŒã€
https://github.com/ClusterLabs/pacemaker/tags
pacemaker 1.1.12 561c4cf ãŒæœ€æ–°ã®ã‚ˆã†ãªã®ã§ã™ãŒã€‚
済ã¿ã¾ã›ã‚“ãŒã€ã“れ以é™ã®æœ€æ–°ç‰ˆã¯ã©ã¡ã‚‰ã«ã‚ã‚‹ã‹æ•™ãˆã¦é ‚ã‘ã¾ã™ã‹ã€‚
宜ã—ããŠé¡˜ã„ã—ã¾ã™ã€‚
以上
2015å¹´3月17æ—¥ç«æ›œæ—¥ã€<renayama19661014@ybb.ne.jp
<javascript:_e(%7B%7D,'cvml','renayama19661014@ybb.ne.jp');>>ã•ã‚“ã¯æ›¸ãã¾ã—ãŸ:
> ç¦ç”°ã•ã‚“
>
> ãŠç–²ã‚Œæ§˜ã§ã™ã€‚山内ã§ã™ã€‚
>
> ã¯ã„。å¤ã„ã§ã™ã€‚
>
> PacemakerãŒHeartbeat3.0.6ã«å¯¾å¿œã—ãŸã®ã¯æ„外ã¨æœ€è¿‘ã§ã™ã€‚
> ã‚‚ã£ã¨æ–°ã—ã„ã‚‚ã®ã‚’入れã¦ãã ã•ã„。(ã¾ãŸã€ã‚½ãƒ¼ã‚¹ã‹ã‚‰æ§‹ç¯‰ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ãŒãƒ»ãƒ»ãƒ»ãƒ»)
>
>
>
> 本家ã®githubã‹ã‚‰å…¥æ‰‹å¯èƒ½ã§ã™ã€‚
> * https://github.com/ClusterLabs/pacemaker
>
>
> å ´åˆã«ã‚ˆã£ã¦ã¯ã€æœ€æ–°ã®masterã¯ã‚¨ãƒ©ãƒ¼ãªã©ãŒå‡ºã‚‹å ´åˆãŒã‚ã‚Šã¾ã™ã®ã§ã€ãã®å ´åˆã¯ã€ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’å¤ã„æ–¹ã«ãŸãã£ã¦
> ã„ãã®ãŒè‰¯ã„ã¨æ€ã„ã¾ã™ã€‚
>
> 以上ã§ã™ã€‚
>
>
>
> ----- Original Message -----
> >From: Masamichi Fukuda - elf-systems <masamichi_fukuda@elf-systems.com>
> >To: 山内英生 <renayama19661014@ybb.ne.jp>; "
> linux-ha-japan@lists.sourceforge.jp" <linux-ha-japan@lists.sourceforge.jp>
> >Date: 2015/3/17, Tue 16:06
> >Subject: Re: [Linux-ha-jp] スプリットブレイン時ã®STONITHエラーã«ã¤ã„ã¦
> >
> >
> >山内ã•ã‚“
> >
> >ãŠç–²ã‚Œæ§˜ã§ã™ã€ç¦ç”°ã§ã™ã€‚
> >
> >以å‰ã®ãƒ¡ãƒ¼ãƒ«ã§heartbeatã¨pacemakerを最新版を入れãŸã»ã†ãŒè‰¯ã„ã¨å›žç”é ‚ãã¾ã—ãŸã€‚
> >ãã“ã§ä»Šå›žã€heartbeat3.0.6ã¨pacemaker1.1.12を入れãŸã®ã§ã™ãŒã€‚
> >
> >heartbeat configuration: Version = "3.0.6"
> >pacemaker configuration: Version = 1.1.12 (Build:
> 561c4cf)pacemakerãŒã¾ã å¤ã„ã¨ã„ã†ã“ã¨ã§ã—ょã†ã‹ã€‚
> >
> >済ã¿ã¾ã›ã‚“ãŒã€å®œã—ããŠé¡˜ã„ã—ã¾ã™ã€‚
> >
> >以上
> >
> >
> >
> >2015年3月17日 14:59 <renayama19661014@ybb.ne.jp>:
> >
> >ç¦ç”°ã•ã‚“
> >>
> >>ãŠç–²ã‚Œæ§˜ã§ã™ã€‚山内ã§ã™ã€‚
> >>
> >>ãµã¨æ€ã£ãŸã®ã™ãŒã€ä»¥å‰ã®ã‚„ã‚Šå–ã‚Šã®ãƒ¡ãƒ¼ãƒ«ã§ä»¥ä¸‹ã¨å›žç”ã—ã¦ã¾ã™ãŒã€å•é¡Œãªã„ã§ã—ょã†ã‹ï¼Ÿ
> >>
> >>
> >>>>>>>> 2)Heartbeat3.0.6+Pacemaker最新 : OK
> >>>>>>>>
> >>>>>>>> ã©ã†ã‚„らã€Heartbeatも最新版3.0.6を組åˆã›ã‚‹å¿…è¦ãŒã‚るよã†ã§ã™ã€‚
> >>>>>>>> * http://hg.linux-ha.org/heartbeat-STABLE_3_0/rev/cceeb47a7d8f
> >>
> >>以下ã®crm_monã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’見るã¨ã€1.1.12ã®ã‚ˆã†ã§ã™ã€‚
> >>Heartbeat3.0.6ã¨çµ„ã¿åˆã‚ã›ã‚‹ã«ã¯ã€ã‹ãªã‚Šæ–°ã—ã‚ã®PacemakerãŒå¿…è¦ã§ã™ã€‚
> >>
> >>># crm_mon -rfA
> >>>
> >>>Last updated: Tue Mar 17 14:14:39 2015
> >>>Last change: Tue Mar 17 14:01:43 2015
> >>>Stack: heartbeat
> >>>Current DC: lbv2.beta.com (82ffc36f-1ad8-8686-7db0-35686465c624) -
> parti
> >>>tion with quorum
> >>>Version: 1.1.12-561c4cf
> >>
> >>ãŸã¶ã‚“ã€ä»¥ä¸‹ã®å¤‰æ›´ä»¥é™ã¯å°‘ãªãã¨ã‚‚å¿…è¦ã‹ã¨æ€ã„ã¾ã™ã€‚
> >>
> >>
> https://github.com/ClusterLabs/pacemaker/commit/f2302da063d08719d28367d8e362b8bfb0f85bf3
> >>
> >>
> >>
> >>以上ã§ã™ã€‚
> >>
> >>
> >>
> >>----- Original Message -----
> >>>From: Masamichi Fukuda - elf-systems <masamichi_fukuda@elf-systems.com>
> >>>To: 山内英生 <renayama19661014@ybb.ne.jp>; "
> linux-ha-japan@lists.sourceforge.jp" <linux-ha-japan@lists.sourceforge.jp>
> >>
> >>>Date: 2015/3/17, Tue 14:38
> >>>Subject: Re: [Linux-ha-jp] スプリットブレイン時ã®STONITHエラーã«ã¤ã„ã¦
> >>>
> >>>
> >>>山内ã•ã‚“
> >>>
> >>>ãŠç–²ã‚Œæ§˜ã§ã™ã€ç¦ç”°ã§ã™ã€‚
> >>>
> >>>stonith-helperã®ã‚·ã‚§ãƒãƒ³ã‚°è¡Œã«-xã‚’è¿½åŠ ã™ã‚Œã°è‰¯ã„ã®ã§ã—ょã†ã‹ï¼Ÿ
> >>>stonith-helperã®å…ˆé 行を#!/bin/bash -xã«ã—ã¦ã‚¯ãƒ©ã‚¹ã‚¿ã‚’èµ·å‹•ã—ã¦ã¿ã¾ã—ãŸã€‚
> >>>
> >>>crm_monã§ã¯å…ˆã»ã©ã¨å¤‰ã‚ã‚Šã¯ãªã„よã†ã§ã™ã€‚
> >>>
> >>>
> >>>
> >>># crm_mon -rfA
> >>>
> >>>Last updated: Tue Mar 17 14:14:39 2015
> >>>Last change: Tue Mar 17 14:01:43 2015
> >>>Stack: heartbeat
> >>>Current DC: lbv2.beta.com (82ffc36f-1ad8-8686-7db0-35686465c624) -
> parti
> >>>tion with quorum
> >>>Version: 1.1.12-561c4cf
> >>>2 Nodes configured
> >>>8 Resources configured
> >>>
> >>>Online: [ lbv1.beta.com lbv2.beta.com ]
> >>>
> >>>Full list of resources:
> >>>
> >>> Resource Group: HAvarnish
> >>> vip_208 (ocf::heartbeat:IPaddr2): Started lbv1.beta.com
> >>> varnishd (lsb:varnish): Started lbv1.beta.com
> >>> Resource Group: grpStonith1
> >>> Stonith1-1 (stonith:external/stonith-helper): Stopped
> >>> Stonith1-2 (stonith:external/xen0): Stopped
> >>> Resource Group: grpStonith2
> >>> Stonith2-1 (stonith:external/stonith-helper): Stopped
> >>> Stonith2-2 (stonith:external/xen0): Stopped
> >>> Clone Set: clone_ping [ping]
> >>> Started: [ lbv1.beta.com lbv2.beta.com ]
> >>>
> >>>Node Attributes:
> >>>* Node lbv1.beta.com:
> >>> + default_ping_set : 100
> >>>* Node lbv2.beta.com:
> >>> + default_ping_set : 100
> >>>
> >>>Migration summary:
> >>>* Node lbv2.beta.com:
> >>> Stonith1-1: migration-threshold=1 fail-count=1000000
> last-failure='Tue Mar 17
> >>> 14:12:16 2015'
> >>>* Node lbv1.beta.com:
> >>> Stonith2-1: migration-threshold=1 fail-count=1000000
> last-failure='Tue Mar 17
> >>> 14:12:21 2015'
> >>>
> >>>Failed actions:
> >>> Stonith1-1_start_0 on lbv2.beta.com 'unknown error' (1): call=31,
> st
> >>>atus=Error, last-rc-change='Tue Mar 17 14:12:14 2015', queued=0ms,
> exec=1065ms
> >>> Stonith2-1_start_0 on lbv1.beta.com 'unknown error' (1): call=26,
> st
> >>>atus=Error, last-rc-change='Tue Mar 17 14:12:19 2015', queued=0ms,
> exec=1081ms
> >>>
> >>>ãã®ä»–ã®ãƒã‚°ã‚’探ã—ã¦ã¿ã¾ã—ãŸã€‚
> >>>
> >>>heartbeat起動時ã§ã™ã€‚
> >>>
> >>>
> >>>
> >>># less /var/log/pm_logconv.out
> >>>Mar 17 14:11:28 lbv1.beta.com info: Starting Heartbeat 3.0.6.
> >>>Mar 17 14:11:33 lbv1.beta.com info: Link lbv2.beta.com:eth1 is up.
> >>>Mar 17 14:11:34 lbv1.beta.com info: Start "ccm" process. (pid=13264)
> >>>Mar 17 14:11:34 lbv1.beta.com info: Start "lrmd" process. (pid=13267)
> >>>Mar 17 14:11:34 lbv1.beta.com info: Start "attrd" process. (pid=13268)
> >>>Mar 17 14:11:34 lbv1.beta.com info: Start "stonithd" process.
> (pid=13266)
> >>>Mar 17 14:11:34 lbv1.beta.com info: Start "cib" process. (pid=13265)
> >>>Mar 17 14:11:34 lbv1.beta.com info: Start "crmd" process. (pid=13269)
> >>>
> >>>
> >>># less /var/log/error
> >>>Mar 17 14:12:20 lbv1 crmd[13269]: error: process_lrm_event:
> Operation Stonith2-1_start_0 (node=lbv1.beta.com, call=26, status=4,
> cib-update=19, confirmed=true) Error
> >>>
> >>>
> >>>syslogã‹ã‚‰stonithã‚’grepã—ãŸã‚‚ã®ã§ã™
> >>>
> >>>Mar 17 14:11:34 lbv1 heartbeat: [13255]: info: Starting child client
> "/usr/local/heartbeat/libexec/pacemaker/stonithd" (0,0)
> >>>Mar 17 14:11:34 lbv1 heartbeat: [13266]: info: Starting
> "/usr/local/heartbeat/libexec/pacemaker/stonithd" as uid 0 gid 0 (pid
> 13266)
> >>>Mar 17 14:11:34 lbv1 stonithd[13266]: notice: crm_cluster_connect:
> Connecting to cluster infrastructure: heartbeat
> >>>Mar 17 14:11:34 lbv1 heartbeat: [13255]: info: the send queue length
> from heartbeat to client stonithd is set to 1024
> >>>Mar 17 14:11:40 lbv1 stonithd[13266]: notice: setup_cib: Watching for
> stonith topology changes
> >>>Mar 17 14:11:40 lbv1 stonithd[13266]: notice: unpack_config: On loss
> of CCM Quorum: Ignore
> >>>Mar 17 14:11:40 lbv1 stonithd[13266]: warning: handle_startup_fencing:
> Blind faith: not fencing unseen nodes
> >>>Mar 17 14:11:40 lbv1 stonithd[13266]: warning: handle_startup_fencing:
> Blind faith: not fencing unseen nodes
> >>>Mar 17 14:11:41 lbv1 stonithd[13266]: notice:
> stonith_device_register: Added 'Stonith2-1' to the device list (1 active
> devices)
> >>>Mar 17 14:11:41 lbv1 stonithd[13266]: notice:
> stonith_device_register: Added 'Stonith2-2' to the device list (2 active
> devices)
> >>>Mar 17 14:12:04 lbv1 stonithd[13266]: notice:
> xml_patch_version_check: Versions did not change in patch 0.5.0
> >>>Mar 17 14:12:20 lbv1 stonithd[13266]: notice: log_operation:
> Operation 'monitor' [13386] for device 'Stonith2-1' returned: -201 (Generic
> Pacemaker error)
> >>>Mar 17 14:12:20 lbv1 stonithd[13266]: warning: log_operation:
> Stonith2-1:13386 [ Performing: stonith -t external/stonith-helper -S ]
> >>>Mar 17 14:12:20 lbv1 stonithd[13266]: warning: log_operation:
> Stonith2-1:13386 [ failed to exec "stonith" ]
> >>>Mar 17 14:12:20 lbv1 stonithd[13266]: warning: log_operation:
> Stonith2-1:13386 [ failed: 2 ]
> >>>
> >>>
> >>>
> >>>宜ã—ããŠé¡˜ã„ã—ã¾ã™ã€‚
> >>>
> >>>以上
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>2015年3月17日 13:32 <renayama19661014@ybb.ne.jp>:
> >>>
> >>>ç¦ç”°ã•ã‚“
> >>>>
> >>>>ãŠç–²ã‚Œæ§˜ã§ã™ã€‚山内ã§ã™ã€‚
> >>>>
> >>>>ã¨ã„ã†ã“ã¨ã¯ã€stonith-helperã®startã«å•é¡ŒãŒã‚るよã†ã§ã™ã。
> >>>>
> >>>>stonith-helperã®å…ˆé ã«
> >>>>
> >>>>#!/bin/bash -x
> >>>>
> >>>>
> >>>>を入れã¦ã€ã‚¯ãƒ©ã‚¹ã‚¿ã‚’èµ·å‹•ã™ã‚‹ã¨ä½•ã‹ã‚ã‹ã‚‹ã‹ã‚‚知れã¾ã›ã‚“。
> >>>>
> >>>>ã¡ãªã¿ã«ã€stonith-helperã®ãƒã‚°ã‚‚ã©ã“ã‹ã«å‡ºã¦ã„ã‚‹ã¨æ€ã†ã®ã§ã™ãŒã€‚。。
> >>>>
> >>>>
> >>>>
> >>>>以上ã§ã™ã€‚
> >>>>
> >>>>----- Original Message -----
> >>>>>From: Masamichi Fukuda - elf-systems <
> masamichi_fukuda@elf-systems.com>
> >>>>>To: 山内英生 <renayama19661014@ybb.ne.jp>; "
> linux-ha-japan@lists.sourceforge.jp" <linux-ha-japan@lists.sourceforge.jp>
> >>>>
> >>>>>Date: 2015/3/17, Tue 12:31
> >>>>>Subject: Re: [Linux-ha-jp] スプリットブレイン時ã®STONITHエラーã«ã¤ã„ã¦
> >>>>>
> >>>>>
> >>>>>山内ã•ã‚“
> >>>>>cc:æ¾å³¶ã•ã‚“
> >>>>>
> >>>>>ã“ã‚“ã«ã¡ã¯ã€ç¦ç”°ã§ã™ã€‚
> >>>>>
> >>>>>åŒã˜ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«xen0ã¯ã‚ã‚Šã¾ã—ãŸã€‚
> >>>>>
> >>>>># pwd
> >>>>>/usr/local/heartbeat/lib/stonith/plugins/external
> >>>>>
> >>>>># ls
> >>>>>drac5 ibmrsa kdumpcheck riloe vmware
> >>>>>dracmc-telnet ibmrsa-telnet libvirt ssh xen0
> >>>>>hetzner ipmi nut stonith-helper xen0-ha
> >>>>>hmchttp ippower9258 rackpdu vcenter
> >>>>>
> >>>>>宜ã—ããŠé¡˜ã„ã—ã¾ã™ã€‚
> >>>>>
> >>>>>以上
> >>>>>
> >>>>>
> >>>>>
> >>>>>2015-03-17 10:53 GMT+09:00 <renayama19661014@ybb.ne.jp>:
> >>>>>
> >>>>>ç¦ç”°ã•ã‚“
> >>>>>>cc:æ¾å³¶ã•ã‚“
> >>>>>>
> >>>>>>ãŠç–²ã‚Œæ§˜ã§ã™ã€‚山内ã§ã™ã€‚
> >>>>>>
> >>>>>>>標準出力や標準エラー出力ã¯ã‚ã‚Šã¾ã›ã‚“ã§ã—ãŸã€‚
> >>>>>>>
> >>>>>>>stonith-helperãŒãŠã‹ã—ã„ã®ã§ã—ょã†ã‹ã€‚
> >>>>>>>stonith-helperã¯ã‚·ã‚§ãƒ«ã‚¹ã‚¯ãƒªãƒ—トãªã®ã§ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã¯ã‚ã¾ã‚Šæ°—ã«ã—ã¦ã„ãªã‹ã£ãŸã®ã§ã™ãŒã€‚
> >>>>>>>stonith-helperã¯ã“ã“ã«é…ç½®ã•ã‚Œã¦ã„ã¾ã™ã€‚
> >>>>>>>/usr/local/heartbeat/lib/stonith/plugins/external/stonith-helper
> >>>>>>
> >>>>>>ã“ã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«xen0ã‚‚ã‚ã‚Šã¾ã™ã‹ï¼Ÿ
> >>>>>>ç„¡ã„よã†ã§ã—ãŸã‚‰ã€å•é¡ŒãŒã‚ã‚Šã¾ã™ã®ã§ã€ä¸€åº¦ã€stonith-helperã®ãƒ•ã‚¡ã‚¤ãƒ«ã‚’属性ãªã©ã¯ãã®ã¾ã¾ã€xen0ã¨åŒã˜ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«
> >>>>>>コピーã—ã¦ã¿ã¦ãã ã•ã„。
> >>>>>>
> >>>>>>ãã‚Œã§ç¨¼åƒã™ã‚‹ãªã‚‰ã€pm_extrasã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã«å•é¡ŒãŒã‚ã‚‹ã¨ã„ã†ã“ã¨ã«ãªã‚Šã¾ã™ã€‚
> >>>>>>
> >>>>>>以上ã§ã™ã€‚
> >>>>>>
> >>>>>>----- Original Message -----
> >>>>>>>From: Masamichi Fukuda - elf-systems <
> masamichi_fukuda@elf-systems.com>
> >>>>>>>To: 山内英生 <renayama19661014@ybb.ne.jp>; "
> linux-ha-japan@lists.sourceforge.jp" <linux-ha-japan@lists.sourceforge.jp>
> >>>>>>
> >>>>>>>Date: 2015/3/17, Tue 10:31
> >>>>>>>Subject: Re: [Linux-ha-jp] スプリットブレイン時ã®STONITHエラーã«ã¤ã„ã¦
> >>>>>>>
> >>>>>>>
> >>>>>>>山内ã•ã‚“
> >>>>>>>cc:æ¾å³¶ã•ã‚“
> >>>>>>>
> >>>>>>>ãŠã¯ã‚ˆã†ã”ã–ã„ã¾ã™ã€ç¦ç”°ã§ã™ã€‚
> >>>>>>>crmã®ä¾‹ã‚’ã‚ã‚ŠãŒã¨ã†ã”ã–ã„ã¾ã™ã€‚
> >>>>>>>
> >>>>>>>早速ã€ã“ã¡ã‚‰ã®ç’°å¢ƒã«åˆã‚ã›ã¦ã¿ã¾ã—ãŸã€‚
> >>>>>>>
> >>>>>>>$ cat test.crm
> >>>>>>>### Cluster Option ###
> >>>>>>>property \
> >>>>>>> no-quorum-policy="ignore" \
> >>>>>>> stonith-enabled="true" \
> >>>>>>> startup-fencing="false" \
> >>>>>>> stonith-timeout="710s" \
> >>>>>>> crmd-transition-delay="2s"
> >>>>>>>
> >>>>>>>### Resource Default ###
> >>>>>>>rsc_defaults \
> >>>>>>> resource-stickiness="INFINITY" \
> >>>>>>> migration-threshold="1"
> >>>>>>>
> >>>>>>>### Group Configuration ###
> >>>>>>>group HAvarnish \
> >>>>>>> vip_208 \
> >>>>>>> varnishd
> >>>>>>>
> >>>>>>>group grpStonith1 \
> >>>>>>> Stonith1-1 \
> >>>>>>> Stonith1-2
> >>>>>>>
> >>>>>>>group grpStonith2 \
> >>>>>>> Stonith2-1 \
> >>>>>>> Stonith2-2
> >>>>>>>
> >>>>>>>### Clone Configuration ###
> >>>>>>>clone clone_ping \
> >>>>>>> ping
> >>>>>>>
> >>>>>>>### Fencing Topology ###
> >>>>>>>fencing_topology \
> >>>>>>> lbv1.beta.com: Stonith1-1 Stonith1-2 \
> >>>>>>> lbv2.beta.com: Stonith2-1 Stonith2-2
> >>>>>>>
> >>>>>>>### Primitive Configuration ###
> >>>>>>>primitive vip_208 ocf:heartbeat:IPaddr2 \
> >>>>>>> params \
> >>>>>>> ip="192.168.17.208" \
> >>>>>>> nic="eth0" \
> >>>>>>> cidr_netmask="24" \
> >>>>>>> op start interval="0s" timeout="90s" on-fail="restart" \
> >>>>>>> op monitor interval="5s" timeout="60s" on-fail="restart" \
> >>>>>>> op stop interval="0s" timeout="100s" on-fail="fence"
> >>>>>>>
> >>>>>>>primitive varnishd lsb:varnish \
> >>>>>>> op start interval="0s" timeout="90s" on-fail="restart" \
> >>>>>>> op monitor interval="10s" timeout="60s" on-fail="restart" \
> >>>>>>> op stop interval="0s" timeout="100s" on-fail="fence"
> >>>>>>>
> >>>>>>>primitive ping ocf:pacemaker:ping \
> >>>>>>> params \
> >>>>>>> name="default_ping_set" \
> >>>>>>> host_list="192.168.17.254" \
> >>>>>>> multiplier="100" \
> >>>>>>> dampen="1" \
> >>>>>>> op start interval="0s" timeout="90s" on-fail="restart" \
> >>>>>>> op monitor interval="10s" timeout="60s" on-fail="restart" \
> >>>>>>> op stop interval="0s" timeout="100s" on-fail="fence"
> >>>>>>>
> >>>>>>>primitive Stonith1-1 stonith:external/stonith-helper \
> >>>>>>> params \
> >>>>>>> pcmk_reboot_retries="1" \
> >>>>>>> pcmk_reboot_timeout="40s" \
> >>>>>>> hostlist="lbv1.beta.com" \
> >>>>>>> dead_check_target="192.168.17.132 10.0.17.132" \
> >>>>>>> standby_check_command="/usr/local/sbin/crm_resource -r
> varnishd -W | grep -q `hostname`" \
> >>>>>>> run_online_check="yes" \
> >>>>>>> op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>> op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>
> >>>>>>>primitive Stonith1-2 stonith:external/xen0 \
> >>>>>>> params \
> >>>>>>> pcmk_reboot_timeout="60s" \
> >>>>>>> hostlist="lbv1.beta.com:/etc/xen/lbv1.cfg" \
> >>>>>>> dom0="xen0.beta.com" \
> >>>>>>> op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>> op monitor interval="3600s" timeout="60s" on-fail="restart" \
> >>>>>>> op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>
> >>>>>>>primitive Stonith2-1 stonith:external/stonith-helper \
> >>>>>>> params \
> >>>>>>> pcmk_reboot_retries="1" \
> >>>>>>> pcmk_reboot_timeout="40s" \
> >>>>>>> hostlist="lbv2.beta.com" \
> >>>>>>> dead_check_target="192.168.17.133 10.0.17.133" \
> >>>>>>> standby_check_command="/usr/local/sbin/crm_resource -r
> varnishd -W | grep -q `hostname`" \
> >>>>>>> run_online_check="yes" \
> >>>>>>> op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>> op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>
> >>>>>>>primitive Stonith2-2 stonith:external/xen0 \
> >>>>>>> params \
> >>>>>>> pcmk_reboot_timeout="60s" \
> >>>>>>> hostlist="lbv2.beta.com:/etc/xen/lbv2.cfg" \
> >>>>>>> dom0="xen0.beta.com" \
> >>>>>>> op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>> op monitor interval="3600s" timeout="60s" on-fail="restart" \
> >>>>>>> op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>
> >>>>>>>### Resource Location ###
> >>>>>>>location HA_location-1 HAvarnish \
> >>>>>>> rule 200: #uname eq lbv1.beta.com \
> >>>>>>> rule 100: #uname eq lbv2.beta.com
> >>>>>>>
> >>>>>>>location HA_location-2 HAvarnish \
> >>>>>>> rule -INFINITY: not_defined default_ping_set or
> default_ping_set lt 100
> >>>>>>>
> >>>>>>>location HA_location-3 grpStonith1 \
> >>>>>>> rule -INFINITY: #uname eq lbv1.beta.com
> >>>>>>>
> >>>>>>>location HA_location-4 grpStonith2 \
> >>>>>>> rule -INFINITY: #uname eq lbv2.beta.com
> >>>>>>>
> >>>>>>>
> >>>>>>>ã“れをæµã—ã“ã‚“ã ã¨ã“ã‚ã€æ˜¨æ—¥ã¨ã¯ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãŒç•°ãªã‚Šã¾ã™ã€‚
> >>>>>>>pingã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã¯ãªããªã£ã¦ã„ã¾ã—ãŸã€‚
> >>>>>>>
> >>>>>>># crm_mon -rfA
> >>>>>>>Last updated: Tue Mar 17 10:21:28 2015
> >>>>>>>Last change: Tue Mar 17 10:21:09 2015
> >>>>>>>Stack: heartbeat
> >>>>>>>Current DC: lbv2.beta.com (82ffc36f-1ad8-8686-7db0-35686465c624) -
> parti
> >>>>>>>tion with quorum
> >>>>>>>Version: 1.1.12-561c4cf
> >>>>>>>2 Nodes configured
> >>>>>>>8 Resources configured
> >>>>>>>
> >>>>>>>
> >>>>>>>Online: [ lbv1.beta.com lbv2.beta.com ]
> >>>>>>>
> >>>>>>>Full list of resources:
> >>>>>>>
> >>>>>>> Resource Group: HAvarnish
> >>>>>>> vip_208 (ocf::heartbeat:IPaddr2): Started
> lbv1.beta.com
> >>>>>>> varnishd (lsb:varnish): Started lbv1.beta.com
> >>>>>>> Resource Group: grpStonith1
> >>>>>>> Stonith1-1 (stonith:external/stonith-helper): Stopped
> >>>>>>> Stonith1-2 (stonith:external/xen0): Stopped
> >>>>>>> Resource Group: grpStonith2
> >>>>>>> Stonith2-1 (stonith:external/stonith-helper): Stopped
> >>>>>>> Stonith2-2 (stonith:external/xen0): Stopped
> >>>>>>> Clone Set: clone_ping [ping]
> >>>>>>> Started: [ lbv1.beta.com lbv2.beta.com ]
> >>>>>>>
> >>>>>>>Node Attributes:
> >>>>>>>* Node lbv1.beta.com:
> >>>>>>> + default_ping_set : 100
> >>>>>>>* Node lbv2.beta.com:
> >>>>>>> + default_ping_set : 100
> >>>>>>>
> >>>>>>>Migration summary:
> >>>>>>>* Node lbv2.beta.com:
> >>>>>>> Stonith1-1: migration-threshold=1 fail-count=1000000
> last-failure='Tue Mar 17
> >>>>>>> 10:21:17 2015'
> >>>>>>>* Node lbv1.beta.com:
> >>>>>>> Stonith2-1: migration-threshold=1 fail-count=1000000
> last-failure='Tue Mar 17
> >>>>>>> 10:21:17 2015'
> >>>>>>>
> >>>>>>>Failed actions:
> >>>>>>> Stonith1-1_start_0 on lbv2.beta.com 'unknown error' (1):
> call=31, st
> >>>>>>>atus=Error, last-rc-change='Tue Mar 17 10:21:15 2015', queued=0ms,
> exec=1082ms
> >>>>>>> Stonith2-1_start_0 on lbv1.beta.com 'unknown error' (1):
> call=31, st
> >>>>>>>atus=Error, last-rc-change='Tue Mar 17 10:21:16 2015', queued=0ms,
> exec=1079ms
> >>>>>>>
> >>>>>>>
> >>>>>>>/var/log/ha-debugã®ãƒã‚°ã§ã™ã€‚
> >>>>>>>
> >>>>>>>IPaddr2(vip_208)[7851]: 2015/03/17_10:21:22 INFO: Adding inet
> address 192.168.17.208/24 with broadcast address 192.168.17.255 to device
> eth0
> >>>>>>>IPaddr2(vip_208)[7851]: 2015/03/17_10:21:22 INFO: Bringing device
> eth0 up
> >>>>>>>IPaddr2(vip_208)[7851]: 2015/03/17_10:21:22 INFO:
> /usr/libexec/heartbeat/send_arp -i 200 -r 5 -p
> /var/run/resource-agents/send_arp-192.168.17.208 eth0 192.168.17.208 auto
> not_used not_used
> >>>>>>>
> >>>>>>>標準出力や標準エラー出力ã¯ã‚ã‚Šã¾ã›ã‚“ã§ã—ãŸã€‚
> >>>>>>>
> >>>>>>>stonith-helperãŒãŠã‹ã—ã„ã®ã§ã—ょã†ã‹ã€‚
> >>>>>>>stonith-helperã¯ã‚·ã‚§ãƒ«ã‚¹ã‚¯ãƒªãƒ—トãªã®ã§ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã¯ã‚ã¾ã‚Šæ°—ã«ã—ã¦ã„ãªã‹ã£ãŸã®ã§ã™ãŒã€‚
> >>>>>>>stonith-helperã¯ã“ã“ã«é…ç½®ã•ã‚Œã¦ã„ã¾ã™ã€‚
> >>>>>>>/usr/local/heartbeat/lib/stonith/plugins/external/stonith-helper
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>宜ã—ããŠé¡˜ã„ã—ã¾ã™ã€‚
> >>>>>>>
> >>>>>>>以上
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>2015-03-17 9:45 GMT+09:00 <renayama19661014@ybb.ne.jp>:
> >>>>>>>
> >>>>>>>ç¦ç”°ã•ã‚“
> >>>>>>>>
> >>>>>>>>ãŠã¯ã‚ˆã†ã”ã–ã„ã¾ã™ã€‚山内ã§ã™ã€‚
> >>>>>>>>
> >>>>>>>>念ã®ç‚ºã€æ‰‹å…ƒã«ã‚る複数ã®stonithを利用ã—ãŸå ´åˆã®ä¾‹ã‚’抜粋ã—ã¦ãŠé€ã‚Šã—ã¾ã™ã€‚
> >>>>>>>>(実際ã«ã¯ã€æ”¹è¡Œã«æ°—を付ã‘ã¦ãã ã•ã„)
> >>>>>>>>
> >>>>>>>>以下ã®ä¾‹ã¯ã€PM1.1ç³»ã§ã®è¨å®šã§ã€
> >>>>>>>>nodeaã¯ã€prmStonith1-1〠prmStonith1-2ã®é †ã§stonithãŒå®Ÿè¡Œã•ã‚Œã¾ã™ã€‚
> >>>>>>>>nodebã¯ã€prmStonith2-1〠prmStonith2-2ã®é †ã§stonithãŒå®Ÿè¡Œã•ã‚Œã¾ã™ã€‚
> >>>>>>>>
> >>>>>>>>stonith自体ã¯ã€helperã¨sshã§ã™ã€‚
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>(snip)
> >>>>>>>>### Group Configuration ###
> >>>>>>>>group grpStonith1 \
> >>>>>>>>prmStonith1-1 \
> >>>>>>>>prmStonith1-2
> >>>>>>>>
> >>>>>>>>group grpStonith2 \
> >>>>>>>>prmStonith2-1 \
> >>>>>>>>prmStonith2-2
> >>>>>>>>
> >>>>>>>>### Fencing Topology ###
> >>>>>>>>fencing_topology \
> >>>>>>>>nodea: prmStonith1-1 prmStonith1-2 \
> >>>>>>>>nodeb: prmStonith2-1 prmStonith2-2
> >>>>>>>>(snp)
> >>>>>>>>primitive prmStonith1-1 stonith:external/stonith-helper \
> >>>>>>>>params \
> >>>>>>>>
> >>>>>>>>pcmk_reboot_retries="1" \
> >>>>>>>>pcmk_reboot_timeout="40s" \
> >>>>>>>>hostlist="nodea" \
> >>>>>>>>dead_check_target="192.168.28.60 192.168.28.70" \
> >>>>>>>>standby_check_command="/usr/sbin/crm_resource -r prmRES -W | grep
> -qi `hostname`" \
> >>>>>>>>run_online_check="yes" \
> >>>>>>>>op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>>>op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>>
> >>>>>>>>primitive prmStonith1-2 stonith:external/ssh \
> >>>>>>>>params \
> >>>>>>>>pcmk_reboot_timeout="60s" \
> >>>>>>>>hostlist="nodea" \
> >>>>>>>>op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>>>op monitor interval="3600s" timeout="60s" on-fail="restart" \
> >>>>>>>>op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>>
> >>>>>>>>primitive prmStonith2-1 stonith:external/stonith-helper \
> >>>>>>>>params \
> >>>>>>>>pcmk_reboot_retries="1" \
> >>>>>>>>pcmk_reboot_timeout="40s" \
> >>>>>>>>hostlist="nodeb" \
> >>>>>>>>dead_check_target="192.168.28.61 192.168.28.71" \
> >>>>>>>>standby_check_command="/usr/sbin/crm_resource -r prmRES -W | grep
> -qi `hostname`" \
> >>>>>>>>run_online_check="yes" \
> >>>>>>>>op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>>>op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>>
> >>>>>>>>primitive prmStonith2-2 stonith:external/ssh \
> >>>>>>>>params \
> >>>>>>>>pcmk_reboot_timeout="60s" \
> >>>>>>>>hostlist="nodeb" \
> >>>>>>>>op start interval="0s" timeout="60s" on-fail="restart" \
> >>>>>>>>op monitor interval="3600s" timeout="60s" on-fail="restart" \
> >>>>>>>>op stop interval="0s" timeout="60s" on-fail="ignore"
> >>>>>>>>(snip)
> >>>>>>>>location rsc_location-grpStonith1-2 grpStonith1 \
> >>>>>>>>rule -INFINITY: #uname eq nodea
> >>>>>>>>location rsc_location-grpStonith2-3 grpStonith2 \
> >>>>>>>>rule -INFINITY: #uname eq nodeb
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>以上ã§ã™ã€‚
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>>--
> >>>>>>>
> >>>>>>>ELF Systems
> >>>>>>>Masamichi Fukuda
> >>>>>>>mail to: masamichi_fukuda@elf-systems.com
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>_______________________________________________
> >>>>>>Linux-ha-japan mailing list
> >>>>>>Linux-ha-japan@lists.sourceforge.jp
> >>>>>>http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
> >>>>>>
> >>>>>
> >>>>>
> >>>>>--
> >>>>>
> >>>>>ELF Systems
> >>>>>Masamichi Fukuda
> >>>>>mail to: masamichi_fukuda@elf-systems.com
> >>>>>
> >>>>>
> >>>>
> >>>>_______________________________________________
> >>>>Linux-ha-japan mailing list
> >>>>Linux-ha-japan@lists.sourceforge.jp
> >>>>http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
> >>>>
> >>>
> >>>
> >>>--
> >>>
> >>>ELF Systems
> >>>Masamichi Fukuda
> >>>mail to: masamichi_fukuda@elf-systems.com
> >>>
> >>>
> >>
> >>_______________________________________________
> >>Linux-ha-japan mailing list
> >>Linux-ha-japan@lists.sourceforge.jp
> >>http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
> >>
> >
> >
> >--
> >
> >ELF Systems
> >Masamichi Fukuda
> >mail to: masamichi_fukuda@elf-systems.com
> >
> >
>
> _______________________________________________
> Linux-ha-japan mailing list
> Linux-ha-japan@lists.sourceforge.jp
> http://lists.sourceforge.jp/mailman/listinfo/linux-ha-japan
>
--
ELF Systems
Masamichi Fukuda
mail to: *masamichi_fukuda@elf-systems.com <elfsystems.com@gmail.com>*