3.9 KiB
Install and configure compute node
The compute node handles connectivity and security groups for instances.
Install the components
# yum install openstack-neutron-openvswitch
Configure the common component
The Networking common component configuration includes the authentication mechanism, message queue, and plug-in.
Edit the
/etc/neutron/neutron.conf
file and complete the following actions:In the
[database]
section, comment out anyconnection
options because compute nodes do not directly access the database.In the
[DEFAULT]
section, configureRabbitMQ
message queue access:[DEFAULT] # ... transport_url = rabbit://openstack:RABBIT_PASS@controller
Replace
RABBIT_PASS
with the password you chose for theopenstack
account in RabbitMQ.In the
[DEFAULT]
and[keystone_authtoken]
sections, configure Identity service access:[DEFAULT] # ... auth_strategy = keystone [keystone_authtoken] # ... www_authenticate_uri = http://controller:5000 auth_url = http://controller:5000 memcached_servers = controller:11211 auth_type = password project_domain_name = Default user_domain_name = Default project_name = service username = neutron password = NEUTRON_PASS
Replace
NEUTRON_PASS
with the password you chose for theneutron
user in the Identity service.Note
Comment out or remove any other options in the
[keystone_authtoken]
section.
In the
[oslo_concurrency]
section, configure the lock path:[oslo_concurrency] # ... lock_path = /var/lib/neutron/tmp
Configure networking options
Choose the same networking option that you chose for the controller
node to configure services specific to it. Afterwards, return here and
proceed to neutron-compute-compute-rdo
.
compute-install-option1-rdo.rst compute-install-option2-rdo.rst
Configure the Compute service to use the Networking service
- Edit the
/etc/nova/nova.conf
file and complete the following actions:In the
[neutron]
section, configure access parameters:[neutron] # ... auth_url = http://controller:5000 auth_type = password project_domain_name = Default user_domain_name = Default region_name = RegionOne project_name = service username = neutron password = NEUTRON_PASS
Replace
NEUTRON_PASS
with the password you chose for theneutron
user in the Identity service.See the
compute service configuration guide <configuration/config.html#neutron>
for the full set of options including overriding the service catalog endpoint URL if necessary.
Finalize installation
Restart the Compute service:
# systemctl restart openstack-nova-compute.service
Start the Linux bridge agent and configure it to start when the system boots:
# systemctl enable neutron-openvswitch-agent.service # systemctl start neutron-openvswitch-agent.service