Re: [Linux-HA] Fencing : pb about 'dynamic-list'
Hi Andrew, OK I've checked and it seems I have not issued a Bugzilla finally as it was working fine with stonith recompiled on el6. And with my configuration on el6 with last release of RHEL6 GA fence-agents-3.0.12-8, it does not work correctly with more than 2 nodes in the cluster, meaning the fence operation does not fence the right node . So now, sorry, but I'm a little bit lost about the right way to configure my resource of fencing in Pacemaker on el6, because I've had several problems since the beginning on el6 (all these problems can be retrieved on this Mailing List) and for the problems I had when switching on el6, the last response you gave to me was to set : pcmk_host_check=none so I have for example with crm configure show : primitive restofencehostname2 stonith:fence_ipmilan \ params ipaddr=18.18.0.2 login=mylogin passwd=mypasswd pcmk_host_check=none action=reboot \ So could you give me exactly what to set now with last release , my understanding is that you want me to remove in the configuration : pcmk_host_check=none and to set : pcmk_host_list=hostname1,hostname2,hostname3,hostname4 Is that right ? And if it is right, is it really the hostname of the nodes ? or alias for IPMI adresses ? Many thanks for your help. Alain ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Fencing : pb about 'dynamic-list'
Sorry, I made a mystake in my previous email , I think that I must try pcmk_host_check=static-list pcmk_host_list=whitespace list of hosts the device controls with this new fence_ipmilan release ... I'll told you .. Alain Hi Andrew, OK I've checked and it seems I have not issued a Bugzilla finally as it was working fine with stonith recompiled on el6. And with my configuration on el6 with last release of RHEL6 GA fence-agents-3.0.12-8, it does not work correctly with more than 2 nodes in the cluster, meaning the fence operation does not fence the right node . So now, sorry, but I'm a little bit lost about the right way to configure my resource of fencing in Pacemaker on el6, because I've had several problems since the beginning on el6 (all these problems can be retrieved on this Mailing List) and for the problems I had when switching on el6, the last response you gave to me was to set : pcmk_host_check=none so I have for example with crm configure show : primitive restofencehostname2 stonith:fence_ipmilan \ params ipaddr=18.18.0.2 login=mylogin passwd=mypasswd pcmk_host_check=none action=reboot \ So could you give me exactly what to set now with last release , my understanding is that you want me to remove in the configuration : pcmk_host_check=none and to set : pcmk_host_list=hostname1,hostname2,hostname3,hostname4 Is that right ? And if it is right, is it really the hostname of the nodes ? or alias for IPMI adresses ? Many thanks for your help. Alain ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Fencing : pb about 'dynamic-list'
Hi Andrew, I've tested with pcmk_host_check='static-list' and pcmk_host_list='node1 node2 node3 node4' with agent fence_ipmilan on RHEL6 , it does not work correctly, the fence is not targeted towards the right node meaning : if I ifdown the heartbeat interface on node2, then the fence kills the node4 instead of node2 I tried again with stonith:ipmi and also with pcmk_host_check='static-list' and pcmk_host_list='node1 node2 node3 node4' but in this case, the fence does not complete and I can see this error in syslog : ERROR: stonith_error2string: Unknown Stonith error code: 1 So I'm completely stalled ... no more way to fence ... is there something I don't understood in your messages ? Thanks Alain ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Fencing : pb about 'dynamic-list'
On Wed, Jan 26, 2011 at 10:56 AM, Alain.Moulle alain.mou...@bull.net wrote: Hi Andrew, OK I've checked and it seems I have not issued a Bugzilla finally as it was working fine with stonith recompiled on el6. And with my configuration on el6 with last release of RHEL6 GA fence-agents-3.0.12-8, it does not work correctly with more than 2 nodes in the cluster, meaning the fence operation does not fence the right node . Ok, you should really file a bugzilla for this. Otherwise you'll have to keep patching + rebuilding fence-agents for eternity. ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Fencing : pb about 'dynamic-list'
On Wed, Jan 26, 2011 at 2:57 PM, Alain.Moulle alain.mou...@bull.net wrote: Hi Andrew, I've tested with pcmk_host_check='static-list' and pcmk_host_list='node1 node2 node3 node4' with agent fence_ipmilan on RHEL6 , That looks right it does not work correctly, the fence is not targeted towards the right node meaning : if I ifdown the heartbeat interface on node2, then the fence kills the node4 instead of node2 ooops have you got no-quorum-policy=ignore? what happens if you manually call fence_ipmilan to kill node2? what does the command look like? I tried again with stonith:ipmi and also with pcmk_host_check='static-list' and pcmk_host_list='node1 node2 node3 node4' Isn't that the same as you mentioned above? but in this case, the fence does not complete and I can see this error in syslog : ERROR: stonith_error2string: Unknown Stonith error code: 1 Maybe its time to open a Red Hat bug. Be sure to include some logs. So I'm completely stalled ... no more way to fence ... is there something I don't understood in your messages ? Thanks Alain ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Fencing : pb about 'dynamic-list'
Hi, in fact, for now I can't test the fence_ipmilan last problems I had a few months ago as it needs a cluster of more than two nodes. With a two nodes cluster there was no more problem, but with more than two nodes, the fence_ipmilan did not fence the expected node as configured in my restofence resource. Unfortunately, I have not three nodes available for now. Could you confirm that in this problem is fixed with the fence rpm release : fence-agents-3.0.12-8.el6 (and pacemaker pacemaker-1.1.2-7.el6) Thanks Alain so ok I will change again and test with fence_ipmilan. Let me know how that goes. ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Fencing : pb about 'dynamic-list'
Hi, What I don't understand is the fact that same configuration of resource to fence was working in older releases ... And what do you mean by specify the hosts manually , I thought I do it likewise as for each restofence resource , I give these parameters of target node to be fenced: hostname, ipaddr, userid, passwd, interface ? Alain ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Fencing : pb about 'dynamic-list'
Hi Andrew, why I'm not using anymore fence_ipmilan ? because fence_ipmilan was not working on RH some months ago wheareas RH had voluntarily removed the stonith thing from cluster-glue rpm (we had somes exchanges on this mailing list about it), and I could not wait for RH fixes on fence_ipmilan to work, so I choose to work again with stonith ... Now fence_ipmilan problems seem to be fixed, and stonith can't work anymore on RH, so ok I will change again and test with fence_ipmilan. Thanks Alain ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Fencing : pb about 'dynamic-list'
On Wed, Jan 19, 2011 at 11:06 AM, Alain.Moulle alain.mou...@bull.net wrote: Hi Andrew, why I'm not using anymore fence_ipmilan ? because fence_ipmilan was not working on RH some months ago Did you file a bug for that? wheareas RH had voluntarily removed the stonith thing from cluster-glue rpm (we had somes exchanges on this mailing list about it), and I could not wait for RH fixes on fence_ipmilan to work, I can't imagine the wait would have been long, I believe normally they issue a hotfix or something when customers report a problem. so I choose to work again with stonith ... Now fence_ipmilan problems seem to be fixed, and stonith can't work anymore on RH, so ok I will change again and test with fence_ipmilan. Let me know how that goes. Thanks Alain ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Fencing : pb about 'dynamic-list'
-S isn't terribly relevant, what -l shows is what counts. On Mon, Jan 17, 2011 at 2:19 PM, Alain.Moulle alain.mou...@bull.net wrote: Hi Dejan, Yes stonith -t external/ipmi ... -S works fine : /usr/sbin/stonith -t external/ipmi hostname=node2 ipaddr='my ipaddr ' userid='mylogin' passwd='mypass' interface='lan' -S stonith: external/ipmi device OK. I've passed the command just after an attempt to fence : 1295276053 2011 Jan 17 15:54:13 node3 daemon info stonith-ng [4335]: info: can_fence_host_with_device: restofencenode2 can not fence node2: dynamic-list I'm running with releases : pacemaker-1.1.2-7 cluster-glue-1.0.6-1.6 Alain Looks ok to me. Did you try this on the command line: # stonith -t external/ipmi ... -S If that works, perhaps you found a bug. Do you run the latest version? ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Fencing : pb about dynamic-list
The agent doesn't appear to support the list command (try stonith -l for that agent), so pacemaker is unable to determine which machines the device can kill. You may need to specify the hosts manually. On Thu, Jan 13, 2011 at 11:36 AM, Alain.Moulle alain.mou...@bull.net wrote: Hi, I have a pb of fencing not working due to dynamic-list, could someone tell me where is the configuration problem ? Thanks Alain 1294914169 2011 Jan 13 11:22:49 node7 daemon debug stonith-ng [16664]: debug: stonith_command: Processing st_query from node6 1294914169 2011 Jan 13 11:22:49 node7 daemon info stonith-ng [16664]: info: log_data_element: stonith_query: Query stonith_command t=stonith-ng st_async_id=16d9e2a4-8dba-4004-b087-1076150a6d0a st_op=st_query st_callid=0 st_callopt=0 st_remote_op=16d9e2a4-8dba-4004-b087-1076150a6d0a st_target=node6 st_device_action=reboot st_clientid=ee7647a3-9d46-4b4f-a603-d2cefdbfb9c1 src=node6 seq=1045 / 1294914169 2011 Jan 13 11:22:49 node7 daemon debug stonith-ng [16664]: debug: run_stonith_agent: forking 1294914169 2011 Jan 13 11:22:49 node7 daemon debug stonith-ng [16664]: debug: run_stonith_agent: sending args 1294914169 2011 Jan 13 11:22:49 node7 daemon debug stonith-ng [16664]: debug: run_stonith_agent: result = 1 1294914169 2011 Jan 13 11:22:49 node7 daemon notice stonith-ng [16664]: notice: can_fence_host_with_device: Disabling port list queries for restofencenode6 1294914169 2011 Jan 13 11:22:49 node7 daemon info stonith-ng [16664]: info: can_fence_host_with_device: restofencenode6 can not fence node6: dynamic-list 1294914169 2011 Jan 13 11:22:49 node7 daemon info stonith-ng [16664]: info: stonith_query: Found 0 matching devices for 'node6' 1294914169 2011 Jan 13 11:22:49 node7 daemon info stonith-ng [16664]: info: stonith_command: Processed st_query from node6: rc=0 with the following restofence configuration : primitive class=stonith id=restofencenode6 type=external/ipmi instance_attributes id=restofencenode6-instance_attributes nvpair id=restofencenode6-instance_attributes-hostname name=hostname value=node6/ nvpair id=restofencenode6-instance_attributes-ipaddr name=ipaddr value=13.13.0.6/ nvpair id=restofencenode6-instance_attributes-userid name=userid value=MyUserid/ nvpair id=restofencenode6-instance_attributes-passwd name=passwd value=MyPasswd/ nvpair id=restofencenode6-instance_attributes-interface name=interface value=lan/ nvpair id=restofencenode6-instance_attributes-fencecmd name=fencecmd value=reset/ /instance_attributes meta_attributes id=restofencenode6-meta_attributes nvpair id=restofencenode6-meta_attributes-target-role name=target-role value=Started/ /meta_attributes /primitive ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Fencing : pb about 'dynamic-list'
Hi Dejan, Yes stonith -t external/ipmi ... -S works fine : /usr/sbin/stonith -t external/ipmi hostname=node2 ipaddr='my ipaddr ' userid='mylogin' passwd='mypass' interface='lan' -S stonith: external/ipmi device OK. I've passed the command just after an attempt to fence : 1295276053 2011 Jan 17 15:54:13 node3 daemon info stonith-ng [4335]: info: can_fence_host_with_device: restofencenode2 can not fence node2: dynamic-list I'm running with releases : pacemaker-1.1.2-7 cluster-glue-1.0.6-1.6 Alain Looks ok to me. Did you try this on the command line: # stonith -t external/ipmi ... -S If that works, perhaps you found a bug. Do you run the latest version? ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Fencing : pb about dynamic-list
On Thu, Jan 13, 2011 at 11:36:25AM +0100, Alain.Moulle wrote: Hi, I have a pb of fencing not working due to dynamic-list, could someone tell me where is the configuration problem ? Looks ok to me. Did you try this on the command line: # stonith -t external/ipmi ... -S If that works, perhaps you found a bug. Do you run the latest version? Thanks, Dejan Thanks Alain 1294914169 2011 Jan 13 11:22:49 node7 daemon debug stonith-ng [16664]: debug: stonith_command: Processing st_query from node6 1294914169 2011 Jan 13 11:22:49 node7 daemon info stonith-ng [16664]: info: log_data_element: stonith_query: Query stonith_command t=stonith-ng st_async_id=16d9e2a4-8dba-4004-b087-1076150a6d0a st_op=st_query st_callid=0 st_callopt=0 st_remote_op=16d9e2a4-8dba-4004-b087-1076150a6d0a st_target=node6 st_device_action=reboot st_clientid=ee7647a3-9d46-4b4f-a603-d2cefdbfb9c1 src=node6 seq=1045 / 1294914169 2011 Jan 13 11:22:49 node7 daemon debug stonith-ng [16664]: debug: run_stonith_agent: forking 1294914169 2011 Jan 13 11:22:49 node7 daemon debug stonith-ng [16664]: debug: run_stonith_agent: sending args 1294914169 2011 Jan 13 11:22:49 node7 daemon debug stonith-ng [16664]: debug: run_stonith_agent: result = 1 1294914169 2011 Jan 13 11:22:49 node7 daemon notice stonith-ng [16664]: notice: can_fence_host_with_device: Disabling port list queries for restofencenode6 1294914169 2011 Jan 13 11:22:49 node7 daemon info stonith-ng [16664]: info: can_fence_host_with_device: restofencenode6 can not fence node6: dynamic-list 1294914169 2011 Jan 13 11:22:49 node7 daemon info stonith-ng [16664]: info: stonith_query: Found 0 matching devices for 'node6' 1294914169 2011 Jan 13 11:22:49 node7 daemon info stonith-ng [16664]: info: stonith_command: Processed st_query from node6: rc=0 with the following restofence configuration : primitive class=stonith id=restofencenode6 type=external/ipmi instance_attributes id=restofencenode6-instance_attributes nvpair id=restofencenode6-instance_attributes-hostname name=hostname value=node6/ nvpair id=restofencenode6-instance_attributes-ipaddr name=ipaddr value=13.13.0.6/ nvpair id=restofencenode6-instance_attributes-userid name=userid value=MyUserid/ nvpair id=restofencenode6-instance_attributes-passwd name=passwd value=MyPasswd/ nvpair id=restofencenode6-instance_attributes-interface name=interface value=lan/ nvpair id=restofencenode6-instance_attributes-fencecmd name=fencecmd value=reset/ /instance_attributes meta_attributes id=restofencenode6-meta_attributes nvpair id=restofencenode6-meta_attributes-target-role name=target-role value=Started/ /meta_attributes /primitive ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
[Linux-HA] Fencing : pb about dynamic-list
Hi, I have a pb of fencing not working due to dynamic-list, could someone tell me where is the configuration problem ? Thanks Alain 1294914169 2011 Jan 13 11:22:49 node7 daemon debug stonith-ng [16664]: debug: stonith_command: Processing st_query from node6 1294914169 2011 Jan 13 11:22:49 node7 daemon info stonith-ng [16664]: info: log_data_element: stonith_query: Query stonith_command t=stonith-ng st_async_id=16d9e2a4-8dba-4004-b087-1076150a6d0a st_op=st_query st_callid=0 st_callopt=0 st_remote_op=16d9e2a4-8dba-4004-b087-1076150a6d0a st_target=node6 st_device_action=reboot st_clientid=ee7647a3-9d46-4b4f-a603-d2cefdbfb9c1 src=node6 seq=1045 / 1294914169 2011 Jan 13 11:22:49 node7 daemon debug stonith-ng [16664]: debug: run_stonith_agent: forking 1294914169 2011 Jan 13 11:22:49 node7 daemon debug stonith-ng [16664]: debug: run_stonith_agent: sending args 1294914169 2011 Jan 13 11:22:49 node7 daemon debug stonith-ng [16664]: debug: run_stonith_agent: result = 1 1294914169 2011 Jan 13 11:22:49 node7 daemon notice stonith-ng [16664]: notice: can_fence_host_with_device: Disabling port list queries for restofencenode6 1294914169 2011 Jan 13 11:22:49 node7 daemon info stonith-ng [16664]: info: can_fence_host_with_device: restofencenode6 can not fence node6: dynamic-list 1294914169 2011 Jan 13 11:22:49 node7 daemon info stonith-ng [16664]: info: stonith_query: Found 0 matching devices for 'node6' 1294914169 2011 Jan 13 11:22:49 node7 daemon info stonith-ng [16664]: info: stonith_command: Processed st_query from node6: rc=0 with the following restofence configuration : primitive class=stonith id=restofencenode6 type=external/ipmi instance_attributes id=restofencenode6-instance_attributes nvpair id=restofencenode6-instance_attributes-hostname name=hostname value=node6/ nvpair id=restofencenode6-instance_attributes-ipaddr name=ipaddr value=13.13.0.6/ nvpair id=restofencenode6-instance_attributes-userid name=userid value=MyUserid/ nvpair id=restofencenode6-instance_attributes-passwd name=passwd value=MyPasswd/ nvpair id=restofencenode6-instance_attributes-interface name=interface value=lan/ nvpair id=restofencenode6-instance_attributes-fencecmd name=fencecmd value=reset/ /instance_attributes meta_attributes id=restofencenode6-meta_attributes nvpair id=restofencenode6-meta_attributes-target-role name=target-role value=Started/ /meta_attributes /primitive ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems