Installing and configuring Neutron services
In this installation, the various services that make up OpenStack Networking will be installed on the controller node rather than a dedicated networking node. The compute nodes will run L2 agents that interface with the controller node and provide virtual switch connections to instances.
Tip
Remember that the configuration settings recommended here and online at docs.openstack.org may not be appropriate for production systems.
To install the Neutron API server, the DHCP and metadata agents, and the ML2 plugin on the controller, issue the following command:
# apt-get install neutron-server neutron-dhcp-agent \ neutron-metadata-agent neutron-plugin-ml2 neutron-common \ python-neutronclient
On the compute nodes, only the ML2 plugin is required:
# apt-get install neutron-plugin-ml2
Creating the Neutron database
Using the mysql
client, create the Neutron database and associated user. When prompted for the root password, use openstack
:
# mysql –u root...