WO2019174449A1 - Method and apparatus for deploying virtualized network elements - Google Patents
Method and apparatus for deploying virtualized network elements Download PDFInfo
- Publication number
- WO2019174449A1 WO2019174449A1 PCT/CN2019/075742 CN2019075742W WO2019174449A1 WO 2019174449 A1 WO2019174449 A1 WO 2019174449A1 CN 2019075742 W CN2019075742 W CN 2019075742W WO 2019174449 A1 WO2019174449 A1 WO 2019174449A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- deployment
- network element
- container
- virtual machine
- manager
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
Definitions
- the present invention relates to the field of computer networks, and in particular, to a method and an apparatus for deploying a virtualized network element.
- NFV Network Function Virtualization
- NFV-MANO Network Functions Virtualization Management and Orchestration
- the embodiment of the invention provides a method and a device for deploying a virtualized network element.
- an embodiment of the present invention is directed to a method for deploying a virtualized network element, including: receiving, by a central manager, an instantiation request, where the instantiation request includes a deployment requirement of a virtualized network element, and the central manager pair
- the one or more logical areas are managed by the virtualized network element;
- the central manager determines the deployment requirements of the virtual machine network element and the deployment requirements of the container network element based on the deployment requirements of the virtualized network element, the virtualized network element Included in the virtual machine network element and the container network element, where the virtual machine network element is configured based on a virtual machine, the container network element is configured based on the deployment of the container;
- the central manager is based on the virtual machine network element
- the deployment requires managing the life cycle of the virtual machine network element;
- the edge manager obtains the deployment requirement of the container network element from the central manager, and the edge manager is in each of the management managed by the central manager In the logical area; and the edge manager manages the life cycle of the container based on
- the virtual machine-based virtual machine network element of all logical areas is subjected to lifecycle management through the central manager, and the container-based container network elements of the respective logical areas are subjected to lifecycle management through an edge manager other than the central manager, thereby Implement hierarchical management, which enables rapid deployment of containers and saves resources.
- the central manager manages the life cycle of the virtual machine network element based on the deployment requirement of the virtual machine network element, at least: the central manager uses the virtual machine network
- the deployment of the virtual machine is required to be sent to the virtual machine deployment unit, and the virtual deployment unit performs the deployment of the virtual machine on the logical area managed by itself according to the deployment requirement of the virtual network element; the central manager from the virtual machine The deployment unit obtains the deployment result of the virtual machine.
- the central edge manager directly manages the life cycle of the virtual machine-based virtual machine network element of all the logical areas managed.
- the edge manager manages the life cycle of the container based on the deployment requirement of the container network element, at least: the edge manager sends the deployment requirement of the container network element Deploying a unit to a container, the container deployment unit performing deployment of the container on a logical area managed by itself according to a deployment requirement of the container network element; the edge manager obtaining deployment of the container from the container deployment unit a result; and the edge manager sends the deployment result of the container to the central manager.
- the edge manager manages the life cycle of the container-based container network element of the managed logical area, and can quickly perform the container deployment and effectively implement the life cycle of the container-based container network element. Management reduces latency when generating container-based container NEs and reduces the chances of deployment failures. Thereby, it is possible to effectively utilize a container that is quick to start and consumes less resources.
- the container further includes a virtual machine that deploys the container and a physical machine that deploys the container.
- the logical area is any one of a data center, a region, an available area, and a host group.
- the central manager is disposed in any one of the logical regions or in an area other than the logical region.
- an embodiment of the present invention relates to a device for deploying a virtualized network element, including: a central manager that manages virtualized network elements for one or more logical areas; and an edge manager at each of the foregoing
- the central manager includes: a first receiving unit, configured to receive an instantiation request, where the instantiation request includes a deployment requirement of the virtualized network element, and a determining unit, configured to be based on the virtualized network element
- the deployment requirements are used to determine the deployment requirements of the virtual machine network element and the deployment requirements of the container network element.
- the virtualized network element includes a virtual machine network element and a container network element, and the virtual machine network element is configured based on the deployment of the virtual machine.
- the container network element is configured based on the deployment of the container; and the management unit is configured to manage the life cycle of the virtual machine network element based on the deployment requirement of the virtual machine network element, where the edge manager includes: a receiving unit, configured to acquire a deployment requirement of the container network element from the central manager, and a management unit, configured to: the container based on a deployment requirement of the container network element Life-cycle management.
- the virtual machine-based virtual machine network element of all logical areas is subjected to lifecycle management through the central manager, and the container-based container network elements of the respective logical areas are subjected to lifecycle management through an edge manager other than the central manager, thereby Implement hierarchical management, which enables rapid deployment of containers and saves resources.
- the central manager further includes: a sending unit, configured to send a deployment requirement of the virtual machine network element to a virtual machine deployment unit, where the virtual deployment unit is based on the virtual The deployment of the network element requires the deployment of the virtual machine to the logical area managed by the virtual device.
- the second receiving unit is configured to obtain the deployment result of the virtual machine from the virtual machine deployment unit.
- the central edge manager directly manages the life cycle of the virtual machine-based virtual machine network element of all the logical areas managed.
- the edge manager further includes: a first sending unit, configured to send a deployment request of the virtual network element to a container deployment unit, where the container deployment unit is based on the container The deployment of the network element requires the deployment of the container for the logical area managed by itself; the second receiving unit is configured to obtain the deployment result of the container from the container deployment unit; and the second sending unit is configured to: The deployment result of the container is sent to the central manager.
- the edge manager manages the life cycle of the container-based container network element of the managed logical area, and can quickly perform the container deployment and effectively implement the life cycle of the container-based container network element. Management reduces latency when generating container-based container NEs and reduces the chances of deployment failures. Thereby, it is possible to effectively utilize a container that is quick to start and consumes less resources.
- the container further includes a virtual machine that deploys the container and a physical machine that deploys the container.
- the logical area is any one of a data center, a region, an available area, and a host group.
- the center VNFM is disposed in any of the logical areas or in an area other than the logical area.
- an embodiment of the present invention provides a computer readable storage medium having stored thereon instructions that are executed by a computer to implement the methods described in the above aspects.
- an embodiment of the present invention provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods described in the various aspects above.
- embodiments of the present invention provide a computer program that, when run on a computer, causes the computer to perform the methods described in the various aspects above.
- FIG. 1 is a schematic diagram of an NFV architecture according to an embodiment of the present invention.
- FIG. 2 is a schematic diagram showing the relationship of logical areas according to an embodiment of the present invention.
- FIG. 3 is a schematic diagram of a MANO management of a VNF in the past
- FIG. 4 is an information exchange flow diagram in the MANO of FIG. 3;
- FIG. 5 is a schematic diagram showing management of a virtualized network element based on VNFM according to an embodiment of the present invention
- Figure 6 is a flow diagram showing information interaction in the management of Figure 5;
- FIG. 7 is a flowchart showing an example of a method for deploying a virtualized network element according to an embodiment of the present invention.
- FIG. 8 is a schematic block diagram of a network device deployed by a virtualized network element according to an embodiment of the present invention.
- FIG. 1 is a schematic diagram showing an NFV (Network Functions Virtualization) architecture according to an embodiment of the present invention.
- NFV Network Functions Virtualization
- it mainly involves the following three aspects: the virtual network function to be set, also called virtualized network element; the network function virtualization infrastructure (NFVI) that implements the above virtualized network element; The management and organization of the network element MAMO.
- NFV Network Functions Virtualization
- a virtualized network element is a virtual application that implements functions by deploying VMs (virtual machines) and containers for virtualized network elements.
- the virtualized network elements may include VMs that implement some or all of their functions.
- At least one virtual machine network element also referred to as a VNF
- at least one container network element constructed by the container to perform some or all of its functions.
- the virtual machine network element VNF can be decomposed into a set of VNFC (Virtual Network Function Unit, VNF Component) and a connection relationship between the VNFCs, and each VNFC is mapped to one VM.
- VNFC Virtual Network Function Unit
- the container network element CNF is also the same, including the container and the connection relationship between the containers.
- the container network element may include a bare metal server that deploys the container, and may also include a virtual machine that deploys the container, and may also include both, and specifically, may be selected according to deployment requirements.
- the container is described by taking Docker and Docker Over VM as an example, but they are only an example of a container, and may be other containers.
- NFVI implements virtualized network elements by deploying VMs or Dockers or Docker Over VMs on its physical resources, providing virtualized resources needed to support the execution of virtualized network elements.
- NFVI combines hardware components and software components, is a resource pool, and is a physical infrastructure connected through a communication network.
- MANO is responsible for the management and orchestration of the entire NFVI resources, responsible for the mapping and association of business networks and NFVI resources, including the orchestration and lifecycle management of physical and / or software resources supporting the virtualisation of physical infrastructure, and the life cycle of virtualized network elements. management. MANO is jointly completed/provided by NFVO (Network Functions Virtualization Orchestrator), VNFM (Virtualized Network Functions Manager), and VIM (Virtualized Infrastructure Manager).
- NFVO Network Functions Virtualization Orchestrator
- VNFM Virtualized Network Functions Manager
- VIM Virtualized Infrastructure Manager
- the VNFM is responsible for the lifecycle management of the virtualized network element, including the creation and termination of virtualized network elements, the setting of virtualized network elements, the configuration of virtualized network elements, the monitoring of virtualized network elements (health, performance, etc.), and virtual
- the ability to automatically recover and relocate the network element failure supports various simple and complex virtualized network elements.
- VIM is an NFVI management system that includes common physical and virtual resource management, execution resource deployment and scheduling.
- the functional division of the NFVO, VNFM, and VIM of the present invention is not limited thereto, and other functional divisions may be performed.
- the VIM is, for example, Openstacke or VMware.
- the VIM may be, for example, a container platform of the industry such as kubenates. The container is characterized by fast startup speed and low resource consumption.
- the logical area includes a data center (DC), a Region, an Availability Zone (AZ), and a Host Aggregate (HA).
- a DC is a classification of logical areas that are divided from a network connection perspective. The DC can accommodate multiple servers as well as communication devices that are placed together because they have the same environmental and physical security requirements and are placed for ease of maintenance.
- Region is a classification of physical regions based on geographical regions, such as Central China and East China. Usually a Virtual Private Cloud (VPC) tenant chooses to be in a Region and does not cross the Region.
- the DC and Region divide the physical region from different dimensions. There may be intersections between the two.
- One DC may contain multiple Regions, and one Region may span multiple DCs.
- AZ is an independent, physically isolated Availability Zone, and a Region contains multiple AZs. When an AZ fails, it does not affect other AZs.
- HA is composed of multiple Hosts in AZ. Multiple HAs can be included in one AZ. An HA can contain multiple Hosts. As shown in FIG. 2, DC1 includes Region1 and Region2, Region3 spans DC2 and DC3, Region1 includes AZ1 and AZ2, and AZ1 includes HA11 and HA12.
- FIG. 3 is a schematic diagram showing management of a VNF by a conventional MANO.
- 4 is an information exchange flow diagram in the MANO of FIG. 3. Description will be made below with reference to FIGS. 3 and 4.
- the VNFs of multiple DCs are managed by the VNFM in MANO.
- the VNFM can be installed in a DC that deploys the VNF, or it can be installed in a separate DC.
- the VNFM is installed in a separate DC0, and multiple VNFs are set in DC1 and DC2, respectively.
- step S41 the VNFM in the MANO sends a deployment request of the VM of the VNF to the VIM1, and the VM of the VNF of the DC1 is deployed.
- VIM1 feeds back the deployment result of the VM of the VNF to the VNFM.
- step S43 the VNFM sends the deployment request of the VNF to the VIM2, and performs the deployment of the VM of the VNF of the DC2.
- step S44 the VIM2 feeds back the VM deployment result of the VNF to the VNFM.
- the VNFM manages the lifecycle of the VNFs of the various DCs.
- the deployment method only supports VM deployment, does not support Docker deployment, and does not support Docker Over VM deployment.
- the invention proposes a VMO based on MAMO to support the deployment method of VM, Docker and Docker Over VM.
- FIG. 5 is a schematic diagram of the VNFM-based management of a virtualized network element according to the embodiment.
- FIG. 6 shows a flow diagram of information interaction in the management of FIG. 5.
- the request information for deploying the virtualized network element is synchronized to the central VNFM that manages DC0, DC1, and DC2, and the central VNFM performs unified management on the deployed virtual network elements of each DC.
- the center VNFM may be provided in a separate DC or in one of DC0, DC1, and DC2.
- a VNF/CNF near-end edge side management unit VNFM (hereinafter also referred to as edge VNFM) is provided, and the life of the NF based on Docker and Dokerk Over VM for the logical area is set.
- the cycle is managed, and the edge VNFM is responsible for the lifecycle management of CNF based on Docker and Docker Over VM in the region.
- the central VNFM performs VM-based VNF lifecycle management for all logical areas managed, and the overall architecture of the central VNFM and the edge VNFM supports VM, Docker, and Docker Over VM mode deployment.
- the central VNFM determines the deployment request of the VM-based virtual machine network element and the deployment request of the container-based container network element.
- the central VNFM sends the VM deployment requirements to the deployed VIMs of the VMs managing the logical areas.
- the VIMs for VM deployment are, for example, openstack or VMware.
- the VIMs are VMs in the area managed by the VIM according to the deployment requirements. After deployment, VIM feeds back the VM's deployment results to the central VNFM.
- the central VNFM is responsible for the lifecycle management of VM-based VNFs, such as managing the generation of VM-based VNFs.
- the central VNFM sends the deployment requirements of the Docker or Docker Over VM of each logical area to each logical area, which can be only the Docker deployment request, the Docker Over VM deployment request, or they The combination.
- the central VNFM sends the deployment requirements for the Docker or Docker Over VM to the zone edge VNFM. Taking Docker deployment as an example, the central VNFM directly sends the Docker deployment requirements to the edge VNFM.
- the edge VNFM manages the lifecycle of the Docker-based CNF and passes the deployment requirements to the VIM that manages the deployment of the container.
- the container management platform such as K8S/Mesos
- VIM deploys Docker according to the deployment requirements, and feeds the results back to the edge VNFM.
- the edge VNFM feeds back the deployment results of the area to the central VNFM.
- the central VNFM collects the logic from each edge VNFM.
- the Docker deployment of the region is focused on display and management.
- the edge VNFM manages the lifecycle of the Docker-based CNF.
- the central VNFM manages the deployment of virtualized network elements of logical area 1 and logical area 2.
- the central VNFM obtains an instantiation request from the outside, the instantiation request including a deployment requirement to instantiate the virtualized network element VNF1.
- the central VNFM determines the deployment requirements of the VM-based VNF and the deployment requirements of the Docker-based CNF based on the received deployment requirements of the VNF1.
- the central VNFM sends a deployment request of the VM to the VIM 11 of the logical area 1, the VIM11 follows the secondary VNFM.
- the received deployment requires VM deployment, where VIM11 deploys and manages the VMs of logical area 1.
- the VIM 11 directly feeds back the deployment result of the VM to the central VNFM.
- the central VNFM sends the Docker-based network element deployment request in the deployment request of the instantiated VNF1 to the edge VNFM of the area 1, that is, the indication area 1 edge VNFM arranges DC1 according to the Docker manner.
- the edge VNFM orchestrate the Docker-based CNF according to the allocation requirements, and conduct lifecycle management of the CNF.
- the edge VNFM sends the Docker deployment request to the VIM1, the VIM1 performs the deployment of the Docker in the area 1 according to the deployment requirement, and in step S615, the VIM1 feeds back the Docker deployment result to the edge VNFM, in step S616,
- the edge VNFM sends the Docker deployment results to the central VNFM.
- the central VNFM uniformly displays and manages the deployment results of all VMs and Dockers to complete the instantiation of VNF1.
- the central VNFM obtains an instantiation request from the outside, the instantiation request including a deployment requirement for deploying the virtualized network element VNF2.
- the central VNFM judges based on the received deployment request of the VNF2, and in the case that the central VNFM determines the deployment of the VM-based VNF and the deployment of the Docker-based CNF, the central VNFM transmits to the VIM 21 of the logical area 2 in step S619.
- the deployment of the VM requires that the VIM 21 deploy the VM in accordance with the deployment requirements received from the central VNFM, where the VIM 21 deploys and manages the VMs of the logical area 2.
- the VIM 21 directly feeds back the deployment result of the VM to the central VNFM.
- step S621 the central VNFM sends the Docker-based network element deployment request in the deployment request of the instantiated VNF2 to the edge VNFM of the area 2, that is, the edge VNFM indicating the area 2 arranges the DC2 in the Docker manner.
- the edge VNFM orchestrate the Docker-based CNF according to the allocation requirements, and conduct lifecycle management of the CNF.
- step S622 the edge VNFM sends the Docker deployment request to the VIM 21, the VIM 21 performs the deployment of the Docker in the area 2 according to the deployment requirement, and in step S622, the VIM 21 feeds back the Docker deployment result to the edge VNFM, in step S623, The edge VNFM sends the Docker deployment results to the central VNFM.
- the central VNFM uniformly displays and manages the deployment results of all VMs and Dockers, thereby completing the instantiation of VNF2.
- the embodiment of the present invention is not limited to the order shown in FIG. 6, and the order can be appropriately changed according to the execution time.
- VM-based VNF deployment container-based CNF deployment can be performed simultaneously, or container-based CNF deployment can be performed first, followed by VM-based VNF deployment.
- edge VNFM that manages the lifecycle of Docker-based CNF in each DC/AZ, etc., implements secondary management by service characteristics, that is, central VNFM manages lifecycle management of VM-based VNF in all areas
- edge VNFM Manage the lifecycle management of CNFs based on Docker or Docker Over VM in their respective regions.
- the VM-based virtual machine network elements of all logical areas are managed by the central VNFM, and the container-based container network elements of the respective logical areas are managed by the edge VNFM outside the central VNFM to implement hierarchical management.
- the edge VNFM outside the central VNFM to implement hierarchical management.
- the deployment of the container can be performed quickly, and the life cycle of the container-based container network element can be effectively managed, the delay in generating the container-based container network element is reduced, and the probability of deployment failure is reduced. Thereby, it is possible to effectively utilize a container that is quick to start and consumes less resources.
- the VNFM secondary separation architecture performs the following deployment method of the VNF.
- step S71 the central VNFM receives an instantiation request, where the instantiation request includes a deployment requirement of the virtualized network element, and the central VNFM performs management of the virtualized network element on the one or more logical areas; in step S72, The central VNFM determines the deployment requirements of the virtual machine network element and the deployment requirements of the container network element based on the deployment requirements of the virtualized network element, where the virtualized network element includes a virtual machine network element and a container network element, and the virtual machine network The component is configured based on the deployment of the VM, and the container network element is configured based on the deployment of the container.
- step S73 the central VNFM manages the life cycle of the virtual machine network element based on the deployment requirement of the virtual network element.
- step S74 the edge VNFM acquires the deployment requirement of the container network element from the center VNFM; in step S75, the edge VNFM manages the life cycle of the container based on the deployment requirement of the virtual network element.
- the central VNFM manages the life cycle of the virtual machine network element based on the deployment requirement of the virtual network element, at least: the central VNFM sends the deployment requirement of the virtual machine network element Deploying a virtual machine to the virtual machine, the virtual deployment unit performing the deployment of the virtual machine on the logical area managed by the virtual network element; the central VNFM acquiring the deployment of the VM from the virtual machine deployment unit result.
- the edge VNFM manages the life cycle of the container based on the deployment requirement of the container network element, at least: the edge VNFM sends the deployment requirement of the container network element to the container deployment unit, where The container deployment unit performs the deployment of the container on the logical area managed by itself according to the deployment requirement of the container network element; the edge manager obtains the deployment result of the container from the container deployment unit; and the edge The VNFM sends the deployment result of the container to the central VNFM.
- the container network element includes a virtual machine that deploys the container and a physical machine that deploys the container.
- the logical area is one of DC, Region, AZ, and HA.
- the central VNFM is disposed in one of each of the logical regions, or is disposed in an area other than the logical region.
- MANO-based deployment of virtual machines and containers can be implemented.
- the VM-based virtualized network element of all logical areas is subjected to lifecycle management through the central VNFM, and the container-based container network elements of the respective logical areas are managed by the edge VNFM outside the central VNFM, thereby implementing hierarchical management.
- the deployment of the container can be performed quickly, and the life cycle of the container-based container network element can be effectively managed, the delay in generating the container-based container network element is reduced, and the probability of deployment failure is reduced. Thereby, it is possible to effectively utilize a container that is quick to start and consumes less resources.
- Embodiments of the present invention relate to a device for deploying a virtualized network element, including: a central VNFM for managing virtualized network elements of one or more logical areas; and an edge VNFM at each of the foregoing
- the central VNFM includes: a first receiving unit, configured to receive an instantiation request, where the instantiation request includes a deployment requirement of the virtualized network element, and a determining unit, configured to deploy based on the virtualized network element Requiring to determine the deployment requirements of the virtual machine network element and the deployment requirements of the container network element, where the virtualized network element includes a virtual machine network element and a container network element, where the virtual machine network element is configured based on VM deployment, The container network element is configured based on the deployment of the container; and the management unit is configured to manage the life cycle of the virtual machine network element based on the deployment requirement of the virtual machine network element, where the edge VNFM includes: a first receiving unit a deployment request for obtaining the container network element from the central VNF
- the foregoing deployment apparatus further includes: in the deployment apparatus, the central VNFM further includes: a sending unit, configured to send a deployment requirement of the virtual machine network element to a virtual machine deployment unit, where the virtual deployment The unit performs the deployment of the virtual machine on the logical area managed by the virtual network element based on the deployment requirement of the virtual network element.
- the second receiving unit is configured to obtain the deployment result of the virtual machine from the virtual machine deployment unit.
- the edge VNFM further includes: a first sending unit, configured to send a deployment request of the virtual network element to a container deployment unit, where the container deployment unit is based on the container network
- the deployment of the container requires the deployment of the container for the logical area managed by itself
- the second receiving unit is configured to obtain the deployment result of the container from the container deployment unit
- the second sending unit is configured to use the container
- the deployment results are sent to the central VNFM.
- the container network element includes a virtual machine that deploys a container and a physical machine that deploys the container.
- the logical area is one of DC, Region, AZ, and HA.
- the central VNFM is disposed in any one of the logical areas, or may be disposed in an area other than the logical area.
- the virtual machine-based virtual machine network elements of all logical areas are managed by the central VNFM, and the container-based container network elements of the respective logical areas are managed by the edge VNFM outside the central VNFM to implement hierarchical management. It enables rapid deployment of containers and saves resources.
- the deployment of the container can be performed quickly, and the life cycle of the container-based container network element can be effectively managed, the delay in generating the container-based container network element is reduced, and the probability of deployment failure is reduced. Thereby, it is possible to effectively utilize a container that is quick to start and consumes less resources.
- FIG. 8 is a schematic block diagram of a network device deployed by a VNF according to an embodiment of the present invention.
- network device 80 includes an input device 81, an input interface 82, a processor 83, a memory 84, an output interface 85, and an output device 86.
- the input interface 82, the processor 83, the memory 84, and the output interface 85 are connected to each other through a bus 87.
- the input device 81 and the output device 86 are respectively connected to the bus 87 through the input interface 82 and the output interface 85, thereby being connected to the network device 80. Other components are connected.
- input device 81 receives input information from the outside and transmits the input information to processor 83 via input interface 82; processor 83 processes the input information based on computer executable instructions stored in memory 84 to generate output information, The output information is temporarily or permanently stored in the memory 84, and then the output information is transmitted to the output device 86 through the output interface 85; the output device 86 outputs the output information to the outside of the network device 80 for use by the user.
- Network device 80 can perform the steps in embodiments of the present invention.
- Processor 83 can be one or more central processing units (CPUs).
- the CPU may be a single core CPU or a multi-core CPU.
- the memory 84 may be, but not limited to, one of a random access memory (RAM), a read only memory (ROM), an erasable programmable read only memory (EPROM), a compact disk read only memory (CD-ROM), a hard disk, or the like. A variety. Memory 84 is used to store program code.
- RAM random access memory
- ROM read only memory
- EPROM erasable programmable read only memory
- CD-ROM compact disk read only memory
- hard disk or the like.
- Memory 84 is used to store program code.
- the network device 80 of FIG. 8 may be a deployment device of a virtualized network element.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to a method and apparatus for deploying virtualized network elements. The method for deploying virtualized network elements comprises: a center manager receives an instantiation request comprising deployment requirements of virtualized network elements, and the center manager manages the virtualized network elements in one or more logic areas; the center manager determines deployment requirements of virtual machine network elements and deployment requirements of container network elements on the basis of the deployment requirements of the virtualized network elements; the center manager manages life cycles of the virtual machine network elements on the basis of the deployment requirements of the virtual machine network elements; edge managers obtain the deployment requirements of the container network elements from the center manager, the edge managers being in the logic areas managed by the center manager; and the edge managers manage life cycles of containers on the basis of the deployment requirements of the container network elements. The configuration of the center manager and the edge managers can well support the deployment of the containers.
Description
本申请要求于2018年3月13日提交中国国家知识产权局、申请号为201810203961.0,发明名称为“虚拟化网元的部署方法以及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application No. 201101203961.0, filed on March 13, 2018, with the application number of 201110203961.0, and the invention is entitled "Deployment Method and Device of Virtualized Network Element", the entire contents of which are incorporated by reference. In this application.
本发明涉及计算机网络领域,特别涉及虚拟化网元的部署方法以及装置。The present invention relates to the field of computer networks, and in particular, to a method and an apparatus for deploying a virtualized network element.
以往,基于Openstack建立网络功能虚拟化(Network Function Virtualization,NFV)平台。通过使用x86等通用性硬件以及虚拟化技术,来承载很多功能的软件处理,从而降低网络昂贵的设备成本。可以通过软硬件解耦及功能抽象,使网络设备功能不再依赖于专用硬件,资源可以充分灵活共享,实现新业务的快速开发和部署,并基于实际业务需求进行自动部署、弹性伸缩、故障隔离和自愈等。In the past, based on Openstack, a Network Function Virtualization (NFV) platform was established. By using versatile hardware such as x86 and virtualization technology, it carries a lot of functional software processing, thereby reducing the expensive equipment cost of the network. Through software and hardware decoupling and functional abstraction, network device functions are no longer dependent on dedicated hardware. Resources can be fully and flexibly shared, enabling rapid development and deployment of new services, and automatic deployment, elastic scaling, and fault isolation based on actual business requirements. And self-healing.
在以往的虚拟化网元的部署中,存在仅支持虚拟机的部署方式,但无法在基于进行网络功能虚拟化管理与编排器(Network Functions Virtualization Management and Orchestration,NFV-MANO,以下简称MAMO)有效良好地支持容器的部署。In the deployment of virtualized network elements in the past, there is a deployment mode that only supports virtual machines, but it cannot be effectively implemented based on Network Functions Virtualization Management and Orchestration (NFV-MANO, hereinafter referred to as MAMO). Good support for container deployment.
发明内容Summary of the invention
本发明实施例提出一种虚拟化网元的部署方法以及装置。The embodiment of the invention provides a method and a device for deploying a virtualized network element.
第一方面,本发明的实施例涉及一种虚拟化网元的部署方法,包括:中心管理器接收实例化请求,所述实例化请求包含虚拟化网元的部署要求,所述中心管理器对一个或多个逻辑区域进行虚拟化网元的管理;中心管理器基于所述虚拟化网元的部署要求来判断虚拟机网元的部署要求和容器网元的部署要求,所述虚拟化网元包含虚拟机网元和容器网元,所述虚拟机网元是基于虚拟机的部署来构成,所述容器网元是基于容器的部署来构成;所述中心管理器基于所述虚拟机网元的部署要求对所述虚拟机网元的生命周期进行管理;边缘管理器从所述中心管理器获取所述容器网元的部署要求,所述边缘管理器处于所述中心管理器所管理的各逻辑区域中;以及所述边缘管理器基于所述容器网元的部署要求对所述容器的生命周期进行管理。In a first aspect, an embodiment of the present invention is directed to a method for deploying a virtualized network element, including: receiving, by a central manager, an instantiation request, where the instantiation request includes a deployment requirement of a virtualized network element, and the central manager pair The one or more logical areas are managed by the virtualized network element; the central manager determines the deployment requirements of the virtual machine network element and the deployment requirements of the container network element based on the deployment requirements of the virtualized network element, the virtualized network element Included in the virtual machine network element and the container network element, where the virtual machine network element is configured based on a virtual machine, the container network element is configured based on the deployment of the container; the central manager is based on the virtual machine network element The deployment requires managing the life cycle of the virtual machine network element; the edge manager obtains the deployment requirement of the container network element from the central manager, and the edge manager is in each of the management managed by the central manager In the logical area; and the edge manager manages the life cycle of the container based on the deployment requirements of the container network element.
根据上述,能够实现基于MANO的支持虚拟机、容器的部署。另外,通过中心管理器对所有逻辑区域的基于虚拟机的虚拟机网元进行生命周期管理,通过中心管理器以外的边缘管理器对各自逻辑区域的基于容器的容器网元进行生命周期管理,从而实现分级管理,能够快速地进行对容器进行部署,并能够节省资源。According to the above, MANO-based deployment of virtual machines and containers can be realized. In addition, the virtual machine-based virtual machine network element of all logical areas is subjected to lifecycle management through the central manager, and the container-based container network elements of the respective logical areas are subjected to lifecycle management through an edge manager other than the central manager, thereby Implement hierarchical management, which enables rapid deployment of containers and saves resources.
结合上述方面,在所述部署方法中,所述中心管理器基于所述虚拟机网元的部署要求对虚拟机网元的生命周期进行管理至少包括:所述中心管理器将所述虚拟机网元的部署要求发送给虚拟机部署单元,所述虚拟部署单元基于所述虚拟网元的部署要求对自身所管理的逻辑区域进行所述虚拟机的部署;所述中心管理器从所述虚拟机部署单元获取所述虚拟机的部署结果。With the above aspect, in the deployment method, the central manager manages the life cycle of the virtual machine network element based on the deployment requirement of the virtual machine network element, at least: the central manager uses the virtual machine network The deployment of the virtual machine is required to be sent to the virtual machine deployment unit, and the virtual deployment unit performs the deployment of the virtual machine on the logical area managed by itself according to the deployment requirement of the virtual network element; the central manager from the virtual machine The deployment unit obtains the deployment result of the virtual machine.
根据上述,中心边缘管理器直接对所管理的所有逻辑区域的基于虚拟机的虚拟机网元进行生成等生命周期的管理。According to the above, the central edge manager directly manages the life cycle of the virtual machine-based virtual machine network element of all the logical areas managed.
结合上述方面,在所述部署方法中,所述边缘管理器基于所述容器网元的部署要求对容器的生命周期进行管理至少包括:所述边缘管理器将所述容器网元的部署要求发送给容器部署单元,所述容器部署单元基于所述容器网元的部署要求对自身所管理的逻辑区域进行所述容器的部署;所述边缘管理器从所述容器部署单元获取所述容器的部署结果;以及所述边缘管理器将所述容器的部署结果发送给所述中心管理器。With the above aspect, in the deployment method, the edge manager manages the life cycle of the container based on the deployment requirement of the container network element, at least: the edge manager sends the deployment requirement of the container network element Deploying a unit to a container, the container deployment unit performing deployment of the container on a logical area managed by itself according to a deployment requirement of the container network element; the edge manager obtaining deployment of the container from the container deployment unit a result; and the edge manager sends the deployment result of the container to the central manager.
根据上述,边缘管理器对所管理的逻辑区域的基于容器的容器网元进行生成等生命周期的管理,能够基于快速地进行容器的部署,并有效地对基于容器的容器网元的生命周期进行管理,降低了生成基于容器的容器网元时的延迟,并且降低了部署失败的机率。从而能够有效地利用启动快、占用资源少的容器。According to the above, the edge manager manages the life cycle of the container-based container network element of the managed logical area, and can quickly perform the container deployment and effectively implement the life cycle of the container-based container network element. Management reduces latency when generating container-based container NEs and reduces the chances of deployment failures. Thereby, it is possible to effectively utilize a container that is quick to start and consumes less resources.
结合上述方面,在所述部署方法中,所述容器还包括在部署容器的虚拟机以及部署容器的物理机。In conjunction with the above aspects, in the deployment method, the container further includes a virtual machine that deploys the container and a physical machine that deploys the container.
结合上述方面,在所述部署方法中,所述逻辑区域是数据中心、地域、可用区、主机组中的某一个。In combination with the above aspect, in the deployment method, the logical area is any one of a data center, a region, an available area, and a host group.
结合上述方面,在所述部署方法中,所述中心管理器被设置在各所述逻辑区域的任一个中,或者被设置所述逻辑区域以外的区域中。In combination with the above aspect, in the deployment method, the central manager is disposed in any one of the logical regions or in an area other than the logical region.
第二方面,本发明的实施例涉及一种虚拟化网元的部署装置,包括:中心管理器,对一个或多个逻辑区域进行虚拟化网元的管理;以及边缘管理器,处于各所述逻辑区域中,所述中心管理器包括:第一接收单元,用于接收实例化请求,所述实例化请求包含虚拟化网元的部署要求;判断单元,用于基于所述虚拟化网元的部署要求来判断虚拟机网元的部署要求和容器网元的部署要求,所述虚拟化网元包含虚拟机网元和容器网元,所述虚拟机网元是基于虚拟机的部署来构成,所述容器网元是基于容器的部署来构成;以及管理单元,用于基于所述虚拟机网元的部署要求对所述虚拟机网元的生命周期进行管理,所述边缘管理器包括:第一接收单元,用于从所述中心管理器获取所述容器网元的部署要求;管理单元,用于基于所述容器网元的部署要求对所述容器的生命周期进行管理。In a second aspect, an embodiment of the present invention relates to a device for deploying a virtualized network element, including: a central manager that manages virtualized network elements for one or more logical areas; and an edge manager at each of the foregoing In the logical area, the central manager includes: a first receiving unit, configured to receive an instantiation request, where the instantiation request includes a deployment requirement of the virtualized network element, and a determining unit, configured to be based on the virtualized network element The deployment requirements are used to determine the deployment requirements of the virtual machine network element and the deployment requirements of the container network element. The virtualized network element includes a virtual machine network element and a container network element, and the virtual machine network element is configured based on the deployment of the virtual machine. The container network element is configured based on the deployment of the container; and the management unit is configured to manage the life cycle of the virtual machine network element based on the deployment requirement of the virtual machine network element, where the edge manager includes: a receiving unit, configured to acquire a deployment requirement of the container network element from the central manager, and a management unit, configured to: the container based on a deployment requirement of the container network element Life-cycle management.
根据上述,能够实现基于MANO的支持虚拟机、容器的部署。另外,通过中心管理器对所有逻辑区域的基于虚拟机的虚拟机网元进行生命周期管理,通过中心管理器以外的边缘管理器对各自逻辑区域的基于容器的容器网元进行生命周期管理,从而实现分级管理,能够快速地进行对容器进行部署,并能够节省资源。According to the above, MANO-based deployment of virtual machines and containers can be realized. In addition, the virtual machine-based virtual machine network element of all logical areas is subjected to lifecycle management through the central manager, and the container-based container network elements of the respective logical areas are subjected to lifecycle management through an edge manager other than the central manager, thereby Implement hierarchical management, which enables rapid deployment of containers and saves resources.
结合上述方面,在所述部署装置中,所述中心管理器还包括:发送单元,用于将所述虚拟机网元的部署要求发送给虚拟机部署单元,所述虚拟部署单元基于所述虚拟网元的部署要求对自身所管理的逻辑区域进行所述虚拟机的部署;第二接收单元,用于从所述虚拟机部署单元获取所述虚拟机的部署结果。In conjunction with the above aspect, in the deployment apparatus, the central manager further includes: a sending unit, configured to send a deployment requirement of the virtual machine network element to a virtual machine deployment unit, where the virtual deployment unit is based on the virtual The deployment of the network element requires the deployment of the virtual machine to the logical area managed by the virtual device. The second receiving unit is configured to obtain the deployment result of the virtual machine from the virtual machine deployment unit.
根据上述,中心边缘管理器直接对所管理的所有逻辑区域的基于虚拟机的虚拟机网元进行生成等生命周期的管理。According to the above, the central edge manager directly manages the life cycle of the virtual machine-based virtual machine network element of all the logical areas managed.
结合上述方面,在所述部署装置中,所述边缘管理器还包括:第一发送单元,用于将所述虚拟网元的部署要求发送给容器部署单元,所述容器部署单元基于所述容器网元的部署要求对自身所管理的逻辑区域进行所述容器的部署;第二接收单元,用于从所述容器部署单元获取所述容器的部署结果;第二发送单元,用于将所述容器的部署结果发送给所述中心管理器。In conjunction with the above aspect, in the deployment apparatus, the edge manager further includes: a first sending unit, configured to send a deployment request of the virtual network element to a container deployment unit, where the container deployment unit is based on the container The deployment of the network element requires the deployment of the container for the logical area managed by itself; the second receiving unit is configured to obtain the deployment result of the container from the container deployment unit; and the second sending unit is configured to: The deployment result of the container is sent to the central manager.
根据上述,边缘管理器对所管理的逻辑区域的基于容器的容器网元进行生成等生命周期的管理,能够基于快速地进行容器的部署,并有效地对基于容器的容器网元的生命周期进行管理,降低了生成基于容器的容器网元时的延迟,并且降低了部署失败的机率。从而能够有 效地利用启动快、占用资源少的容器。According to the above, the edge manager manages the life cycle of the container-based container network element of the managed logical area, and can quickly perform the container deployment and effectively implement the life cycle of the container-based container network element. Management reduces latency when generating container-based container NEs and reduces the chances of deployment failures. Thereby, it is possible to effectively utilize a container that is quick to start and consumes less resources.
结合上述方面,在所述部署装置中,所述容器还包括部署容器的虚拟机以及部署容器的物理机。In conjunction with the above aspects, in the deployment apparatus, the container further includes a virtual machine that deploys the container and a physical machine that deploys the container.
结合上述方面,在所述部署装置中,所述逻辑区域是数据中心、地域、可用区、主机组中的某一个。In combination with the above aspect, in the deployment apparatus, the logical area is any one of a data center, a region, an available area, and a host group.
结合上述方面,在所述部署装置中,所述中心VNFM被设置在各所述逻辑区域的任一中,或者被设置在所述逻辑区域以外的区域中。In connection with the above aspect, in the deployment apparatus, the center VNFM is disposed in any of the logical areas or in an area other than the logical area.
第三方面,本发明的实施例提供了一种计算机可读存储介质,其上存储有指令,该指令被计算机执行而实现上述各方面所述的方法。In a third aspect, an embodiment of the present invention provides a computer readable storage medium having stored thereon instructions that are executed by a computer to implement the methods described in the above aspects.
第四方面,本发明的实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In a fourth aspect, an embodiment of the present invention provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods described in the various aspects above.
第五方面,本发明的实施例提供了一种计算机程序,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In a fifth aspect, embodiments of the present invention provide a computer program that, when run on a computer, causes the computer to perform the methods described in the various aspects above.
图1是本发明实施例涉及的NFV架构的示意图;1 is a schematic diagram of an NFV architecture according to an embodiment of the present invention;
图2是本发明实施例涉及的逻辑区域的关系的示意图;2 is a schematic diagram showing the relationship of logical areas according to an embodiment of the present invention;
图3是以往MANO对VNF进行管理的示意图;3 is a schematic diagram of a MANO management of a VNF in the past;
图4是图3的MANO中的信息交互流图;4 is an information exchange flow diagram in the MANO of FIG. 3;
图5是示出本发明实施例涉及的基于VNFM对虚拟化网元进行管理的示意图;FIG. 5 is a schematic diagram showing management of a virtualized network element based on VNFM according to an embodiment of the present invention; FIG.
图6是示出图5的管理中信息交互的流图;Figure 6 is a flow diagram showing information interaction in the management of Figure 5;
图7是示出本发明实施例的虚拟化网元的部署方法的一例流程图;FIG. 7 is a flowchart showing an example of a method for deploying a virtualized network element according to an embodiment of the present invention;
图8是本发明实施例提供的虚拟化网元部署的网络设备的示意性框图。FIG. 8 is a schematic block diagram of a network device deployed by a virtualized network element according to an embodiment of the present invention.
图1是示出本发明实施例涉及的NFV(Network Functions Virtualization,网络功能虚拟化)架构的示意图。在NFV技术中,主要涉及以下三个方面:要设置的虚拟网络功能,也称为虚拟化网元;实现上述虚拟化网元的网络功能虚拟化基础设施(NFV Infrastructure,NFVI);以及进行虚拟化网元的管理与编排的MAMO。FIG. 1 is a schematic diagram showing an NFV (Network Functions Virtualization) architecture according to an embodiment of the present invention. In NFV technology, it mainly involves the following three aspects: the virtual network function to be set, also called virtualized network element; the network function virtualization infrastructure (NFVI) that implements the above virtualized network element; The management and organization of the network element MAMO.
虚拟化网元是一种虚拟应用,通过针对虚拟化网元部署VM(Virtual Machine,虚拟机)和容器来实现其功能,该虚拟化网元可以包括VM构成的、实现其一部分或全部功能的至少一个虚拟机网元(也称为VNF),以及容器构成的、实现其一部分或者全部功能的至少一个容器网元(称为CNF)。例如,作为虚拟机网元VNF可以分解为一组VNFC(虚拟网络功能单元,VNF Component)以及各VNFC之间的连接关系,每个VNFC映射为一个VM。容器网元CNF也是同样地,包括容器以及容器之间的连接关系。这里,容器网元可以包括部署容器的裸机服务器,也可以包括部署容器的虚拟机,还可以同时包含这两者,具体地,可以根据部署要求选择。在以下的说明中,将容器以Docker和Docker Over VM为例进行说明,但是它们仅是容器的一个示例,也可以是其他的容器。A virtualized network element is a virtual application that implements functions by deploying VMs (virtual machines) and containers for virtualized network elements. The virtualized network elements may include VMs that implement some or all of their functions. At least one virtual machine network element (also referred to as a VNF), and at least one container network element (referred to as CNF) constructed by the container to perform some or all of its functions. For example, the virtual machine network element VNF can be decomposed into a set of VNFC (Virtual Network Function Unit, VNF Component) and a connection relationship between the VNFCs, and each VNFC is mapped to one VM. The container network element CNF is also the same, including the container and the connection relationship between the containers. Here, the container network element may include a bare metal server that deploys the container, and may also include a virtual machine that deploys the container, and may also include both, and specifically, may be selected according to deployment requirements. In the following description, the container is described by taking Docker and Docker Over VM as an example, but they are only an example of a container, and may be other containers.
NFVI则通过在其实体资源上部署VM或者Docker或者Docker Over VM来实现虚拟化网元,提供支撑虚拟化网元的执行所需要的虚拟化资源。NFVI结合了硬件部件和软件组件,是一个资源池,是通过通信网络连接起来的物理基础设施。NFVI implements virtualized network elements by deploying VMs or Dockers or Docker Over VMs on its physical resources, providing virtualized resources needed to support the execution of virtualized network elements. NFVI combines hardware components and software components, is a resource pool, and is a physical infrastructure connected through a communication network.
MANO负责对整个NFVI资源的管理和编排,负责业务网络和NFVI资源的映射和关联,包 含支持物理基础设施虚拟化的物理和/或软件资源的编排和生命周期管理、虚拟化网元的生命周期管理。MANO由NFVO(Network Functions Virtualization Orchestrator,网络功能虚拟化编排器)、VNFM(Virtualized Network Functions Manager,网络功能虚拟化管理器)以及VIM(Virtualized Infrastructure Manager,虚拟化基础设施管理器)共同完成/提供的功能。NFVO主要提供全局的资源调度能力和全局的业务编排能力。VNFM负责虚拟化网元的生命周期管理,提供包括虚拟化网元的创建和终结、虚拟化网元的设置、虚拟化网元的配置、虚拟化网元的监控(健康、性能等)、虚拟化网元故障的自动治愈回复和扩展伸缩等能力,支持各类简单和复杂的虚拟化网元。VIM是NFVI管理系统,包括通用的物理和虚拟资源的管理,执行资源部署与调度等。但是本发明的NFVO、VNFM、VIM的功能划分并不限于此,也可以进行其他方式的功能划分。MANO is responsible for the management and orchestration of the entire NFVI resources, responsible for the mapping and association of business networks and NFVI resources, including the orchestration and lifecycle management of physical and / or software resources supporting the virtualisation of physical infrastructure, and the life cycle of virtualized network elements. management. MANO is jointly completed/provided by NFVO (Network Functions Virtualization Orchestrator), VNFM (Virtualized Network Functions Manager), and VIM (Virtualized Infrastructure Manager). Features. NFVO mainly provides global resource scheduling capabilities and global business orchestration capabilities. The VNFM is responsible for the lifecycle management of the virtualized network element, including the creation and termination of virtualized network elements, the setting of virtualized network elements, the configuration of virtualized network elements, the monitoring of virtualized network elements (health, performance, etc.), and virtual The ability to automatically recover and relocate the network element failure supports various simple and complex virtualized network elements. VIM is an NFVI management system that includes common physical and virtual resource management, execution resource deployment and scheduling. However, the functional division of the NFVO, VNFM, and VIM of the present invention is not limited thereto, and other functional divisions may be performed.
以上说明通过MANO部署的虚拟化网元,包括基于VM的部署的虚拟机网元,以及基于Docker的部署的容器网元或者是基于Docker Over VM的部署的容器网元。在对VM部署时,VIM例如是Openstacke或者Vmware等,在对Docker或者Docker Over VM进行部署时,VIM例如可以是kubenates等业界的容器平台。容器的特点在于启动速度快,占用资源少。The above describes the virtualized network elements deployed by MANO, including virtual machine network elements deployed by VM, and container network elements based on Docker-based deployment or container network elements based on Docker Over VM-based deployment. When deploying to a VM, the VIM is, for example, Openstacke or VMware. When deploying a Docker or Docker Over VM, the VIM may be, for example, a container platform of the industry such as kubenates. The container is characterized by fast startup speed and low resource consumption.
图2是示出本发明实施例涉及的逻辑区域的示意图。逻辑区域包括数据中心(data centre,DC)、地域(Region)、可用区(Availability Zone,AZ)、主机组(Host Aggregate,HA)。DC是从网络连接角度划分出的逻辑区域的分类。DC能够容纳多个服务器以及通信设备,这些设备被放置在一起是因为它们具有相同的对环境的要求以及物理安全上的需求,并且这样放置便于维护。Region是根据地域划分出的物理区域的分类,比如华中地区、华东地区。通常一个虚拟私有云(Virtual Private Cloud,VPC)租户都选择在一个Region里,不会跨Region。DC与Region是从不同维度对物理区域进行划分,两者可能存在交叉,一个DC中可能包含多个Region,一个Region中也可能跨多个DC。AZ是独立的、物理隔离的可用区,一个Region包含多个AZ。一个AZ发生故障时不会影响到其他的AZ。HA是AZ中的多个Host构成。一个AZ中可以包含多个HA。一个HA可以包含多个Host。如图2所示,DC1包含Region1和Region2,Region3横跨DC2和DC3,Region1包含AZ1和AZ2,AZ1包含HA11和HA12。2 is a schematic diagram showing a logical area according to an embodiment of the present invention. The logical area includes a data center (DC), a Region, an Availability Zone (AZ), and a Host Aggregate (HA). A DC is a classification of logical areas that are divided from a network connection perspective. The DC can accommodate multiple servers as well as communication devices that are placed together because they have the same environmental and physical security requirements and are placed for ease of maintenance. Region is a classification of physical regions based on geographical regions, such as Central China and East China. Usually a Virtual Private Cloud (VPC) tenant chooses to be in a Region and does not cross the Region. The DC and Region divide the physical region from different dimensions. There may be intersections between the two. One DC may contain multiple Regions, and one Region may span multiple DCs. AZ is an independent, physically isolated Availability Zone, and a Region contains multiple AZs. When an AZ fails, it does not affect other AZs. HA is composed of multiple Hosts in AZ. Multiple HAs can be included in one AZ. An HA can contain multiple Hosts. As shown in FIG. 2, DC1 includes Region1 and Region2, Region3 spans DC2 and DC3, Region1 includes AZ1 and AZ2, and AZ1 includes HA11 and HA12.
图3是示出以往的MANO对VNF进行管理的示意图。图4是图3的MANO中的信息交互流图。下面参考图3和图4来进行说明。FIG. 3 is a schematic diagram showing management of a VNF by a conventional MANO. 4 is an information exchange flow diagram in the MANO of FIG. 3. Description will be made below with reference to FIGS. 3 and 4.
在图3中,通过MANO中的VNFM来管理多个DC的VNF,VNFM可以安装在部署VNF的某个DC中,也可以安装在独立的DC中。在本例中,VNFM被安装在独立的DC0中,在DC1和DC2中分别要设置多个VNF。如图4所示,在步骤S41中,MANO中的VNFM向VIM1发送VNF的VM的部署要求,要进行DC1的VNF的VM的部署。在步骤S42中,VIM1将VNF的VM的部署结果反馈给VNFM。在步骤S43中,VNFM将VNF的部署要求发送给VIM2,进行DC2的VNF的VM的部署;在步骤S44中,VIM2将VNF的VM部署结果反馈给VNFM。在该例子中,VNFM对各个DC的VNF的生命周期进行管理。In Figure 3, the VNFs of multiple DCs are managed by the VNFM in MANO. The VNFM can be installed in a DC that deploys the VNF, or it can be installed in a separate DC. In this example, the VNFM is installed in a separate DC0, and multiple VNFs are set in DC1 and DC2, respectively. As shown in FIG. 4, in step S41, the VNFM in the MANO sends a deployment request of the VM of the VNF to the VIM1, and the VM of the VNF of the DC1 is deployed. In step S42, VIM1 feeds back the deployment result of the VM of the VNF to the VNFM. In step S43, the VNFM sends the deployment request of the VNF to the VIM2, and performs the deployment of the VM of the VNF of the DC2. In step S44, the VIM2 feeds back the VM deployment result of the VNF to the VNFM. In this example, the VNFM manages the lifecycle of the VNFs of the various DCs.
在该示例中,该部署方式仅支持VM的部署,不支持Docker的部署,也不支持Docker Over VM的部署。In this example, the deployment method only supports VM deployment, does not support Docker deployment, and does not support Docker Over VM deployment.
本发明提出一种基于MAMO的VNFM来支持VM、Docker、Docker Over VM的部署方法。The invention proposes a VMO based on MAMO to support the deployment method of VM, Docker and Docker Over VM.
MANO中的VNFM管理节点支持分离式架构,即,将VNFM功能进行二级拆分,一部分来负责所有区域基于VM的VNF生命周期管理,另一部分来负责各自区域的基于Docker或Docker Over VM的CNF的生命周期管理。图5示出本实施例涉及的基于VNFM的对虚拟化网元进行管理的示意图。图6示出图5的管理中信息交互的流图。The VNFM management node in MANO supports a separate architecture, that is, the VNFM function is split in two steps, one is responsible for VM-based VNF lifecycle management in all regions, and the other is responsible for Docker or Docker Over VM-based CNF in each region. Lifecycle management. FIG. 5 is a schematic diagram of the VNFM-based management of a virtualized network element according to the embodiment. FIG. 6 shows a flow diagram of information interaction in the management of FIG. 5.
在图5中,将部署虚拟化网元的请求信息同步到对DC0、DC1、DC2进行管理的中心VNFM中,中心VNFM对各个DC的部署虚拟网元进行统一管理。这里,中心VNFM可以设置在单独的DC中,也可以设置在DC0、DC1、DC2中的某一个中。另外,在DC0、DC1、DC2的每一个中,设置有VNF/CNF近端部边缘侧管理部件VNFM(以下也称为边缘VNFM),对所在逻辑区域 的基于Docker和Docekr Over VM的CNF的生命周期进行管理,边缘VNFM负责所在区域的基于Docker、Docker Over VM的CNF的生命周期管理。这里,中心VNFM对所管理的所有逻辑区域进行基于VM的VNF的生命周期管理,中心VNFM和边缘VNFM构成的整体架构同时支持VM、Docker、Docker Over VM方式部署。In FIG. 5, the request information for deploying the virtualized network element is synchronized to the central VNFM that manages DC0, DC1, and DC2, and the central VNFM performs unified management on the deployed virtual network elements of each DC. Here, the center VNFM may be provided in a separate DC or in one of DC0, DC1, and DC2. In addition, in each of DC0, DC1, and DC2, a VNF/CNF near-end edge side management unit VNFM (hereinafter also referred to as edge VNFM) is provided, and the life of the NF based on Docker and Dokerk Over VM for the logical area is set. The cycle is managed, and the edge VNFM is responsible for the lifecycle management of CNF based on Docker and Docker Over VM in the region. Here, the central VNFM performs VM-based VNF lifecycle management for all logical areas managed, and the overall architecture of the central VNFM and the edge VNFM supports VM, Docker, and Docker Over VM mode deployment.
中心VNFM在接收到虚拟化网元的部署请求时,对基于VM的虚拟机网元的部署请求以及基于容器的容器网元的部署请求进行判断。When receiving the deployment request of the virtualized network element, the central VNFM determines the deployment request of the VM-based virtual machine network element and the deployment request of the container-based container network element.
在进行VM部署时,中心VNFM将VM部署要求发送给管理各逻辑区域的VM的部署的VIM,进行VM的部署的VIM例如是openstack或者Vmware等,VIM按照部署要求对自己所管理的区域的VM进行部署,然后VIM将VM的部署结果反馈给中心VNFM。中心VNFM负责基于VM的VNF的生命周期管理,例如管理基于VM的VNF的生成。During the VM deployment, the central VNFM sends the VM deployment requirements to the deployed VIMs of the VMs managing the logical areas. The VIMs for VM deployment are, for example, openstack or VMware. The VIMs are VMs in the area managed by the VIM according to the deployment requirements. After deployment, VIM feeds back the VM's deployment results to the central VNFM. The central VNFM is responsible for the lifecycle management of VM-based VNFs, such as managing the generation of VM-based VNFs.
在进行Docker部署时,中心VNFM中将各个逻辑区域的Docker或Docker Over VM的部署要求发送给各个逻辑区域,这里可以仅是Docker的部署请求,也可以是Docker Over VM的部署请求,或者是它们的组合。中心VNFM向区域边缘VNFM发送Docker或Docker Over VM的部署要求。以对Docker进行部署为例来说明,中心VNFM直接将Docker的部署要求发送给边缘VNFM,边缘VNFM对基于Docker的CNF的生命周期进行管理,将该部署要求传递给对容器的部署进行管理的VIM,例如K8S/Mesos等容器管理平台,VIM按照部署要求进行Docker的部署,并将部署结果反馈给边缘VNFM,边缘VNFM将该区域的部署结果反馈给中心VNFM,中心VNFM从各个边缘VNFM收集各个逻辑区域的Docker的部署息来集中进行展示和管理。这里,边缘VNFM对基于Docker的CNF的生命周期进行管理。In the Docker deployment, the central VNFM sends the deployment requirements of the Docker or Docker Over VM of each logical area to each logical area, which can be only the Docker deployment request, the Docker Over VM deployment request, or they The combination. The central VNFM sends the deployment requirements for the Docker or Docker Over VM to the zone edge VNFM. Taking Docker deployment as an example, the central VNFM directly sends the Docker deployment requirements to the edge VNFM. The edge VNFM manages the lifecycle of the Docker-based CNF and passes the deployment requirements to the VIM that manages the deployment of the container. For example, the container management platform such as K8S/Mesos, VIM deploys Docker according to the deployment requirements, and feeds the results back to the edge VNFM. The edge VNFM feeds back the deployment results of the area to the central VNFM. The central VNFM collects the logic from each edge VNFM. The Docker deployment of the region is focused on display and management. Here, the edge VNFM manages the lifecycle of the Docker-based CNF.
参照图6对具体的部署方法进行详细地说明。The specific deployment method will be described in detail with reference to FIG.
如图6所示,中心VNFM对逻辑区域1和逻辑区域2的虚拟化网元的部署进行管理。在步骤S610中,中心VNFM从外部获取实例化请求,该实例化请求包含将虚拟化网元VNF1实例化的部署要求。中心VNFM基于所接收的VNF1的部署要求判断基于VM的VNF的部署要求和基于Docker的CNF的部署要求,。在中心VNFM判断出进行基于VM的VNF的部署要求和基于Docker的CNF的部署要求的情况下,在步骤S611中,中心VNFM向逻辑区域1的VIM11发送VM的部署要求,该VIM11按照从中心VNFM接收的部署要求进行VM的部署,这里VIM11是对逻辑区域1的VM进行部署和管理。在步骤S612中,VIM11将VM的部署结果直接反馈给中心VNFM。As shown in FIG. 6, the central VNFM manages the deployment of virtualized network elements of logical area 1 and logical area 2. In step S610, the central VNFM obtains an instantiation request from the outside, the instantiation request including a deployment requirement to instantiate the virtualized network element VNF1. The central VNFM determines the deployment requirements of the VM-based VNF and the deployment requirements of the Docker-based CNF based on the received deployment requirements of the VNF1. In the case where the central VNFM determines the deployment requirements of the VM-based VNF and the deployment requirements of the Docker-based CNF, in step S611, the central VNFM sends a deployment request of the VM to the VIM 11 of the logical area 1, the VIM11 follows the secondary VNFM. The received deployment requires VM deployment, where VIM11 deploys and manages the VMs of logical area 1. In step S612, the VIM 11 directly feeds back the deployment result of the VM to the central VNFM.
接着,在步骤S613中,中心VNFM将实例化VNF1的部署请求中基于Docker的网元部署要求发送给区域1的边缘VNFM,即指示区域1边缘VNFM按照Docker方式编排DC1。边缘VNFM按照分配要求对基于Docker的CNF进行编排,进行CNF的生命周期行管理。在步骤S614中,边缘VNFM将Docker部署要求发送给VIM1,VIM1按照部署要求进行区域1中的Docker的部署,并在步骤S615中,VIM1将Docker的部署结果反馈给边缘VNFM,在步骤S616中,边缘VNFM将Docker的部署结果发送给中心VNFM。在S617中,中心VNFM对所有的VM以及Docker的部署结果进行统一展示和管理,从而完成VNF1的实例化。Next, in step S613, the central VNFM sends the Docker-based network element deployment request in the deployment request of the instantiated VNF1 to the edge VNFM of the area 1, that is, the indication area 1 edge VNFM arranges DC1 according to the Docker manner. The edge VNFM orchestrate the Docker-based CNF according to the allocation requirements, and conduct lifecycle management of the CNF. In step S614, the edge VNFM sends the Docker deployment request to the VIM1, the VIM1 performs the deployment of the Docker in the area 1 according to the deployment requirement, and in step S615, the VIM1 feeds back the Docker deployment result to the edge VNFM, in step S616, The edge VNFM sends the Docker deployment results to the central VNFM. In S617, the central VNFM uniformly displays and manages the deployment results of all VMs and Dockers to complete the instantiation of VNF1.
同样的,在步骤S618中,中心VNFM从外部获取实例化请求,该实例化请求包含对虚拟化网元VNF2进行部署的部署要求。中心VNFM基于所接收的VNF2的部署请求进行判断,在中心VNFM判断出进行基于VM的VNF的部署和基于Docker的CNF的部署的情况下,在步骤S619中,中心VNFM向逻辑区域2的VIM21发送VM的部署要求,该VIM21按照从中心VNFM接收的部署要求进行VM的部署,这里VIM21是对逻辑区域2的VM进行部署和管理。在步骤S620中,VIM21将VM的部署结果直接反馈给中心VNFM。Similarly, in step S618, the central VNFM obtains an instantiation request from the outside, the instantiation request including a deployment requirement for deploying the virtualized network element VNF2. The central VNFM judges based on the received deployment request of the VNF2, and in the case that the central VNFM determines the deployment of the VM-based VNF and the deployment of the Docker-based CNF, the central VNFM transmits to the VIM 21 of the logical area 2 in step S619. The deployment of the VM requires that the VIM 21 deploy the VM in accordance with the deployment requirements received from the central VNFM, where the VIM 21 deploys and manages the VMs of the logical area 2. In step S620, the VIM 21 directly feeds back the deployment result of the VM to the central VNFM.
接着,在步骤S621中,中心VNFM将实例化VNF2的部署请求中基于Docker的网元部署要求发送给区域2的边缘VNFM,即指示区域2的边缘VNFM按照Docker方式编排DC2。边缘VNFM按照分配要求对基于Docker的CNF进行编排,进行CNF的生命周期行管理。在步骤S622中,边缘VNFM将Docker部署要求发送给VIM21,VIM21按照部署要求进行区域2中的Docker 的部署,并在步骤S622中,VIM21将Docker的部署结果反馈给边缘VNFM,在步骤S623中,边缘VNFM将Docker的部署结果发送给中心VNFM。在S624中,中心VNFM对所有的VM以及Docker的部署结果进行统一展示和管理,从而完成VNF2的实例化。Next, in step S621, the central VNFM sends the Docker-based network element deployment request in the deployment request of the instantiated VNF2 to the edge VNFM of the area 2, that is, the edge VNFM indicating the area 2 arranges the DC2 in the Docker manner. The edge VNFM orchestrate the Docker-based CNF according to the allocation requirements, and conduct lifecycle management of the CNF. In step S622, the edge VNFM sends the Docker deployment request to the VIM 21, the VIM 21 performs the deployment of the Docker in the area 2 according to the deployment requirement, and in step S622, the VIM 21 feeds back the Docker deployment result to the edge VNFM, in step S623, The edge VNFM sends the Docker deployment results to the central VNFM. In S624, the central VNFM uniformly displays and manages the deployment results of all VMs and Dockers, thereby completing the instantiation of VNF2.
本发明实施例并不限于图6所示的顺序,可以根据执行时间来适当地调换顺序。根据部署要求,基于VM的VNF部署、基于容器的CNF部署可以同时进行,或者也可以先执行基于容器的CNF部署,再执行基于VM的VNF部署。The embodiment of the present invention is not limited to the order shown in FIG. 6, and the order can be appropriately changed according to the execution time. Depending on the deployment requirements, VM-based VNF deployment, container-based CNF deployment can be performed simultaneously, or container-based CNF deployment can be performed first, followed by VM-based VNF deployment.
在各个DC/AZ等内部署一个对基于Docker的CNF的生命周期进行管理的边缘VNFM,实行按业务特性的二级管理,即中心VNFM管理所有区域的基于VM的VNF的生命周期管理,边缘VNFM管理各自区域的基于Docker或者Docker Over VM的CNF的生命周期管理。本发明达到的有益效果总结如下:在ETSI架构上解决了Docker以及Docker Over VM场景的生命周期管理。Deploying an edge VNFM that manages the lifecycle of Docker-based CNF in each DC/AZ, etc., implements secondary management by service characteristics, that is, central VNFM manages lifecycle management of VM-based VNF in all areas, edge VNFM Manage the lifecycle management of CNFs based on Docker or Docker Over VM in their respective regions. The beneficial effects achieved by the present invention are summarized as follows: Lifecycle management of Docker and Docker Over VM scenarios is solved on the ETSI architecture.
通过上述,能够实现基于MANO的支持虚拟机、容器的部署。另外,通过中心VNFM对所有逻辑区域的基于VM的虚拟机网元进行生命周期管理,通过中心VNFM以外的边缘VNFM对各自逻辑区域的基于容器的容器网元进行生命周期管理,从而实现分级管理,能够快速地进行对容器进行部署,并能够节省资源。Through the above, MANO-based deployment of virtual machines and containers can be realized. In addition, the VM-based virtual machine network elements of all logical areas are managed by the central VNFM, and the container-based container network elements of the respective logical areas are managed by the edge VNFM outside the central VNFM to implement hierarchical management. Ability to quickly deploy containers and save resources.
另外,能够基于快速地进行容器的部署,并有效地对基于容器的容器网元的生命周期进行管理,降低了生成基于容器的容器网元时的延迟,并且降低了部署失败的机率。从而能够有效地利用启动快、占用资源少的容器。In addition, the deployment of the container can be performed quickly, and the life cycle of the container-based container network element can be effectively managed, the delay in generating the container-based container network element is reduced, and the probability of deployment failure is reduced. Thereby, it is possible to effectively utilize a container that is quick to start and consumes less resources.
即,如图7所示,VNFM二级分离架构执行以下VNF的部署方法。That is, as shown in FIG. 7, the VNFM secondary separation architecture performs the following deployment method of the VNF.
在步骤S71中,中心VNFM接收实例化请求,所述实例化请求包含虚拟化网元的部署要求,所述中心VNFM对一个或多个逻辑区域进行虚拟化网元的管理;在步骤S72中,中心VNFM基于所述虚拟化网元的部署要求来判断虚拟机网元的部署要求和容器网元的部署要求,所述虚拟化网元包含虚拟机网元和容器网元,所述虚拟机网元是基于VM的部署来构成,所述容器网元是基于容器的部署来构成;在步骤S73中,中心VNFM基于所述虚拟网元的部署要求对所述虚拟机网元的生命周期进行管理;在步骤S74中,边缘VNFM从所述中心VNFM获取所述容器网元的部署要求;在步骤S75中,边缘VNFM基于所述虚拟网元的部署要求对所述容器的生命周期进行管理。In step S71, the central VNFM receives an instantiation request, where the instantiation request includes a deployment requirement of the virtualized network element, and the central VNFM performs management of the virtualized network element on the one or more logical areas; in step S72, The central VNFM determines the deployment requirements of the virtual machine network element and the deployment requirements of the container network element based on the deployment requirements of the virtualized network element, where the virtualized network element includes a virtual machine network element and a container network element, and the virtual machine network The component is configured based on the deployment of the VM, and the container network element is configured based on the deployment of the container. In step S73, the central VNFM manages the life cycle of the virtual machine network element based on the deployment requirement of the virtual network element. In step S74, the edge VNFM acquires the deployment requirement of the container network element from the center VNFM; in step S75, the edge VNFM manages the life cycle of the container based on the deployment requirement of the virtual network element.
可选地,在上述的部署方法中,中心VNFM基于所述虚拟网元的部署要求对所述虚拟机网元的生命周期进行管理至少包括:中心VNFM将所述虚拟机网元的部署要求发送给虚拟机部署单元,所述虚拟部署单元基于所述虚拟网元的部署要求对自身所管理的逻辑区域进行所述虚拟机的部署;中心VNFM从所述虚拟机部署单元获取所述VM的部署结果。Optionally, in the foregoing deployment method, the central VNFM manages the life cycle of the virtual machine network element based on the deployment requirement of the virtual network element, at least: the central VNFM sends the deployment requirement of the virtual machine network element Deploying a virtual machine to the virtual machine, the virtual deployment unit performing the deployment of the virtual machine on the logical area managed by the virtual network element; the central VNFM acquiring the deployment of the VM from the virtual machine deployment unit result.
可选地,在上述的部署方法中,边缘VNFM基于所述容器网元的部署要求对容器的生命周期进行管理至少包括:边缘VNFM将所述容器网元的部署要求发送给容器部署单元,所述容器部署单元基于所述容器网元的部署要求对自身所管理的逻辑区域进行所述容器的部署;所述边缘管理器从所述容器部署单元获取所述容器的部署结果;以及所述边缘VNFM将所述容器的部署结果发送给所述中心VNFM。Optionally, in the foregoing deployment method, the edge VNFM manages the life cycle of the container based on the deployment requirement of the container network element, at least: the edge VNFM sends the deployment requirement of the container network element to the container deployment unit, where The container deployment unit performs the deployment of the container on the logical area managed by itself according to the deployment requirement of the container network element; the edge manager obtains the deployment result of the container from the container deployment unit; and the edge The VNFM sends the deployment result of the container to the central VNFM.
可选地,在上述的部署方法中,所述容器网元包括部署容器的虚拟机以及部署容器的物理机。Optionally, in the foregoing deployment method, the container network element includes a virtual machine that deploys the container and a physical machine that deploys the container.
可选地,在上述的部署方法中,所述逻辑区域是DC、Region、AZ、HA中的某一个。Optionally, in the foregoing deployment method, the logical area is one of DC, Region, AZ, and HA.
可选地,在上述的部署方法中,所述中心VNFM被设置在各所述逻辑区域的一个中,或者被设置在所述逻辑区域以外的区域中。Optionally, in the above deployment method, the central VNFM is disposed in one of each of the logical regions, or is disposed in an area other than the logical region.
通过本发明的实施例,能够实现基于MANO的支持虚拟机、容器的部署。另外,通过中心VNFM对所有逻辑区域的基于VM的虚拟化网元进行生命周期管理,通过中心VNFM以外的边缘VNFM对各自逻辑区域的基于容器的容器网元进行生命周期管理,从而实现分级管理, 能够快速地进行对容器进行部署,并能够节省资源。With the embodiments of the present invention, MANO-based deployment of virtual machines and containers can be implemented. In addition, the VM-based virtualized network element of all logical areas is subjected to lifecycle management through the central VNFM, and the container-based container network elements of the respective logical areas are managed by the edge VNFM outside the central VNFM, thereby implementing hierarchical management. Ability to quickly deploy containers and save resources.
另外,能够基于快速地进行容器的部署,并有效地对基于容器的容器网元的生命周期进行管理,降低了生成基于容器的容器网元时的延迟,并且降低了部署失败的机率。从而能够有效地利用启动快、占用资源少的容器。In addition, the deployment of the container can be performed quickly, and the life cycle of the container-based container network element can be effectively managed, the delay in generating the container-based container network element is reduced, and the probability of deployment failure is reduced. Thereby, it is possible to effectively utilize a container that is quick to start and consumes less resources.
下面,对与上述方法对应的基于MANO的VNF的部署装置进行说明。Next, a deployment apparatus of a MANO-based VNF corresponding to the above method will be described.
本发明的实施例涉及本发明的实施例涉及一种虚拟化网元的部署装置,包括:中心VNFM,对一个或多个逻辑区域进行虚拟化网元的管理;以及边缘VNFM,处于各所述逻辑区域中,所述中心VNFM包括:第一接收单元,用于接收实例化请求,所述实例化请求包含虚拟化网元的部署要求;判断单元,用于基于所述虚拟化网元的部署要求来判断虚拟机网元的部署要求和容器网元的部署要求,所述虚拟化网元包含虚拟机网元和容器网元,所述虚拟机网元是基于VM的部署来构成,所述容器网元是基于容器的部署来构成;以及管理单元,用于基于所述虚拟机网元的部署要求对所述虚拟机网元的生命周期进行管理,所述边缘VNFM包括:第一接收单元,用于从所述中心VNFM获取所述容器网元的部署要求;管理单元,用于基于所述容器网元的部署要求对所述容器的生命周期进行管理。Embodiments of the present invention relate to a device for deploying a virtualized network element, including: a central VNFM for managing virtualized network elements of one or more logical areas; and an edge VNFM at each of the foregoing In the logical area, the central VNFM includes: a first receiving unit, configured to receive an instantiation request, where the instantiation request includes a deployment requirement of the virtualized network element, and a determining unit, configured to deploy based on the virtualized network element Requiring to determine the deployment requirements of the virtual machine network element and the deployment requirements of the container network element, where the virtualized network element includes a virtual machine network element and a container network element, where the virtual machine network element is configured based on VM deployment, The container network element is configured based on the deployment of the container; and the management unit is configured to manage the life cycle of the virtual machine network element based on the deployment requirement of the virtual machine network element, where the edge VNFM includes: a first receiving unit a deployment request for obtaining the container network element from the central VNFM; a management unit, configured to perform a life cycle of the container based on a deployment requirement of the container network element management.
可选地,上述部署装置还包括:在所述部署装置中,所述中心VNFM还包括:发送单元,用于将所述虚拟机网元的部署要求发送给虚拟机部署单元,所述虚拟部署单元基于所述虚拟网元的部署要求对自身所管理的逻辑区域进行所述虚拟机的部署;第二接收单元,用于从所述虚拟机部署单元获取所述虚拟机的部署结果。Optionally, the foregoing deployment apparatus further includes: in the deployment apparatus, the central VNFM further includes: a sending unit, configured to send a deployment requirement of the virtual machine network element to a virtual machine deployment unit, where the virtual deployment The unit performs the deployment of the virtual machine on the logical area managed by the virtual network element based on the deployment requirement of the virtual network element. The second receiving unit is configured to obtain the deployment result of the virtual machine from the virtual machine deployment unit.
可选地,在所述部署装置中,所述边缘VNFM还包括:第一发送单元,用于将所述虚拟网元的部署要求发送给容器部署单元,所述容器部署单元基于所述容器网元的部署要求对自身所管理的逻辑区域进行所述容器的部署;第二接收单元,用于从所述容器部署单元获取所述容器的部署结果;第二发送单元,用于将所述容器的部署结果发送给所述中心VNFM。Optionally, in the deployment device, the edge VNFM further includes: a first sending unit, configured to send a deployment request of the virtual network element to a container deployment unit, where the container deployment unit is based on the container network The deployment of the container requires the deployment of the container for the logical area managed by itself; the second receiving unit is configured to obtain the deployment result of the container from the container deployment unit; and the second sending unit is configured to use the container The deployment results are sent to the central VNFM.
可选地,在所述部署装置中,所述容器网元包括部署容器的虚拟机以及部署容器的物理机。Optionally, in the deploying device, the container network element includes a virtual machine that deploys a container and a physical machine that deploys the container.
可选地,在上述部署装置中,所述逻辑区域是DC、Region、AZ、HA中的某一个。Optionally, in the foregoing deployment apparatus, the logical area is one of DC, Region, AZ, and HA.
可选地,在上述部署装置中,所述中心VNFM被设置在所述逻辑区域的任一个中,也可以设置在所述逻辑区域以外的区域中。Optionally, in the foregoing deployment apparatus, the central VNFM is disposed in any one of the logical areas, or may be disposed in an area other than the logical area.
另外,通过本发明的该实施例,能够实现基于MANO的支持虚拟机、容器的部署。另外,通过中心VNFM对所有逻辑区域的基于虚拟机的虚拟机网元进行生命周期管理,通过中心VNFM以外的边缘VNFM对各自逻辑区域的基于容器的容器网元进行生命周期管理,从而实现分级管理,能够快速地进行对容器进行部署,并能够节省资源。In addition, with this embodiment of the present invention, it is possible to realize the deployment of MANO-based supporting virtual machines and containers. In addition, the virtual machine-based virtual machine network elements of all logical areas are managed by the central VNFM, and the container-based container network elements of the respective logical areas are managed by the edge VNFM outside the central VNFM to implement hierarchical management. It enables rapid deployment of containers and saves resources.
另外,能够基于快速地进行容器的部署,并有效地对基于容器的容器网元的生命周期进行管理,降低了生成基于容器的容器网元时的延迟,并且降低了部署失败的机率。从而能够有效地利用启动快、占用资源少的容器。In addition, the deployment of the container can be performed quickly, and the life cycle of the container-based container network element can be effectively managed, the delay in generating the container-based container network element is reduced, and the probability of deployment failure is reduced. Thereby, it is possible to effectively utilize a container that is quick to start and consumes less resources.
图8为本发明实施例提供的VNF部署的网络设备的示意性框图。如图8所示,网络设备80包括输入设备81、输入接口82、处理器83、存储器84、输出接口85、以及输出设备86。FIG. 8 is a schematic block diagram of a network device deployed by a VNF according to an embodiment of the present invention. As shown in FIG. 8, network device 80 includes an input device 81, an input interface 82, a processor 83, a memory 84, an output interface 85, and an output device 86.
其中,输入接口82、处理器83、存储器84、以及输出接口85通过总线87相互连接,输入设备81和输出设备86分别通过输入接口82和输出接口85与总线87连接,进而与网络设备80的其他组件连接。The input interface 82, the processor 83, the memory 84, and the output interface 85 are connected to each other through a bus 87. The input device 81 and the output device 86 are respectively connected to the bus 87 through the input interface 82 and the output interface 85, thereby being connected to the network device 80. Other components are connected.
具体地,输入设备81接收来自外部的输入信息,并通过输入接口82将输入信息传送到处理器83;处理器83基于存储器84中存储的计算机可执行指令对输入信息进行处理以生成输出信息,将输出信息临时或者永久地存储在存储器84中,然后通过输出接口85将输出信 息传送到输出设备86;输出设备86将输出信息输出到网络设备80的外部供用户使用。Specifically, input device 81 receives input information from the outside and transmits the input information to processor 83 via input interface 82; processor 83 processes the input information based on computer executable instructions stored in memory 84 to generate output information, The output information is temporarily or permanently stored in the memory 84, and then the output information is transmitted to the output device 86 through the output interface 85; the output device 86 outputs the output information to the outside of the network device 80 for use by the user.
网络设备80可以执行本发明实施例中的各步骤。Network device 80 can perform the steps in embodiments of the present invention.
处理器83可以是一个或多个中央处理器(central processing unit,CPU)。在处理器83是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。Processor 83 can be one or more central processing units (CPUs). In the case where the processor 83 is a CPU, the CPU may be a single core CPU or a multi-core CPU.
存储器84可以是但不限于随机存储存储器(RAM)、只读存储器(ROM),可擦除可编程只读存储器(EPROM)、光盘只读存储器(CD-ROM)、硬盘等中的一种或多种。存储器84用于存储程序代码。The memory 84 may be, but not limited to, one of a random access memory (RAM), a read only memory (ROM), an erasable programmable read only memory (EPROM), a compact disk read only memory (CD-ROM), a hard disk, or the like. A variety. Memory 84 is used to store program code.
可以理解的是,在本发明实施例中,图8的网络设备80可以是虚拟化网元的部署装置。It can be understood that, in the embodiment of the present invention, the network device 80 of FIG. 8 may be a deployment device of a virtualized network element.
本说明书的各个部分均采用递进的方式进行描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点介绍的都是与其他实施例不同之处。尤其,对于装置和系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例部分的说明即可。The various parts of the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on differences from other embodiments. In particular, for device and system embodiments, the description is relatively simple as it is substantially similar to the method embodiment, and the relevant portions can be found in the description of the method embodiments.
Claims (12)
- 一种虚拟化网元的部署方法,其特征在于,包括:A method for deploying a virtualized network element, comprising:中心管理器接收实例化请求,所述实例化请求包含虚拟化网元的部署要求,所述中心管理器对一个或多个逻辑区域进行虚拟化网元的管理;The central manager receives an instantiation request, the instantiation request includes a deployment requirement of a virtualized network element, and the central manager performs management of the virtualized network element on one or more logical areas;中心管理器基于所述虚拟化网元的部署要求来判断虚拟机网元的部署要求和容器网元的部署要求,所述虚拟化网元包含虚拟机网元和容器网元,所述虚拟机网元是基于虚拟机的部署来构成,所述容器网元是基于容器的部署来构成;The central manager determines the deployment requirements of the virtual machine network element and the deployment requirements of the container network element based on the deployment requirements of the virtualized network element, where the virtualized network element includes a virtual machine network element and a container network element, and the virtual machine The network element is constructed based on the deployment of the virtual machine, and the container network element is constructed based on the deployment of the container;所述中心管理器基于所述虚拟机网元的部署要求对所述虚拟机网元的生命周期进行管理;The central manager manages a life cycle of the virtual machine network element based on a deployment requirement of the virtual machine network element;边缘管理器从所述中心管理器获取所述容器网元的部署要求,所述边缘管理器处于所述中心管理器所管理的各逻辑区域中;以及An edge manager obtains a deployment requirement of the container network element from the central manager, the edge manager being in each logical area managed by the central manager;所述边缘管理器基于所述容器网元的部署要求对所述容器的生命周期进行管理。The edge manager manages the lifecycle of the container based on deployment requirements of the container network element.
- 如权利要求1所述的部署方法,其特征在于,The deployment method of claim 1 wherein所述中心管理器基于所述虚拟机网元的部署要求对虚拟机网元的生命周期进行管理至少包括:The management of the virtual machine network element life cycle based on the deployment requirements of the virtual machine network element includes:所述中心管理器将所述虚拟机网元的部署要求发送给虚拟机部署单元,所述虚拟部署单元基于所述虚拟网元的部署要求对自身所管理的逻辑区域进行所述虚拟机的部署;The central manager sends the deployment request of the virtual machine network element to the virtual machine deployment unit, and the virtual deployment unit performs the virtual machine deployment on the logical area managed by the virtual network element based on the deployment requirement of the virtual network element. ;所述中心管理器从所述虚拟机部署单元获取所述虚拟机的部署结果。The central manager obtains a deployment result of the virtual machine from the virtual machine deployment unit.
- 如权利要求1或2所述的部署方法,其特征在于,The deployment method according to claim 1 or 2, characterized in that所述边缘管理器基于所述容器网元的部署要求对容器的生命周期进行管理至少包括:The edge manager manages the life cycle of the container based on the deployment requirements of the container network element at least:所述边缘管理器将所述容器网元的部署要求发送给容器部署单元,所述容器部署单元基于所述容器网元的部署要求对自身所管理的逻辑区域进行所述容器的部署;The edge manager sends the deployment requirement of the container network element to the container deployment unit, and the container deployment unit performs the container deployment on the logical area managed by itself according to the deployment requirement of the container network element;所述边缘管理器从所述容器部署单元获取所述容器的部署结果;以及The edge manager obtains a deployment result of the container from the container deployment unit;所述边缘管理器将所述容器的部署结果发送给所述中心管理器。The edge manager sends the deployment result of the container to the central manager.
- 如权利要求1至3中任一项所述的部署方法,其特征在于,The deployment method according to any one of claims 1 to 3, characterized in that所述容器网元包括部署容器的虚拟机以及部署容器的物理机。The container network element includes a virtual machine that deploys the container and a physical machine that deploys the container.
- 如权利要求1至4中任一项所述的部署方法,其特征在于,The deployment method according to any one of claims 1 to 4, characterized in that所述逻辑区域是数据中心、地域、可用区、主机组中的某一个。The logical area is one of a data center, a region, an available area, and a host group.
- 如权利要求1至5中任一项所述的部署方法,其特征在于,The deployment method according to any one of claims 1 to 5, characterized in that所述中心管理器被设置在各所述逻辑区域的任一个中,或者被设置在所述逻辑区域以外的区域中。The center manager is disposed in any one of the logical regions or is disposed in an area other than the logical region.
- 一种虚拟化网元的部署装置,其特征在于,包括:A device for deploying a virtualized network element, comprising:中心管理器,对一个或多个逻辑区域进行虚拟化网元的管理;以及a central manager that manages virtualized network elements for one or more logical areas;边缘管理器,处于各所述逻辑区域中,An edge manager, in each of the logical regions,所述中心管理器包括:The central manager includes:第一接收单元,用于接收实例化请求,所述实例化请求包含虚拟化网元的部署要求;a first receiving unit, configured to receive an instantiation request, where the instantiation request includes a deployment requirement of the virtualized network element;判断单元,用于基于所述虚拟化网元的部署要求来判断虚拟机网元的部署要求和容器网元的部署要求,所述虚拟化网元包含虚拟机网元和容器网元,所述虚拟机网元是基于虚拟机的部署来构成,所述容器网元是基于容器的部署来构成;以及a determining unit, configured to determine, according to a deployment requirement of the virtualized network element, a deployment requirement of a virtual machine network element and a deployment requirement of a container network element, where the virtualized network element includes a virtual machine network element and a container network element, The virtual machine network element is constructed based on the deployment of the virtual machine, and the container network element is constructed based on the deployment of the container;管理单元,用于基于所述虚拟机网元的部署要求对所述虚拟机网元的生命周期进行 管理,a management unit, configured to manage a life cycle of the virtual machine network element based on a deployment requirement of the virtual machine network element,所述边缘管理器包括:The edge manager includes:第一接收单元,用于从所述中心管理器获取所述容器网元的部署要求;a first receiving unit, configured to acquire, from the central manager, a deployment requirement of the container network element;管理单元,用于基于所述容器网元的部署要求对所述容器的生命周期进行管理。a management unit, configured to manage a life cycle of the container based on a deployment requirement of the container network element.
- 如权利要求7所述的部署装置,其特征在于,The deployment device of claim 7 wherein:所述中心管理器还包括:The central manager also includes:发送单元,用于将所述虚拟机网元的部署要求发送给虚拟机部署单元,所述虚拟部署单元基于所述虚拟网元的部署要求对自身所管理的逻辑区域进行所述虚拟机的部署;a sending unit, configured to send the deployment requirement of the virtual machine network element to the virtual machine deployment unit, where the virtual deployment unit performs the virtual machine deployment on the logical area managed by the virtual network element based on the deployment requirement of the virtual network element ;第二接收单元,用于从所述虚拟机部署单元获取所述虚拟机的部署结果。And a second receiving unit, configured to acquire a deployment result of the virtual machine from the virtual machine deployment unit.
- 如权利要求7或8所述的部署装置,其特征在于,A deployment device according to claim 7 or 8, wherein所述边缘管理器还包括:The edge manager further includes:第一发送单元,用于将所述虚拟网元的部署要求发送给容器部署单元,所述容器部署单元基于所述容器网元的部署要求对自身所管理的逻辑区域进行所述容器的部署;a first sending unit, configured to send, to the container deployment unit, the deployment requirement of the virtual network element, where the container deployment unit performs the container deployment on the logical area managed by the container network element according to the deployment requirement of the container network element;第二接收单元,用于从所述容器部署单元获取所述容器的部署结果;a second receiving unit, configured to acquire a deployment result of the container from the container deployment unit;第二发送单元,用于将所述容器的部署结果发送给所述中心管理器。a second sending unit, configured to send the deployment result of the container to the central manager.
- 如权利要求7至9中任一项所述的部署装置,其特征在于,A deployment device according to any one of claims 7 to 9, wherein所述容器网元包括部署容器的虚拟机以及部署容器的物理机。The container network element includes a virtual machine that deploys the container and a physical machine that deploys the container.
- 如权利要求7至10中任一项所述的部署装置,其特征在于,A deployment device according to any one of claims 7 to 10, wherein所述逻辑区域是数据中心、地域、可用区、主机组中的某一个。The logical area is one of a data center, a region, an available area, and a host group.
- 如权利要求7至11中任一项所述的部署装置,其特征在于,A deployment apparatus according to any one of claims 7 to 11, wherein所述中心管理器被设置在各所述逻辑区域的任一个中,或者被设置在所述逻辑区域以外的区域中。The center manager is disposed in any one of the logical regions or is disposed in an area other than the logical region.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810203961.0A CN110275756B (en) | 2018-03-13 | 2018-03-13 | Method and device for deploying virtualized network element |
CN201810203961.0 | 2018-03-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019174449A1 true WO2019174449A1 (en) | 2019-09-19 |
Family
ID=67908539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/075742 WO2019174449A1 (en) | 2018-03-13 | 2019-02-21 | Method and apparatus for deploying virtualized network elements |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110275756B (en) |
WO (1) | WO2019174449A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114679380A (en) * | 2021-04-09 | 2022-06-28 | 腾讯云计算(北京)有限责任公司 | Method and related device for creating edge cluster |
US11698780B2 (en) | 2021-04-21 | 2023-07-11 | Hewlett Packard Enterprise Development Lp | Deployment and configuration of an edge site based on declarative intents indicative of a use case |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112910673B (en) * | 2019-12-04 | 2023-05-09 | 中国移动通信有限公司研究院 | Method, device, equipment and storage medium for determining network element deployment information |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120147894A1 (en) * | 2010-12-08 | 2012-06-14 | Mulligan John T | Methods and apparatus to provision cloud computing network elements |
CN104158675A (en) * | 2013-05-13 | 2014-11-19 | 华为技术有限公司 | Computing node arranging method, processing node, controller and system |
CN105700961A (en) * | 2016-02-29 | 2016-06-22 | 华为技术有限公司 | Business container creation method and device |
CN105975330A (en) * | 2016-06-27 | 2016-09-28 | 华为技术有限公司 | Virtual network function deployment method, device and system adopting NEC (network edge computing) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105656646B (en) * | 2014-11-10 | 2019-02-05 | 中国移动通信集团公司 | A kind of dispositions method and device of Virtual NE |
CN105700861A (en) * | 2014-11-27 | 2016-06-22 | 迈普通信技术股份有限公司 | Embedded program run symbol table generation method and apparatus |
US10678604B2 (en) * | 2015-01-23 | 2020-06-09 | Nec Corporation | Network functions virtualization management and orchestration method, network functions virtualization management and orchestration system, and program |
US11099869B2 (en) * | 2015-01-27 | 2021-08-24 | Nec Corporation | Management of network functions virtualization and orchestration apparatus, system, management method, and program |
CN106375101B (en) * | 2015-07-20 | 2019-08-27 | 华为技术有限公司 | A kind of life cycle management method and device |
CN105760214B (en) * | 2016-04-19 | 2019-02-26 | 华为技术有限公司 | A kind of equipment state and resource information monitoring method, relevant device and system |
-
2018
- 2018-03-13 CN CN201810203961.0A patent/CN110275756B/en active Active
-
2019
- 2019-02-21 WO PCT/CN2019/075742 patent/WO2019174449A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120147894A1 (en) * | 2010-12-08 | 2012-06-14 | Mulligan John T | Methods and apparatus to provision cloud computing network elements |
CN104158675A (en) * | 2013-05-13 | 2014-11-19 | 华为技术有限公司 | Computing node arranging method, processing node, controller and system |
CN105700961A (en) * | 2016-02-29 | 2016-06-22 | 华为技术有限公司 | Business container creation method and device |
CN105975330A (en) * | 2016-06-27 | 2016-09-28 | 华为技术有限公司 | Virtual network function deployment method, device and system adopting NEC (network edge computing) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114679380A (en) * | 2021-04-09 | 2022-06-28 | 腾讯云计算(北京)有限责任公司 | Method and related device for creating edge cluster |
CN114679380B (en) * | 2021-04-09 | 2024-04-26 | 腾讯云计算(北京)有限责任公司 | Method and related device for creating edge cluster |
US11698780B2 (en) | 2021-04-21 | 2023-07-11 | Hewlett Packard Enterprise Development Lp | Deployment and configuration of an edge site based on declarative intents indicative of a use case |
US11914982B2 (en) | 2021-04-21 | 2024-02-27 | Hewlett Packard Enterprise Development Lp | Deployment and configuration of an edge site based on declarative intents indicative of a use case |
Also Published As
Publication number | Publication date |
---|---|
CN110275756B (en) | 2023-04-18 |
CN110275756A (en) | 2019-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10701139B2 (en) | Life cycle management method and apparatus | |
US11003553B2 (en) | Method and apparatus for failover processing | |
WO2019148854A1 (en) | Method and device for deploying virtualized network element device | |
EP3291499B1 (en) | Method and apparatus for network service capacity expansion | |
US9348646B1 (en) | Reboot-initiated virtual machine instance migration | |
US20190173802A1 (en) | Sla-based resource allocation method and nfvo | |
US10135692B2 (en) | Host management across virtualization management servers | |
US20160380906A1 (en) | Hybrid cloud resource scheduling | |
US20110185063A1 (en) | Method and system for abstracting non-functional requirements based deployment of virtual machines | |
US20090210873A1 (en) | Re-tasking a managed virtual machine image in a virtualization data processing system | |
US10275268B2 (en) | Providing entropy to a guest operating system | |
EP3780499A1 (en) | Resource pool processing method and apparatus | |
WO2019174449A1 (en) | Method and apparatus for deploying virtualized network elements | |
US8205207B2 (en) | Method of automated resource management in a partition migration capable environment | |
US20210294730A1 (en) | Managing resources used during a development pipeline | |
CN109347716B (en) | Instantiation method and device of consumer VNF | |
WO2019001140A1 (en) | Method and device for managing vnf instantiation | |
US20130074068A1 (en) | Method, System, and Computer Program for Implementing a Customizable Virtual Appliance | |
US20130117549A1 (en) | Method for executing multiple operating systems and electronic apparatus | |
CN109347661B (en) | Instantiation method and device of consumer VNF | |
CN109302314B (en) | Controlled node simulation method and related device | |
US9641384B1 (en) | Automated management of computing instance launch times | |
US11954534B2 (en) | Scheduling in a container orchestration system utilizing hardware topology hints | |
CN109343935A (en) | The instantiation method and device of consumer VNF | |
US20210157626A1 (en) | Prioritizing booting of virtual execution environments |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19767014 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19767014 Country of ref document: EP Kind code of ref document: A1 |