OpenStack Newton : Configure Nova#32017/07/02 |
Install OpenStack Compute Service (Nova).
This example is based on the emvironment like follows.
If you'd like to install Nova Compute on another Computer, refer to here. eth0|10.0.0.30 +-----------+-----------+ | [ Control Node ] | | | | MariaDB RabbitMQ | | Memcached httpd | | Keystone Glance | | Nova API,Compute | +-----------------------+ |
[1] |
Install KVM HyperVisor on Compute Host, refer to here.
It's unnecessarry to set Bridge networking on the section [3] of the link. |
[2] | Install Nova Compute. For selection during the installation, select [No] to all or input any value (because create a new conf file later). |
root@dlp ~(keystone)# apt -y install nova-compute-kvm
|
[3] | In addition to basic settings of Nova, add following settings. |
root@dlp ~(keystone)#
vi /etc/nova/nova.conf # add follows
# enable VNC
[vnc]
enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 10.0.0.30
novncproxy_base_url = http://10.0.0.30:6080/vnc_auto.html
root@dlp ~(keystone)#
vi /etc/default/nova-consoleproxy # line 7: change NOVA_CONSOLE_PROXY_TYPE= novnc
|
[4] | Start Nova Compute. |
root@dlp ~(keystone)#
systemctl restart nova-compute root@dlp ~(keystone)# systemctl enable nova-compute
# show status root@dlp ~(keystone)# openstack compute service list +----+------------------+---------------+----------+---------+-------+----------------------------+ | ID | Binary | Host | Zone | Status | State | Updated At | +----+------------------+---------------+----------+---------+-------+----------------------------+ | 1 | nova-scheduler | dlp.srv.world | internal | enabled | up | 2017-07-03T02:11:38.000000 | | 3 | nova-conductor | dlp.srv.world | internal | enabled | up | 2017-07-03T02:11:39.000000 | | 9 | nova-consoleauth | dlp.srv.world | internal | enabled | up | 2017-07-03T02:11:40.000000 | | 10 | nova-cert | dlp.srv.world | internal | enabled | up | 2017-07-03T02:11:39.000000 | | 11 | nova-compute | dlp.srv.world | nova | enabled | up | 2017-07-03T02:11:41.000000 | +----+------------------+---------------+----------+---------+-------+----------------------------+ |
Sponsored Link |
|