This is the Meerkat benchmarking tool, which uses Ansible to spin up a series of VMs in Openstack, run a benchmark (or other software) on deployed VM and then destroys the VM when it is done.
Run the setup.sh script (currently only works on Ubuntu) to install the prerequisites
Meerkat will need access to openstack, so you will need to have a clouds.yaml file in ~/.config/openstack/clouds.yaml
To configure Meerkat fill in the variables in the variables.yaml file as described below:
keypair_name: The name of the ssh keypair in openstack to attach to the deployed VM. It must also be available for Meerkat to use on the local machine as well. This should be within quotation marksdeploy_volume: Whether to deploy a volume and attach to the VM (Default:false)volume_size: The size of the volume to deploy in GBdeploy_share: Whether to deploy a share and attach to the VM (Default:false)share_size: The size of the share to deploy in GBremote_user: The remote user for ansible to connect as on the deployed VMcommands: A list of commands to run on the deployed machine to setup/run the benchmark. eg:commands:
- git clone <url>
- ansible-playbook <path to playbook>flavor_image: A list of flavor name and image name combinations to deploy VMs of. In the form of:flavor_name:
- [<flavor_name>, <image_name>]
- [<flavor_name_2>, <image_name>]