WO2020224421A1 - Upgrade method, apparatus and system, and storage medium - Google Patents

Upgrade method, apparatus and system, and storage medium Download PDF

Info

Publication number
WO2020224421A1
WO2020224421A1 PCT/CN2020/085500 CN2020085500W WO2020224421A1 WO 2020224421 A1 WO2020224421 A1 WO 2020224421A1 CN 2020085500 W CN2020085500 W CN 2020085500W WO 2020224421 A1 WO2020224421 A1 WO 2020224421A1
Authority
WO
WIPO (PCT)
Prior art keywords
physical
machines
machine
physical machine
upgrade
Prior art date
Application number
PCT/CN2020/085500
Other languages
French (fr)
Chinese (zh)
Inventor
潘加强
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2020224421A1 publication Critical patent/WO2020224421A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Definitions

  • This application relates to cloud platform technology, such as an upgrade method, device, system, and storage medium.
  • Network function also called network element virtualization
  • Network Function Virtualization refers to network functions deployed and running on a telecom cloud platform.
  • the resources used by the network function are managed by the Management and Orchestration (MANO) system.
  • the MANO system is composed of three subsystems, namely the Virtualized Orchestration (NFV) and the Virtualized Network Element Manager (Virtualized Network Element Manager). Function Manager, VNFM) and Virtualized Infrastructure Manager (VIM).
  • the infrastructure of the telecom cloud platform (Network Function Virtualization Infrastructure (NFVI)) consists of physical machines (including master nodes and physical machines managed by master nodes), network equipment and cloud system software. Network functions After virtualization, how to upgrade the physical machine without affecting the normal operation of the network functions running on the cloud platform is a big problem facing the telecom cloud and network function virtualization.
  • the embodiments of the present application provide an upgrade method, device, system, and storage medium, which can realize the upgrade of a physical machine without affecting the normal operation of the network function and the business of the network function running on the cloud platform.
  • the embodiment of the application provides an upgrade method, including:
  • N is an integer greater than or equal to 1
  • the physical machine For each physical machine, perform the migration of the network element services of the virtual machine on the physical machine; evacuate the virtual machine on the physical machine to other physical machines; perform the upgrade of the physical machine; notify the network function virtualization infrastructure NFVI to be upgraded
  • the physical machine is included in management and application;
  • M is an integer greater than or equal to 1; for all physical machines in each group, perform the migration of the network element services of the virtual machines on all the physical machines in the group; Evacuate the virtual machines on all physical machines of the group to other physical machines; upgrade all the physical machines in the group; notify the network function virtualization infrastructure NFVI to include all the upgraded physical machines in the group into management and application;
  • the embodiment of the application provides an upgrade method, including:
  • Network element service migration request before the physical machine upgrade carries physical machine information or grouped all physical machine information or N physical machine information;
  • the embodiment of the application provides an upgrade method, including the following one:
  • the service migration request is received, the service migration is performed, and the fourth response task is sent to complete;
  • All virtual machine evacuation requests on the physical machine are received, where all virtual machine evacuation requests on the physical machine carry physical machine information or grouped all physical machine information or N physical machine information, and the virtual machines or grouped virtual machines on the physical machine All virtual machines on physical machines or virtual machines on N physical machines are evacuated to other physical machines, and the second response task is sent to complete; where N is an integer greater than or equal to 1;
  • An embodiment of the application provides an upgrade device, including:
  • the physical machine determination module is set to determine the N physical machines that need to be upgraded; where N is an integer greater than or equal to 1;
  • the first physical machine upgrade module is set to perform the migration of the network element services of the virtual machine on the physical machine for each physical machine; evacuate the virtual machine on the physical machine to other physical machines; perform the upgrade of the physical machine; notify the network function
  • the virtualized infrastructure NFVI incorporates the upgraded physical machine into management and application;
  • N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, perform service migration of the network elements of virtual machines on all physical machines in the group; Evacuate the virtual machines on all the grouped physical machines to other physical machines; upgrade all the grouped physical machines; notify the network function virtualization infrastructure NFVI to include all the upgraded physical machines in the group into management and application;
  • An embodiment of the application provides an upgrade device, including:
  • the first communication module is configured to receive the network element service migration request before the physical machine upgrade, wherein the network element service migration request before the physical machine upgrade carries the physical machine information or grouped all physical machine information or N physical machine information, N is an integer greater than or equal to 1; initiate a service migration request to the network element; receive the completion of the fourth response task of the network element; after receiving the completion of the fourth response task of all network elements, send the completion of the first response task ;
  • the virtual machine and network element identification module is set to identify the virtual machine on the physical machine or the virtual machine on all the grouped physical machines or the virtual machine on the N physical machines according to the physical machine information or the information of all the physical machines in the group or the information of N physical machines. Machine, and the network elements on the virtual machine.
  • An embodiment of the application provides an upgrade device, including any one of the following:
  • the second communication module is configured to receive the service migration request and send a fourth response to completion of the task; the service migration module is configured to perform service migration;
  • the third communication module is configured to receive all virtual machine evacuation requests on the physical machine; wherein, all virtual machine evacuation requests on the physical machine carry physical machine information or grouped information of all physical machines or N physical machine information; wherein, N is an integer greater than or equal to 1; the second response task is completed; the virtual machine evacuation module is set to evacuate virtual machines on a physical machine or virtual machines on all physical machines in a group or virtual machines on N physical machines to other physical machines on board;
  • the fourth communication module is set to receive the upgrade request; send the third response to the completion of the task; the second physical machine upgrade module is set to download the new version and upgrade the physical machine to the new version.
  • the embodiment of the present application provides an upgrade device, including a processor and a computer-readable storage medium.
  • the computer-readable storage medium stores instructions. When the instructions are executed by the processor, any of the above Upgrade method.
  • the embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, any one of the above-mentioned upgrading methods is implemented.
  • the embodiment of the application provides an upgrade system, including:
  • the upgrade module is set to determine the N physical machines that need to be upgraded; where N is an integer greater than or equal to 1;
  • the pre-physical machine upgrade network element service migration request For each physical machine, initiate a pre-physical machine upgrade network element service migration request to the virtualized network element manager VNFM of the management and orchestration MANO system, where the pre-physical machine upgrade network element service migration request carries physical machine information; receiving The first response task of the VNFM to the MANO system is completed; all virtual machine evacuation requests on the physical machine are initiated to the NFVI; wherein all virtual machine evacuation requests on the physical machine carry the physical machine information; the NFVI is received The second response task is completed; an upgrade request is initiated to the physical machine; the third response task received from the physical machine is completed; the network function virtualization infrastructure NFVI is notified to include the upgraded physical machine in management and application;
  • N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, initiate a network element service before physical machine upgrade to the VNFM of the MANO system A migration request, where the network element service migration request before the physical machine upgrade carries all physical machine information of the group; the first response task of the VNFM received from the MANO system is completed; all virtual machines on the physical machine are initiated to the NFVI Evacuation request; wherein, all virtual machine evacuation requests on the physical machine carry all physical machine information of the group; receiving the completion of the second response task of the NFVI; initiate an upgrade request to all the physical machines of the group; receive The third response task to all physical machines in the group is completed; the network function virtualization infrastructure NFVI is notified to include all upgraded physical machines in the group into management and application;
  • the N physical machines into M groups; where M is an integer greater than or equal to 1; for each physical machine in each group, initiate a physical machine upgrade to the VNFM of the MANO system.
  • the meta-service migration request where the network element service migration request before the physical machine upgrade carries the physical machine information; the first response task of all physical machines in the group that receives the VNFM of the MANO system is completed; NFVI initiates all virtual machine evacuation requests on the physical machine; wherein, all virtual machine evacuation requests on the physical machine carry the physical machine information; the second response task of all physical machines in the group that receives the NFVI is completed ; Initiate an upgrade request to all physical machines in the group; the third response task of all physical machines that receive the group is completed; notify the network function virtualization infrastructure NFVI to include all upgraded physical machines in the group into the management and application;
  • the pre-physical machine upgrade network element service migration request carries Physical machine information
  • the first response task of the N physical machines receiving the VNFM of the MANO system is completed; all virtual machine evacuation requests on the physical machine are initiated to the NFVI; wherein, all virtual machine evacuation requests on the physical machine carry the physical Machine information;
  • the second response task of the N physical machines that received the NFVI is completed; an upgrade request is initiated to the N physical machines; the third response task of the N physical machines is received is completed; the network function virtualization foundation is notified
  • the facility NFVI incorporates N upgraded physical machines into management and application;
  • the VNFM is set to receive the network element service migration request before the physical machine upgrade, and the network element service migration request before the physical machine upgrade carries the physical machine information or grouped all physical machine information or N physical machine information; according to the physical machine information or The grouped all physical machine information or N physical machine information identifies the virtual machines on the physical machine or the virtual machines on all the grouped physical machines or the virtual machines on the N physical machines, and the network elements on the virtual machines; to the network element Initiate a service migration request; receive the completion of the fourth response task of the network element; after receiving the completion of the fourth response task of all network elements, send the completion of the first response task;
  • the network element is set to receive the service migration request, perform the service migration, and send the fourth response task to complete;
  • NFVI is set to receive all virtual machine evacuation requests on the physical machine; wherein, all virtual machine evacuation requests on the physical machine carry physical machine information or grouped information of all physical machines or N physical machine information; Evacuate virtual machines on all physical machines or virtual machines on N physical machines to other physical machines; send the second response task to complete;
  • the physical machine is set to receive the upgrade request; the new version is downloaded, and the physical machine is upgraded to the new version; the third response task is completed.
  • Fig. 1 is a flowchart of an upgrade method proposed in an embodiment of the application
  • FIG. 2 is a flowchart of another upgrade method proposed in an embodiment of the application.
  • FIG. 3 is a flowchart of another upgrade method proposed in an embodiment of the application.
  • FIG. 4 is a flowchart of another upgrade method proposed in an embodiment of the application.
  • FIG. 5 is a flowchart of another upgrade method proposed in an embodiment of the application.
  • FIG. 6 is a flowchart of another upgrade method proposed in an embodiment of the application.
  • FIG. 7 is a flowchart of an upgrade method proposed in Embodiment 1 of this application.
  • FIG. 8 is a flowchart of an upgrade method proposed in Embodiment 2 of this application.
  • FIG. 9 is a flowchart of an upgrade method proposed in Embodiment 3 of this application.
  • FIG. 10 is a flowchart of an upgrade method proposed in Embodiment 4 of this application.
  • FIG. 11 is a schematic diagram of the structural composition of an upgrade device proposed in an embodiment of the application.
  • FIG. 12 is a schematic diagram of the structural composition of another upgrade device proposed in an embodiment of the application.
  • FIG. 13 is a schematic diagram of the structural composition of another upgrade device proposed in an embodiment of the application.
  • 15 is a schematic diagram of the structural composition of another upgrade device proposed in an embodiment of the application.
  • FIG. 16 is a schematic diagram of the structural composition of an upgrade system proposed in an embodiment of the application.
  • an embodiment of the present application proposes an upgrade method, including:
  • Step 100 Determine N physical machines to be upgraded; where N is an integer greater than or equal to 1.
  • Step 101 For each physical machine, perform business migration of the network element of the virtual machine on the physical machine; evacuate the virtual machine on the physical machine to other physical machines; perform the upgrade of the physical machine; notify the network function virtualization infrastructure NFVI to The upgraded physical machine is included in management and application.
  • the upgrade process of each physical machine includes the following steps:
  • the above steps of different physical machines are independent of each other and do not affect each other.
  • the above steps of different physical machines can be run in parallel, or after one physical machine has performed the above steps, the above steps of another physical machine can be executed .
  • the upgrade sequence is determined, and the service migration of the network element of the virtual machine on the physical machine is performed on each physical machine in turn according to the upgrade sequence; the virtual machine on the physical machine is evacuated to other physical machines; Upgrade of the physical machine; notify the network function virtualization infrastructure NFVI to incorporate the upgraded physical machine into management and application.
  • the migration of the network element service of the virtual machine on the physical machine includes:
  • the pre-physical machine upgrade network element service migration request carries physical machine information; the first VNFM received from the MANO system The response task is complete.
  • the NFVO of the MANO system initiates a service migration request of the network element before the physical machine upgrade to the VNFM of the MANO system, and the first response task of the VNFM of the MANO system is received through the NFVO of the MANO system.
  • evacuating virtual machines on a physical machine to other physical machines includes:
  • NFVI is the master control node of all physical machines, and a cloud platform runs on NFVI.
  • performing the upgrade of the physical machine includes: initiating an upgrade request to the physical machine; receiving the completion of the third response task of the physical machine.
  • An upgrade agent can be set in the physical machine to implement the upgrade of the physical machine, that is, receiving the upgrade request, downloading the new version and upgrading the physical machine, and sending the third response to completion.
  • the upgrade request may carry information such as the upgraded version.
  • an upgrade method including:
  • Step 200 Determine N physical machines to be upgraded; where N is an integer greater than or equal to 1.
  • Step 201 Divide N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, perform service migration of the network elements of virtual machines on all physical machines in the group Evacuate the virtual machines on all the grouped physical machines to other physical machines; upgrade all the grouped physical machines; notify the network function virtualization infrastructure NFVI to include all the upgraded physical machines in the group into management and application.
  • the N physical machines can be grouped in any manner.
  • the grouping method is not used to limit the protection scope of the embodiments of the present application.
  • the number of physical machines included in different groups may be the same or different.
  • the migration of the service of the network element of the virtual machine on the grouped physical machine includes:
  • the network element service migration request before the physical machine upgrade carries the information of all physical machines in the group; the first response task of the VNFM received from the MANO system is completed.
  • the business migration of the network element of the virtual machine on the physical machine includes:
  • the pre-physical machine upgrade network element service migration request carries physical machine information; the first VNFM received from the MANO system The response task is complete.
  • each physical machine may correspond to an execution process, or all the physical machines in the group may be combined into one execution process.
  • each physical machine corresponds to an execution process
  • the migration of the network element services of the virtual machines on all physical machines in the group is completed.
  • evacuating virtual machines on all physical machines in a group to other physical machines includes:
  • Evacuation of virtual machines from physical machines to other physical machines includes:
  • each physical machine when evacuating virtual machines on all physical machines in the group to other physical machines, each physical machine can correspond to an execution process, or all physical machines in the group can be combined into one execution process.
  • each physical machine corresponds to an execution process, the completion of the second response task of all physical machines in the group is received, and the virtual machines on all the physical machines in the group are evacuated to other physical machines to complete.
  • the upgrading of all the physical machines in the group includes: initiating an upgrade request to all the physical machines in the group; and the third response task of all the physical machines receiving the group is completed.
  • an upgrade method including:
  • Step 300 Determine N physical machines to be upgraded; where N is an integer greater than or equal to 1.
  • Step 301 Perform the migration of the network element services of the virtual machines on the N physical machines; evacuate the virtual machines on the N physical machines to other physical machines; perform the upgrade of the N physical machines; notify the network function virtualization infrastructure NFVI to N upgraded physical machines are included in management and application.
  • performing the service migration of the network element of the virtual machine on the N physical machines includes:
  • the network element service migration request before the physical machine upgrade carries N physical machine information; the first response task of the VNFM received from the MANO system is completed.
  • the migration of the network element services of the virtual machine on the physical machine includes:
  • the pre-physical machine upgrade network element service migration request carries physical machine information; the first VNFM received from the MANO system The response task is complete.
  • each physical machine may correspond to one execution process, or N physical machines may be combined into one execution process.
  • the first response task of the N physical machines is received and the network element service migration of the virtual machines on the N physical machines is completed.
  • evacuating virtual machines on N physical machines to other physical machines includes:
  • Evacuation of virtual machines from physical machines to other physical machines includes:
  • each physical machine when evacuating virtual machines on N physical machines to other physical machines, each physical machine can correspond to an execution process, or N physical machines and physical machines can be combined into one execution process.
  • the virtual machines on the N physical machines are evacuated to other physical machines to complete.
  • performing an upgrade of N physical machines includes: initiating an upgrade request to N physical machines; receiving the completion of the third response task of the N physical machines.
  • an upgrade method including:
  • Step 400 Receive a network element service migration request before the physical machine upgrade, where the network element service migration request before the physical machine upgrade carries physical machine information.
  • Step 401 Identify the virtual machine on the physical machine and the network element on the virtual machine according to the physical machine information.
  • Step 402 Initiate a service migration request to the network element; the fourth response task of receiving the network element is completed.
  • Step 403 After receiving the completion of the fourth response task of all network elements, the sending of the first response task is completed.
  • an upgrade method including:
  • Step 500 Receive a network element service migration request before the physical machine upgrade, where the network element service migration request before the physical machine upgrade carries information about all the physical machines in the group.
  • Step 501 Identify the virtual machines on all the grouped physical machines and the network elements on the virtual machines according to the information of all the grouped physical machines.
  • Step 502 Initiate a service migration request to the network element; the fourth response task of receiving the network element is completed.
  • Step 503 After receiving the completion of the fourth response task of all network elements, the sending of the first response task is completed.
  • an upgrade method including:
  • Step 600 Receive a network element service migration request before the physical machine upgrade, and the network element service migration request before the physical machine upgrade carries N physical machine information; where N is an integer greater than or equal to 1.
  • Step 601 Identify the virtual machines on the N physical machines and the network elements on the virtual machines according to the information of the N physical machines.
  • Step 602 Initiate a service migration request to the network element; the fourth response task of receiving the network element is completed.
  • Step 603 After receiving the completion of the fourth response task of all network elements, the sending of the first response task is completed.
  • Another embodiment of the present application proposes an upgrade method, including:
  • the service migration request is received, the service migration is performed, and the fourth response task is completed.
  • service migration is performed according to its own reliability design form.
  • the reliability design of its own form is the main and standby mode, the main and standby machines are switched to realize the service migration; when the reliability design form of its own is the load sharing mode, the service is migrated to other network elements of load sharing.
  • Another embodiment of the present application proposes an upgrade method, including:
  • All virtual machine evacuation requests on the physical machine are received; wherein all virtual machine evacuation requests on the physical machine carry physical machine information; the virtual machines on the physical machine are evacuated to other physical machines; the second response task is completed.
  • Another embodiment of the present application proposes an upgrade method, including:
  • Another embodiment of the present application proposes an upgrade method, including:
  • Another embodiment of the present application proposes an upgrade method, including:
  • the upgrade request is received; the new version is downloaded, and the physical machine is upgraded to the new version; the third response task is completed.
  • the upgrade request carries information such as the upgraded version.
  • the embodiment of the present application implements the upgrade of the physical machine without affecting the normal operation of the network function and the business of the network function running on the cloud platform by means of service migration and virtual machine evacuation.
  • the upgrade module is an independently deployed device that upgrades a single physical machine in the cloud platform.
  • the method includes:
  • Step 700 The upgrade module determines the physical machine to be upgraded.
  • Step 701 The upgrade module initiates a pre-physical machine upgrade network element service migration request to the NFVO of the MANO system, and the pre-physical machine upgrade network element service migration request carries information about the physical machine to be upgraded.
  • Step 702 The NFVO of the MANO system forwards the network element service migration request before the physical machine upgrade to the VNFM.
  • Step 703 The VNFM of the MANO system identifies the virtual machines running on the physical machines and the network elements related to these virtual machines according to the physical machine information.
  • Step 704 The VNFM of the MANO system respectively initiates service migration requests to these network elements.
  • Step 705 After receiving the service migration request, the network element performs service migration or main/standby switchover according to its own reliability design form.
  • Step 706 After the network element completes the service migration, it sends a fourth response to the VNFM of the MANO system to complete the task.
  • Step 707 After the VNFM of the MANO system receives the completion of the fourth response task of all network elements, it sends the first response task to the NFVO of the MANO system to complete, and the NFVO of the MANO system forwards the completion of the first response task to the upgrade module.
  • Step 708 The upgrade module initiates an evacuation request for all virtual machines on the physical machine to the NFVI (cloud system).
  • Step 709 After receiving all the virtual machine evacuation requests on the physical machine, the NFVI (cloud system) evacuates all the virtual machines on the physical machine to other physical machines.
  • NFVI cloud system
  • Step 710 After the NFVI completes the evacuation, it sends a second response to the upgrade module to complete the task.
  • Step 711 The upgrade module initiates an upgrade request to the upgrade agent running on the physical machine, and carries information such as the upgraded version.
  • Step 712 The upgrade agent downloads the new version to the upgrade module, and upgrades the physical machine to the new version.
  • Step 713 After completing the upgrade, the upgrade agent sends a third response to the upgrade module that the upgrade is complete.
  • Step 714 After receiving the third response that the upgrade is completed, the upgrade module notifies the NFVI to include the upgraded physical machine into management and application.
  • the upgrade module is an independently deployed device to upgrade multiple physical machines in the cloud platform.
  • the method includes:
  • Step 800 The upgrade module determines a list of physical machines to be upgraded, and determines the upgrade sequence.
  • Steps 801 to 814 are performed on each physical machine in the list of physical machines to be upgraded according to the upgrade sequence.
  • Step 801 The upgrade module initiates a pre-physical machine upgrade network element service migration request to the NFVO of the MANO system, and the pre-physical machine upgrade network element service migration request carries the physical machine information to be upgraded.
  • Step 802 The NFVO of the MANO system forwards the network element service migration request before the physical machine upgrade to the VNFM.
  • Step 803 The VNFM of the MANO system identifies the virtual machines running on the physical machines and the network elements related to these virtual machines according to the physical machine information.
  • Step 804 The VNFM of the MANO system initiates service migration requests to these network elements respectively.
  • Step 805 After receiving the service migration request, the network element performs service migration or main/standby switchover according to its own reliability design form.
  • Step 806 After the network element completes the service migration, it sends a fourth response to the VNFM of the MANO system to complete the task.
  • Step 807 After the VNFM of the MANO system receives the completion of the fourth response task of all network elements, it sends the first response task to the NFVO of the MANO system to complete, and the NFVO of the MANO system forwards the completion of the first response task to the upgrade module.
  • Step 808 The upgrade module initiates an evacuation request for all virtual machines on the physical machine to the NFVI (cloud system).
  • Step 809 After receiving all the virtual machine evacuation requests on the physical machine, the NFVI (cloud system) evacuates all the virtual machines on the physical machine to other physical machines.
  • NFVI cloud system
  • Step 810 After the NFVI completes the evacuation, it sends a second response to the upgrade module to complete the task.
  • Step 811 The upgrade module initiates an upgrade request to the upgrade agent running on the physical machine, and carries information such as the upgraded version.
  • Step 812 The upgrade agent downloads the new version to the upgrade module, and upgrades the physical machine to the new version.
  • Step 813 After completing the upgrade, the upgrade agent sends a third response to the upgrade module that the upgrade is complete.
  • Step 814 After receiving the third response that the upgrade is completed, the upgrade module notifies NFVI to include the upgraded physical machine into management and application.
  • Step 815 The upgrade module upgrades all the physical machines in sequence, and the upgrade is completed.
  • the upgrade module is a module deployed on NFVO, which upgrades a single physical machine in the cloud platform.
  • the method includes:
  • Step 900 The upgrade module determines the physical machine to be upgraded.
  • Step 901 The upgrade module initiates a pre-physical machine upgrade network element service migration request to the VNFM of the MANO system, and the pre-physical machine upgrade network element service migration request carries information about the physical machine to be upgraded.
  • Step 902 The VNFM of the MANO system identifies the virtual machines running on the physical machines and the network elements related to these virtual machines according to the physical machine information.
  • Step 903 The VNFM of the MANO system initiates service migration requests to these network elements respectively.
  • Step 904 After receiving the service migration request, the network element performs service migration or main/standby switchover according to its own reliability design form.
  • Step 905 After the network element completes the service migration, it sends a fourth response to the VNFM of the MANO system to complete the task.
  • Step 906 After receiving the completion of the fourth response task from all network elements, the VNFM of the MANO system sends the first response task completed to the upgrade module.
  • Step 907 The upgrade module initiates an evacuation request of all virtual machines on the physical machine to the NFVI (cloud system).
  • Step 908 After receiving all the virtual machine evacuation requests on the physical machine, the NFVI (cloud system) evacuates all the virtual machines on the physical machine to other hosts.
  • NFVI cloud system
  • Step 909 After the NFVI completes the evacuation, it sends a second response to the upgrade module to complete the task.
  • Step 910 The upgrade module initiates an upgrade request to the upgrade agent running on the physical machine, and carries information such as the upgraded version.
  • Step 911 The upgrade agent downloads the new version to the upgrade module, and upgrades the physical machine to the new version.
  • Step 912 After completing the upgrade, the upgrade agent sends a third response to the upgrade module that the upgrade is complete.
  • Step 913 After receiving the third response that the upgrade is completed, the upgrade module notifies the NFVI to include the upgraded physical machine into management and application.
  • the upgrade module is a module deployed on the NFVI, which upgrades multiple physical machines in the cloud platform.
  • the method includes:
  • Step 1000 The upgrade module determines a list of physical machines to be upgraded, and determines the upgrade sequence.
  • Step 1001. The upgrade module initiates a pre-physical machine upgrade network element service migration request to the NFVO of the MANO system, and the pre-physical machine upgrade network element service migration request carries information about the physical machine to be upgraded.
  • Step 1002 The NFVO of the MANO system forwards the network element service migration request before the physical machine upgrade to the VNFM.
  • Step 1003 The VNFM of the MANO system identifies the virtual machines running on the physical machines and the network elements related to these virtual machines according to the physical machine information.
  • Step 1004 The VNFM of the MANO system respectively initiates service migration requests to these network elements.
  • Step 1005 After receiving the service migration request, the network element performs service migration or main/standby switchover according to its own reliability design form.
  • Step 1006 After the network element completes the service migration, it sends the fourth response task to the VNFM of the MANO system to complete.
  • Step 1007 After the VNFM of the MANO system receives the completion of the fourth response task of all network elements, it sends the first response task to the NFVO of the MANO system to complete, and the NFVO of the MANO system forwards the completion of the first response task to the upgrade module.
  • Step 1008 The upgrade module initiates an evacuation request for all virtual machines on the physical machine to the NFVI (cloud system).
  • Step 1009 After receiving all the virtual machine evacuation requests on the physical machine, the NFVI (cloud system) evacuates all the virtual machines on the physical machine to other physical machines.
  • NFVI cloud system
  • Step 1010 After the NFVI completes the evacuation, it sends a second response to the upgrade module to complete the task.
  • Step 1011 The upgrade module initiates an upgrade request to the upgrade agent running on the physical machine, and carries information such as the upgraded version.
  • Step 1012 The upgrade agent downloads the new version to the upgrade module, and upgrades the physical machine to the new version.
  • Step 1013 After the upgrade agent completes the upgrade, it sends a third response to the upgrade module that the upgrade is complete.
  • Step 1014 After receiving the response, the upgrade module notifies the NFVI to include the upgraded physical machine into management and application.
  • Step 1015 The upgrade module upgrades all physical machines in sequence, and the upgrade is completed.
  • an upgrade device including:
  • the physical machine determination module 1101 is set to determine the N physical machines that need to be upgraded; where N is an integer greater than or equal to 1; the first physical machine upgrade module 1102 is set to perform virtual machines on the physical machine for each physical machine Evacuate the virtual machines on the physical machines to other physical machines; upgrade the physical machines; notify the network function virtualization infrastructure NFVI to incorporate the upgraded physical machines into management and application; or, to add N
  • the physical machine is divided into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, the network element service migration of the virtual machines on all the physical machines in the group is performed; all the physical machines in the group are Evacuate the virtual machines on the computer to other physical machines; perform the upgrade of all the physical machines in the group; notify the network function virtualization infrastructure NFVI to include all the upgraded physical machines in the group into management and application; or, perform virtual on N physical machines
  • the business migration of the network element of the machine evacuate the virtual machines on the N physical machines to other physical machines; upgrade the N physical machines; notify the network
  • the physical machine determining module 1101 is also configured to determine the upgrade sequence; the first physical machine upgrading module 1102 is also configured to perform the network element of the virtual machine on each physical machine in sequence according to the upgrade sequence. Evacuate virtual machines on physical machines to other physical machines; upgrade physical machines; notify network function virtualization infrastructure NFVI to incorporate the upgraded physical machines into management and applications.
  • the first physical machine upgrade module 1102 is configured to implement the migration of the network element services of the virtual machine on the physical machine in the following manner: initiate to the virtual network element manager VNFM of the management and orchestration MANO system The network element service migration request before the physical machine upgrade, the network element service migration request before the physical machine upgrade carries the physical machine information; the first response task of the VNFM received from the MANO system is completed.
  • the first physical machine upgrade module 1102 is configured to implement the service migration of the network element of the virtual machine on the physical machine for grouping in the following manner: initiate a physical machine upgrade network element to the VNFM of the MANO system Service migration request, the network element service migration request before the physical machine upgrade carries all the physical machine information of the group; the first response task of the VNFM received from the MANO system is completed.
  • the first physical machine upgrade module 1102 is configured to implement the service migration of the network elements of virtual machines on the N physical machines in the following manner: initiate the physical machine upgrade network element to the VNFM of the MANO system The service migration request, the network element service migration request before the physical machine upgrade carries N physical machine information; the first response task of the VNFM received from the MANO system is completed.
  • the first physical machine upgrade module 1102 is configured to implement the evacuation of virtual machines on a physical machine to other physical machines in the following manner: initiate an evacuation request for all virtual machines on the physical machine to the NFVI; All virtual machine evacuation requests on the physical machine carry the physical machine information; the second response task received from the NFVI is completed.
  • the first physical machine upgrade module 1102 is configured to implement the evacuation of the virtual machines on all the grouped physical machines to other physical machines in the following manner: initiate an evacuation request for all virtual machines on the physical machine to the NFVI; All virtual machine evacuation requests on the physical machine carry all physical machine information of the group; the second response task received from the NFVI is completed.
  • the first physical machine upgrade module 1102 is configured to implement the evacuation of virtual machines on N physical machines to other physical machines in the following manner: initiating all virtual machine evacuation requests on the physical machine to the NFVI; wherein, the All virtual machine evacuation requests on the physical machine carry N physical machine information; the second response task received from the NFVI is completed.
  • the first physical machine upgrade module 1102 is configured to implement the upgrade of the physical machine in the following manner: initiate an upgrade request to the physical machine; receive the completion of the third response task of the physical machine.
  • the first physical machine upgrade module 1102 is configured to implement the upgrade of all the physical machines that are grouped in the following manner: initiate an upgrade request to all the physical machines in the group; the first physical machine that receives the group Three response tasks are completed.
  • the first physical machine upgrade module 1102 is configured to implement the upgrade of N physical machines in the following manner: initiate an upgrade request to N physical machines; and receive the completion of the third response task of the N physical machines.
  • an upgrade device including:
  • the first communication module 1201 is configured to receive a network element service migration request before the physical machine upgrade, where the network element service migration request before the physical machine upgrade carries physical machine information or grouped all physical machine information or N physical machine information;
  • the network element initiates a service migration request; receives the completion of the fourth response task of the network element; after receiving the completion of the fourth response task of all network elements, sends the completion of the first response task;
  • the virtual machine and network element identification module 1202 It is set to identify the virtual machines on the physical machine or the virtual machines on all the grouped physical machines or the virtual machines on the N physical machines according to the physical machine information or the grouped all physical machine information or the N physical machine information, and the network on the virtual machine yuan.
  • an upgrade device including:
  • the second communication module 1301 is configured to receive the service migration request and send a fourth response to completion of the task; the service migration module 1302 is configured to perform service migration.
  • an upgrade device including:
  • the third communication module 1401 is configured to receive all virtual machine evacuation requests on the physical machine; wherein, all virtual machine evacuation requests on the physical machine carry physical machine information or grouped all physical machine information or N physical machine information; send The second response task is completed; the virtual machine evacuation module 1402 is configured to evacuate virtual machines on a physical machine or virtual machines on all physical machines in a group or virtual machines on N physical machines to other physical machines.
  • an upgrade device including:
  • the fourth communication module 1501 is configured to receive the upgrade request; send the third response to completion of the task; the second physical machine upgrade module 1502 is configured to download the new version and upgrade the physical machine to the new version.
  • Another embodiment of the present application provides an upgrade device, including a processor and a computer-readable storage medium.
  • the computer-readable storage medium stores instructions. When the instructions are executed by the processor, any of the foregoing is implemented.
  • An upgrade method When the instructions are executed by the processor, any of the foregoing is implemented.
  • Another embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above-mentioned upgrading methods are implemented.
  • an upgrade system including:
  • the upgrade module 1601 is set to determine the N physical machines that need to be upgraded; where N is an integer greater than or equal to 1; for each physical machine, initiate a physical machine upgrade to the virtual network element manager VNFM that manages and orchestrates the MANO system
  • the previous network element service migration request the network element service migration request before the physical machine upgrade carries the physical machine information; the first response task received from the VNFM of the MANO system is completed; all virtual machine evacuation requests on the physical machine are initiated to the NFVI; Wherein, all virtual machine evacuation requests on the physical machine carry the physical machine information; receiving the completion of the second response task of the NFVI; initiating an upgrade request to the physical machine; receiving the completion of the third response task of the physical machine ; Notify the network function virtualization infrastructure NFVI to incorporate the upgraded physical machine into management and application; or, divide N physical machines into M groups; where M is an integer greater than or equal to 1; for all of each group A physical machine, initiating a pre-physical machine upgrade network element service migration request to the VNFM of the MA
  • VNFM1602 set to receive a network element service migration request before the physical machine upgrade.
  • the network element service migration request before the physical machine upgrade carries physical machine information or grouped all physical machine information or N physical machine information; according to the physical machine information or The grouped all physical machine information or N physical machine information identifies the virtual machines on the physical machine or the virtual machines on all the grouped physical machines or the virtual machines on the N physical machines, and the network elements on the virtual machines; to the network element Initiate a service migration request; receive the completion of the fourth response task of the network element; after receiving the completion of the fourth response task of all network elements, send the completion of the first response task.
  • the network element 1603 is set to receive the service migration request, perform the service migration, and send the fourth response to completion.
  • NFVI1604 set to receive all virtual machine evacuation requests on a physical machine; wherein, all virtual machine evacuation requests on the physical machine carry physical machine information or grouped information of all physical machines or N physical machine information; Evacuate virtual machines on all physical machines or virtual machines on N physical machines to other physical machines; sending the second response task is completed; where N is an integer greater than or equal to 1.
  • the physical machine 1605 is set to receive the upgrade request; download the new version, and upgrade the physical machine to the new version; send the third response task to complete.
  • the upgrade module 1601 is an independently deployed device or a module set in any one of the following devices:
  • Virtualized infrastructure manager VIM virtualized orchestrator NFVO, operation support system (Operation Support System, OSS), the NFVI.
  • operation support system Operaation Support System, OSS
  • the upgrade module 1601 is also set to determine the upgrade sequence, and perform the migration of the network element services of the virtual machine on the physical machine for each physical machine in the upgrade sequence; evacuate the virtual machine on the physical machine to other On the physical machine; upgrade the physical machine; notify the network function virtualization infrastructure NFVI to incorporate the upgraded physical machine into management and application.
  • the functional modules/units in the system, and the device can be implemented as software, firmware, hardware, and appropriate combinations thereof.
  • the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may consist of multiple The physical components cooperate to execute.
  • Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.
  • Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or non-transitory medium) and a communication medium (or transitory medium).
  • the term computer storage medium includes volatile and non-volatile, removable and non-removable implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data) medium.
  • Computer storage media include but are not limited to Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash memory or other memory technologies, CD-ROM (Compact Disc Read Only Memory), Digital Video Disc (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, Or it can be set as any other medium that stores desired information and can be accessed by a computer.
  • the communication medium usually contains computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Hardware Redundancy (AREA)
  • Stored Programmes (AREA)

Abstract

Disclosed are an upgrade method, apparatus and system, and a storage medium. The upgrade method comprises: determining N physical machines to be upgraded, wherein N is an integer greater than or equal to 1; and for each physical machine, migrating a service of a network element of a virtual machine on the physical machine, evacuating the virtual machine on the physical machine to other physical machines, upgrading the physical machine, and notifying a network function virtualization infrastructure (NFVI) to bring the upgraded physical machine to management and application.

Description

升级方法、装置、***及存储介质Upgrade method, device, system and storage medium
本申请要求在2019年05月06日提交中国专利局、申请号为201910372184.7的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the Chinese Patent Office with application number 201910372184.7 on May 6, 2019. The entire content of this application is incorporated into this application by reference.
技术领域Technical field
本申请涉及云平台技术,例如涉及一种升级方法、装置、***及存储介质。This application relates to cloud platform technology, such as an upgrade method, device, system, and storage medium.
背景技术Background technique
网络功能(也称网元)虚拟化(Network Function Virtualization,NFV)是指在电信云平台上部署运行的网络功能。网络功能使用的资源由管理和编排(Management and Orchestration,MANO)***进行管理,MANO***由三个子***组成,分别是虚拟化编排器(NFV Orchestration,NFVO)、虚拟化网元管理器(Virtualized Network Function Manager,VNFM)和虚拟化基础设施管理器(Virtualized Infrastructure Manager,VIM)。电信云平台的基础设施(网络功能虚拟化基础设施(Network Function Virtualization Infrastructure,NFVI)由物理机(包括主控节点和由主控节点管理的物理机)、网络设备和云***软件组成。网络功能虚拟化后,如何做到物理机升级时不影响运行在云平台上的网络功能的正常运行,是电信云和网络功能虚拟化面临的一个大问题。Network function (also called network element) virtualization (Network Function Virtualization, NFV) refers to network functions deployed and running on a telecom cloud platform. The resources used by the network function are managed by the Management and Orchestration (MANO) system. The MANO system is composed of three subsystems, namely the Virtualized Orchestration (NFV) and the Virtualized Network Element Manager (Virtualized Network Element Manager). Function Manager, VNFM) and Virtualized Infrastructure Manager (VIM). The infrastructure of the telecom cloud platform (Network Function Virtualization Infrastructure (NFVI)) consists of physical machines (including master nodes and physical machines managed by master nodes), network equipment and cloud system software. Network functions After virtualization, how to upgrade the physical machine without affecting the normal operation of the network functions running on the cloud platform is a big problem facing the telecom cloud and network function virtualization.
发明内容Summary of the invention
本申请实施例提供了一种升级方法、装置、***及存储介质,能够在不影响运行在云平台上的网络功能的正常运行和网络功能的业务的情况下,实现物理机的升级。The embodiments of the present application provide an upgrade method, device, system, and storage medium, which can realize the upgrade of a physical machine without affecting the normal operation of the network function and the business of the network function running on the cloud platform.
本申请实施例提供了一种升级方法,包括:The embodiment of the application provides an upgrade method, including:
确定需要升级的N个物理机;其中,N为大于或等于1的整数;Determine the N physical machines that need to be upgraded; where N is an integer greater than or equal to 1;
执行以下之一:Do one of the following:
对于每一个物理机,进行物理机上的虚拟机的网元的业务的迁移;将物理机上的虚拟机疏散到其他物理机上;进行物理机的升级;通知网络功能虚拟化基础设施NFVI将升级后的物理机纳入管理和应用;For each physical machine, perform the migration of the network element services of the virtual machine on the physical machine; evacuate the virtual machine on the physical machine to other physical machines; perform the upgrade of the physical machine; notify the network function virtualization infrastructure NFVI to be upgraded The physical machine is included in management and application;
将N个物理机划分为M个分组;其中,M为大于或等于1的整数;对于每一个分组的所有物理机,进行分组的所有物理机上的虚拟机的网元的业务的迁移;将分组的所有物理机上的虚拟机疏散到其他物理机上;进行分组的所有物 理机的升级;通知网络功能虚拟化基础设施NFVI将分组的所有升级后的物理机纳入管理和应用;Divide N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, perform the migration of the network element services of the virtual machines on all the physical machines in the group; Evacuate the virtual machines on all physical machines of the group to other physical machines; upgrade all the physical machines in the group; notify the network function virtualization infrastructure NFVI to include all the upgraded physical machines in the group into management and application;
进行N个物理机上的虚拟机的网元的业务的迁移;将N个物理机上的虚拟机疏散到其他物理机上;进行N个物理机的升级;通知网络功能虚拟化基础设施NFVI将N个升级后的物理机纳入管理和应用。Perform business migration of network elements of virtual machines on N physical machines; evacuate virtual machines on N physical machines to other physical machines; upgrade N physical machines; notify network function virtualization infrastructure NFVI to upgrade N The latter physical machine is incorporated into management and application.
本申请实施例提供了一种升级方法,包括:The embodiment of the application provides an upgrade method, including:
接收物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业务迁移请求携带物理机信息或分组的所有物理机信息或N个物理机信息;Receiving a network element service migration request before the physical machine upgrade, where the network element service migration request before the physical machine upgrade carries physical machine information or grouped all physical machine information or N physical machine information;
根据物理机信息或分组的所有物理机信息或N个物理机信息识别出物理机上的虚拟机或分组的所有物理机上的虚拟机或N个物理机上的虚拟机,以及虚拟机上的网元;Identify virtual machines on a physical machine or virtual machines on all physical machines in a group or virtual machines on N physical machines and network elements on a virtual machine according to physical machine information or grouped all physical machine information or N physical machine information;
向所述网元发起业务迁移请求;接收所述网元的第四应答任务完成;Initiating a service migration request to the network element; receiving the fourth response task of the network element is completed;
接收到所有网元的第四应答任务完成后,发送第一应答任务完成。After receiving the completion of the fourth response task of all network elements, the sending of the first response task is completed.
本申请实施例提供了一种升级方法,包括以下一个:The embodiment of the application provides an upgrade method, including the following one:
接收到业务迁移请求,进行业务迁移,发送第四应答任务完成;The service migration request is received, the service migration is performed, and the fourth response task is sent to complete;
接收到物理机上的所有虚拟机疏散请求,其中,所述物理机上的所有虚拟机疏散请求携带物理机信息或分组的所有物理机信息或N个物理机信息,将物理机上的虚拟机或分组的所有物理机上的虚拟机或N个物理机上的虚拟机疏散到其他物理机上,发送第二应答任务完成;其中,N为大于或等于1的整数;All virtual machine evacuation requests on the physical machine are received, where all virtual machine evacuation requests on the physical machine carry physical machine information or grouped all physical machine information or N physical machine information, and the virtual machines or grouped virtual machines on the physical machine All virtual machines on physical machines or virtual machines on N physical machines are evacuated to other physical machines, and the second response task is sent to complete; where N is an integer greater than or equal to 1;
接收到升级请求,下载新的版本,将物理机升级到新的版本,发送第三应答任务完成。Upon receiving the upgrade request, download the new version, upgrade the physical machine to the new version, and send the third response to completion.
本申请实施例提供了一种升级装置,包括:An embodiment of the application provides an upgrade device, including:
物理机确定模块,设置为确定需要升级的N个物理机;其中,N为大于或等于1的整数;The physical machine determination module is set to determine the N physical machines that need to be upgraded; where N is an integer greater than or equal to 1;
第一物理机升级模块,设置为对于每一个物理机,进行物理机上的虚拟机的网元的业务的迁移;将物理机上的虚拟机疏散到其他物理机上;进行物理机的升级;通知网络功能虚拟化基础设施NFVI将升级后的物理机纳入管理和应用;The first physical machine upgrade module is set to perform the migration of the network element services of the virtual machine on the physical machine for each physical machine; evacuate the virtual machine on the physical machine to other physical machines; perform the upgrade of the physical machine; notify the network function The virtualized infrastructure NFVI incorporates the upgraded physical machine into management and application;
或者,将N个物理机划分为M个分组;其中,M为大于或等于1的整数;对于每一个分组的所有物理机,进行分组的所有物理机上的虚拟机的网元的业务的迁移;将分组的所有物理机上的虚拟机疏散到其他物理机上;进行分组的所有物理机的升级;通知网络功能虚拟化基础设施NFVI将分组的所有升级后的 物理机纳入管理和应用;Or, divide N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, perform service migration of the network elements of virtual machines on all physical machines in the group; Evacuate the virtual machines on all the grouped physical machines to other physical machines; upgrade all the grouped physical machines; notify the network function virtualization infrastructure NFVI to include all the upgraded physical machines in the group into management and application;
或者,进行N个物理机上的虚拟机的网元的业务的迁移;将N个物理机上的虚拟机疏散到其他物理机上;进行N个物理机的升级;通知网络功能虚拟化基础设施NFVI将N个升级后的物理机纳入管理和应用。Or, perform the migration of the network element services of the virtual machines on the N physical machines; evacuate the virtual machines on the N physical machines to other physical machines; perform the upgrade of the N physical machines; notify the network function virtualization infrastructure NFVI to change the N One upgraded physical machine is included in management and application.
本申请实施例提供了一种升级装置,包括:An embodiment of the application provides an upgrade device, including:
第一通信模块,设置为接收到物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业务迁移请求携带物理机信息或分组的所有物理机信息或N个物理机信息,N为大于或等于1的整数;向所述网元发起业务迁移请求;接收所述网元的第四应答任务完成;接收到所有网元的第四应答任务完成后,发送第一应答任务完成;The first communication module is configured to receive the network element service migration request before the physical machine upgrade, wherein the network element service migration request before the physical machine upgrade carries the physical machine information or grouped all physical machine information or N physical machine information, N is an integer greater than or equal to 1; initiate a service migration request to the network element; receive the completion of the fourth response task of the network element; after receiving the completion of the fourth response task of all network elements, send the completion of the first response task ;
虚拟机和网元识别模块,设置为根据物理机信息或分组的所有物理机信息或N个物理机信息识别出物理机上的虚拟机或分组的所有物理机上的虚拟机或N个物理机上的虚拟机,以及虚拟机上的网元。The virtual machine and network element identification module is set to identify the virtual machine on the physical machine or the virtual machine on all the grouped physical machines or the virtual machine on the N physical machines according to the physical machine information or the information of all the physical machines in the group or the information of N physical machines. Machine, and the network elements on the virtual machine.
本申请实施例提供了一种升级装置,包括以下任意一个:An embodiment of the application provides an upgrade device, including any one of the following:
第二通信模块,设置为接收到业务迁移请求,发送第四应答任务完成;业务迁移模块,设置为进行业务迁移;The second communication module is configured to receive the service migration request and send a fourth response to completion of the task; the service migration module is configured to perform service migration;
第三通信模块,设置为接收到物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带物理机信息或分组的所有物理机信息或N个物理机信息;其中,N为大于或等于1的整数;发送第二应答任务完成;虚拟机疏散模块,设置为将物理机上的虚拟机或分组的所有物理机上的虚拟机或N个物理机上的虚拟机疏散到其他物理机上;The third communication module is configured to receive all virtual machine evacuation requests on the physical machine; wherein, all virtual machine evacuation requests on the physical machine carry physical machine information or grouped information of all physical machines or N physical machine information; wherein, N is an integer greater than or equal to 1; the second response task is completed; the virtual machine evacuation module is set to evacuate virtual machines on a physical machine or virtual machines on all physical machines in a group or virtual machines on N physical machines to other physical machines on board;
第四通信模块,设置为接收到升级请求;发送第三应答任务完成;第二物理机升级模块,设置为下载新的版本,将物理机升级到新的版本。The fourth communication module is set to receive the upgrade request; send the third response to the completion of the task; the second physical machine upgrade module is set to download the new version and upgrade the physical machine to the new version.
本申请实施例提供了一种升级装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令被所述处理器执行时,实现上述任一种升级方法。The embodiment of the present application provides an upgrade device, including a processor and a computer-readable storage medium. The computer-readable storage medium stores instructions. When the instructions are executed by the processor, any of the above Upgrade method.
本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一种升级方法。The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, any one of the above-mentioned upgrading methods is implemented.
本申请实施例提供了一种升级***,包括:The embodiment of the application provides an upgrade system, including:
升级模块,设置为确定需要升级的N个物理机;其中,N为大于或等于1的整数;The upgrade module is set to determine the N physical machines that need to be upgraded; where N is an integer greater than or equal to 1;
执行以下之一:Do one of the following:
对于每一个物理机,向管理与编排MANO***的虚拟化网元管理器VNFM发起物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业务迁移请求携带物理机信息;接收到MANO***的VNFM的第一应答任务完成;向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述物理机信息;接收到所述NFVI的第二应答任务完成;向物理机发起升级请求;接收到所述物理机的第三应答任务完成;通知网络功能虚拟化基础设施NFVI将升级后的物理机纳入管理和应用;For each physical machine, initiate a pre-physical machine upgrade network element service migration request to the virtualized network element manager VNFM of the management and orchestration MANO system, where the pre-physical machine upgrade network element service migration request carries physical machine information; receiving The first response task of the VNFM to the MANO system is completed; all virtual machine evacuation requests on the physical machine are initiated to the NFVI; wherein all virtual machine evacuation requests on the physical machine carry the physical machine information; the NFVI is received The second response task is completed; an upgrade request is initiated to the physical machine; the third response task received from the physical machine is completed; the network function virtualization infrastructure NFVI is notified to include the upgraded physical machine in management and application;
或者,将N个物理机划分为M个分组;其中,M为大于或等于1的整数;对于每一个分组的所有物理机,向所述MANO***的所述VNFM发起物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业务迁移请求携带所述分组的所有物理机信息;接收到MANO***的VNFM的第一应答任务完成;向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述分组的所有物理机信息;接收到所述NFVI的第二应答任务完成;向所述分组的所有物理机发起升级请求;接收到所述分组的所有物理机的第三应答任务完成;通知网络功能虚拟化基础设施NFVI将分组的所有升级后的物理机纳入管理和应用;Or, divide N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, initiate a network element service before physical machine upgrade to the VNFM of the MANO system A migration request, where the network element service migration request before the physical machine upgrade carries all physical machine information of the group; the first response task of the VNFM received from the MANO system is completed; all virtual machines on the physical machine are initiated to the NFVI Evacuation request; wherein, all virtual machine evacuation requests on the physical machine carry all physical machine information of the group; receiving the completion of the second response task of the NFVI; initiate an upgrade request to all the physical machines of the group; receive The third response task to all physical machines in the group is completed; the network function virtualization infrastructure NFVI is notified to include all upgraded physical machines in the group into management and application;
或者,将N个物理机划分为M个分组;其中,M为大于或等于1的整数;对于每一个分组内的每一个物理机,向所述MANO***的所述VNFM发起物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业务迁移请求携带所述物理机信息;接收到MANO***的VNFM的所述分组内的所有物理机的第一应答任务完成;向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述物理机信息;接收到所述NFVI的所述分组内的所有物理机的第二应答任务完成;向所述分组内的所有物理机发起升级请求;接收到所述分组的所有物理机的第三应答任务完成;通知网络功能虚拟化基础设施NFVI将分组的所有升级后的物理机纳入管理和应用;Or, divide the N physical machines into M groups; where M is an integer greater than or equal to 1; for each physical machine in each group, initiate a physical machine upgrade to the VNFM of the MANO system. The meta-service migration request, where the network element service migration request before the physical machine upgrade carries the physical machine information; the first response task of all physical machines in the group that receives the VNFM of the MANO system is completed; NFVI initiates all virtual machine evacuation requests on the physical machine; wherein, all virtual machine evacuation requests on the physical machine carry the physical machine information; the second response task of all physical machines in the group that receives the NFVI is completed ; Initiate an upgrade request to all physical machines in the group; the third response task of all physical machines that receive the group is completed; notify the network function virtualization infrastructure NFVI to include all upgraded physical machines in the group into the management and application;
或者,向所述MANO***的所述VNFM发起物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业务迁移请求携带N个物理机信息;接收到MANO***的VNFM的第一应答任务完成;向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带N个物理机信息;接收到所述NFVI的第二应答任务完成;向N个物理机发起升级请求;接收到所述N个物理机的第三应答任务完成;通知网络功能虚拟化基础设施NFVI将N个升级后的物理机纳入管理和应用;Or, initiate a pre-physical machine upgrade network element service migration request to the VNFM of the MANO system, where the pre-physical machine upgrade network element service migration request carries N physical machine information; the first VNFM of the MANO system is received A response task is completed; all virtual machine evacuation requests on the physical machine are initiated to the NFVI; wherein all virtual machine evacuation requests on the physical machine carry N physical machine information; the second response task received by the NFVI is completed; Initiate an upgrade request to N physical machines; receive the completion of the third response task of the N physical machines; notify the network function virtualization infrastructure NFVI to include the N upgraded physical machines into management and application;
或者,对于所述N个物理机中的每一个物理机,向所述MANO***的所述VNFM发起物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业 务迁移请求携带物理机信息;接收到MANO***的VNFM的N个物理机的第一应答任务完成;向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带物理机信息;接收到所述NFVI的N个物理机的第二应答任务完成;向N个物理机发起升级请求;接收到所述N个物理机的第三应答任务完成;通知网络功能虚拟化基础设施NFVI将N个升级后的物理机纳入管理和应用;Or, for each of the N physical machines, initiate a pre-physical machine upgrade network element service migration request to the VNFM of the MANO system, wherein the pre-physical machine upgrade network element service migration request carries Physical machine information; the first response task of the N physical machines receiving the VNFM of the MANO system is completed; all virtual machine evacuation requests on the physical machine are initiated to the NFVI; wherein, all virtual machine evacuation requests on the physical machine carry the physical Machine information; the second response task of the N physical machines that received the NFVI is completed; an upgrade request is initiated to the N physical machines; the third response task of the N physical machines is received is completed; the network function virtualization foundation is notified The facility NFVI incorporates N upgraded physical machines into management and application;
VNFM,设置为接收到物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带物理机信息或分组的所有物理机信息或N个物理机信息;根据物理机信息或分组的所有物理机信息或N个物理机信息识别出物理机上的虚拟机或分组的所有物理机上的虚拟机或N个物理机上的虚拟机,以及虚拟机上的网元;向所述网元发起业务迁移请求;接收所述网元的第四应答任务完成;接收到所有网元的第四应答任务完成后,发送第一应答任务完成;The VNFM is set to receive the network element service migration request before the physical machine upgrade, and the network element service migration request before the physical machine upgrade carries the physical machine information or grouped all physical machine information or N physical machine information; according to the physical machine information or The grouped all physical machine information or N physical machine information identifies the virtual machines on the physical machine or the virtual machines on all the grouped physical machines or the virtual machines on the N physical machines, and the network elements on the virtual machines; to the network element Initiate a service migration request; receive the completion of the fourth response task of the network element; after receiving the completion of the fourth response task of all network elements, send the completion of the first response task;
网元,设置为接收到业务迁移请求,进行业务迁移,发送第四应答任务完成;The network element is set to receive the service migration request, perform the service migration, and send the fourth response task to complete;
NFVI,设置为接收到物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带物理机信息或分组的所有物理机信息或N个物理机信息;将物理机上的虚拟机或分组的所有物理机上的虚拟机或N个物理机上的虚拟机疏散到其他物理机上;发送第二应答任务完成;NFVI is set to receive all virtual machine evacuation requests on the physical machine; wherein, all virtual machine evacuation requests on the physical machine carry physical machine information or grouped information of all physical machines or N physical machine information; Evacuate virtual machines on all physical machines or virtual machines on N physical machines to other physical machines; send the second response task to complete;
物理机,设置为接收到升级请求;下载新的版本,将物理机升级到新的版本;发送第三应答任务完成。The physical machine is set to receive the upgrade request; the new version is downloaded, and the physical machine is upgraded to the new version; the third response task is completed.
附图说明Description of the drawings
图1为本申请实施例提出的一种升级方法的流程图;Fig. 1 is a flowchart of an upgrade method proposed in an embodiment of the application;
图2为本申请实施例提出的另一种升级方法的流程图;Figure 2 is a flowchart of another upgrade method proposed in an embodiment of the application;
图3为本申请实施例提出的另一种升级方法的流程图;Figure 3 is a flowchart of another upgrade method proposed in an embodiment of the application;
图4为本申请实施例提出的另一种升级方法的流程图;Figure 4 is a flowchart of another upgrade method proposed in an embodiment of the application;
图5为本申请实施例提出的另一种升级方法的流程图;Figure 5 is a flowchart of another upgrade method proposed in an embodiment of the application;
图6为本申请实施例提出的另一种升级方法的流程图;FIG. 6 is a flowchart of another upgrade method proposed in an embodiment of the application;
图7为本申请实施例一提出的一种升级方法的流程图;FIG. 7 is a flowchart of an upgrade method proposed in Embodiment 1 of this application;
图8为本申请实施例二提出的一种升级方法的流程图;FIG. 8 is a flowchart of an upgrade method proposed in Embodiment 2 of this application;
图9为本申请实施例三提出的一种升级方法的流程图;FIG. 9 is a flowchart of an upgrade method proposed in Embodiment 3 of this application;
图10为本申请实施例四提出的一种升级方法的流程图;FIG. 10 is a flowchart of an upgrade method proposed in Embodiment 4 of this application;
图11为本申请实施例提出的一种升级装置的结构组成示意图;FIG. 11 is a schematic diagram of the structural composition of an upgrade device proposed in an embodiment of the application;
图12为本申请实施例提出的另一种升级装置的结构组成示意图;FIG. 12 is a schematic diagram of the structural composition of another upgrade device proposed in an embodiment of the application;
图13为本申请实施例提出的另一种升级装置的结构组成示意图;FIG. 13 is a schematic diagram of the structural composition of another upgrade device proposed in an embodiment of the application;
图14为本申请实施例提出的另一种升级装置的结构组成示意图;14 is a schematic diagram of the structural composition of another upgrade device proposed in an embodiment of the application;
图15为本申请实施例提出的另一种升级装置的结构组成示意图;15 is a schematic diagram of the structural composition of another upgrade device proposed in an embodiment of the application;
图16为本申请实施例提出的一种升级***的结构组成示意图。FIG. 16 is a schematic diagram of the structural composition of an upgrade system proposed in an embodiment of the application.
具体实施方式Detailed ways
下文中将结合附图对本申请实施例进行说明。Hereinafter, embodiments of the present application will be described with reference to the drawings.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机***中执行。并且,虽然在流程图中示出了逻辑顺序,但是在一些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer-executable instructions. Also, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.
参见图1,本申请一个实施例提出了一种升级方法,包括:Referring to Fig. 1, an embodiment of the present application proposes an upgrade method, including:
步骤100、确定需要升级的N个物理机;其中,N为大于或等于1的整数。Step 100: Determine N physical machines to be upgraded; where N is an integer greater than or equal to 1.
步骤101、对于每一个物理机,进行物理机上的虚拟机的网元的业务的迁移;将物理机上的虚拟机疏散到其他物理机上;进行物理机的升级;通知网络功能虚拟化基础设施NFVI将升级后的物理机纳入管理和应用。Step 101: For each physical machine, perform business migration of the network element of the virtual machine on the physical machine; evacuate the virtual machine on the physical machine to other physical machines; perform the upgrade of the physical machine; notify the network function virtualization infrastructure NFVI to The upgraded physical machine is included in management and application.
在本申请实施例中,每一个物理机的升级过程均包括以下几个步骤:In the embodiment of this application, the upgrade process of each physical machine includes the following steps:
进行物理机上的虚拟机的网元的业务的迁移;将物理机上的虚拟机疏散到其他物理机上;进行物理机的升级;通知网络功能虚拟化基础设施NFVI将升级后的物理机纳入管理和应用;不同物理机的上述步骤之间是相互独立的,互不影响的,不同物理机的上述步骤可以并行运行,也可以在一个物理机执行完上述步骤后,再执行另一个物理机的上述步骤。Perform business migration of the network element of the virtual machine on the physical machine; evacuate the virtual machine on the physical machine to other physical machines; upgrade the physical machine; notify the network function virtualization infrastructure NFVI to incorporate the upgraded physical machine into management and application ; The above steps of different physical machines are independent of each other and do not affect each other. The above steps of different physical machines can be run in parallel, or after one physical machine has performed the above steps, the above steps of another physical machine can be executed .
在本申请另一个实施例中,确定升级顺序,按照升级顺序依次对每一个物理机,进行物理机上的虚拟机的网元的业务的迁移;将物理机上的虚拟机疏散到其他物理机上;进行物理机的升级;通知网络功能虚拟化基础设施NFVI将升级后的物理机纳入管理和应用。In another embodiment of the present application, the upgrade sequence is determined, and the service migration of the network element of the virtual machine on the physical machine is performed on each physical machine in turn according to the upgrade sequence; the virtual machine on the physical machine is evacuated to other physical machines; Upgrade of the physical machine; notify the network function virtualization infrastructure NFVI to incorporate the upgraded physical machine into management and application.
在本申请实施例中,进行物理机上的虚拟机的网元的业务的迁移包括:In the embodiment of the present application, the migration of the network element service of the virtual machine on the physical machine includes:
向管理与编排MANO***的虚拟化网元管理器VNFM发起物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带物理机信息;接收到MANO***的VNFM的第一应答任务完成。Initiate a pre-physical machine upgrade network element service migration request to the virtualized network element manager VNFM that manages and orchestrates the MANO system. The pre-physical machine upgrade network element service migration request carries physical machine information; the first VNFM received from the MANO system The response task is complete.
通过MANO***的NFVO向MANO***的VNFM发起物理机升级前网元业务迁移请求,通过MANO***的NFVO接收到MANO***的VNFM的第一应答任务完成。The NFVO of the MANO system initiates a service migration request of the network element before the physical machine upgrade to the VNFM of the MANO system, and the first response task of the VNFM of the MANO system is received through the NFVO of the MANO system.
在本申请实施例中,将物理机上的虚拟机疏散到其他物理机上包括:In the embodiments of the present application, evacuating virtual machines on a physical machine to other physical machines includes:
向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述物理机信息;接收到所述NFVI的第二应答任务完成。Initiate all virtual machine evacuation requests on the physical machine to the NFVI; wherein, all virtual machine evacuation requests on the physical machine carry the physical machine information; the second response task received from the NFVI is completed.
NFVI即所有物理机的主控节点,NFVI上运行有云平台。NFVI is the master control node of all physical machines, and a cloud platform runs on NFVI.
在本申请实施例中,进行物理机的升级包括:向物理机发起升级请求;接收到所述物理机的第三应答任务完成。In the embodiment of the present application, performing the upgrade of the physical machine includes: initiating an upgrade request to the physical machine; receiving the completion of the third response task of the physical machine.
可以在物理机中设置升级代理,用于实现物理机的升级,即接收升级请求,下载新的版本并升级物理机,发送第三应答任务完成。An upgrade agent can be set in the physical machine to implement the upgrade of the physical machine, that is, receiving the upgrade request, downloading the new version and upgrading the physical machine, and sending the third response to completion.
升级请求可以携带升级的版本等信息。The upgrade request may carry information such as the upgraded version.
参见图2,本申请另一个实施例提出了一种升级方法,包括:Referring to Figure 2, another embodiment of the present application proposes an upgrade method, including:
步骤200、确定需要升级的N个物理机;其中,N为大于或等于1的整数。Step 200: Determine N physical machines to be upgraded; where N is an integer greater than or equal to 1.
步骤201、将N个物理机划分为M个分组;其中,M为大于或等于1的整数;对于每一个分组的所有物理机,进行分组的所有物理机上的虚拟机的网元的业务的迁移;将分组的所有物理机上的虚拟机疏散到其他物理机上;进行分组的所有物理机的升级;通知网络功能虚拟化基础设施NFVI将分组的所有升级后的物理机纳入管理和应用。Step 201: Divide N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, perform service migration of the network elements of virtual machines on all physical machines in the group Evacuate the virtual machines on all the grouped physical machines to other physical machines; upgrade all the grouped physical machines; notify the network function virtualization infrastructure NFVI to include all the upgraded physical machines in the group into management and application.
在本申请实施例中,可以采用任意方式对N个物理机进行分组,分组方式不用于限定本申请实施例的保护范围,不同分组包含的物理机数可以相同,也可以不同。In the embodiments of the present application, the N physical machines can be grouped in any manner. The grouping method is not used to limit the protection scope of the embodiments of the present application. The number of physical machines included in different groups may be the same or different.
在本申请实施例中,进行分组的物理机上的虚拟机的网元的业务的迁移包括:In the embodiment of the present application, the migration of the service of the network element of the virtual machine on the grouped physical machine includes:
对于所述分组内的每一个物理机,进行所述物理机上的虚拟机的网元的业务的迁移;或者,向所述MANO***的所述VNFM发起物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带所述分组的所有物理机信息;接收到MANO***的VNFM的第一应答任务完成。For each physical machine in the group, perform the service migration of the network element of the virtual machine on the physical machine; or initiate a network element service migration request before the physical machine upgrade to the VNFM of the MANO system, so The network element service migration request before the physical machine upgrade carries the information of all physical machines in the group; the first response task of the VNFM received from the MANO system is completed.
进行物理机上的虚拟机的网元的业务的迁移包括:The business migration of the network element of the virtual machine on the physical machine includes:
向管理与编排MANO***的虚拟化网元管理器VNFM发起物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带物理机信息;接 收到MANO***的VNFM的第一应答任务完成。Initiate a pre-physical machine upgrade network element service migration request to the virtualized network element manager VNFM that manages and orchestrates the MANO system. The pre-physical machine upgrade network element service migration request carries physical machine information; the first VNFM received from the MANO system The response task is complete.
也就是说,在进行分组的物理机上的虚拟机的网元的业务的迁移时,可以每一个物理机对应一个执行过程,也可以分组内的所有物理机合成一个执行过程。当每一个物理机对应一个执行过程时,接收到分组内所有物理机的第一应答任务完成,才算分组内的所有物理机上的虚拟机的网元的业务的迁移完成。That is to say, during the migration of the network element services of the virtual machines on the grouped physical machines, each physical machine may correspond to an execution process, or all the physical machines in the group may be combined into one execution process. When each physical machine corresponds to an execution process, when the first response task of all physical machines in the group is received, the migration of the network element services of the virtual machines on all physical machines in the group is completed.
在本申请实施例中,将分组的所有物理机上的虚拟机疏散到其他物理机上包括:In the embodiments of the present application, evacuating virtual machines on all physical machines in a group to other physical machines includes:
对于所述分组内的每一个物理机,将所述物理机上的虚拟机疏散到其他物理机上;或者,向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述分组的所有物理机信息;接收到所述NFVI的第二应答任务完成。For each physical machine in the group, evacuate the virtual machines on the physical machine to other physical machines; or initiate an evacuation request for all virtual machines on the physical machine to the NFVI; wherein, all virtual machines on the physical machine The machine evacuation request carries all the physical machine information of the group; the second response task of receiving the NFVI is completed.
将物理机上的虚拟机疏散到其他物理机上包括:Evacuation of virtual machines from physical machines to other physical machines includes:
向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述物理机信息;接收到所述NFVI的第二应答任务完成。Initiate all virtual machine evacuation requests on the physical machine to the NFVI; wherein, all virtual machine evacuation requests on the physical machine carry the physical machine information; the second response task received from the NFVI is completed.
也就是说,在将分组的所有物理机上的虚拟机疏散到其他物理机上时,可以每一个物理机对应一个执行过程,也可以分组内的所有物理机合成一个执行过程。当每一个物理机对应一个执行过程时,接收到分组内所有物理机的第二应答任务完成,才算将分组的所有物理机上的虚拟机疏散到其他物理机上完成。That is to say, when evacuating virtual machines on all physical machines in the group to other physical machines, each physical machine can correspond to an execution process, or all physical machines in the group can be combined into one execution process. When each physical machine corresponds to an execution process, the completion of the second response task of all physical machines in the group is received, and the virtual machines on all the physical machines in the group are evacuated to other physical machines to complete.
在本申请实施例中,进行分组的所有物理机的升级包括:向所述分组的所有物理机发起升级请求;接收到所述分组的所有物理机的第三应答任务完成。In the embodiment of the present application, the upgrading of all the physical machines in the group includes: initiating an upgrade request to all the physical machines in the group; and the third response task of all the physical machines receiving the group is completed.
参见图3,本申请另一个实施例提出了一种升级方法,包括:Referring to Figure 3, another embodiment of the present application proposes an upgrade method, including:
步骤300、确定需要升级的N个物理机;其中,N为大于或等于1的整数。Step 300: Determine N physical machines to be upgraded; where N is an integer greater than or equal to 1.
步骤301、进行N个物理机上的虚拟机的网元的业务的迁移;将N个物理机上的虚拟机疏散到其他物理机上;进行N个物理机的升级;通知网络功能虚拟化基础设施NFVI将N个升级后的物理机纳入管理和应用。Step 301: Perform the migration of the network element services of the virtual machines on the N physical machines; evacuate the virtual machines on the N physical machines to other physical machines; perform the upgrade of the N physical machines; notify the network function virtualization infrastructure NFVI to N upgraded physical machines are included in management and application.
在本申请实施例中,进行N个物理机上的虚拟机的网元的业务的迁移包括:In the embodiment of the present application, performing the service migration of the network element of the virtual machine on the N physical machines includes:
对于所述N个物理机中的每一个物理机,进行所述物理机上的虚拟机的网元的业务的迁移;或者,向所述MANO***的所述VNFM发起物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带N个物理机信息;接收到MANO***的VNFM的第一应答任务完成。For each of the N physical machines, perform the service migration of the network element of the virtual machine on the physical machine; or, initiate the network element service migration before the physical machine upgrade to the VNFM of the MANO system Request, the network element service migration request before the physical machine upgrade carries N physical machine information; the first response task of the VNFM received from the MANO system is completed.
其中,进行物理机上的虚拟机的网元的业务的迁移包括:Wherein, the migration of the network element services of the virtual machine on the physical machine includes:
向管理与编排MANO***的虚拟化网元管理器VNFM发起物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带物理机信息;接收到MANO***的VNFM的第一应答任务完成。Initiate a pre-physical machine upgrade network element service migration request to the virtualized network element manager VNFM that manages and orchestrates the MANO system. The pre-physical machine upgrade network element service migration request carries physical machine information; the first VNFM received from the MANO system The response task is complete.
也就是说,在进行N个物理机上的虚拟机的网元的业务的迁移时,可以每一个物理机对应一个执行过程,也可以N个物理机物理机合成一个执行过程。当每一个物理机对应一个执行过程时,接收到N个物理机物理机的第一应答任务完成,才算进行N个物理机上的虚拟机的网元的业务的迁移完成。That is to say, when the network element services of virtual machines on N physical machines are migrated, each physical machine may correspond to one execution process, or N physical machines may be combined into one execution process. When each physical machine corresponds to an execution process, the first response task of the N physical machines is received and the network element service migration of the virtual machines on the N physical machines is completed.
在本申请实施例中,将N个物理机上的虚拟机疏散到其他物理机上包括:In the embodiment of the present application, evacuating virtual machines on N physical machines to other physical machines includes:
对于所述N个物理机中的每一个物理机,将所述物理机上的虚拟机疏散到其他物理机上;或者,向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带N个物理机信息;接收到所述NFVI的第二应答任务完成。For each of the N physical machines, evacuate the virtual machines on the physical machine to other physical machines; or, initiate an evacuation request for all virtual machines on the physical machine to the NFVI; wherein, on the physical machine All of the virtual machine evacuation requests carried N physical machine information; the second response task received from the NFVI is completed.
将物理机上的虚拟机疏散到其他物理机上包括:Evacuation of virtual machines from physical machines to other physical machines includes:
向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述物理机信息;接收到所述NFVI的第二应答任务完成。Initiate all virtual machine evacuation requests on the physical machine to the NFVI; wherein, all virtual machine evacuation requests on the physical machine carry the physical machine information; the second response task received from the NFVI is completed.
也就是说,在将N个物理机物理机上的虚拟机疏散到其他物理机上时,可以每一个物理机对应一个执行过程,也可以N个物理机物理机合成一个执行过程。当每一个物理机对应一个执行过程时,接收到N个物理机物理机的第二应答任务完成,才算将N个物理机物理机上的虚拟机疏散到其他物理机上完成。In other words, when evacuating virtual machines on N physical machines to other physical machines, each physical machine can correspond to an execution process, or N physical machines and physical machines can be combined into one execution process. When each physical machine corresponds to an execution process, when the second response task of the N physical machines is received, the virtual machines on the N physical machines are evacuated to other physical machines to complete.
在本申请实施例中,进行N个物理机的升级包括:向N个物理机发起升级请求;接收到所述N个物理机的第三应答任务完成。In the embodiment of the present application, performing an upgrade of N physical machines includes: initiating an upgrade request to N physical machines; receiving the completion of the third response task of the N physical machines.
参见图4,本申请另一个实施例提出了一种升级方法,包括:Referring to Fig. 4, another embodiment of the present application proposes an upgrade method, including:
步骤400、接收到物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带物理机信息。Step 400: Receive a network element service migration request before the physical machine upgrade, where the network element service migration request before the physical machine upgrade carries physical machine information.
步骤401、根据物理机信息识别出物理机上的虚拟机,以及虚拟机上的网元。Step 401: Identify the virtual machine on the physical machine and the network element on the virtual machine according to the physical machine information.
步骤402、向所述网元发起业务迁移请求;接收所述网元的第四应答任务完成。Step 402: Initiate a service migration request to the network element; the fourth response task of receiving the network element is completed.
步骤403、接收到所有网元的第四应答任务完成后,发送第一应答任务完成。Step 403: After receiving the completion of the fourth response task of all network elements, the sending of the first response task is completed.
参见图5,本申请另一个实施例提出了一种升级方法,包括:Referring to Figure 5, another embodiment of the present application proposes an upgrade method, including:
步骤500、接收到物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带分组的所有物理机信息。Step 500: Receive a network element service migration request before the physical machine upgrade, where the network element service migration request before the physical machine upgrade carries information about all the physical machines in the group.
步骤501、根据分组的所有物理机信息识别出分组的所有物理机上的虚拟机,以及虚拟机上的网元。Step 501: Identify the virtual machines on all the grouped physical machines and the network elements on the virtual machines according to the information of all the grouped physical machines.
步骤502、向所述网元发起业务迁移请求;接收所述网元的第四应答任务完成。Step 502: Initiate a service migration request to the network element; the fourth response task of receiving the network element is completed.
步骤503、接收到所有网元的第四应答任务完成后,发送第一应答任务完成。Step 503: After receiving the completion of the fourth response task of all network elements, the sending of the first response task is completed.
参见图6,本申请另一个实施例提出了一种升级方法,包括:Referring to Figure 6, another embodiment of the present application proposes an upgrade method, including:
步骤600、接收到物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带N个物理机信息;其中,N为大于或等于1的整数。Step 600: Receive a network element service migration request before the physical machine upgrade, and the network element service migration request before the physical machine upgrade carries N physical machine information; where N is an integer greater than or equal to 1.
步骤601、根据N个物理机信息识别出N个物理机上的虚拟机,以及虚拟机上的网元。Step 601: Identify the virtual machines on the N physical machines and the network elements on the virtual machines according to the information of the N physical machines.
步骤602、向所述网元发起业务迁移请求;接收所述网元的第四应答任务完成。Step 602: Initiate a service migration request to the network element; the fourth response task of receiving the network element is completed.
步骤603、接收到所有网元的第四应答任务完成后,发送第一应答任务完成。Step 603: After receiving the completion of the fourth response task of all network elements, the sending of the first response task is completed.
本申请另一个实施例提出了一种升级方法,包括:Another embodiment of the present application proposes an upgrade method, including:
接收到业务迁移请求,进行业务迁移,发送第四应答任务完成。The service migration request is received, the service migration is performed, and the fourth response task is completed.
在本申请实施例中,根据自身的可靠性设计形态进行业务迁移。当自身的可靠性设计形态为主备形态时,进行主备机倒换以实现业务迁移;当自身的可靠性设计形态为负荷分担形态时,将业务迁移到负荷分担的其他网元上。In the embodiment of the present application, service migration is performed according to its own reliability design form. When the reliability design of its own form is the main and standby mode, the main and standby machines are switched to realize the service migration; when the reliability design form of its own is the load sharing mode, the service is migrated to other network elements of load sharing.
本申请另一个实施例提出了一种升级方法,包括:Another embodiment of the present application proposes an upgrade method, including:
接收到物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带物理机信息;将物理机上的虚拟机疏散到其他物理机上;发送第二应答任务完成。All virtual machine evacuation requests on the physical machine are received; wherein all virtual machine evacuation requests on the physical machine carry physical machine information; the virtual machines on the physical machine are evacuated to other physical machines; the second response task is completed.
本申请另一个实施例提出了一种升级方法,包括:Another embodiment of the present application proposes an upgrade method, including:
接收到物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带分组的所有物理机信息;将分组的所有物理机上的虚拟机疏散到其他物理机上;发送第二应答任务完成。Receive all virtual machine evacuation requests on the physical machine; wherein, all virtual machine evacuation requests on the physical machine carry information of all the physical machines in the group; evacuate the virtual machines on all the grouped physical machines to other physical machines; send a second response mission completed.
本申请另一个实施例提出了一种升级方法,包括:Another embodiment of the present application proposes an upgrade method, including:
接收到物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带N个物理机信息;将N个物理机上的虚拟机疏散到其他物理机上;发送第二应答任务完成;其中,N为大于或等于1的整数。Receive all virtual machine evacuation requests on the physical machine; wherein, all virtual machine evacuation requests on the physical machine carry N physical machine information; evacuate the virtual machines on the N physical machines to other physical machines; send the second response task to complete ; Wherein, N is an integer greater than or equal to 1.
本申请另一个实施例提出了一种升级方法,包括:Another embodiment of the present application proposes an upgrade method, including:
接收到升级请求;下载新的版本,将物理机升级到新的版本;发送第三应答任务完成。The upgrade request is received; the new version is downloaded, and the physical machine is upgraded to the new version; the third response task is completed.
其中,升级请求携带升级的版本等信息。Among them, the upgrade request carries information such as the upgraded version.
本申请实施例通过业务迁移和虚拟机疏散的方式,在不影响运行在云平台上的网络功能的正常运行和网络功能的业务的情况下,实现了物理机的升级。The embodiment of the present application implements the upgrade of the physical machine without affecting the normal operation of the network function and the business of the network function running on the cloud platform by means of service migration and virtual machine evacuation.
下面列举几个实施例对本申请实施例的升级方法进行举例说明,所举的例子仅仅是为了方便理解,并不用于限定本申请实施例的保护范围。Several embodiments are listed below to illustrate the upgrade method of the embodiments of the present application. The examples cited are only for ease of understanding and are not used to limit the protection scope of the embodiments of the present application.
实施例一Example one
本实施例中,升级模块为独立部署的设备,升级云平台中的单台物理机。In this embodiment, the upgrade module is an independently deployed device that upgrades a single physical machine in the cloud platform.
参见图7,该方法包括:Referring to Figure 7, the method includes:
步骤700、升级模块确定要升级的物理机。Step 700: The upgrade module determines the physical machine to be upgraded.
步骤701、升级模块向MANO***的NFVO发起物理机升级前网元业务迁移请求,物理机升级前网元业务迁移请求携带要升级的物理机信息。Step 701: The upgrade module initiates a pre-physical machine upgrade network element service migration request to the NFVO of the MANO system, and the pre-physical machine upgrade network element service migration request carries information about the physical machine to be upgraded.
步骤702、MANO***的NFVO向VNFM转发物理机升级前网元业务迁移请求。Step 702: The NFVO of the MANO system forwards the network element service migration request before the physical machine upgrade to the VNFM.
步骤703、MANO***的VNFM根据物理机信息,识别出运行在物理机上的虚拟机,以及和这些虚拟机相关的网元。Step 703: The VNFM of the MANO system identifies the virtual machines running on the physical machines and the network elements related to these virtual machines according to the physical machine information.
步骤704、MANO***的VNFM分别向这些网元发起业务迁移请求。Step 704: The VNFM of the MANO system respectively initiates service migration requests to these network elements.
步骤705、网元收到业务迁移请求后,根据自身的可靠性设计形态,进行业务迁移或主备机倒换。Step 705: After receiving the service migration request, the network element performs service migration or main/standby switchover according to its own reliability design form.
步骤706、网元完成业务迁移后,给MANO***的VNFM发送第四应答任务完成。Step 706: After the network element completes the service migration, it sends a fourth response to the VNFM of the MANO system to complete the task.
步骤707、MANO***的VNFM接收到所有网元的第四应答任务完成后,向MANO***的NFVO发送第一应答任务完成,MANO***的NFVO将第一应答任务完成转发给升级模块。Step 707: After the VNFM of the MANO system receives the completion of the fourth response task of all network elements, it sends the first response task to the NFVO of the MANO system to complete, and the NFVO of the MANO system forwards the completion of the first response task to the upgrade module.
步骤708、升级模块向NFVI(云***)发起物理机上的所有虚拟机疏散请求。Step 708: The upgrade module initiates an evacuation request for all virtual machines on the physical machine to the NFVI (cloud system).
步骤709、NFVI(云***)收到物理机上的所有虚拟机疏散请求后,将物理机上的所有虚拟机疏散到其他物理机上。Step 709: After receiving all the virtual machine evacuation requests on the physical machine, the NFVI (cloud system) evacuates all the virtual machines on the physical machine to other physical machines.
步骤710、NFVI完成疏散后,给升级模块发送第二应答任务完成。Step 710: After the NFVI completes the evacuation, it sends a second response to the upgrade module to complete the task.
步骤711、升级模块向运行在物理机上的升级代理发起升级请求,携带升级的版本等信息。Step 711: The upgrade module initiates an upgrade request to the upgrade agent running on the physical machine, and carries information such as the upgraded version.
步骤712、升级代理向升级模块下载新的版本,将物理机升级到新的版本。Step 712: The upgrade agent downloads the new version to the upgrade module, and upgrades the physical machine to the new version.
步骤713、升级代理完成升级后,给升级模块发送第三应答升级完成。Step 713: After completing the upgrade, the upgrade agent sends a third response to the upgrade module that the upgrade is complete.
步骤714、升级模块收到第三应答升级完成后,通知NFVI将升级后的物理机纳入管理和应用。Step 714: After receiving the third response that the upgrade is completed, the upgrade module notifies the NFVI to include the upgraded physical machine into management and application.
实施例二Example two
本实施例中,升级模块为独立部署的设备,升级云平台中的多台物理机。In this embodiment, the upgrade module is an independently deployed device to upgrade multiple physical machines in the cloud platform.
参见图8,该方法包括:Referring to Figure 8, the method includes:
步骤800、升级模块确定要升级的物理机列表,并确定升级顺序。Step 800: The upgrade module determines a list of physical machines to be upgraded, and determines the upgrade sequence.
按照升级顺序对要升级的物理机列表中的每一个物理机执行步骤801~814。Steps 801 to 814 are performed on each physical machine in the list of physical machines to be upgraded according to the upgrade sequence.
步骤801、升级模块向MANO***的NFVO发起物理机升级前网元业务迁移请求,物理机升级前网元业务迁移请求携带要升级的物理机信息。Step 801: The upgrade module initiates a pre-physical machine upgrade network element service migration request to the NFVO of the MANO system, and the pre-physical machine upgrade network element service migration request carries the physical machine information to be upgraded.
步骤802、MANO***的NFVO向VNFM转发物理机升级前网元业务迁移请求。Step 802: The NFVO of the MANO system forwards the network element service migration request before the physical machine upgrade to the VNFM.
步骤803、MANO***的VNFM根据物理机信息,识别出运行在物理机上的虚拟机,以及和这些虚拟机相关的网元。Step 803: The VNFM of the MANO system identifies the virtual machines running on the physical machines and the network elements related to these virtual machines according to the physical machine information.
步骤804、MANO***的VNFM分别向这些网元发起业务迁移请求。Step 804: The VNFM of the MANO system initiates service migration requests to these network elements respectively.
步骤805、网元收到业务迁移请求后,根据自身的可靠性设计形态,进行业务迁移或主备机倒换。Step 805: After receiving the service migration request, the network element performs service migration or main/standby switchover according to its own reliability design form.
步骤806、网元完成业务迁移后,给MANO***的VNFM发送第四应答任务完成。Step 806: After the network element completes the service migration, it sends a fourth response to the VNFM of the MANO system to complete the task.
步骤807、MANO***的VNFM接收到所有网元的第四应答任务完成后,向MANO***的NFVO发送第一应答任务完成,MANO***的NFVO将第一应答任务完成转发给升级模块。Step 807: After the VNFM of the MANO system receives the completion of the fourth response task of all network elements, it sends the first response task to the NFVO of the MANO system to complete, and the NFVO of the MANO system forwards the completion of the first response task to the upgrade module.
步骤808、升级模块向NFVI(云***)发起物理机上的所有虚拟机疏散请求。Step 808: The upgrade module initiates an evacuation request for all virtual machines on the physical machine to the NFVI (cloud system).
步骤809、NFVI(云***)收到物理机上的所有虚拟机疏散请求后,将物理机上的所有虚拟机疏散到其他物理机上。Step 809: After receiving all the virtual machine evacuation requests on the physical machine, the NFVI (cloud system) evacuates all the virtual machines on the physical machine to other physical machines.
步骤810、NFVI完成疏散后,给升级模块发送第二应答任务完成。Step 810: After the NFVI completes the evacuation, it sends a second response to the upgrade module to complete the task.
步骤811、升级模块向运行在物理机上的升级代理发起升级请求,携带升级的版本等信息。Step 811: The upgrade module initiates an upgrade request to the upgrade agent running on the physical machine, and carries information such as the upgraded version.
步骤812、升级代理向升级模块下载新的版本,将物理机升级到新的版本。Step 812: The upgrade agent downloads the new version to the upgrade module, and upgrades the physical machine to the new version.
步骤813、升级代理完成升级后,给升级模块发送第三应答升级完成。Step 813: After completing the upgrade, the upgrade agent sends a third response to the upgrade module that the upgrade is complete.
步骤814、升级模块收到第三应答升级完成后,通知NFVI将升级后的物理机纳入管理和应用。Step 814: After receiving the third response that the upgrade is completed, the upgrade module notifies NFVI to include the upgraded physical machine into management and application.
步骤815、升级模块按序升级完成所有的物理机,升级完成。Step 815: The upgrade module upgrades all the physical machines in sequence, and the upgrade is completed.
实施例三Example three
本实施例中,升级模块为部署在NFVO上的模块,升级云平台中的单台物理机。In this embodiment, the upgrade module is a module deployed on NFVO, which upgrades a single physical machine in the cloud platform.
参见图9,该方法包括:Referring to Figure 9, the method includes:
步骤900、升级模块确定要升级的物理机。Step 900: The upgrade module determines the physical machine to be upgraded.
步骤901、升级模块向MANO***的VNFM发起物理机升级前网元业务迁移请求,物理机升级前网元业务迁移请求携带要升级的物理机信息。Step 901: The upgrade module initiates a pre-physical machine upgrade network element service migration request to the VNFM of the MANO system, and the pre-physical machine upgrade network element service migration request carries information about the physical machine to be upgraded.
步骤902、MANO***的VNFM根据物理机信息,识别出运行在物理机上的虚拟机,以及和这些虚拟机相关的网元。Step 902: The VNFM of the MANO system identifies the virtual machines running on the physical machines and the network elements related to these virtual machines according to the physical machine information.
步骤903、MANO***的VNFM分别向这些网元发起业务迁移请求。Step 903: The VNFM of the MANO system initiates service migration requests to these network elements respectively.
步骤904、网元收到业务迁移请求后,根据自身的可靠性设计形态,进行业务迁移或主备机倒换。Step 904: After receiving the service migration request, the network element performs service migration or main/standby switchover according to its own reliability design form.
步骤905、网元完成业务迁移后,给MANO***的VNFM发送第四应答任务完成。Step 905: After the network element completes the service migration, it sends a fourth response to the VNFM of the MANO system to complete the task.
步骤906、MANO***的VNFM在收到所有的网元的第四应答任务完成后,给升级模块发送第一应答任务完成。Step 906: After receiving the completion of the fourth response task from all network elements, the VNFM of the MANO system sends the first response task completed to the upgrade module.
步骤907、升级模块向NFVI(云***)发起物理机上的所有虚拟机疏散请求。Step 907: The upgrade module initiates an evacuation request of all virtual machines on the physical machine to the NFVI (cloud system).
步骤908、NFVI(云***)收到物理机上的所有虚拟机疏散请求后,将物理机上的所有虚拟机疏散到其他的主机。Step 908: After receiving all the virtual machine evacuation requests on the physical machine, the NFVI (cloud system) evacuates all the virtual machines on the physical machine to other hosts.
步骤909、NFVI完成疏散后,给升级模块发送第二应答任务完成。Step 909: After the NFVI completes the evacuation, it sends a second response to the upgrade module to complete the task.
步骤910、升级模块向运行在物理机上的升级代理发起升级请求,携带升级的版本等信息。Step 910: The upgrade module initiates an upgrade request to the upgrade agent running on the physical machine, and carries information such as the upgraded version.
步骤911、升级代理向升级模块下载新的版本,将物理机升级到新的版本。Step 911: The upgrade agent downloads the new version to the upgrade module, and upgrades the physical machine to the new version.
步骤912、升级代理完成升级后,给升级模块发送第三应答升级完成。Step 912: After completing the upgrade, the upgrade agent sends a third response to the upgrade module that the upgrade is complete.
步骤913、升级模块收到第三应答升级完成后,通知NFVI将升级后的物理机纳入管理和应用。Step 913: After receiving the third response that the upgrade is completed, the upgrade module notifies the NFVI to include the upgraded physical machine into management and application.
实施案例四Implementation case four
本实施例中,升级模块为部署在NFVI上的模块,升级云平台中的多台物理机。In this embodiment, the upgrade module is a module deployed on the NFVI, which upgrades multiple physical machines in the cloud platform.
参见图10,该方法包括:Referring to Figure 10, the method includes:
步骤1000、升级模块确定要升级的物理机列表,并确定升级顺序。Step 1000: The upgrade module determines a list of physical machines to be upgraded, and determines the upgrade sequence.
按照升级顺序对要升级的物理机列表中的每一个物理机执行步骤1001~1014。Perform steps 1001 to 1014 for each physical machine in the list of physical machines to be upgraded according to the upgrade sequence.
步骤1001、升级模块向MANO***的NFVO发起物理机升级前网元业务迁移请求,物理机升级前网元业务迁移请求携带要升级的物理机信息。Step 1001. The upgrade module initiates a pre-physical machine upgrade network element service migration request to the NFVO of the MANO system, and the pre-physical machine upgrade network element service migration request carries information about the physical machine to be upgraded.
步骤1002、MANO***的NFVO向VNFM转发物理机升级前网元业务迁移请求。Step 1002. The NFVO of the MANO system forwards the network element service migration request before the physical machine upgrade to the VNFM.
步骤1003、MANO***的VNFM根据物理机信息,识别出运行在物理机上的虚拟机,以及和这些虚拟机相关的网元。Step 1003: The VNFM of the MANO system identifies the virtual machines running on the physical machines and the network elements related to these virtual machines according to the physical machine information.
步骤1004、MANO***的VNFM分别向这些网元发起业务迁移请求。Step 1004: The VNFM of the MANO system respectively initiates service migration requests to these network elements.
步骤1005、网元收到业务迁移请求后,根据自身的可靠性设计形态,进行业务迁移或主备机倒换。Step 1005: After receiving the service migration request, the network element performs service migration or main/standby switchover according to its own reliability design form.
步骤1006、网元完成业务迁移后,给MANO***的VNFM发送第四应答任务完成。Step 1006: After the network element completes the service migration, it sends the fourth response task to the VNFM of the MANO system to complete.
步骤1007、MANO***的VNFM接收到所有网元的第四应答任务完成后,向MANO***的NFVO发送第一应答任务完成,MANO***的NFVO将第一应答任务完成转发给升级模块。Step 1007: After the VNFM of the MANO system receives the completion of the fourth response task of all network elements, it sends the first response task to the NFVO of the MANO system to complete, and the NFVO of the MANO system forwards the completion of the first response task to the upgrade module.
步骤1008、升级模块向NFVI(云***)发起物理机上的所有虚拟机疏散请求。Step 1008: The upgrade module initiates an evacuation request for all virtual machines on the physical machine to the NFVI (cloud system).
步骤1009、NFVI(云***)收到物理机上的所有虚拟机疏散请求后,将物理机上的所有虚拟机疏散到其他物理机上。Step 1009: After receiving all the virtual machine evacuation requests on the physical machine, the NFVI (cloud system) evacuates all the virtual machines on the physical machine to other physical machines.
步骤1010、NFVI完成疏散后,给升级模块发送第二应答任务完成。Step 1010: After the NFVI completes the evacuation, it sends a second response to the upgrade module to complete the task.
步骤1011、升级模块向运行在物理机上的升级代理发起升级请求,携带升级的版本等信息。Step 1011. The upgrade module initiates an upgrade request to the upgrade agent running on the physical machine, and carries information such as the upgraded version.
步骤1012、升级代理向升级模块下载新的版本,将物理机升级到新的版本。Step 1012: The upgrade agent downloads the new version to the upgrade module, and upgrades the physical machine to the new version.
步骤1013、升级代理完成升级后,给升级模块发送第三应答升级完成。Step 1013: After the upgrade agent completes the upgrade, it sends a third response to the upgrade module that the upgrade is complete.
步骤1014、升级模块收到应答后,通知NFVI将升级后的物理机纳入管理和应用。Step 1014: After receiving the response, the upgrade module notifies the NFVI to include the upgraded physical machine into management and application.
步骤1015、升级模块按序升级完成所有的物理机,升级完成。Step 1015: The upgrade module upgrades all physical machines in sequence, and the upgrade is completed.
参见图11,本申请另一个实施例提出了一种升级装置,包括:Referring to FIG. 11, another embodiment of the present application proposes an upgrade device, including:
物理机确定模块1101,设置为确定需要升级的N个物理机;其中,N为大于或等于1的整数;第一物理机升级模块1102,设置为对于每一个物理机,进行物理机上的虚拟机的网元的业务的迁移;将物理机上的虚拟机疏散到其他物理机上;进行物理机的升级;通知网络功能虚拟化基础设施NFVI将升级后的物理机纳入管理和应用;或者,将N个物理机划分为M个分组;其中,M为大于或等于1的整数;对于每一个分组的所有物理机,进行分组的所有物理机上的虚拟机的网元的业务的迁移;将分组的所有物理机上的虚拟机疏散到其他物理机上;进行分组的所有物理机的升级;通知网络功能虚拟化基础设施NFVI将分组的所有升级后的物理机纳入管理和应用;或者,进行N个物理机上的虚拟机的网元的业务的迁移;将N个物理机上的虚拟机疏散到其他物理机上;进行N个物理机的升级;通知网络功能虚拟化基础设施NFVI将N个升级后的物理机纳入管理和应用。The physical machine determination module 1101 is set to determine the N physical machines that need to be upgraded; where N is an integer greater than or equal to 1; the first physical machine upgrade module 1102 is set to perform virtual machines on the physical machine for each physical machine Evacuate the virtual machines on the physical machines to other physical machines; upgrade the physical machines; notify the network function virtualization infrastructure NFVI to incorporate the upgraded physical machines into management and application; or, to add N The physical machine is divided into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, the network element service migration of the virtual machines on all the physical machines in the group is performed; all the physical machines in the group are Evacuate the virtual machines on the computer to other physical machines; perform the upgrade of all the physical machines in the group; notify the network function virtualization infrastructure NFVI to include all the upgraded physical machines in the group into management and application; or, perform virtual on N physical machines The business migration of the network element of the machine; evacuate the virtual machines on the N physical machines to other physical machines; upgrade the N physical machines; notify the network function virtualization infrastructure NFVI to include the N upgraded physical machines into the management and application.
在本申请另一个实施例中,物理机确定模块1101还设置为确定升级顺序;第一物理机升级模块1102还设置为按照升级顺序依次对每一个物理机,进行物理机上的虚拟机的网元的业务的迁移;将物理机上的虚拟机疏散到其他物理机上;进行物理机的升级;通知网络功能虚拟化基础设施NFVI将升级后的物理机纳入管理和应用。In another embodiment of the present application, the physical machine determining module 1101 is also configured to determine the upgrade sequence; the first physical machine upgrading module 1102 is also configured to perform the network element of the virtual machine on each physical machine in sequence according to the upgrade sequence. Evacuate virtual machines on physical machines to other physical machines; upgrade physical machines; notify network function virtualization infrastructure NFVI to incorporate the upgraded physical machines into management and applications.
在本申请实施例中,第一物理机升级模块1102是设置为采用以下方式实现进行物理机上的虚拟机的网元的业务的迁移:向管理与编排MANO***的虚拟化网元管理器VNFM发起物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带物理机信息;接收到MANO***的VNFM的第一应答任务完成。In the embodiment of this application, the first physical machine upgrade module 1102 is configured to implement the migration of the network element services of the virtual machine on the physical machine in the following manner: initiate to the virtual network element manager VNFM of the management and orchestration MANO system The network element service migration request before the physical machine upgrade, the network element service migration request before the physical machine upgrade carries the physical machine information; the first response task of the VNFM received from the MANO system is completed.
或者,第一物理机升级模块1102是设置为采用以下方式实现所述进行分组的物理机上的虚拟机的网元的业务的迁移:向所述MANO***的所述VNFM发 起物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带所述分组的所有物理机信息;接收到MANO***的VNFM的第一应答任务完成。Alternatively, the first physical machine upgrade module 1102 is configured to implement the service migration of the network element of the virtual machine on the physical machine for grouping in the following manner: initiate a physical machine upgrade network element to the VNFM of the MANO system Service migration request, the network element service migration request before the physical machine upgrade carries all the physical machine information of the group; the first response task of the VNFM received from the MANO system is completed.
或者,第一物理机升级模块1102是设置为采用以下方式实现所述进行N个物理机上的虚拟机的网元的业务的迁移:向所述MANO***的所述VNFM发起物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带N个物理机信息;接收到MANO***的VNFM的第一应答任务完成。Alternatively, the first physical machine upgrade module 1102 is configured to implement the service migration of the network elements of virtual machines on the N physical machines in the following manner: initiate the physical machine upgrade network element to the VNFM of the MANO system The service migration request, the network element service migration request before the physical machine upgrade carries N physical machine information; the first response task of the VNFM received from the MANO system is completed.
在本申请实施例中,第一物理机升级模块1102是设置为采用以下方式实现将物理机上的虚拟机疏散到其他物理机上:向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述物理机信息;接收到所述NFVI的第二应答任务完成。In the embodiment of the present application, the first physical machine upgrade module 1102 is configured to implement the evacuation of virtual machines on a physical machine to other physical machines in the following manner: initiate an evacuation request for all virtual machines on the physical machine to the NFVI; All virtual machine evacuation requests on the physical machine carry the physical machine information; the second response task received from the NFVI is completed.
或者,第一物理机升级模块1102是设置为采用以下方式实现所述将分组的所有物理机上的虚拟机疏散到其他物理机上:向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述分组的所有物理机信息;接收到所述NFVI的第二应答任务完成。Alternatively, the first physical machine upgrade module 1102 is configured to implement the evacuation of the virtual machines on all the grouped physical machines to other physical machines in the following manner: initiate an evacuation request for all virtual machines on the physical machine to the NFVI; All virtual machine evacuation requests on the physical machine carry all physical machine information of the group; the second response task received from the NFVI is completed.
或者,第一物理机升级模块1102是设置为采用以下方式实现所述将N个物理机上的虚拟机疏散到其他物理机上:向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带N个物理机信息;接收到所述NFVI的第二应答任务完成。Alternatively, the first physical machine upgrade module 1102 is configured to implement the evacuation of virtual machines on N physical machines to other physical machines in the following manner: initiating all virtual machine evacuation requests on the physical machine to the NFVI; wherein, the All virtual machine evacuation requests on the physical machine carry N physical machine information; the second response task received from the NFVI is completed.
在本申请实施例中,第一物理机升级模块1102是设置为采用以下方式实现进行物理机的升级:向物理机发起升级请求;接收到所述物理机的第三应答任务完成。In the embodiment of the present application, the first physical machine upgrade module 1102 is configured to implement the upgrade of the physical machine in the following manner: initiate an upgrade request to the physical machine; receive the completion of the third response task of the physical machine.
或者,第一物理机升级模块1102是设置为采用以下方式实现所述进行分组的所有物理机的升级:向所述分组的所有物理机发起升级请求;接收到所述分组的所有物理机的第三应答任务完成。Alternatively, the first physical machine upgrade module 1102 is configured to implement the upgrade of all the physical machines that are grouped in the following manner: initiate an upgrade request to all the physical machines in the group; the first physical machine that receives the group Three response tasks are completed.
或者,第一物理机升级模块1102是设置为采用以下方式实现所述进行N个物理机的升级:向N个物理机发起升级请求;接收到所述N个物理机的第三应答任务完成。Alternatively, the first physical machine upgrade module 1102 is configured to implement the upgrade of N physical machines in the following manner: initiate an upgrade request to N physical machines; and receive the completion of the third response task of the N physical machines.
参见图12,本申请另一个实施例提出了一种升级装置,包括:Referring to FIG. 12, another embodiment of the present application proposes an upgrade device, including:
第一通信模块1201,设置为接收到物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带物理机信息或分组的所有物理机信息或N个物理机信息;向所述网元发起业务迁移请求;接收所述网元的第四应答任务完成;接收到所有网元的第四应答任务完成后,发送第一应答任务完成;虚拟 机和网元识别模块1202,设置为根据物理机信息或分组的所有物理机信息或N个物理机信息识别出物理机上的虚拟机或分组的所有物理机上的虚拟机或N个物理机上的虚拟机,以及虚拟机上的网元。The first communication module 1201 is configured to receive a network element service migration request before the physical machine upgrade, where the network element service migration request before the physical machine upgrade carries physical machine information or grouped all physical machine information or N physical machine information; The network element initiates a service migration request; receives the completion of the fourth response task of the network element; after receiving the completion of the fourth response task of all network elements, sends the completion of the first response task; the virtual machine and network element identification module 1202, It is set to identify the virtual machines on the physical machine or the virtual machines on all the grouped physical machines or the virtual machines on the N physical machines according to the physical machine information or the grouped all physical machine information or the N physical machine information, and the network on the virtual machine yuan.
参见图13,本申请另一个实施例提出了一种升级装置,包括:Referring to FIG. 13, another embodiment of the present application proposes an upgrade device, including:
第二通信模块1301,设置为接收到业务迁移请求,发送第四应答任务完成;业务迁移模块1302,设置为进行业务迁移。The second communication module 1301 is configured to receive the service migration request and send a fourth response to completion of the task; the service migration module 1302 is configured to perform service migration.
参见图14,本申请另一个实施例提出了一种升级装置,包括:Referring to FIG. 14, another embodiment of the present application proposes an upgrade device, including:
第三通信模块1401,设置为接收到物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带物理机信息或分组的所有物理机信息或N个物理机信息;发送第二应答任务完成;虚拟机疏散模块1402,设置为将物理机上的虚拟机或分组的所有物理机上的虚拟机或N个物理机上的虚拟机疏散到其他物理机上。The third communication module 1401 is configured to receive all virtual machine evacuation requests on the physical machine; wherein, all virtual machine evacuation requests on the physical machine carry physical machine information or grouped all physical machine information or N physical machine information; send The second response task is completed; the virtual machine evacuation module 1402 is configured to evacuate virtual machines on a physical machine or virtual machines on all physical machines in a group or virtual machines on N physical machines to other physical machines.
参见图15,本申请另一个实施例提出了一种升级装置,包括:Referring to FIG. 15, another embodiment of the present application proposes an upgrade device, including:
第四通信模块1501,设置为接收到升级请求;发送第三应答任务完成;第二物理机升级模块1502,设置为下载新的版本,将物理机升级到新的版本。The fourth communication module 1501 is configured to receive the upgrade request; send the third response to completion of the task; the second physical machine upgrade module 1502 is configured to download the new version and upgrade the physical machine to the new version.
本申请另一个实施例提出了一种升级装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令被所述处理器执行时,实现上述任一种升级方法。Another embodiment of the present application provides an upgrade device, including a processor and a computer-readable storage medium. The computer-readable storage medium stores instructions. When the instructions are executed by the processor, any of the foregoing is implemented. An upgrade method.
本申请另一个实施例提出了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一种升级方法的步骤。Another embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above-mentioned upgrading methods are implemented.
参见图16,本申请另一个实施例提出了一种升级***,包括:Referring to FIG. 16, another embodiment of the present application proposes an upgrade system, including:
升级模块1601,设置为确定需要升级的N个物理机;其中,N为大于或等于1的整数;对于每一个物理机,向管理与编排MANO***的虚拟化网元管理器VNFM发起物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带物理机信息;接收到MANO***的VNFM的第一应答任务完成;向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述物理机信息;接收到所述NFVI的第二应答任务完成;向物理机发起升级请求;接收到所述物理机的第三应答任务完成;通知网络功能虚拟化基础设施NFVI将升级后的物理机纳入管理和应用;或者,将N个物理机划分为M个分组;其中,M为大于或等于1的整数;对于每一个分组的所有物理机,向所述MANO***的所述VNFM发起物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带所述分组的所有物理机信息;接收到MANO***的VNFM的第一应答任务完成;向所述NFVI发起物理机上 的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述分组的所有物理机信息;接收到所述NFVI的第二应答任务完成;向所述分组的所有物理机发起升级请求;接收到所述分组的所有物理机的第三应答任务完成;通知网络功能虚拟化基础设施NFVI将分组的所有升级后的物理机纳入管理和应用;或者,将N个物理机划分为M个分组;其中,M为大于或等于1的整数;对于每一个分组内的每一个物理机,向所述MANO***的所述VNFM发起物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带所述物理机信息;接收到MANO***的VNFM的所述分组内的所有物理机的第一应答任务完成;向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述物理机信息;接收到所述NFVI的所述分组内的所有物理机的第二应答任务完成;向所述分组内的所有物理机发起升级请求;接收到所述分组的所有物理机的第三应答任务完成;通知网络功能虚拟化基础设施NFVI将分组的所有升级后的物理机纳入管理和应用;或者,向所述MANO***的所述VNFM发起物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带N个物理机信息;接收到MANO***的VNFM的第一应答任务完成;向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带N个物理机信息;接收到所述NFVI的第二应答任务完成;向N个物理机发起升级请求;接收到所述N个物理机的第三应答任务完成;通知网络功能虚拟化基础设施NFVI将N个升级后的物理机纳入管理和应用;或者,向所述MANO***的所述VNFM发起物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带物理机信息;接收到MANO***的VNFM的N个物理机的第一应答任务完成;向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带物理机信息;接收到所述NFVI的N个物理机的第二应答任务完成;向N个物理机发起升级请求;接收到所述N个物理机的第三应答任务完成;通知网络功能虚拟化基础设施NFVI将N个升级后的物理机纳入管理和应用。The upgrade module 1601 is set to determine the N physical machines that need to be upgraded; where N is an integer greater than or equal to 1; for each physical machine, initiate a physical machine upgrade to the virtual network element manager VNFM that manages and orchestrates the MANO system The previous network element service migration request, the network element service migration request before the physical machine upgrade carries the physical machine information; the first response task received from the VNFM of the MANO system is completed; all virtual machine evacuation requests on the physical machine are initiated to the NFVI; Wherein, all virtual machine evacuation requests on the physical machine carry the physical machine information; receiving the completion of the second response task of the NFVI; initiating an upgrade request to the physical machine; receiving the completion of the third response task of the physical machine ; Notify the network function virtualization infrastructure NFVI to incorporate the upgraded physical machine into management and application; or, divide N physical machines into M groups; where M is an integer greater than or equal to 1; for all of each group A physical machine, initiating a pre-physical machine upgrade network element service migration request to the VNFM of the MANO system, the pre-physical machine upgrade network element service migration request carries information about all physical machines in the group; receiving the VNFM of the MANO system The first response task is completed; all virtual machine evacuation requests on the physical machine are initiated to the NFVI; wherein all virtual machine evacuation requests on the physical machine carry the information of all the physical machines in the group; the first response of the NFVI is received The second response task is completed; an upgrade request is initiated to all the physical machines of the group; the third response task of all the physical machines that receive the group is completed; the network function virtualization infrastructure NFVI is notified to group all the upgraded physical machines Include management and application; or, divide N physical machines into M groups; where M is an integer greater than or equal to 1; for each physical machine in each group, initiate to the VNFM of the MANO system A network element service migration request before the physical machine upgrade, the network element service migration request before the physical machine upgrade carries the physical machine information; the first response task of all physical machines in the group that receives the VNFM of the MANO system is completed; Initiate all virtual machine evacuation requests on the physical machine to the NFVI; wherein, all virtual machine evacuation requests on the physical machine carry the physical machine information; the second of all physical machines in the group that receives the NFVI The response task is completed; an upgrade request is initiated to all the physical machines in the group; the third response task of all the physical machines receiving the group is completed; the network function virtualization infrastructure NFVI is notified to group all the upgraded physical machines Include management and application; or, initiate a network element service migration request before physical machine upgrade to the VNFM of the MANO system, and the network element service migration request before physical machine upgrade carries N physical machine information; The first response task of the VNFM is completed; all virtual machine evacuation requests on the physical machine are initiated to the NFVI; wherein all virtual machine evacuation requests on the physical machine are initiated Carry N physical machine information; receive the completion of the second response task of the NFVI; initiate an upgrade request to N physical machines; receive the completion of the third response task of the N physical machines; notify the network function virtualization infrastructure NFVI incorporates N upgraded physical machines into management and application; or, initiates a network element service migration request before physical machine upgrade to the VNFM of the MANO system, and the network element service migration request before physical machine upgrade carries the physical machine Information; the first response task of the N physical machines receiving the VNFM of the MANO system is completed; all virtual machine evacuation requests on the physical machine are initiated to the NFVI; wherein all virtual machine evacuation requests on the physical machine carry physical machine information The second response task of the N physical machines that received the NFVI is completed; an upgrade request is initiated to the N physical machines; the third response task of the N physical machines is received is completed; the network function virtualization infrastructure NFVI is notified Bring N upgraded physical machines into management and application.
VNFM1602,设置为接收到物理机升级前网元业务迁移请求,所述物理机升级前网元业务迁移请求携带物理机信息或分组的所有物理机信息或N个物理机信息;根据物理机信息或分组的所有物理机信息或N个物理机信息识别出物理机上的虚拟机或分组的所有物理机上的虚拟机或N个物理机上的虚拟机,以及虚拟机上的网元;向所述网元发起业务迁移请求;接收所述网元的第四应答任务完成;接收到所有网元的第四应答任务完成后,发送第一应答任务完成。VNFM1602, set to receive a network element service migration request before the physical machine upgrade. The network element service migration request before the physical machine upgrade carries physical machine information or grouped all physical machine information or N physical machine information; according to the physical machine information or The grouped all physical machine information or N physical machine information identifies the virtual machines on the physical machine or the virtual machines on all the grouped physical machines or the virtual machines on the N physical machines, and the network elements on the virtual machines; to the network element Initiate a service migration request; receive the completion of the fourth response task of the network element; after receiving the completion of the fourth response task of all network elements, send the completion of the first response task.
网元1603,设置为接收到业务迁移请求,进行业务迁移,发送第四应答任务完成。The network element 1603 is set to receive the service migration request, perform the service migration, and send the fourth response to completion.
NFVI1604,设置为接收到物理机上的所有虚拟机疏散请求;其中,所述物 理机上的所有虚拟机疏散请求携带物理机信息或分组的所有物理机信息或N个物理机信息;将物理机上的虚拟机或分组的所有物理机上的虚拟机或N个物理机上的虚拟机疏散到其他物理机上;发送第二应答任务完成;其中,N为大于或等于1的整数。NFVI1604, set to receive all virtual machine evacuation requests on a physical machine; wherein, all virtual machine evacuation requests on the physical machine carry physical machine information or grouped information of all physical machines or N physical machine information; Evacuate virtual machines on all physical machines or virtual machines on N physical machines to other physical machines; sending the second response task is completed; where N is an integer greater than or equal to 1.
物理机1605,设置为接收到升级请求;下载新的版本,将物理机升级到新的版本;发送第三应答任务完成。The physical machine 1605 is set to receive the upgrade request; download the new version, and upgrade the physical machine to the new version; send the third response task to complete.
在本申请实施例中,所述升级模块1601为独立部署的设备、或设置在以下任意一个设备中的模块:In the embodiment of the present application, the upgrade module 1601 is an independently deployed device or a module set in any one of the following devices:
虚拟化基础设施管理器VIM、虚拟化编排器NFVO、操作支持***(Operation Support System,OSS)、所述NFVI。Virtualized infrastructure manager VIM, virtualized orchestrator NFVO, operation support system (Operation Support System, OSS), the NFVI.
在本申请实施例中,升级模块1601还设置为确定升级顺序,按照升级顺序依次对每一个物理机,进行物理机上的虚拟机的网元的业务的迁移;将物理机上的虚拟机疏散到其他物理机上;进行物理机的升级;通知网络功能虚拟化基础设施NFVI将升级后的物理机纳入管理和应用。In the embodiment of the present application, the upgrade module 1601 is also set to determine the upgrade sequence, and perform the migration of the network element services of the virtual machine on the physical machine for each physical machine in the upgrade sequence; evacuate the virtual machine on the physical machine to other On the physical machine; upgrade the physical machine; notify the network function virtualization infrastructure NFVI to incorporate the upgraded physical machine into management and application.
上述升级***的实现过程与前述实施例的升级方法的实现过程相同,这里不再赘述。The implementation process of the above upgrade system is the same as the implementation process of the upgrade method in the foregoing embodiment, and will not be repeated here.
上文中所公开方法中的全部或一些步骤、***、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由多个物理组件合作执行。一些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于随机存取存储器(Random Access Memory,RAM)、只读存储器(Read Only Memory,ROM)、带电可擦式可编程只读存储器(Electrically Erasable Programmable Read Only Memory,EEPROM)、闪存或其他存储器技术、光盘只读存储器(Compact Disc ReadOnly Memory,CD-ROM)、数字多功能盘(Digital Video Disc,DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以设置为存储期望的信息并且可以被计算机访问的任何其他的介质。通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据, 并且可包括任何信息递送介质。All or some of the steps in the methods disclosed above, the functional modules/units in the system, and the device can be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may consist of multiple The physical components cooperate to execute. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or non-transitory medium) and a communication medium (or transitory medium). The term computer storage medium includes volatile and non-volatile, removable and non-removable implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data) medium. Computer storage media include but are not limited to Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash memory or other memory technologies, CD-ROM (Compact Disc Read Only Memory), Digital Video Disc (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, Or it can be set as any other medium that stores desired information and can be accessed by a computer. The communication medium usually contains computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.

Claims (14)

  1. 一种升级方法,包括:An upgrade method including:
    确定需要升级的N个物理机;其中,N为大于或等于1的整数;Determine the N physical machines that need to be upgraded; where N is an integer greater than or equal to 1;
    执行以下之一:Do one of the following:
    对于每一个物理机,进行物理机上的虚拟机的网元的业务的迁移;将所述物理机上的虚拟机疏散到其他物理机上;进行所述物理机的升级;通知网络功能虚拟化基础设施NFVI将升级后的物理机纳入管理和应用;For each physical machine, perform the migration of the network element services of the virtual machine on the physical machine; evacuate the virtual machine on the physical machine to other physical machines; perform the upgrade of the physical machine; notify the network function virtualization infrastructure NFVI Bring the upgraded physical machine into management and application;
    将所述N个物理机划分为M个分组;其中,M为大于或等于1的整数;对于每一个分组的所有物理机,进行所述分组的所有物理机上的虚拟机的网元的业务的迁移;将所述分组的所有物理机上的虚拟机疏散到其他物理机上;进行所述分组的所有物理机的升级;通知NFVI将所述分组的所有升级后的物理机纳入管理和应用;Divide the N physical machines into M groups; where M is an integer greater than or equal to 1; for all the physical machines in each group, perform the service of the network elements of the virtual machines on all the physical machines in the group Migration; Evacuate virtual machines on all physical machines in the group to other physical machines; upgrade all physical machines in the group; notify NFVI to include all upgraded physical machines in the group into management and application;
    进行所述N个物理机上的虚拟机的网元的业务的迁移;将所述N个物理机上的虚拟机疏散到其他物理机上;进行所述N个物理机的升级;通知NFVI将N个升级后的物理机纳入管理和应用。Perform business migration of the network elements of the virtual machines on the N physical machines; evacuate the virtual machines on the N physical machines to other physical machines; perform the upgrade of the N physical machines; notify the NFVI to upgrade N The latter physical machine is incorporated into management and application.
  2. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    确定升级顺序;按照所述升级顺序依次对每一个物理机,进行所述物理机上的虚拟机的网元的业务的迁移。Determine the upgrade sequence; perform the migration of the network element services of the virtual machine on the physical machine for each physical machine in turn according to the upgrade sequence.
  3. 根据权利要求1所述的方法,其中,对于每一个物理机,所述进行所述物理机上的虚拟机的网元的业务的迁移包括:The method according to claim 1, wherein, for each physical machine, the performing service migration of the network element of the virtual machine on the physical machine comprises:
    向管理与编排MANO***的虚拟化网元管理器VNFM发起物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业务迁移请求携带所述物理机信息;接收到所述MANO***的所述VNFM的第一应答任务完成;Initiate a pre-physical machine upgrade network element service migration request to the virtualized network element manager VNFM that manages and orchestrates the MANO system, wherein the pre-physical machine upgrade network element service migration request carries the physical machine information; the MANO is received The first response task of the VNFM of the system is completed;
    对于每一个分组的所有物理机,所述进行所述分组的物理机上的虚拟机的网元的业务的迁移包括:For all physical machines in each group, the migration of the network element services of the virtual machines on the physical machines in the group includes:
    对于所述分组内的每一个物理机,进行所述物理机上的虚拟机的网元的业务的迁移;或者,向MANO***的VNFM发起物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业务迁移请求携带所述分组的所有物理机信息;接收到所述MANO***的所述VNFM的第一应答任务完成;For each physical machine in the group, perform the service migration of the network element of the virtual machine on the physical machine; or initiate a network element service migration request before the physical machine upgrade to the VNFM of the MANO system, where the physical Before the machine upgrade, the network element service migration request carries all the physical machine information of the group; the first response task of the VNFM received from the MANO system is completed;
    对于所述N个物理机,所述进行所述N个物理机上的虚拟机的网元的业务的迁移包括:For the N physical machines, the performing service migration of the network elements of the virtual machines on the N physical machines includes:
    对于所述N个物理机中的每一个物理机,进行所述物理机上的虚拟机的网元的业务的迁移;或者,向MANO***的VNFM发起物理机升级前网元业务 迁移请求,其中,所述物理机升级前网元业务迁移请求携带所述N个物理机信息;接收到所述MANO***的所述VNFM的第一应答任务完成。For each of the N physical machines, perform the service migration of the network element of the virtual machine on the physical machine; or initiate a network element service migration request before the physical machine upgrade to the VNFM of the MANO system, where: The network element service migration request before the physical machine upgrade carries the information of the N physical machines; the first response task of the VNFM received from the MANO system is completed.
  4. 根据权利要求1所述的方法,其中,对于每一个物理机,所述将所述物理机上的虚拟机疏散到其他物理机上包括:The method according to claim 1, wherein, for each physical machine, the evacuating the virtual machine on the physical machine to other physical machines comprises:
    向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述物理机信息;接收到所述NFVI的第二应答任务完成;Initiating all virtual machine evacuation requests on the physical machine to the NFVI; wherein all virtual machine evacuation requests on the physical machine carry the physical machine information; the second response task received from the NFVI is completed;
    对于每一个分组的所有物理机,所述将所述分组的所有物理机上的虚拟机疏散到其他物理机上包括:For all physical machines in each group, the evacuating virtual machines on all physical machines in the group to other physical machines includes:
    对于所述分组内的每一个物理机,将所述物理机上的虚拟机疏散到其他物理机上;或者,向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述分组的所有物理机信息;接收到所述NFVI的第二应答任务完成;For each physical machine in the group, evacuate the virtual machines on the physical machine to other physical machines; or initiate an evacuation request for all virtual machines on the physical machine to the NFVI; wherein, all virtual machines on the physical machine The machine evacuation request carries all the physical machine information of the group; the second response task received from the NFVI is completed;
    对于所述N个物理机,所述将所述N个物理机上的虚拟机疏散到其他物理机上包括:For the N physical machines, the evacuating the virtual machines on the N physical machines to other physical machines includes:
    对于所述N个物理机中的每一个物理机,将所述物理机上的虚拟机疏散到其他物理机上;或者,向所述NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述N个物理机信息;接收到所述NFVI的第二应答任务完成。For each of the N physical machines, evacuate the virtual machines on the physical machine to other physical machines; or, initiate an evacuation request for all virtual machines on the physical machine to the NFVI; wherein, on the physical machine All virtual machine evacuation requests carried the information of the N physical machines; the second response task received from the NFVI is completed.
  5. 根据权利要求1所述的方法,其中,对于每一个物理机,所述进行所述物理机的升级包括:The method according to claim 1, wherein, for each physical machine, the upgrading of the physical machine comprises:
    向所述物理机发起升级请求;接收到所述物理机的第三应答任务完成;Initiate an upgrade request to the physical machine; receive the completion of the third response task from the physical machine;
    对于每一个分组的所有物理机,所述进行所述分组的所有物理机的升级包括:For all physical machines in each group, the upgrade of all physical machines in the group includes:
    向所述分组的所有物理机发起升级请求;接收到所述分组的所有物理机的第三应答任务完成;Initiate an upgrade request to all physical machines in the group; the third response task of all physical machines that have received the group is completed;
    对于所述N个物理机,所述进行所述N个物理机的升级包括:For the N physical machines, the upgrading of the N physical machines includes:
    向所述N个物理机发起升级请求;接收到所述N个物理机的第三应答任务完成。An upgrade request is initiated to the N physical machines; the third response task received from the N physical machines is completed.
  6. 一种升级方法,包括:An upgrade method including:
    接收物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业务迁移请求携带物理机信息或分组的所有物理机信息或N个物理机信息,N为大 于或等于1的整数;Receive a network element service migration request before the physical machine upgrade, where the network element service migration request before the physical machine upgrade carries physical machine information or grouped all physical machine information or N physical machine information, and N is an integer greater than or equal to 1 ;
    根据所述物理机信息或所述分组的所有物理机信息或所述N个物理机信息识别出所述物理机上的虚拟机或所述分组的所有物理机上的虚拟机或所述N个物理机上的虚拟机,以及所述虚拟机上的网元;Identify virtual machines on the physical machine or virtual machines on all physical machines in the group or on the N physical machines according to the physical machine information or the information of all physical machines in the group or the information of the N physical machines The virtual machine, and the network elements on the virtual machine;
    向所述网元发起业务迁移请求;接收所述网元的第四应答任务完成;Initiating a service migration request to the network element; receiving the fourth response task of the network element is completed;
    接收到所有网元的第四应答任务完成后,发送第一应答任务完成。After receiving the completion of the fourth response task of all network elements, the sending of the first response task is completed.
  7. 一种升级方法,包括以下一个:An upgrade method, including the following:
    接收到业务迁移请求,进行业务迁移,发送第四应答任务完成;The service migration request is received, the service migration is performed, and the fourth response task is sent to complete;
    接收到物理机上的所有虚拟机疏散请求,其中,所述物理机上的所有虚拟机疏散请求携带物理机信息或分组的所有物理机信息或N个物理机信息,将所述物理机上的虚拟机或所述分组的所有物理机上的虚拟机或所述N个物理机上的虚拟机疏散到其他物理机上,发送第二应答任务完成,其中,N为大于或等于1的整数;All virtual machine evacuation requests on the physical machine are received, where all virtual machine evacuation requests on the physical machine carry physical machine information or grouped all physical machine information or N physical machine information, and the virtual machine on the physical machine or Evacuate virtual machines on all physical machines in the group or virtual machines on the N physical machines to other physical machines, and send a second response to completion, where N is an integer greater than or equal to 1;
    接收到升级请求,下载新的版本,将物理机升级到新的版本,发送第三应答任务完成。Upon receiving the upgrade request, download the new version, upgrade the physical machine to the new version, and send the third response to completion.
  8. 一种升级装置,包括:An upgrade device, including:
    物理机确定模块,设置为确定需要升级的N个物理机;其中,N为大于或等于1的整数;The physical machine determination module is set to determine the N physical machines that need to be upgraded; where N is an integer greater than or equal to 1;
    第一物理机升级模块,设置为对于每一个物理机,进行物理机上的虚拟机的网元的业务的迁移;将所述物理机上的虚拟机疏散到其他物理机上;进行所述物理机的升级;通知网络功能虚拟化基础设施NFVI将升级后的物理机纳入管理和应用;The first physical machine upgrade module is configured to perform service migration of the network element of the virtual machine on the physical machine for each physical machine; evacuate the virtual machine on the physical machine to other physical machines; perform the upgrade of the physical machine ; Notify the network function virtualization infrastructure NFVI to incorporate the upgraded physical machine into management and application;
    或者,将所述N个物理机划分为M个分组;其中,M为大于或等于1的整数;对于每一个分组的所有物理机,进行所述分组的所有物理机上的虚拟机的网元的业务的迁移;将所述分组的所有物理机上的虚拟机疏散到其他物理机上;进行所述分组的所有物理机的升级;通知NFVI将所述分组的所有升级后的物理机纳入管理和应用;Or, divide the N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, the network elements of virtual machines on all physical machines in the group are Business migration; evacuating virtual machines on all physical machines in the group to other physical machines; upgrading all physical machines in the group; notifying NFVI to include all upgraded physical machines in the group into management and application;
    或者,进行所述N个物理机上的虚拟机的网元的业务的迁移;将所述N个物理机上的虚拟机疏散到其他物理机上;进行所述N个物理机的升级;通知NFVI将N个升级后的物理机纳入管理和应用。Or, perform the migration of the network element services of the virtual machines on the N physical machines; evacuate the virtual machines on the N physical machines to other physical machines; perform the upgrade of the N physical machines; notify the NFVI to change the N One upgraded physical machine is included in management and application.
  9. 一种升级装置,包括:An upgrade device, including:
    第一通信模块,设置为接收到物理机升级前网元业务迁移请求,其中,所 述物理机升级前网元业务迁移请求携带物理机信息或分组的所有物理机信息或N个物理机信息,N为大于或等于1的整数;The first communication module is configured to receive the network element service migration request before the physical machine upgrade, wherein the network element service migration request before the physical machine upgrade carries the physical machine information or grouped all physical machine information or N physical machine information, N is an integer greater than or equal to 1;
    虚拟机和网元识别模块,设置为根据所述物理机信息或所述分组的所有物理机信息或所述N个物理机信息识别出所述物理机上的虚拟机或所述分组的所有物理机上的虚拟机或所述N个物理机上的虚拟机,以及所述虚拟机上的网元;The virtual machine and network element identification module is configured to identify the virtual machine on the physical machine or all the physical machines in the group according to the physical machine information or the information of all physical machines in the group or the information of the N physical machines Virtual machines or virtual machines on the N physical machines, and network elements on the virtual machines;
    第一通信模块,还设置为向所述网元发起业务迁移请求;接收所述网元的第四应答任务完成;接收到所有网元的第四应答任务完成后,发送第一应答任务完成。The first communication module is further configured to initiate a service migration request to the network element; receive the completion of the fourth response task of the network element; and send the completion of the first response task after receiving the completion of the fourth response task of all network elements.
  10. 一种升级装置,包括以下一个:An upgrade device, including one of the following:
    第二通信模块,设置为接收到业务迁移请求;发送第四应答任务完成;业务迁移模块,设置为进行业务迁移;The second communication module is configured to receive the service migration request; the fourth response is sent to complete the task; the service migration module is configured to perform the service migration;
    第三通信模块,设置为接收到物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带物理机信息或分组的所有物理机信息或N个物理机信息;其中,N为大于或等于1的整数;发送第二应答任务完成;虚拟机疏散模块,设置为将所述物理机上的虚拟机或所述分组的所有物理机上的虚拟机或所述N个物理机上的虚拟机疏散到其他物理机上;The third communication module is configured to receive all virtual machine evacuation requests on the physical machine; wherein, all virtual machine evacuation requests on the physical machine carry physical machine information or grouped information of all physical machines or N physical machine information; wherein, N is an integer greater than or equal to 1; the sending of the second response task is completed; the virtual machine evacuation module is configured to set the virtual machines on the physical machine or the virtual machines on all the physical machines in the group or the virtual machines on the N physical machines Evacuate the virtual machine to other physical machines;
    第四通信模块,设置为接收到升级请求;发送第三应答任务完成;第二物理机升级模块,设置为下载新的版本,将物理机升级到新的版本。The fourth communication module is set to receive the upgrade request; send the third response to the completion of the task; the second physical machine upgrade module is set to download the new version and upgrade the physical machine to the new version.
  11. 一种升级装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,其中,当所述指令被所述处理器执行时,实现如权利要求1~7任一项所述的升级方法。An upgrade device, comprising a processor and a computer-readable storage medium, and instructions are stored in the computer-readable storage medium, wherein, when the instructions are executed by the processor, any one of claims 1-7 is implemented. The upgrade method described in item.
  12. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1~7任一项所述的升级方法。A computer-readable storage medium storing a computer program, wherein the computer program implements the upgrade method according to any one of claims 1-7 when the computer program is executed by a processor.
  13. 一种升级***,包括:An upgrade system including:
    升级模块,设置为确定需要升级的N个物理机;其中,N为大于或等于1的整数;The upgrade module is set to determine the N physical machines that need to be upgraded; where N is an integer greater than or equal to 1;
    执行以下之一:Do one of the following:
    对于每一个物理机,向管理与编排MANO***的虚拟化网元管理器VNFM发起物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业务迁移请求携带物理机信息;接收到所述MANO***的所述VNFM的第一应答任务完成;向网络功能虚拟化基础设施NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述物理机信息;接收到所述 NFVI的第二应答任务完成;向所述物理机发起升级请求;接收到所述物理机的第三应答任务完成;通知所述NFVI将升级后的物理机纳入管理和应用;For each physical machine, initiate a pre-physical machine upgrade network element service migration request to the virtualized network element manager VNFM of the management and orchestration MANO system, where the pre-physical machine upgrade network element service migration request carries physical machine information; receiving The first response task of the VNFM to the MANO system is completed; all virtual machine evacuation requests on the physical machine are initiated to the network function virtualization infrastructure NFVI; wherein, all virtual machine evacuation requests on the physical machine carry the physical Machine information; receiving the completion of the second response task of the NFVI; initiating an upgrade request to the physical machine; receiving the completion of the third response task of the physical machine; notifying the NFVI to include the upgraded physical machine in the management and application;
    将所述N个物理机划分为M个分组;其中,M为大于或等于1的整数;对于每一个分组的所有物理机,向MANO***的VNFM发起物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业务迁移请求携带所述分组的所有物理机信息;接收到所述MANO***的所述VNFM的第一应答任务完成;向NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述分组的所有物理机信息;接收到所述NFVI的第二应答任务完成;向所述分组的所有物理机发起升级请求;接收到所述分组的所有物理机的第三应答任务完成;通知所述NFVI将所述分组的所有升级后的物理机纳入管理和应用;Divide the N physical machines into M groups; where M is an integer greater than or equal to 1; for all physical machines in each group, initiate a network element service migration request before the physical machine upgrade to the VNFM of the MANO system, where , The network element service migration request before the physical machine upgrade carries the information of all the physical machines of the group; the first response task of the VNFM received from the MANO system is completed; all the virtual machine evacuation requests on the physical machine are initiated to the NFVI Wherein, all virtual machine evacuation requests on the physical machine carry all the physical machine information of the group; receiving the completion of the second response task of the NFVI; initiate an upgrade request to all the physical machines of the group; The third response task of all the physical machines in the group is completed; the NFVI is notified to include all upgraded physical machines in the group into management and application;
    将所述N个物理机划分为M个分组;其中,M为大于或等于1的整数;对于每一个分组内的每一个物理机,向MANO***的VNFM发起物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业务迁移请求携带所述物理机信息;接收到所述MANO***的所述VNFM的所述分组内的所有物理机的第一应答任务完成;向NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述物理机信息;接收到所述NFVI的所述分组内的所有物理机的第二应答任务完成;向所述分组内的所有物理机发起升级请求;接收到所述分组的所有物理机的第三应答任务完成;通知所述NFVI将所述分组的所有升级后的物理机纳入管理和应用;Divide the N physical machines into M groups; where M is an integer greater than or equal to 1; for each physical machine in each group, initiate a network element service migration request before the physical machine upgrade to the VNFM of the MANO system , Wherein the network element service migration request before the physical machine upgrade carries the physical machine information; the first response task of all the physical machines in the group of the VNFM received in the MANO system is completed; and the NFVI is initiated All virtual machine evacuation requests on the physical machine; wherein all virtual machine evacuation requests on the physical machine carry the physical machine information; the second response task of all the physical machines in the group receiving the NFVI is completed; All physical machines in the group initiate an upgrade request; the third response task of all physical machines that have received the group is completed; and the NFVI is notified to include all upgraded physical machines of the group into management and application;
    向MANO***的VNFM发起物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业务迁移请求携带所述N个物理机信息;接收到所述MANO***的所述VNFM的第一应答任务完成;向NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述N个物理机信息;接收到所述NFVI的第二应答任务完成;向所述N个物理机发起升级请求;接收到所述N个物理机的第三应答任务完成;通知所述NFVI将N个升级后的物理机纳入管理和应用;Initiate a pre-physical machine upgrade network element service migration request to the VNFM of the MANO system, where the pre-physical machine upgrade network element service migration request carries the information of the N physical machines; the first VNFM of the MANO system is received A response task is completed; all virtual machine evacuation requests on the physical machine are initiated to NFVI; wherein all virtual machine evacuation requests on the physical machine carry the information of the N physical machines; the second response task received by the NFVI is completed; Initiate an upgrade request to the N physical machines; receive the completion of the third response task of the N physical machines; notify the NFVI to include the N upgraded physical machines into management and application;
    对于所述N个物理机中的每一个物理机,向MANO***的VNFM发起物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业务迁移请求携带所述物理机信息;接收到所述MANO***的所述VNFM的所述N个物理机的第一应答任务完成;向NFVI发起物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述物理机信息;接收到所述NFVI的所述N个物理机的第二应答任务完成;向所述N个物理机发起升级请求;接收到所述N个物理机的第三应答任务完成;通知所述NFVI将N个升级后的物理机 纳入管理和应用;For each of the N physical machines, initiate a pre-physical machine upgrade network element service migration request to the VNFM of the MANO system, where the pre-physical machine upgrade network element service migration request carries the physical machine information; The first response task of the N physical machines receiving the VNFM of the MANO system is completed; initiating all virtual machine evacuation requests on the physical machine to the NFVI; wherein, all virtual machine evacuation requests on the physical machine carry all The physical machine information; the second response task of the N physical machines that received the NFVI is completed; an upgrade request is initiated to the N physical machines; the third response task of the N physical machines is received is completed; Notify the NFVI to include N upgraded physical machines into management and application;
    所述VNFM,设置为接收所述物理机升级前网元业务迁移请求,其中,所述物理机升级前网元业务迁移请求携带所述物理机信息或所述分组的所有物理机信息或所述N个物理机信息;根据所述物理机信息或所述分组的所有物理机信息或所述N个物理机信息识别出所述物理机上的虚拟机或所述分组的所有物理机上的虚拟机或所述N个物理机上的虚拟机,以及所述虚拟机上的网元;向所述网元发起业务迁移请求;接收所述网元的第四应答任务完成;接收到所有网元的第四应答任务完成后,发送第一应答任务完成;The VNFM is configured to receive the network element service migration request before the physical machine upgrade, wherein the network element service migration request before the physical machine upgrade carries the physical machine information or all the physical machine information in the group or the N physical machine information; according to the physical machine information or the grouped all physical machine information or the N physical machine information, the virtual machine on the physical machine or the virtual machine on all the grouped physical machines or The virtual machines on the N physical machines, and the network elements on the virtual machines; initiate a service migration request to the network element; receive the completion of the fourth response task of the network element; receive the fourth response of all network elements After the response task is completed, the first response task is completed;
    所述网元,设置为接收到业务迁移请求,进行业务迁移,发送第四应答任务完成;The network element is configured to receive the service migration request, perform the service migration, and send the fourth response task to complete;
    所述NFVI,设置为接收到物理机上的所有虚拟机疏散请求;其中,所述物理机上的所有虚拟机疏散请求携带所述物理机信息或所述分组的所有物理机信息或所述N个物理机信息;将所述物理机上的虚拟机或所述分组的所有物理机上的虚拟机或所述N个物理机上的虚拟机疏散到其他物理机上;发送第二应答任务完成;The NFVI is set to receive all virtual machine evacuation requests on the physical machine; wherein, all virtual machine evacuation requests on the physical machine carry the physical machine information or the information of all the physical machines in the group or the N physical machines. Machine information; evacuate the virtual machines on the physical machine or the virtual machines on all the physical machines in the group or the virtual machines on the N physical machines to other physical machines; sending the second response task is complete;
    所述物理机,设置为接收到升级请求;下载新的版本,将所述物理机升级到新的版本;发送第三应答任务完成。The physical machine is set to receive the upgrade request; download a new version, and upgrade the physical machine to the new version; send the third response task to complete.
  14. 根据权利要求13所述的***,其中,所述升级模块为独立部署的设备、或设置在以下一个设备中的模块:The system according to claim 13, wherein the upgrade module is an independently deployed device or a module set in one of the following devices:
    虚拟化基础设施管理器VIM、虚拟化编排器NFVO、操作支持***OSS、所述NFVI。The virtualized infrastructure manager VIM, the virtualized orchestrator NFVO, the operation support system OSS, and the NFVI.
PCT/CN2020/085500 2019-05-06 2020-04-20 Upgrade method, apparatus and system, and storage medium WO2020224421A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910372184.7 2019-05-06
CN201910372184.7A CN111897554A (en) 2019-05-06 2019-05-06 Upgrading method, device and system

Publications (1)

Publication Number Publication Date
WO2020224421A1 true WO2020224421A1 (en) 2020-11-12

Family

ID=73051400

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/085500 WO2020224421A1 (en) 2019-05-06 2020-04-20 Upgrade method, apparatus and system, and storage medium

Country Status (2)

Country Link
CN (1) CN111897554A (en)
WO (1) WO2020224421A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115913940A (en) * 2021-09-29 2023-04-04 中兴通讯股份有限公司 Network upgrading method, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183588A (en) * 2015-09-30 2015-12-23 华为技术有限公司 Rebuilding method and device of virtual machines
CN106301876A (en) * 2015-06-26 2017-01-04 中兴通讯股份有限公司 Physical machine upgrade method, business migration method and device
CN106569871A (en) * 2015-10-12 2017-04-19 中兴通讯股份有限公司 Method and device for upgrade processing
CN106657173A (en) * 2015-10-29 2017-05-10 华为技术有限公司 Business transfer method and device in software upgrading under NFV configuration, and server
WO2017112143A1 (en) * 2015-12-22 2017-06-29 Intel Corporation Methods and apparatus for multi-stage vm virtual network function and virtual service function chain acceleration for nfv and needs-based hardware acceleration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301876A (en) * 2015-06-26 2017-01-04 中兴通讯股份有限公司 Physical machine upgrade method, business migration method and device
CN105183588A (en) * 2015-09-30 2015-12-23 华为技术有限公司 Rebuilding method and device of virtual machines
CN106569871A (en) * 2015-10-12 2017-04-19 中兴通讯股份有限公司 Method and device for upgrade processing
CN106657173A (en) * 2015-10-29 2017-05-10 华为技术有限公司 Business transfer method and device in software upgrading under NFV configuration, and server
WO2017112143A1 (en) * 2015-12-22 2017-06-29 Intel Corporation Methods and apparatus for multi-stage vm virtual network function and virtual service function chain acceleration for nfv and needs-based hardware acceleration

Also Published As

Publication number Publication date
CN111897554A (en) 2020-11-06

Similar Documents

Publication Publication Date Title
US10489255B2 (en) Disaster recovery of containers
US11405274B2 (en) Managing virtual network functions
US9244676B2 (en) Virtual machine based controller and upgrade mechanism
US11625281B2 (en) Serverless platform request routing
US10050850B2 (en) Rack awareness data storage in a cluster of host computing devices
US9781191B2 (en) Processing of application peak load
US11392400B2 (en) Enhanced migration of clusters based on data accessibility
US11029992B2 (en) Nondisruptive updates in a networked computing environment
US9348646B1 (en) Reboot-initiated virtual machine instance migration
CN108089913B (en) Virtual machine deployment method of super-fusion system
JP2013541113A (en) Stateful applications that run in a stateless cloud computing environment
CN111930473A (en) Method and apparatus for deploying image recognition service on container cloud
US20200073648A1 (en) Managing an upgrade of a virtualization infrastructure component
WO2017121153A1 (en) Software upgrading method and device
US20220329495A1 (en) Network resource management method and system, network equipment and readable storage medium
CN108319492B (en) Method, device and system for resetting physical machine
CN112035121A (en) Edge application deployment method and system
WO2020224421A1 (en) Upgrade method, apparatus and system, and storage medium
US20220206836A1 (en) Method and Apparatus for Processing Virtual Machine Migration, Method and Apparatus for Generating Virtual Machine Migration Strategy, Device and Storage Medium
US20230315505A1 (en) System and method for deploying a software-defined data center based on desired state specification from virtualization software
CN111078135B (en) Enhanced data storage for virtual nodes in a data processing environment
US20240020145A1 (en) Updating device firmwares on hosts in a distributed container orchestration system
US11943115B2 (en) Locally debugging remote deployment of microservices
CN112015515B (en) Instantiation method and device of virtual network function
US20240143318A1 (en) Efficient configuration management in continuous deployment

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: 20802475

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: 20802475

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20802475

Country of ref document: EP

Kind code of ref document: A1