satori-com / mzbench

MZ Benchmarking
BSD 3-Clause "New" or "Revised" License
271 stars 78 forks source link

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

Closed loguntsov closed 6 years ago

loguntsov commented 7 years ago

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 ?

timofey-barmin commented 6 years ago

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 " 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.