[Pacemaker] Fencing configuration with pcmk_host_map argument
Andrew Beekhof
andrew at beekhof.net
Thu Feb 7 06:07:35 UTC 2013
On Wed, Feb 6, 2013 at 2:57 AM, Marek Grac <mgrac at redhat.com> wrote:
> Hi,
>
>
> On 02/05/2013 03:24 AM, Andrew Beekhof wrote:
>>
>> I cleared the IPMI configuration and kept only the two WTI fencing
>> Primitives in my configuration to make it as simple as possible :
>>
>> primitive wti_fence01 stonith:fence_wti \
>> params ipaddr="192.168.0.7" action="reboot" verbose="true"
>> pcmk_host_check="static-list" pcmk_host_list="fence01.domain"
>> pcmk_host_map="fence01.domain:1,5" login_timeout="20" shell_timeout="20" \
>> op monitor interval="30s"
>> primitive wti_fence02 stonith:fence_wti \
>> params ipaddr="192.168.0.7" action="reboot" verbose="true"
>> pcmk_host_check="static-list" pcmk_host_list="fence02.domain"
>> pcmk_host_map="fence02.domain:2,6"
>> It is possible that fence_wti doesn't support multiple port values, or
>> supports them differently.
>> Marek (CC'd) should be able to comment definitively.
>>
> This is right, fence agents (all of them) can be used only with one port
> value.
Would this be a good feature to add?
Particularly for people using "reboot" as the action.
Otherwise the caller (ie. me :-) ) has to split it up into stop 1,
stop 2, start 1, start 2 - which is messy.
More information about the Pacemaker
mailing list