Filip Pytloun | 4a72d79 | 2015-10-06 16:28:32 +0200 | [diff] [blame^] | 1 | |
| 2 | ============== |
| 3 | OpenStack Nova |
| 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 |
| 23 | bind: |
| 24 | public_address: 10.0.0.122 |
| 25 | public_name: openstack.domain.com |
| 26 | novncproxy_port: 6080 |
| 27 | database: |
| 28 | engine: mysql |
| 29 | host: 127.0.0.1 |
| 30 | port: 3306 |
| 31 | name: nova |
| 32 | user: nova |
| 33 | password: pwd |
| 34 | identity: |
| 35 | engine: keystone |
| 36 | host: 127.0.0.1 |
| 37 | port: 35357 |
| 38 | user: nova |
| 39 | password: pwd |
| 40 | tenant: service |
| 41 | message_queue: |
| 42 | engine: rabbitmq |
| 43 | host: 127.0.0.1 |
| 44 | port: 5672 |
| 45 | user: openstack |
| 46 | password: pwd |
| 47 | virtual_host: '/openstack' |
| 48 | network: |
| 49 | engine: neutron |
| 50 | host: 127.0.0.1 |
| 51 | port: 9696 |
| 52 | identity: |
| 53 | engine: keystone |
| 54 | host: 127.0.0.1 |
| 55 | port: 35357 |
| 56 | user: neutron |
| 57 | password: pwd |
| 58 | tenant: service |
| 59 | metadata: |
| 60 | password: password |
| 61 | |
| 62 | Nova services from custom package repository |
| 63 | |
| 64 | .. code-block:: yaml |
| 65 | |
| 66 | nova: |
| 67 | controller: |
| 68 | version: juno |
| 69 | source: |
| 70 | engine: pkg |
| 71 | address: http://... |
| 72 | .... |
| 73 | |
| 74 | Compute nodes |
| 75 | ------------- |
| 76 | |
| 77 | Nova controller services on compute node |
| 78 | |
| 79 | .. code-block:: yaml |
| 80 | |
| 81 | nova: |
| 82 | compute: |
| 83 | version: juno |
| 84 | enabled: true |
| 85 | virtualization: kvm |
| 86 | security_group: true |
| 87 | bind: |
| 88 | vnc_address: 172.20.0.100 |
| 89 | vnc_port: 6080 |
| 90 | vnc_name: openstack.domain.com |
| 91 | vnc_protocol: http |
| 92 | database: |
| 93 | engine: mysql |
| 94 | host: 127.0.0.1 |
| 95 | port: 3306 |
| 96 | name: nova |
| 97 | user: nova |
| 98 | password: pwd |
| 99 | identity: |
| 100 | engine: keystone |
| 101 | host: 127.0.0.1 |
| 102 | port: 35357 |
| 103 | user: nova |
| 104 | password: pwd |
| 105 | tenant: service |
| 106 | message_queue: |
| 107 | engine: rabbitmq |
| 108 | host: 127.0.0.1 |
| 109 | port: 5672 |
| 110 | user: openstack |
| 111 | password: pwd |
| 112 | virtual_host: '/openstack' |
| 113 | image: |
| 114 | engine: glance |
| 115 | host: 127.0.0.1 |
| 116 | port: 9292 |
| 117 | network: |
| 118 | engine: neutron |
| 119 | host: 127.0.0.1 |
| 120 | port: 9696 |
| 121 | identity: |
| 122 | engine: keystone |
| 123 | host: 127.0.0.1 |
| 124 | port: 35357 |
| 125 | user: neutron |
| 126 | password: pwd |
| 127 | tenant: service |
| 128 | qemu: |
| 129 | max_files: 4096 |
| 130 | max_processes: 4096 |
| 131 | |
| 132 | Nova services on compute node with OpenContrail |
| 133 | |
| 134 | .. code-block:: yaml |
| 135 | |
| 136 | nova: |
| 137 | compute: |
| 138 | enabled: true |
| 139 | ... |
| 140 | networking: contrail |
| 141 | |
| 142 | Nova services on compute node with memcached caching |
| 143 | |
| 144 | .. code-block:: yaml |
| 145 | |
| 146 | nova: |
| 147 | compute: |
| 148 | enabled: true |
| 149 | ... |
| 150 | cache: |
| 151 | engine: memcached |
| 152 | members: |
| 153 | - host: 127.0.0.1 |
| 154 | port: 11211 |
| 155 | - host: 127.0.0.1 |
| 156 | port: 11211 |
| 157 | |
| 158 | Read more |
| 159 | ========= |
| 160 | |
| 161 | * http://docs.openstack.org/developer/nova/ |
| 162 | * http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev |
| 163 | * http://bugs.launchpad.net/nova |