Home

Awesome

ansible-tsung

Ansible playbooks for Tsung deployment, install tsung from git official repo, compile on each host. Configure a sample scenarion with client cpu autoconfigure from instance type. Works on EC2 with Ubuntu image actually.

Create a user named tsung with a log directory ~/tsung/logs/ served on http by Yaws on port 8080 on controller.

Using

  1. launch your instances on EC2 or OpenStack

  2. tag one of them as controller with tsung_role=controller

  3. configure you cluster is as simple as run :

$ python ec2tool.py REGION

  1. create the ssh key

$ ssh-keygen -t dsa -f playbooks/roles/tsung/templates/id_dsa

  1. run ansible to set up the whole cluster

  2. ssh to the controller and enjoy

Playbooks

Dependencies

Python libraries listed in requirements.txt

Datas