satori-com / mzbench

MZ Benchmarking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature]: Possibility to stop cleaning nodes in finish of work.

loguntsov opened this issue · comments

It can be helpful for debug. I forced to change sources right now there: https://github.com/machinezone/mzbench/blob/master/server/src/mzb_api_bench.erl#L396
to disable this line.
Can we have some options in config for this case ?

Try setting variable deallocate_after_bench=false. If this option is set to false the system will not deallocate the instances in your cloud and won't do node cleaning as well. It is for debug purposes only. When you finished with the debugging nodes could be cleaned and deallocated using "mzbench [--host=] deallocate_cluster <cluster_id>" command. Cluster id could be obtained using command "mzbench [--host=] clusters_info". Feel free to reopen the issue if it doesn't work for you.