Filip Pytloun | a87b471 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 1 | |
Aleš Komárek | 59ee0a8 | 2017-04-11 13:49:58 +0200 | [diff] [blame] | 2 | ================== |
| 3 | Ceilometer Formula |
| 4 | ================== |
Filip Pytloun | a87b471 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 5 | |
Jakub Pavlik | f1514c6 | 2016-05-20 11:04:39 +0200 | [diff] [blame] | 6 | The ceilometer project aims to deliver a unique point of contact for billing |
| 7 | systems to acquire all of the measurements they need to establish customer |
Nadya Shakhat | 3c3ed67 | 2017-05-02 13:58:17 +0400 | [diff] [blame^] | 8 | billing, across all current OpenStack components with work underway to |
Jakub Pavlik | f1514c6 | 2016-05-20 11:04:39 +0200 | [diff] [blame] | 9 | support future OpenStack components. |
Nadya Shakhat | 3c3ed67 | 2017-05-02 13:58:17 +0400 | [diff] [blame^] | 10 | This formula provides different backends for Ceilometer data: MongoDB, InfluxDB. Also, |
| 11 | Graphite and direct (to Elasticsearch) publishers are available. If InfluxDB is used |
| 12 | as a backend, heka is configured to consume messages from RabbitMQ and write in to |
| 13 | InfluxDB, i.e. ceilometer collector service is not used in this configuration. |
Filip Pytloun | a87b471 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 14 | |
Aleš Komárek | 59ee0a8 | 2017-04-11 13:49:58 +0200 | [diff] [blame] | 15 | Sample Pillars |
Filip Pytloun | a87b471 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 16 | ============== |
| 17 | |
| 18 | Ceilometer API/controller node |
| 19 | |
| 20 | .. code-block:: yaml |
| 21 | |
| 22 | ceilometer: |
| 23 | server: |
| 24 | enabled: true |
Nadya Shakhat | 3c3ed67 | 2017-05-02 13:58:17 +0400 | [diff] [blame^] | 25 | version: mitaka |
Filip Pytloun | a87b471 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 26 | cluster: true |
| 27 | secret: pwd |
| 28 | bind: |
| 29 | host: 127.0.0.1 |
| 30 | port: 8777 |
| 31 | identity: |
| 32 | engine: keystone |
| 33 | host: 127.0.0.1 |
| 34 | port: 35357 |
| 35 | tenant: service |
| 36 | user: ceilometer |
| 37 | password: pwd |
| 38 | message_queue: |
| 39 | engine: rabbitmq |
| 40 | host: 127.0.0.1 |
| 41 | port: 5672 |
| 42 | user: openstack |
| 43 | password: pwd |
| 44 | virtual_host: '/openstack' |
Nadya Shakhat | 3c3ed67 | 2017-05-02 13:58:17 +0400 | [diff] [blame^] | 45 | |
| 46 | Databases configuration |
| 47 | |
| 48 | MongoDB example: |
| 49 | |
| 50 | .. code-block:: yaml |
| 51 | |
| 52 | ceilometer: |
| 53 | server: |
Filip Pytloun | a87b471 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 54 | database: |
| 55 | engine: mongodb |
Nadya Shakhat | 3c3ed67 | 2017-05-02 13:58:17 +0400 | [diff] [blame^] | 56 | members: |
| 57 | - host: 10.0.106.10 |
| 58 | port: 27017 |
| 59 | - host: 10.0.106.20 |
| 60 | port: 27017 |
| 61 | - host: 10.0.106.30 |
| 62 | port: 27017 |
Filip Pytloun | a87b471 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 63 | name: ceilometer |
| 64 | user: ceilometer |
Nadya Shakhat | 3c3ed67 | 2017-05-02 13:58:17 +0400 | [diff] [blame^] | 65 | password: password |
| 66 | |
| 67 | InfluxDB/Elasticsearch example: |
| 68 | |
| 69 | .. code-block:: yaml |
| 70 | |
| 71 | ceilometer: |
| 72 | server: |
| 73 | database: |
| 74 | influxdb: |
| 75 | host: 10.0.106.10 |
| 76 | port: 8086 |
| 77 | user: ceilometer |
| 78 | password: password |
| 79 | database: ceilometer |
| 80 | elasticsearch: |
| 81 | enabled: true |
| 82 | host: 10.0.106.10 |
| 83 | port: 9200 |
Filip Pytloun | a87b471 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 84 | |
smolaon | d0d14d2 | 2016-05-31 10:30:15 +0200 | [diff] [blame] | 85 | Client-side RabbitMQ HA setup |
| 86 | |
| 87 | .. code-block:: yaml |
| 88 | |
| 89 | ceilometer: |
| 90 | server: |
| 91 | .... |
| 92 | message_queue: |
| 93 | engine: rabbitmq |
| 94 | members: |
Nadya Shakhat | 3c3ed67 | 2017-05-02 13:58:17 +0400 | [diff] [blame^] | 95 | - host: 10.0.106.10 |
| 96 | - host: 10.0.106.20 |
| 97 | - host: 10.0.106.30 |
smolaon | d0d14d2 | 2016-05-31 10:30:15 +0200 | [diff] [blame] | 98 | user: openstack |
| 99 | password: pwd |
| 100 | virtual_host: '/openstack' |
| 101 | .... |
| 102 | |
| 103 | |
Filip Pytloun | a87b471 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 104 | Ceilometer Graphite publisher |
| 105 | |
| 106 | .. code-block:: yaml |
| 107 | |
| 108 | ceilometer: |
| 109 | server: |
| 110 | enabled: true |
| 111 | publisher: |
| 112 | graphite: |
| 113 | enabled: true |
| 114 | host: 10.0.0.1 |
| 115 | port: 2003 |
| 116 | |
| 117 | Ceilometer compute agent |
| 118 | |
| 119 | .. code-block:: yaml |
| 120 | |
| 121 | ceilometer: |
| 122 | agent: |
| 123 | enabled: true |
Nadya Shakhat | 3c3ed67 | 2017-05-02 13:58:17 +0400 | [diff] [blame^] | 124 | version: mitaka |
Filip Pytloun | a87b471 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 125 | secret: pwd |
| 126 | identity: |
| 127 | engine: keystone |
| 128 | host: 127.0.0.1 |
| 129 | port: 35357 |
| 130 | tenant: service |
| 131 | user: ceilometer |
| 132 | password: pwd |
| 133 | message_queue: |
| 134 | engine: rabbitmq |
| 135 | host: 127.0.0.1 |
| 136 | port: 5672 |
| 137 | user: openstack |
| 138 | password: pwd |
| 139 | virtual_host: '/openstack' |
| 140 | rabbit_ha_queues: true |
| 141 | |
Aleš Komárek | 59ee0a8 | 2017-04-11 13:49:58 +0200 | [diff] [blame] | 142 | More Information |
| 143 | ================ |
Filip Pytloun | a87b471 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 144 | |
| 145 | * https://wiki.openstack.org/wiki/Ceilometer |
| 146 | * http://docs.openstack.org/developer/ceilometer/install/manual.html |
| 147 | * http://docs.openstack.org/developer/ceilometer/ |
| 148 | * https://fedoraproject.org/wiki/QA:Testcase_OpenStack_ceilometer_install |
| 149 | * https://github.com/spilgames/ceilometer_graphite_publisher |
| 150 | * http://engineering.spilgames.com/using-ceilometer-graphite/ |
| 151 | |
Filip Pytloun | 23f63e1 | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 152 | |
| 153 | Documentation and Bugs |
| 154 | ====================== |
| 155 | |
| 156 | To learn how to install and update salt-formulas, consult the documentation |
| 157 | available online at: |
| 158 | |
| 159 | http://salt-formulas.readthedocs.io/ |
| 160 | |
| 161 | In the unfortunate event that bugs are discovered, they should be reported to |
| 162 | the appropriate issue tracker. Use Github issue tracker for specific salt |
| 163 | formula: |
| 164 | |
| 165 | https://github.com/salt-formulas/salt-formula-ceilometer/issues |
| 166 | |
| 167 | For feature requests, bug reports or blueprints affecting entire ecosystem, |
| 168 | use Launchpad salt-formulas project: |
| 169 | |
| 170 | https://launchpad.net/salt-formulas |
| 171 | |
| 172 | You can also join salt-formulas-users team and subscribe to mailing list: |
| 173 | |
| 174 | https://launchpad.net/~salt-formulas-users |
| 175 | |
| 176 | Developers wishing to work on the salt-formulas projects should always base |
| 177 | their work on master branch and submit pull request against specific formula. |
| 178 | |
| 179 | https://github.com/salt-formulas/salt-formula-ceilometer |
| 180 | |
| 181 | Any questions or feedback is always welcome so feel free to join our IRC |
| 182 | channel: |
| 183 | |
| 184 | #salt-formulas @ irc.freenode.net |