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