Openstack-mikata Network Services (Controller installation deployment)

Source: Internet
Author: User
Tags rabbitmq

1. Log in to the database as root, create neutron, and set permissions

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/89/F2/wKioL1giuOSgvqJKAADKjcyHcyE510.jpg-wh_500x0-wm_3 -wmp_4-s_2901224416.jpg "style=" Float:none; "title=" Qq20161109134433.jpg "alt=" Wkiol1giuosgvqjkaadkjcyhcye510.jpg-wh_50 "/>

2. Create Neutron Service Certificate

1) Create neutron user

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/89/F5/wKiom1giuOXiktRQAABhsFRRVTc651.jpg-wh_500x0-wm_3 -wmp_4-s_2770425961.jpg "style=" Float:none; "title=" Qq20161109134630.jpg "alt=" Wkiom1giuoxiktrqaabhsfrrvtc651.jpg-wh_50 "/>

2) Add neutron to admin role

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/89/F5/wKiom1giuOWix3UAAAAXd9P4UZw969.jpg-wh_500x0-wm_3 -wmp_4-s_684446109.jpg "style=" Float:none; "title=" Qq20161109134819.jpg "alt=" Wkiom1giuowix3uaaaaxd9p4uzw969.jpg-wh_50 "/>

3) Create a neutron service entity

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/89/F5/wKiom1giuOWRtfTNAABcu0Swa64685.jpg-wh_500x0-wm_3 -wmp_4-s_3548194842.jpg "style=" Float:none; "title=" Qq20161109134859.jpg "alt=" Wkiom1giuowrtftnaabcu0swa64685.jpg-wh_50 "/>

3. Create a Web Service API terminal

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/89/F2/wKioL1giuvXALhRiAAFzw_7gAMk001.jpg-wh_500x0-wm_3 -wmp_4-s_60135450.jpg "title=" qq20161109135335.jpg "alt=" Wkiol1giuvxalhriaafzw_7gamk001.jpg-wh_50 "/>

4. Configuring the network 1 model type

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/89/F5/wKiom1giu3-Cy21xAAEkqP86VAE489.jpg-wh_500x0-wm_3 -wmp_4-s_3520938901.jpg "title=" qq20161109140008.jpg "alt=" Wkiom1giu3-cy21xaaekqp86vae489.jpg-wh_50 "/>

1) Install related packages

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/89/F2/wKioL1givjzAIsDgAAAhwoC67oY960.jpg-wh_500x0-wm_3 -wmp_4-s_2199780081.jpg "title=" qq20161109140200.jpg "alt=" Wkiol1givjzaisdgaaahwoc67oy960.jpg-wh_50 "/>

2) Edit/etc/neutron/neutron.conf

A.[database] Configuring database connections

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/89/F5/wKiom1giv4TQjguEAAAsWWObayo778.jpg-wh_500x0-wm_3 -wmp_4-s_108530081.jpg "title=" qq20161109141531.jpg "alt=" Wkiom1giv4tqjgueaaaswwobayo778.jpg-wh_50 "/>

B.[default] Configure enable ML2 plug-ins and disable other plugins, configure "RabbitMQ" Message Queuing connections, configure authentication service access, configure network services to notify compute nodes of network topology changes

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/89/F2/wKioL1giyQSSDjAQAABcvlJ39do012.jpg-wh_500x0-wm_3 -wmp_4-s_663674913.jpg "title=" qq20161109144656.jpg "alt=" Wkiol1giyqssdjaqaabcvlj39do012.jpg-wh_50 "/>

C.[oslo_messaging_rabbit] Configuring the RABBITMQ Message Queuing service

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/89/F6/wKiom1giySSR4rQWAAA0A5jwTRM220.jpg-wh_500x0-wm_3 -wmp_4-s_1624212746.jpg "title=" qq20161109145250.jpg "alt=" Wkiom1giyssr4rqwaaa0a5jwtrm220.jpg-wh_50 "/>

D.[keystone_authtoken] Configuring authentication Services

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/89/F6/wKiom1giyTjTUx7rAABjPthy4Ng540.jpg-wh_500x0-wm_3 -wmp_4-s_2441013278.jpg "title=" qq20161109145347.jpg "alt=" Wkiom1giytjtux7raabjpthy4ng540.jpg-wh_50 "/>

E.[nova] Configuring network services to notify compute nodes of network topology changes

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/89/F2/wKioL1giyU6gaMJFAABNUIFpNcc017.jpg-wh_500x0-wm_3 -wmp_4-s_4017098239.jpg "title=" qq20161109145655.jpg "alt=" Wkiol1giyu6gamjfaabnuifpncc017.jpg-wh_50 "/>

F.[oslo_concurrency] Configuring the Lock Path

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/89/F3/wKioL1giygayvSqZAAAlDnaEPHo939.jpg-wh_500x0-wm_3 -wmp_4-s_3013118872.jpg "title=" qq20161109150159.jpg "alt=" Wkiol1giygayvsqzaaaldnaepho939.jpg-wh_50 "/>

3) Edit/etc/neutron/plugins/ml2/ml2_conf.ini

A.[ML2] Configure enable flat and VLAN networks, disable private networks, enable Linuxbridge mechanism, enable port security extension drivers

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/89/F7/wKiom1gi0xaRuEEqAABQvWa2ED8141.jpg-wh_500x0-wm_3 -wmp_4-s_2458436686.jpg "style=" Float:none; "title=" Qq20161109153842.jpg "alt=" Wkiom1gi0xarueeqaabqvwa2ed8141.jpg-wh_50 "/>

B.[ml2_type_flat] Configuring the public virtual network to flat

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/89/F7/wKiom1gi0xSC-mF1AAAe55X0GJ4730.jpg-wh_500x0-wm_3 -wmp_4-s_2375461223.jpg "style=" Float:none; "title=" Qq20161109152543.jpg "alt=" Wkiom1gi0xsc-mf1aaae55x0gj4730.jpg-wh_50 "/>

C. Enabling Ipset to increase the efficiency of security group rules

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/89/F3/wKioL1gi0xXC1DBsAAAck-PEhSQ741.jpg-wh_500x0-wm_3 -wmp_4-s_1678720181.jpg "style=" Float:none; "title=" Qq20161109152613.jpg "alt=" Wkiol1gi0xxc1dbsaaack-pehsq741.jpg-wh_50 "/>

4) Configure Linuxbridge bridging agent Edit/etc/neutron/plugins/ml2/linuxbridge_agent.ini

A.[linuxbridge] Configuration corresponds to the public and public physical network interfaces (in the environment the first NIC is the management network, the second network is the public network).

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/89/F7/wKiom1gi1lmj2LDdAAAu_eesUcw181.jpg-wh_500x0-wm_3 -wmp_4-s_1382507532.jpg "title=" qq20161109155410.jpg "alt=" Wkiom1gi1lmj2lddaaau_eesucw181.jpg-wh_50 "/>

B.[vxlan] Disabling Vxlan network

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/89/F4/wKioL1gi1umx1CbgAAAhiyq_8mY080.jpg-wh_500x0-wm_3 -wmp_4-s_3721359115.jpg "title=" qq20161109155655.jpg "alt=" Wkiol1gi1umx1cbgaaahiyq_8my080.jpg-wh_50 "/>

C.[securitygroup] Configure the Enable security group and configure the firewall driver

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/89/F7/wKiom1gi12-Dpl1HAAA9m59u1Uc168.jpg-wh_500x0-wm_3 -wmp_4-s_1191623487.jpg "title=" qq20161109155852.jpg "alt=" Wkiom1gi12-dpl1haaa9m59u1uc168.jpg-wh_50 "/>

5) Configure DHCP proxy edit/etc/neutron/dhcp_agent.ini

A.[default] Configures the Linuxbridge driver interface, DHCP drives and enables quarantine metadata so that instances on the public network can access the metadata over the network

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/89/F4/wKioL1gi2TWAAkd6AABAfjjH9YA693.jpg-wh_500x0-wm_3 -wmp_4-s_3932374490.jpg "title=" qq20161109160703.jpg "alt=" Wkiol1gi2twaakd6aabafjjh9ya693.jpg-wh_50 "/>

6) Configure metadata proxy edit/etc/neutron/metadata_agent.ini

A.[default] Configure the metadata host and shared password (note that the Metadata_secert field here is consistent with the following nova.conf field)

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/89/F4/wKioL1gi3N6wOMpmAAAtPP7h3ck704.jpg-wh_500x0-wm_3 -wmp_4-s_2745489527.jpg "title=" qq20161109162212.jpg "alt=" Wkiol1gi3n6wompmaaatpp7h3ck704.jpg-wh_50 "/>

5. Edit/etc/nova/nova.conf

A.[neutron] configuration parameters, enabling the metadata agent and setting the password

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/89/F5/wKioL1gi3xOwlcosAABzX0NMxRk613.jpg-wh_500x0-wm_3 -wmp_4-s_4232989081.jpg "title=" qq20161109163024.jpg "alt=" Wkiol1gi3xowlcosaabzx0nmxrk613.jpg-wh_50 "/>

6. Set up hyperlinks

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/89/F5/wKioL1gi377zfNV5AAAexs0EcYI036.jpg-wh_500x0-wm_3 -wmp_4-s_3188875066.jpg "title=" qq20161109163445.jpg "alt=" Wkiol1gi377zfnv5aaaexs0ecyi036.jpg-wh_50 "/>

7. Synchronizing the database

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/89/F9/wKiom1gi4BCiLtNUAATZj5-FyAs117.jpg-wh_500x0-wm_3 -wmp_4-s_2647693983.jpg "title=" qq20161109163615.jpg "alt=" Wkiom1gi4bciltnuaatzj5-fyas117.jpg-wh_50 "/>

8. Restart the Compute API service and check that the status is normal

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/89/F9/wKiom1gi4LTBOvLBAAEs1YoF6v0333.jpg-wh_500x0-wm_3 -wmp_4-s_2806958666.jpg "title=" qq20161109163853.jpg "alt=" Wkiom1gi4ltbovlbaaes1yof6v0333.jpg-wh_50 "/>

9, start the network-related services, and set to self-start, here we use model one command

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/89/F5/wKioL1gi4cDA8IqzAADvRWwux0w964.jpg-wh_500x0-wm_3 -wmp_4-s_2415260064.jpg "title=" qq20161109164328.jpg "alt=" Wkiol1gi4cda8iqzaadvrwwux0w964.jpg-wh_50 "/>

10, check whether the above services are normal

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/89/F5/wKioL1gi4uyyLG6cAATHm8tVHKI085.jpg-wh_500x0-wm_3 -wmp_4-s_2710466023.jpg "style=" Float:none; "title=" Qq20161109164449.jpg "alt=" Wkiol1gi4uyylg6caathm8tvhki085.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/89/F9/wKiom1gi4u6Cn-1MAAKv4fXHfCw616.jpg-wh_500x0-wm_3 -wmp_4-s_1483894741.jpg "style=" Float:none; "title=" Qq20161109164528.jpg "alt=" Wkiom1gi4u6cn-1maakv4fxhfcw616.jpg-wh_50 "/>

This chapter references http://docs.openstack.org/mitaka/zh_CN/install-guide-rdo/neutron.html

The next section will tell you more about configuring network services on Compute nodes.


This article is from the "Zhong blog" blog, make sure to keep this source http://capfzgs.blog.51cto.com/7729146/1871570

Openstack-mikata Network Services (Controller installation deployment)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.