##6.1 Neutron The control node

openstack pike install Catalog summary  http://www.cnblogs.com/elvi/p/7613861.html

##6.1 Neutron The control node 
#6.1.Neutron.controller.sh # The network configuration mode of this example is : The public network
# Official reference https://docs.openstack.org/neutron/pike/install/controller-install-rdo.html # establish Neutron database 、 User authentication , Previously set source ./admin-openstack.sh
# establish Neutron Service entity ,API Endpoint
openstack service create --name neutron --description "OpenStack Networking" network
openstack endpoint create --region RegionOne network public http://controller:9696
openstack endpoint create --region RegionOne network internal http://controller:9696
openstack endpoint create --region RegionOne network admin http://controller:9696 # install
yum install -y openstack-neutron openstack-neutron-ml2 \
openstack-neutron-linuxbridge python-neutronclient ebtables ipset #Neutron Backup configuration
cp /etc/neutron/neutron.conf{,.bak2}
cp /etc/neutron/plugins/ml2/ml2_conf.ini{,.bak}
ln -s /etc/neutron/plugins/ml2/ml2_conf.ini /etc/neutron/plugin.ini
cp /etc/neutron/plugins/ml2/linuxbridge_agent.ini{,.bak}
cp /etc/neutron/dhcp_agent.ini{,.bak}
cp /etc/neutron/metadata_agent.ini{,.bak}
cp /etc/neutron/l3_agent.ini{,.bak} # To configure
echo '
[DEFAULT]
nova_metadata_ip = controller
metadata_proxy_shared_secret = metadata
#'>/etc/neutron/metadata_agent.ini
#
echo '
#
[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
service_metadata_proxy = true
metadata_proxy_shared_secret = metadata
#'>>/etc/nova/nova.conf
#
echo '#
[ml2]
tenant_network_types =
type_drivers = vlan,flat
mechanism_drivers = linuxbridge
extension_drivers = port_security
[ml2_type_flat]
flat_networks = provider
[securitygroup]
enable_ipset = True
#vlan
# [ml2_type_valn]
# network_vlan_ranges = provider::
#'>/etc/neutron/plugins/ml2/ml2_conf.ini
# bond0 Is the name of the network card
echo '#
[linux_bridge]
physical_interface_mappings = provider:bond0
[vxlan]
enable_vxlan = false
#local_ip = 10.2.1.20
#l2_population = true
[agent]
prevent_arp_spoofing = True
[securitygroup]
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
enable_security_group = True
#'>/etc/neutron/plugins/ml2/linuxbridge_agent.ini
#
echo '#
[DEFAULT]
interface_driver = linuxbridge
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
enable_isolated_metadata = true
#'>/etc/neutron/dhcp_agent.ini
#
echo '
[DEFAULT]
core_plugin = ml2
service_plugins = router
allow_overlapping_ips = true
transport_url = rabbit://openstack:[email protected]
auth_strategy = keystone
notify_nova_on_port_status_changes = true
notify_nova_on_port_data_changes = true [keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = neutron
password = neutron [nova]
auth_url = http://controller:35357
auth_type = password
project_domain_id = default
user_domain_id = default
region_name = RegionOne
project_name = service
username = nova
password = nova [database]
connection = mysql://neutron:[email protected]:3306/neutron [oslo_concurrency]
lock_path = /var/lib/neutron/tmp
#'>/etc/neutron/neutron.conf
#
echo '
[DEFAULT]
interface_driver = linuxbridge
#'>/etc/neutron/l3_agent.ini # Synchronize database
su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head" neutron
# Test data
mysql -h controller -u neutron -pneutron -e "use neutron;show tables;" # Restart related services
systemctl restart openstack-nova-api.service # start-up neutron
systemctl enable neutron-server.service \
neutron-linuxbridge-agent.service neutron-dhcp-agent.service \
neutron-metadata-agent.service
systemctl start neutron-server.service \
neutron-linuxbridge-agent.service neutron-dhcp-agent.service \
neutron-metadata-agent.service
echo " Check out the Internet , Normally : The control node 3 individual ID, Computing node 1 individual ID"
openstack network agent list
#

##6.1 Neutron The control node -- openstack pike More articles about

  1. ##5.1 Nova The control node -- openstack pike

    ##5.1 Nova The control node openstack pike install Catalog summary  http://www.cnblogs.com/elvi/p/7613861.html ##5.1 Nova The control node # co ...

  2. ##6.2 Neutron Computing node -- openstack pike

    ##6.2 Neutron Computing node openstack pike install Catalog summary  http://www.cnblogs.com/elvi/p/7613861.html ##6.2 Neutron Calculation section ...

  3. ##5.2 Nova Computing node -- openstack pike

    ##5.2 Nova Computing node openstack pike install Catalog summary  http://www.cnblogs.com/elvi/p/7613861.html ##5.2 Nova Computing node # co ...

  4. openstack Deployment notes --neutron The control node

    The control node To configure neutron Users and services $ . admin-openrc $ openstack user create --domain default --password-prompt neut ...

  5. cinder Block storage control node

    #cinder Block storage control node openstack pike install Catalog summary http://www.cnblogs.com/elvi/p/7613861.html #cinder Block storage control node # Under control ...

  6. Openstack Network services Neutron Introduce and control node deployment ( Nine )

    Neutron Introduce neutron yes openstack One of the important components , In the past, it was time not to neutron project . In the early days there was no neutron, The early use of the network nova-network, It's only after a version change that there's one ...

  7. Openstack Network services Neutron Compute node deployment ( Ten )

    Neutron Compute node deployment Installation of components , The installed server is 192.168.137.12 1. Install package yum install -y openstack-neutron-linuxbridge ebtabl ...

  8. Openstack Network services Neutron Compute node deployment ( 11、 ... and )

    One ) Neutron Compute node deployment 1. Install package # yum install -y openstack-neutron-linuxbridge ebtables ipset 2. The configuration file neutron ...

  9. openstack pike Cluster high availability install Deploy Catalog summary

    # openstack pike Cluster high availability Installation and deployment # Installation environment centos 7 The most detailed in history openstack pike edition Welcome to share your experience , Welcome to share notes and leave a message , Or add QQ Group 663105353 ...

Random recommendation

  1. [Python] Python Some special functions in

    1. Filter function filter Definition :filter The function is equivalent to a filter . Call a Boolean function bool_func To iterate through the elements in each list : Return to a bool_func The return value is true Sequence of elements of . a=[ ...

  2. Java for LeetCode 075 Sort Colors

    Given an array with n objects colored red, white or blue, sort them so that objects of the same colo ...

  3. OO The beauty of the

    ㈠ The propriety of design For design , There are many more that seem to be " Customary " The rules and experiences of the software system exist widely in the software system , For example, in addition to the classic 23 A design pattern . There's a lot of patterns out there , According to the size of the grain , Characteristics of the system , The size of the scale , and ...

  4. DBA Tools ——DMV—— How do you know TSQL How long has the statement been running

    original text :DBA Tools --DMV-- How do you know TSQL How long has the statement been running DBA You usually want to know how long the running statement has been executing ? have access to Sqlserver profiler To capture the start time of the statement , Compared to the time available , But in ...

  5. UML Relationship summary

    Use case diagram : 1. Extended relationship : If there is already a use case , On the basis of this use case ( The use case is complete ) Add a new action to form another use case , That is, the latter comes from inheriting the properties of the former and adding new contents , The former is usually called generalized use case , The latter is often an extension use case . ...

  6. vue2.0 Implement paging components

    Recently used vue2.0 Refactoring project , Need to implement a paging table , No suitable components found , I wrote one myself , The effect is as follows : The project is to use vue-cli Built , If not used in your project webpack, Please code yourself ...

  7. PAT1118. Birds in Forest ( Union checking set )

    Ideas : And collect a set to take . AC Code #include <stdio.h> #include <string.h> #include <algorithm> using ...

  8. Catalog of Patterns of Enterprise Application Architecture

    Catalog of Patterns of Enterprise Application Architecture Last Significant Update: January 2003 A s ...

  9. linux A brief introduction to system sleep and wake up

    from :http://blog.csdn.net/haomcu/article/details/7398703 The system is suspended (Suspend) It's power management (APM&ACPI) A feature of , It brings a lot of ...

  10. The first 6 Chapter Storage - 040 - docker managed volume

    docker managed volume And bind mount The biggest difference is that you don't need to specify mount Source , To specify mount point That's it adopt -v tell docker Need one data ...