Joe Talerico 4f662d08f4 Remove pbench from code
We have a solution that works better internally and externally. Pbench
had a set of challanges.

(akrzos) Moved pbench ansible install playbook into pbench folder
(akrzos) cleaned up other garbage
(akrzos) Fix merge conflict

Change-Id: Ie0a59d799846c3c9f5970c1a3b83ae50ebced0b8
2016-02-12 13:31:49 -05:00
..
2016-02-04 20:40:39 -05:00
2016-02-01 21:15:46 -05:00
2016-02-12 13:31:49 -05:00
2016-01-08 09:02:17 -05:00
2016-02-03 20:21:05 +01:00

Ansible for Browbeat

Currently we only support Ansible 1.9.4.

Playbooks for:

  • Install Browbeat
  • Install connmon
  • Install pbench
  • Install shaker
  • Check overcloud for performance issues
  • Adjust number of workers for nova/keystone
  • Deploy keystone in eventlet/httpd
  • Switch keystone token type to UUID/Fernet

To use

Install your public key into stack's authorized_keys

# ssh-copy-id stack@<undercloud-ip>

Then run gen_hosts.sh script to generate your overcloud's hosts file for ansible and generate a "jumpbox" ssh config:

# ./gen_hostfile.sh <undercloud-ip> ~/.ssh/config

**Review the hosts file the script generates.

Ansible Installers:

Install Browbeat

# ansible-playbook -i hosts install/browbeat.yml

Install Connmon

# ansible-playbook -i hosts install/connmon.yml

Install Pbench (Requires some knowledge of setting up pbench to have this functionality work completely)

# ansible-playbook -i hosts install/pbench.yml

Install Shaker

# ansible-playbook -i hosts install/shaker.yml

Install Collectd Agent Prior to installing the agent, please review the install/group_vars/all to ensure the correct params are passed

# ansible-playbook -i hosts install/collectd

Performance Checks:

Run the check playbook to identify common performance issues:

# ansible-playbook -i hosts check/site.yml

Adjust your overcloud:

To modify the number of workers each service is running:

# ansible-playbook -i hosts browbeat/adjustment.yml -e "workers=8"

Nova and Keystone will be running 8 workers per service.

To modify number of workers each service is running and ensure Keystone is deployed in eventlet:

# ansible-playbook -i hosts browbeat/adjustment.yml -e "workers=8 keystone_deployment=eventlet"

To run Keystone in httpd, change keystone_deployment to httpd:

# ansible-playbook -i hosts browbeat/adjustment.yml -e "workers=8 keystone_deployment=httpd"

To switch to fernet tokens:

# ansible-playbook -i hosts browbeat/keystone_token_type.yml -e "token_provider=fernet"

To switch to UUID tokens:

# ansible-playbook -i hosts browbeat/keystone_token_type.yml -e "token_provider=uuid"