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

范国腾 fanguoteng at highgo.com
Thu Mar 15 08:22:45 UTC 2018


Thank you, Andrei and Ulrich. Yes, I use a fake stonith now. I will test the working stonith device and see if it happens again.

-----邮件原件-----
发件人: Users [mailto:users-bounces at clusterlabs.org] 代表 Andrei Borzenkov
发送时间: 2018年3月15日 16:06
收件人: Cluster Labs - All topics related to open-source clustering welcomed <users at clusterlabs.org>
抄送: 李晓飞 <lixiaofei at highgo.com>; 祁华鹏 <qihuapeng at highgo.com>
主题: Re: [ClusterLabs] The node and resource status is defferent when the node poweroff

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.
_______________________________________________
Users mailing list: Users at clusterlabs.org https://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


More information about the Users mailing list