On Thu, Mar 15, 2018 at 10:42 AM, 范国腾 <fanguot...@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@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