OpenStack Epoxy : Configure Nova #3
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. |
| [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 | +-------------------------------+----------------+---------------+----------+---------+-------+----------------------------+ | 2ac6894c-fa22-4bd6-ab26- | nova-scheduler | dlp.srv.world | internal | enabled | up | 2025-08-27T00:58:37.000000 | | 3de55ae42f22 | | | | | | | | 326f387a-2680-4428-b86c- | nova-conductor | dlp.srv.world | internal | enabled | up | 2025-08-27T00:58:37.000000 | | 10bdbc82a668 | | | | | | | | c880b9ac-fa23-4e43-b7fe- | nova-compute | dlp.srv.world | nova | enabled | up | 2025-08-27T00:58:40.000000 | | bad167cf9b27 | | | | | | | +-------------------------------+----------------+---------------+----------+---------+-------+----------------------------+ |
Matched Content
No comments:
Post a Comment