browbeat/ansible
Joe Talerico e4f657a801 Adding README to checks
Change-Id: I63ec437055f543ef1c8e794c0f9ae85e0eecd18f
2015-12-21 09:58:13 -05:00
..
browbeat Fix Fernet in httpd selinux type enforcement. 2015-12-18 17:36:19 -05:00
check Adding README to checks 2015-12-21 09:58:13 -05:00
install Playbook to 'setup' overcloud with centos7 image. 2015-12-18 12:38:47 -05:00
ansible.cfg Updating Checks and output 2015-12-21 12:46:02 +01:00
gen_hostfile.sh Renamed Director -> Undercloud. 2015-12-15 02:26:53 +01:00
README.md Simplify connmon install, cleanup all resources after each unmanage/restart/manage cycle, install on keystone last, move pbench to own playbook. 2015-12-15 11:20:02 -05:00

Ansible for Browbeat

Playbooks to modify and performance check the overcloud

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.

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"

Performance Checks:

Run the check playbook to identify common performance issues:

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

Ansible Installers:

Install connmon/shaker

# ansible-playbook -i hosts install/install.yml -e "connmon=true"
# ansible-playbook -i hosts install/install.yml -e "shaker=true"
# ansible-playbook -i hosts install/install.yml -e "connmon=true shaker=true"

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

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