[ClusterLabs] Simulate Failure Behavior

Ken Gaillot kgaillot at redhat.com
Fri Feb 22 20:05:53 EST 2019


On Sat, 2019-02-23 at 00:28 +0000, Eric Robinson wrote:
> I want to mess around with different on-fail options and see how the
> cluster responds. I’m looking through the documentation, but I don’t
> see a way to simulate resource failure and observe behavior without
> actually failing over the mode. Isn’t there a way to have the cluster
> MODEL failure and simply report what it WOULD do?
>  
> --Eric

Yes, appropriately enough it is called crm_simulate :)

The documentation is not exactly great, but you see:

https://wiki.clusterlabs.org/wiki/Using_crm_simulate

along with the man page and:

http://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html-single/Pacemaker_Administration/index.html#s-config-testing-changes

-- 
Ken Gaillot <kgaillot at redhat.com>




More information about the Users mailing list