Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | |
| 2 | ============== |
Ales Komarek | 880f02f | 2016-01-25 13:19:23 +0100 | [diff] [blame] | 3 | Nova |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 4 | ============== |
| 5 | |
| 6 | OpenStack Nova provides a cloud computing fabric controller, supporting a wide variety of virtualization technologies, including KVM, Xen, LXC, VMware, and more. In addition to its native API, it includes compatibility with the commonly encountered Amazon EC2 and S3 APIs. |
| 7 | |
| 8 | Sample pillars |
| 9 | ============== |
| 10 | |
| 11 | Controller nodes |
| 12 | ---------------- |
| 13 | |
| 14 | Nova services on the controller node |
| 15 | |
| 16 | .. code-block:: yaml |
| 17 | |
| 18 | nova: |
| 19 | controller: |
| 20 | version: juno |
| 21 | enabled: true |
| 22 | security_group: true |
Lachlan Evenson | b72de50 | 2016-01-20 15:34:04 -0800 | [diff] [blame] | 23 | cpu_allocation_ratio: 8.0 |
| 24 | ram_allocation_ratio: 1.0 |
Jiri Konecny | 9344a37 | 2016-03-21 19:25:48 +0100 | [diff] [blame] | 25 | disk_allocation_ratio: 1.0 |
Jiri Konecny | b5a80e4 | 2016-03-22 11:51:01 +0100 | [diff] [blame] | 26 | workers: 8 |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 27 | bind: |
| 28 | public_address: 10.0.0.122 |
| 29 | public_name: openstack.domain.com |
| 30 | novncproxy_port: 6080 |
| 31 | database: |
| 32 | engine: mysql |
| 33 | host: 127.0.0.1 |
| 34 | port: 3306 |
| 35 | name: nova |
| 36 | user: nova |
| 37 | password: pwd |
| 38 | identity: |
| 39 | engine: keystone |
| 40 | host: 127.0.0.1 |
| 41 | port: 35357 |
| 42 | user: nova |
| 43 | password: pwd |
| 44 | tenant: service |
| 45 | message_queue: |
| 46 | engine: rabbitmq |
| 47 | host: 127.0.0.1 |
| 48 | port: 5672 |
| 49 | user: openstack |
| 50 | password: pwd |
| 51 | virtual_host: '/openstack' |
| 52 | network: |
| 53 | engine: neutron |
| 54 | host: 127.0.0.1 |
| 55 | port: 9696 |
| 56 | identity: |
| 57 | engine: keystone |
| 58 | host: 127.0.0.1 |
| 59 | port: 35357 |
| 60 | user: neutron |
| 61 | password: pwd |
| 62 | tenant: service |
| 63 | metadata: |
| 64 | password: password |
| 65 | |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 66 | |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 67 | Nova services from custom package repository |
| 68 | |
| 69 | .. code-block:: yaml |
| 70 | |
| 71 | nova: |
| 72 | controller: |
| 73 | version: juno |
| 74 | source: |
| 75 | engine: pkg |
| 76 | address: http://... |
| 77 | .... |
| 78 | |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 79 | |
| 80 | Client-side RabbitMQ HA setup |
| 81 | |
| 82 | .. code-block:: yaml |
| 83 | |
| 84 | nova: |
| 85 | controller: |
| 86 | .... |
| 87 | message_queue: |
| 88 | engine: rabbitmq |
| 89 | members: |
| 90 | - host: 10.0.16.1 |
| 91 | - host: 10.0.16.2 |
| 92 | - host: 10.0.16.3 |
| 93 | user: openstack |
| 94 | password: pwd |
| 95 | virtual_host: '/openstack' |
| 96 | .... |
| 97 | |
| 98 | |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 99 | Compute nodes |
| 100 | ------------- |
| 101 | |
| 102 | Nova controller services on compute node |
| 103 | |
| 104 | .. code-block:: yaml |
| 105 | |
| 106 | nova: |
| 107 | compute: |
| 108 | version: juno |
| 109 | enabled: true |
| 110 | virtualization: kvm |
| 111 | security_group: true |
| 112 | bind: |
| 113 | vnc_address: 172.20.0.100 |
| 114 | vnc_port: 6080 |
| 115 | vnc_name: openstack.domain.com |
| 116 | vnc_protocol: http |
| 117 | database: |
| 118 | engine: mysql |
| 119 | host: 127.0.0.1 |
| 120 | port: 3306 |
| 121 | name: nova |
| 122 | user: nova |
| 123 | password: pwd |
| 124 | identity: |
| 125 | engine: keystone |
| 126 | host: 127.0.0.1 |
| 127 | port: 35357 |
| 128 | user: nova |
| 129 | password: pwd |
| 130 | tenant: service |
| 131 | message_queue: |
| 132 | engine: rabbitmq |
| 133 | host: 127.0.0.1 |
| 134 | port: 5672 |
| 135 | user: openstack |
| 136 | password: pwd |
| 137 | virtual_host: '/openstack' |
| 138 | image: |
| 139 | engine: glance |
| 140 | host: 127.0.0.1 |
| 141 | port: 9292 |
| 142 | network: |
| 143 | engine: neutron |
| 144 | host: 127.0.0.1 |
| 145 | port: 9696 |
| 146 | identity: |
| 147 | engine: keystone |
| 148 | host: 127.0.0.1 |
| 149 | port: 35357 |
| 150 | user: neutron |
| 151 | password: pwd |
| 152 | tenant: service |
| 153 | qemu: |
| 154 | max_files: 4096 |
| 155 | max_processes: 4096 |
| 156 | |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 157 | |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 158 | Nova services on compute node with OpenContrail |
| 159 | |
| 160 | .. code-block:: yaml |
| 161 | |
| 162 | nova: |
| 163 | compute: |
| 164 | enabled: true |
| 165 | ... |
| 166 | networking: contrail |
| 167 | |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 168 | |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 169 | Nova services on compute node with memcached caching |
| 170 | |
| 171 | .. code-block:: yaml |
| 172 | |
| 173 | nova: |
| 174 | compute: |
| 175 | enabled: true |
| 176 | ... |
| 177 | cache: |
| 178 | engine: memcached |
| 179 | members: |
| 180 | - host: 127.0.0.1 |
| 181 | port: 11211 |
| 182 | - host: 127.0.0.1 |
| 183 | port: 11211 |
| 184 | |
Jiri Konecny | e31f2c5 | 2016-04-14 17:16:02 +0200 | [diff] [blame] | 185 | |
| 186 | Client-side RabbitMQ HA setup |
| 187 | |
| 188 | .. code-block:: yaml |
| 189 | |
| 190 | nova: |
| 191 | controller: |
| 192 | .... |
| 193 | message_queue: |
| 194 | engine: rabbitmq |
| 195 | members: |
| 196 | - host: 10.0.16.1 |
| 197 | - host: 10.0.16.2 |
| 198 | - host: 10.0.16.3 |
| 199 | user: openstack |
| 200 | password: pwd |
| 201 | virtual_host: '/openstack' |
| 202 | .... |
| 203 | |
| 204 | |
| 205 | |
Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 206 | Read more |
| 207 | ========= |
| 208 | |
| 209 | * http://docs.openstack.org/developer/nova/ |
| 210 | * http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev |
| 211 | * http://bugs.launchpad.net/nova |