Openstack Nova (ii)--Architecture (i)

Source: Internet
Author: User

Architecture from requirements

Demand analysis

Most of the software architecture comes from the demand, can say, what kind of demand, there will be what kind of architecture, although different times, different people to achieve, may not exactly the same. But overall, the architecture won't be too far off.

Now what if you need to implement a software that is like OpenStack?

First, let's take a look at the simplest requirements summarized in the previous chapter.

  1. Management of physical servers
  2. Selection of servers
  3. Virtual machine creation, power-on, shutdown, suspend, pause, adjust, migrate and other operations
Management of physical servers

To manage a physical server, at a minimum, the following conditions must be met

    1. To have a server for management
    2. Each server can have at least network communication with the management service
    3. Management Server has the ability to perform some operations management on the service

Through the above analysis, communication requires at least one communication protocol, but in order to meet more requirements, you can consider supporting a variety of protocols, remote management requires remote Call function.

Selection of servers

Similarly, to select a service based on the different configurations of the customer, you need to meet at least the following conditions

    1. Be able to get the status information of the server, such as the number of CPUs available, intrinsic size, hard disk size, etc.
    2. You need to save the status information of the server as the input information when selecting
    3. Need some rule of choice

The above requirements, at least the database to save data, and the agreement has the same problem, now the database is many, you can consider supporting a variety of databases.

Virtual machine creation, power-on, shutdown, suspend, pause, adjust, migrate and other operations

In the previous chapter, it has been emphasized that OpenStack is just a management platform, it is not to implement virtual functions, and to create a virtual machine, at least the CPU, memory, hardware three kinds of software, and the virtual itself is to provide services exist, and now most of the services are based on network services, So the network is also a necessary hardware. So the overall demand is probably as follows

    1. Various virtualization Technology Support management, the current mainstream virtualization technology is as follows:
      • BareMetal
      • Docker
      • Hyper-V
      • kernel-based Virtual Machine (KVM)
      • Linux Containers (LXC)
      • Quick Emulator (QEMU)
      • User Mode Linux (UML)
      • VMware VSphere
      • Xen
    2. HDD Support
    3. Network support
    4. Mirroring support
Stealth requirements
    1. External interface, can be managed only by external operation
    2. User management, different users need to have different permissions

To this end, some of the most basic needs have come out. Show all the nodes in the diagram as follows:

Nova's implementation

In front of us from the point of view of demand, our own analysis of the need to meet the basic needs, what kind of implementation. So will the real implementation of Nova be the same as ours?

Openstack Nova (ii)--Architecture (i)

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.