A utility for checking, testing and benchmarking a cluster.
git clone https://github.com/alces-software/benchware /opt/benchware
gem install cli-ui --version='1.1.1'
gem install erubis
cd /opt/benchware && ./benchware.rb --all --nodes "$(nodeattr -s mygendersgroup)"
cd /opt/benchware && ./benchware.rb -a -n "$(nodeattr -s mygendersgroup)"
cd /opt/benchware && ./benchware.rb --profile inv --nodes "node001 node002 thisnode01"
cd /opt/benchware && ./benchware.rb -p inv -n "node001 node002 thisnode01"
The output format refers to how the file written by benchware will format the data. Without the -q
option benchware will do a page-based yaml output which can be scrolled through.
Data will be output in yamdown by default, a hybrid of yaml and markdown for use with Flight Center web services. Data can also be output in plain yaml.
module_name: name_of_module
dependencies: "package_name another_package"
repeat_list: "command to return newline separated list of items to run the commands on"
commands:
command_name: "way of running test"
scripts:
script_name: "path/to/script"
dependencies
will be installed with yum prior to any of the commands or scripts within it runningrepeat_list
variable (repeat_list
is optional) put all caps ENTRY
in the command for it to be substituted at execution. For scripts ENTRY will be the first argument given to the script upon execution.