Experience in building OpenStack reference architectures

Source: Internet
Author: User

A deployment model is mentioned in the "Installation Guide" provided by OpenStack official November 26, as shown in the

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "http://s3.51cto.com/wyfs02/M01/54/3D/wKiom1R9JwnjdLtbAAJL-IxH2EM151.jpg" height= "452" />

(Figure 1 OpenStack system architecture diagram)

Figure 1 shows the main components that are installed in each node and the network interface information. A more accurate display of 2 is shown. The "Internet" network interface shown in Figure 2 shows the interpretation of the network interface.



650) this.width=650; "title=" 2014-12-02_091703 "style=" border-top:0px;border-right:0px;border-bottom:0px; border-left:0px; "border=" 0 "alt=" 2014-12-02_091703 "src=" http://s3.51cto.com/wyfs02/M02/54/3D/ Wkiom1r9jwnduqkuaajeswgdvn0781.jpg "height=" 589 "/>

(Figure 2 OpenStack network architecture diagram)

As shown in Figure 2, red belongs to the management network, coffee is a virtual machine network, cyan is an external network, and blue is the storage network.

The capabilities of various networks in OpenStack

A management network is typically a network of internet-accessible networks with a default gateway that completes the installation of individual components and the transmission of internal communications such as databases, message queues, Keystone, and other APIs. Each node of the management network is interoperable.

The Virtual Machine Network (tunnel network) does not have a default gateway (typically a Linux host, the default gateway can only have one), which is used to compute point-to-point communication between the node and the network node, such as the GRE, Vxlan, etc. contained in the Openswitch. All compute nodes can communicate with network nodes through this network card.

The external network is the communication between the virtual machine and the Internet in the OpenStack platform, this network interface also does not need to configure the gateway, the virtual Machine network card is connected to the Internet through the bridge, in fact, this network card does not make any IP configuration, that is, do not need to configure IP address, mask, Gateway, The startup protocol is set to none, but make sure that the NIC is powered on.

The storage network, as its name implies, transmits data that is stored in a specific format and does not have a default gateway, as long as it ensures interoperability between compute nodes and storage nodes.

650) this.width=650; "title=" 2014-12-02_091822 "style=" border-top:0px;border-right:0px;border-bottom:0px; border-left:0px; "border=" 0 "alt=" 2014-12-02_091822 "src=" http://s3.51cto.com/wyfs02/M00/54/3D/ Wkiom1r9jwrwt0tjaakjcsyjeyu791.jpg "height=" 589 "/>

(Figure 3 OpenStack minimum system requirements)


With regard to the minimum configuration, I have built a set according to my own experimental environment, which is fully available after practical testing. The specific configuration is shown in table 1.

control node 1*2VC PU 2GB memory 1*1gbps Nic 16GB HDD LVM partition Management Network a    
network node 1*2vcpu 2GB memory 2*1GB PS Network card 16GB HDD LVM partition Manage network B tunnel network a external network
COMPUTE nodes 2*2vcpu 4GB memory 3*1gbps network card 40GB HDD LVM partition Management network C tunnel network B  

Table 1

Note: No storage nodes are configured.

Manage interoperability between network ABC.

Tunnel Network AB Interoperability.

Virtual machines in the OpenStack platform can ping the gateway to the router gateway and all external networks.

A partial configuration of the operating system can be found in Figure 4.

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://s3.51cto.com/wyfs02/M01/54/3D/wKiom1R9JwrxgAFMAAGZWEiiy9c299.jpg" height= "139" />

(Figure 4 OpenStack OS configuration Reference)

Comments:

1. The host name is best distinguished from the component name in OpenStack, such as not using a host name such as a controller.

The 2.IP is all set to static IP, and the Management Network and tunnel network have the fourth segment of the same IP address.

3. When the network card is configured, it is all set to boot from boot.

4. Because it is a test environment, to avoid trouble, you can set all the passwords to a simple same password.

5. The control node can optionally install the graphical interface and qemu-img, QEMU-KVM, Virt-manager and other virtualization packages, easy to make OpenStack image.

6. All nodes do not need to open the firewall, this version of the security group function is not related to the firewall, SELinux can be disabled, or sometimes need to use Chcon, Setsebool and other processing.

7. If you want to implement OpenStack (virtualization in virtualization) on a VMware virtualization platform, you need to meet at least two prerequisites:

1). Turn on "External network" "distributed Switch", "standard switch" or "promiscuous mode" in Nexus 1000v command line, about "promiscuous mode", you can go to Google a bit.

2). The VMware ESXi host must enable virtualization (nested virtualization) functionality in virtualization by:

Edit/etc/vmware/config in ESXi (5.0 and above), add vhv.allow = "TRUE", and then restart the ESXi host;

Edit/etc/vmware/config in ESXi (5.1 and above), add vhv.enable = "TRUE", and then restart the ESXi host;

Attach another OpenStack flowchart, see:

650) this.width=650; "title=" Openstack-arch-grizzly-logical-v2 "style=" border-top:0px;border-right:0px; border-bottom:0px;border-left:0px; "border=" 0 "alt=" openstack-arch-grizzly-logical-v2 "src=" http://s3.51cto.com/ Wyfs02/m02/54/3d/wkiom1r9jwvaxcinaap2xewhc4g992.jpg "height=" 661 "/>

(Figure 5 OpenStack system flowchart)

Note: The picture is not clear reference attachment.

End

This article is from "Communication, My Favorites" blog, please make sure to keep this source http://dgd2010.blog.51cto.com/1539422/1585352

Experience in building OpenStack reference architectures

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.