-
Notifications
You must be signed in to change notification settings - Fork 95
Automated performance testing
Kelly McLaughlin edited this page Jul 9, 2013
·
3 revisions
This page explains how to get started using ansible to setup a RiakCS cluster and automated performance testing.
The goal is to have a suite of performance tests that can be run on any set of hardware or VMs with mimimal effort and time. Currently, the only supported operating system variants are Ubuntu 12.04 and Centos 6.
- Install ansible
- Clone the ansible-riakcs
repo and checkout the
klm-benchmarking-suites
branch. - Edit
group_vars/all
to specify hosts to be used for the RiakCS cluster as well as the haproxy server.
Run the following command to install and configure a RiakCS cluster fronted by haproxy.
ansible-playbook -v playbooks/setup/site.yml -i smartos-hosts
Run the following command to purge the Riak, RiakCS, and Stanchion packages from the hosts. This also removes all data.
Warning There is a
bug in node_package
that causes package purging to fail on Ubuntu. Planning to make some
modifications so that the purge_riakcs
playbook will function as
best it can despite the bug.
ansible-playbook -v playbooks/setup/purge_riakcs.yml -i smartos-hosts