README.md 976 Bytes
Newer Older
Flávio Ramalho's avatar
Flávio Ramalho committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
monasca-ansible
===============

Ansible playbook for Monasca!

## What does it do?

Install and configure the following services:

* monasca-api
* monasca-persister
* monasca-notification
* monasca-thresh
* monasca-agent
* monitoring dashboard for monasca

Flávio Ramalho's avatar
Flávio Ramalho committed
17
## Deploying DevStack (Kyestone/Horizon) + Monasca:
Flávio Ramalho's avatar
Flávio Ramalho committed
18

19
20
**Minimal instance configuration**

Flávio Ramalho's avatar
Flávio Ramalho committed
21
22
23
24
* 4 VCPU
* 8 GB memory
* 60GB storage
* Ubuntu 16.04
25

Flávio Ramalho's avatar
Flávio Ramalho committed
26
27
28
29
30
31
32
33
**Ports on security group:**

- 22 (SSH)
- 80 (HTTP)
- 3000 (grafana)
- 5000 (keystone)
- 8070 (monasca-api)
- 35357 (keystone-admin)
Flávio Ramalho's avatar
Flávio Ramalho committed
34

Flávio Ramalho's avatar
Flávio Ramalho committed
35
**On deployment machine:**
Flávio Ramalho's avatar
Flávio Ramalho committed
36

Flávio Ramalho's avatar
Flávio Ramalho committed
37
38
39
```bash
git clone https://git.lsd.ufcg.edu.br/monag/monasca-ansible.git
cd monasca-ansible
Flávio Ramalho's avatar
Flávio Ramalho committed
40
sudo scripts/bootstrap-ansible.sh # Install ansible
Flávio Ramalho's avatar
Flávio Ramalho committed
41
# Add devstack and monasca IP address to the inventory file
Flávio Ramalho's avatar
Flávio Ramalho committed
42
ansible-playbook setup-devstack.yml
Flávio Ramalho's avatar
Flávio Ramalho committed
43
ansible-playbook setup-everything.yml
Flávio Ramalho's avatar
Flávio Ramalho committed
44
```
Flávio Ramalho's avatar
Flávio Ramalho committed
45
46
47
48
49
50

## Customizing

Check ``group_vars/all.yml`` for variables that
can be overriden, such as the monasca branch and
user credentials.