OpenStack Dalmatian : Configure Nova #32024/10/04 |
Install OpenStack Compute Service (Nova).
This example is based on the environment like follows. eth0|10.0.0.30 +-----------+-----------+ | [ dlp.srv.world ] | | (Control Node) | | | | MariaDB RabbitMQ | | Memcached Nginx | | Keystone httpd | | Glance Nova API | | Nova Compute | +-----------------------+ |
[1] |
Install KVM HyperVisor on Compute Host, refer to here.
It does not need to set Bridge networking on the section [2] of the link. |
[2] | Install Nova Compute. |
root@dlp ~(keystone)# apt -y install nova-compute nova-compute-kvm
|
[3] | In addition to basic settings of Nova, add following settings. |
root@dlp ~(keystone)#
vi /etc/nova/nova.conf # add into the [vnc] section # IP address compute instances listen [vnc] enabled = True server_listen = 10.0.0.30 server_proxyclient_address = 10.0.0.30 novncproxy_host = 127.0.0.1 novncproxy_port = 6080 novncproxy_base_url = https://dlp.srv.world:6080/vnc_auto.html |
[4] | Start Nova Compute service. |
root@dlp ~(keystone)#
systemctl restart nova-compute # discover Compute Node root@dlp ~(keystone)# su -s /bin/bash nova -c "nova-manage cell_v2 discover_hosts"
# show status root@dlp ~(keystone)# openstack compute service list +-----------+-----------+-----------+----------+---------+-------+-------------+ | ID | Binary | Host | Zone | Status | State | Updated At | +-----------+-----------+-----------+----------+---------+-------+-------------+ | a09abbba- | nova- | dlp.srv.w | internal | enabled | up | 2024-10- | | 18a6- | conductor | orld | | | | 04T01:38:04 | | 4ec1- | | | | | | .000000 | | 814b- | | | | | | | | dd60f9588 | | | | | | | | dad | | | | | | | | e1b7fc76- | nova- | dlp.srv.w | internal | enabled | up | 2024-10- | | 40cf- | scheduler | orld | | | | 04T01:38:03 | | 409c- | | | | | | .000000 | | 85c7- | | | | | | | | c6044afc0 | | | | | | | | b87 | | | | | | | | 9d971f0c- | nova- | dlp.srv.w | nova | enabled | up | 2024-10- | | 89bb- | compute | orld | | | | 04T01:37:50 | | 4d73- | | | | | | .000000 | | ab09- | | | | | | | | fafe77a95 | | | | | | | | aa4 | | | | | | | +-----------+-----------+-----------+----------+---------+-------+-------------+ |
Sponsored Link |