Výpočetní uzel obsluhuje připojení a bezpečnostní skupiny instancí.
# yum install openstack-neutron-linuxbridge ebtables ipset
Nastavení společných součástí sítě zahrnuje mechanismus ověření, frontu zpráv a zásuvný modul.
Poznámka
Default configuration files vary by distribution. You might need to add these sections and options rather than modifying existing sections and options. Also, an ellipsis (...) in the configuration snippets indicates potential default configuration options that you should retain.
Upravte soubor /etc/neutron/neutron.conf a proveďte následující úkony:
V části [database] okomentujte všechny volby connection protože uzly výpočty nevyužívají přímý přístup k databázi.
V částech [DEFAULT] a [oslo_messaging_rabbit] nastavte přístup ke frontě zpráv RabbitMQ:
[DEFAULT]
...
rpc_backend = rabbit
[oslo_messaging_rabbit]
...
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = RABBIT_PASS
Nahraďte RABBIT_PASS Vámi zvoleným heslem pro účet openstack v RabbitMQ.
V částech [DEFAULT] a [keystone_authtoken] nastavte přístup ke službě identit:
[DEFAULT]
...
auth_strategy = keystone
[keystone_authtoken]
...
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = neutron
password = NEUTRON_PASS
Nahraďte NEUTRON_PASS vámi zvoleným heslem pro uživatele neutron ve službě identit.
Poznámka
Okomentujte nebo odstraňte všechny ostatní možnosti v části [keystone_authtoken].
V části [oslo_concurrencyservice_credentials] nastavte cestu pro zámky:
[oslo_concurrency]
...
lock_path = /var/lib/neutron/tmp
Choose the same networking option that you chose for the controller node to configure services specific to it. Afterwards, return here and proceed to Nastavení výpočetní služby pro použití sítě.
Upravte soubor /etc/nova/nova.conf a proveďte následující úkony:
V části ``[neutron]``nastavte parametry přístupu:
[neutron]
...
url = http://controller:9696
auth_url = http://controller:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = NEUTRON_PASS
Nahraďte NEUTRON_PASS vámi zvoleným heslem pro uživatele neutron ve službě identit.
Restartujte výpočtovou službu:
# systemctl restart openstack-nova-compute.service
Spusťte Linux agenta přemostění a nastavte ho aby byl spuštěn při zavedení systému:
# systemctl enable neutron-linuxbridge-agent.service
# systemctl start neutron-linuxbridge-agent.service
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.