Skip to content

Automated performance testing

Kelly McLaughlin edited this page Jul 9, 2013 · 3 revisions

Overview

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.

Prerequisites

  1. Install ansible
  2. Clone the ansible-riakcs repo and checkout the klm-benchmarking-suites branch.
  3. Edit group_vars/all to specify hosts to be used for the RiakCS cluster as well as the haproxy server.

Setup

Run the following command to install and configure a RiakCS cluster fronted by haproxy.

ansible-playbook -v playbooks/setup/site.yml -i smartos-hosts

Testing

Cleanup

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
Clone this wiki locally