[ClusterLabs] The node and resource status is defferent when the node poweroff

Andrei Borzenkov arvidjaar at gmail.com
Thu Mar 15 04:05:43 EDT 2018


On Thu, Mar 15, 2018 at 10:42 AM, 范国腾 <fanguoteng at highgo.com> wrote:
> Hello,
>
> There are three nodes in our cluster (redhat7). When we run "reboot" in one node, the "pcs status" show the node status is offline and the resource status is Stopped. That is fine. But when we power off the node directly, the node status is " UNCLEAN (offline)" and the resource status is " Started(UNCLEAN) ".
>
> Why is the status different when one node shutdown in different way?  Could we have any way to make the resource status change from " Started node1 (UNCLEAN)" to "Stopped" when we poweroff the node computer?

You must have working stonith agent. Then when node unexpectedly goes
away other nodes will invoke stonith which confirms that UNCLEAN node
is down. After that pacemaker will change status to offline and will
proceed with restarting resources that were running on powered off
node.



More information about the Users mailing list