[ClusterLabs] Antw: [EXT] Stonith failing
hunter86_bg at yahoo.com
Wed Jul 29 00:39:08 EDT 2020
Do you have a reason not to use any stonith already available ?
На 28 юли 2020 г. 13:26:52 GMT+03:00, Gabriele Bulfon <gbulfon at sonicle.com> написа:
>Thanks, I attach here the script.
>It basically runs ssh on the other node with no password (must be
>preconfigured via authorization keys) with commands.
>This was taken from a script by OpenIndiana (I think).
>As it stated in the comments, we don't want to halt or boot via ssh,
>Maybe this is the problem, we should at least have it shutdown when
>Actually if I stop corosync in node 2, I don't want it to shutdown the
>system but just let node 1 keep control of all resources.
>Same if I just shutdown manually node 2,
>node 1 should keep control of all resources and release them back on
>Instead, when I stopped corosync on node 2, log was showing the
>temptative to stonith node 2: why?
>Quantum Mechanics :
>Cluster Labs - All topics related to open-source clustering welcomed
>28 luglio 2020 12.03.46 CEST
>Re: [ClusterLabs] Antw: [EXT] Stonith failing
>"No route to host" is a somewhat generic error message when we can't
>find anyone to fence the node. It doesn't mean there's necessarily a
>network routing issue at fault; no need to focus on that error message.
>I agree with Ulrich about needing to know what the script does. But
>based on your initial message, it sounds like your custom fence agent
>returns 1 in response to "on" and "off" actions. Am I understanding
>correctly? If so, why does it behave that way? Pacemaker is trying to
>run a poweroff action based on the logs, so it needs your script to
>support an off action.
>On Tue, Jul 28, 2020 at 2:47 AM Ulrich Windl
>Ulrich.Windl at rz.uni-regensburg.de
>gbulfon at sonicle.com
>schrieb am 28.07.2020 um 10:56 in
>Hi, now I have my two nodes (xstha1 and xstha2) with IPs configured by
>To check how stonith would work, I turned off Corosync service on
>First node try to attempt to stonith 2nd node and take care of its
>resources, but this fails.
>Stonith action is configured to run a custom script to run ssh
>I think you should explain what that script does exactly.
>Manage your subscription:
>Reid Wahl, RHCA
>Software Maintenance Engineer, Red Hat
>CEE - Platform Support Delivery - ClusterHA
More information about the Users