gbench icon indicating copy to clipboard operation
gbench copied to clipboard

Create ansible playbook to run bt-0000-0001

Open ShyamsundarR opened this issue 7 years ago • 2 comments

Currently the bench test provided in bt-0000-0001 is expected to be run by hand. We need to convert this into an ansible playbook, for more generic use.

ShyamsundarR avatar Jul 11 '17 14:07 ShyamsundarR

Changes to the script that are needed for this to happen are as follows,

  • [ ] Environment variable CLIENT_LIST needs to be passed in as an argument
  • [ ] Environment variable SERVER_LIST needs to be passed in as an argument
  • [ ] Install IOZone using a play rather than using python code as is now (issue #25)
  • [ ] Install smallfile tools using a play rather than using python code as is now
  • [ ] Remove the dependency that the script is run from one of the clients, IOW use a jump host of sorts to run the test on the actual setup, not from the host running the ansible play
  • [ ] Transfer clients.ioz file to the junm host running the test
  • [ ] Determine how to show progress when this is running via ansible
  • [ ] Improve report to state KB/s or MB/s like qualifications for the numbers generated
  • [ ] more to follow...

ShyamsundarR avatar Jul 11 '17 14:07 ShyamsundarR

CLIENT_LIST could be play_hosts[:1] (all servers in the current run except the first) thus making SERVER_LIST to play_host[1]

my 2c

mulbc avatar Jul 11 '17 19:07 mulbc