WO2017000586A1 - 虚拟网元的升级方法、装置和计算机存储介质 - Google Patents

虚拟网元的升级方法、装置和计算机存储介质 Download PDF

Info

Publication number
WO2017000586A1
WO2017000586A1 PCT/CN2016/075978 CN2016075978W WO2017000586A1 WO 2017000586 A1 WO2017000586 A1 WO 2017000586A1 CN 2016075978 W CN2016075978 W CN 2016075978W WO 2017000586 A1 WO2017000586 A1 WO 2017000586A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual machine
omp
virtual
network element
standby
Prior art date
Application number
PCT/CN2016/075978
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Priority to EP16816951.4A priority Critical patent/EP3316518B1/en
Publication of WO2017000586A1 publication Critical patent/WO2017000586A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0895Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a computer storage medium for upgrading a virtual network element.
  • network element upgrades are part of network function management.
  • the physical network element is used in the telecom operation network.
  • the upgrade process of the physical network element necessarily involves powering off, upgrading, and restarting the NE.
  • the physical network element cannot provide any service service from the time when the physical network element is powered off until the physical network element is restarted.
  • the physical upgrade time of the physical network element is long, which will cause the physical network element to fail to provide service services for a period of time when the network element is upgraded. Therefore, the existing NE upgrade mode has an adverse effect on the normal operation of the communication service.
  • the embodiment of the invention provides a method, a device and a computer storage medium for upgrading a virtual network element, which are used to solve the problem that the existing physical network element upgrade mode has a bad influence on the normal operation of the communication service.
  • An embodiment of the present invention provides a method for upgrading a virtual network element, including: creating a latest version of a virtual machine; using the latest version of the virtual machine, seamlessly replacing a corresponding virtual machine in the virtual network element to implement the Upgrade of virtual network elements.
  • the latest version of the virtual machine is created, including: creating a latest version of the operation and maintenance processing module OMP virtual machine before the preset upgrade time arrives; using the latest version of the virtual machine
  • the replacement of the corresponding virtual machine in the virtual network element includes: when the preset upgrade time comes, the OMP virtual machine in the virtual network element is seamlessly replaced by using the latest version of the OMP virtual machine.
  • the creating the latest version of the virtual machine includes: creating only the latest version of the first OMP virtual machine, or creating the latest version of the first OMP.
  • the primary OMP virtual machine in the network element replaces the standby OMP virtual machine in the virtual network element by using the second OMP virtual machine.
  • the virtual network element includes: a third OMP virtual machine and a fourth OMP virtual machine; wherein the third OMP virtual machine is used as the primary OMP virtual machine, and the fourth OMP virtual machine is used as the standby OMP virtual machine; An OMP virtual machine replaces the primary OMP virtual machine in the virtual network element, and online upgrades the standby OMP virtual machine in the virtual network element, including: stopping the fourth OMP virtual machine, and the first
  • the OMP virtual machine is connected to the virtual network element as a standby OMP virtual machine; data synchronization is performed between the first OMP virtual machine and the third OMP virtual machine; and the first OMP virtual machine is switched to be a primary OMP.
  • the virtual machine switches the third OMP virtual machine to a standby OMP virtual machine; after the online upgrade of the third OMP virtual machine is completed, the fourth OMP virtual machine is deleted.
  • the virtual network element includes: a third OMP virtual machine and a fourth OMP virtual machine; wherein the third OMP virtual machine is used as the primary OMP virtual machine, and the fourth OMP virtual machine is used as the standby OMP virtual machine; Replacing the primary OMP virtual machine in the virtual network element with an OMP virtual machine, and replacing the standby OMP virtual machine in the virtual network element with the second OMP virtual machine, including: stopping the fourth OMP virtual machine from running And accessing the first OMP virtual machine as a standby OMP virtual machine to the virtual network element; and in the first OMP virtual machine and the third OMP virtual machine Performing data synchronization between the machines; switching the first OMP virtual machine to a primary OMP virtual machine, switching the third OMP virtual machine to a standby OMP virtual machine; stopping running the third OMP virtual machine, and The second OMP virtual machine is connected to the virtual network element as a standby OMP virtual machine; data synchronization is performed between the second OMP virtual machine and the first OMP virtual machine; and the third OMP virtual
  • the latest version of the virtual machine is created, and the latest version of the OMM virtual machine is created, and the corresponding virtual machine in the virtual network element is replaced by the latest version of the virtual machine.
  • the method includes: replacing the OMM virtual machine in the virtual network element by using the latest version of the OMM virtual machine before the preset upgrade time arrives.
  • the embodiment of the present invention further provides a device for upgrading a virtual network element, including: a creating module configured to create a virtual machine of the latest version; and an upgrade module configured to use the latest version of the virtual machine to replace the corresponding virtual network element The virtual machine to implement the upgrade of the virtual network element.
  • the creating module is configured to create a latest version of the OMP virtual machine before the preset upgrade time arrives.
  • the upgrade module is configured to use the latest version of the OMP when the preset upgrade time arrives.
  • the virtual machine seamlessly replaces the OMP virtual machine in the virtual network element.
  • the creating module is specifically configured to: if the primary OMP virtual machine and the standby OMP virtual machine are included in the virtual network element, create only the latest version of the first OMP virtual machine, or create the latest version of the first OMP virtual machine and
  • the second OMP virtual machine is configured to replace the primary OMP in the virtual network element with the first OMP virtual machine if the primary OMP virtual machine and the standby OMP virtual machine are included in the virtual network element.
  • the virtual network element includes: a third OMP virtual machine and a fourth OMP virtual machine; wherein the third OMP virtual machine is used as the primary OMP virtual machine, and the fourth OMP virtual machine is used as the standby OMP.
  • the virtual machine is configured to: stop the operation of the fourth OMP virtual machine, and connect the first OMP virtual machine as a standby OMP virtual machine to the virtual network element; in the first OMP virtual machine and Performing data synchronization between the third OMP virtual machine; switching the first OMP virtual machine to a primary OMP virtual machine, and switching the third OMP virtual machine to a standby OMP virtual machine; After the online upgrade is completed, the fourth OMP virtual machine is deleted.
  • the virtual network element includes: a third OMP virtual machine and a fourth OMP virtual machine; wherein the third OMP virtual machine is used as the primary OMP virtual machine, and the fourth OMP virtual machine is used as the standby OMP virtual machine;
  • the configuration is as follows: stopping the fourth OMP virtual machine, and accessing the first OMP virtual machine as a standby OMP virtual machine to the virtual network element; in the first OMP virtual machine and the third OMP Data synchronization between the virtual machines; switching the first OMP virtual machine to a primary OMP virtual machine, switching the third OMP virtual machine to a standby OMP virtual machine; stopping running the third OMP virtual machine, and
  • the second OMP virtual machine is connected to the virtual network element as a standby OMP virtual machine; data synchronization is performed between the second OMP virtual machine and the first OMP virtual machine; and the third OMP virtual machine is deleted.
  • the fourth OMP virtual machine is stopped.
  • the creation module is further configured to: create a latest version of the operation and maintenance module OMM virtual machine before the preset upgrade time arrives; and the upgrade module is further configured to: before the preset upgrade time arrives, use the The latest version of the OMM virtual machine replaces the OMM virtual machine in the virtual network element.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing upgrade method of the virtual network element.
  • the embodiment of the present invention uses a virtual network element in a wireless communication system, and when the network element needs to be upgraded, the virtual machine in the latest version is replaced in advance, and the corresponding virtual machine in the virtual network element is replaced. This implements an upgrade of the virtual network element.
  • the virtual network element can still operate normally and the service service can be normally provided even during the upgrade process of the virtual network element.
  • FIG. 1 is a flowchart of a method for upgrading a virtual network element according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of a method for upgrading a virtual network element according to a second embodiment of the present invention
  • FIG. 3 is a flowchart of a method for upgrading a virtual network element according to a third embodiment of the present invention.
  • FIG. 4 is a sequence diagram of a method for upgrading a virtual network element according to a fourth embodiment of the present invention.
  • FIG. 5 is a structural diagram of an apparatus for upgrading a virtual network element according to a fifth embodiment of the present invention.
  • NFV Network Functions Virtualization
  • VNF virtual network function
  • NFVI Network Functions Virtualization Infrastructure
  • the VNF is called a virtual network element, and is functionally the same as the physical network element.
  • the virtual network element is a virtual device
  • the physical network element is a physical device.
  • the physical network element is easily restricted by resources, and the virtual network element can configure the maximum resource configuration according to requirements, and then automatically perform elastic scaling according to the size of the load to avoid waste or insufficient resources.
  • FIG. 1 is a flowchart of a method for upgrading a virtual network element according to a first embodiment of the present invention.
  • Step S110 creating a latest version of the virtual machine.
  • a virtual machine is a complete computer system that runs through a software and has a complete hardware system function and runs in a completely isolated environment.
  • Virtual network elements include OMM virtual machines, OMP virtual machines, and other business processing virtual machines.
  • the virtual network element is upgraded, that is, the virtual machine in the virtual network element is upgraded separately.
  • the OMM Operaation Maintenance Module virtual machine runs in the background and monitors the working status of the digital program-controlled switch.
  • OMP Operaation Management Processor
  • the virtual machine runs in the foreground and is used to manage the service processing virtual machine and process the front and back communication.
  • the upgrade period is a pre-requisite period for upgrading the virtual NEs, so that the upgrade operation that affects the normal operation of the virtual NE services is performed within the upgrade period. .
  • the upgrade period is, for example, 0:00 to 4:00 every day.
  • the starting time of the upgrade period is called the upgrade time.
  • the latest version of the OMP virtual machine and the OMM virtual machine can be created in advance before the preset upgrade time arrives, so that the latest version of the OMP virtual machine and the OMM virtual machine are used. Replace the lower version of the OMP virtual machine and the OMM virtual machine in the virtual network element.
  • Step S120 Using the latest version of the virtual machine, seamlessly replacing the corresponding virtual machine in the virtual network element to implement the upgrade of the virtual network element.
  • the upgrade period is limited, in order to avoid the short upgrade period, all the virtual machines in the virtual network element cannot be upgraded during the upgrade period, and the upgrade is unsuccessful.
  • the virtual network element is selected according to different types of virtual machines. Impact of business operations and virtual machine upgrades The characteristics of each type of virtual machine are upgraded separately during or outside the upgrade period.
  • the upgrade of the OMM virtual machine does not affect the service operation of the virtual NE. Therefore, you can replace the OMM VM in the virtual NE with the latest version of the OMM VM before the scheduled upgrade time. Further, the OMM virtual machine may be upgraded online, or the OMM virtual machine in the latest version of the virtual network element may be replaced by the latest version of the OMM virtual machine.
  • the upgrade of the OMP VM takes a long time and may affect the service operation of the virtual NE. Therefore, when the preset upgrade time comes, the latest version of the OMP VM is used to seamlessly replace the VM.
  • the OMP virtual machine in the meta to replace the OMP virtual machine.
  • the VM is upgraded under the control of the OMP VM.
  • the upgrade process does not affect the normal operation of the VM NE. Therefore, after the OMP VM is upgraded.
  • These business processing virtual machine upgrades can be controlled by the OMP virtual machine during or after the upgrade period.
  • Upgrade the OMM VM before the upgrade interval process the OMP VM upgrade, replace the OMP VM with the latest version of the OMP VM, and pass the OMP VM. Upgrade other business processing virtual machines. This ensures that the OMP VM and the service processing module can be upgraded during the period of the upgrade. This ensures that the virtual NE can be upgraded and improves the upgrade efficiency of the virtual NE.
  • the virtual network element in this embodiment may not use a redundant design, that is, the virtual machine in the virtual network element has only a primary virtual machine and a standby virtual machine.
  • the virtual machine is not redundant, you can pre-create the latest version of the virtual machine; when upgrading the lower version of the primary virtual machine, the new version of the virtual machine is accessed as the standby virtual machine; in the new version of the standby virtual machine and low Data synchronization between the version of the primary VM; switching the new version of the standby VM to the primary VM, and switching the lower version of the primary VM to the standby VM and deleting it.
  • the virtual network element does not stop running and does not interrupt service operations.
  • the virtual network element in this embodiment may also adopt a redundancy design to improve the security of the virtual network element. That is to say, the types of virtual machines in the virtual network element include a primary virtual machine and a standby virtual machine. Further, the OMM virtual machine, the OMP virtual machine, and the remaining virtual machines all include a primary virtual machine and a standby virtual machine. Generally, a pair of active and standby OMM virtual machines, a pair of primary and backup OMP virtual machines, and a service processing virtual machine with a primary to backup ratio of 1:n are set in the virtual network element, where n ⁇ 1.
  • the primary OMP virtual machine and the standby OMP virtual machine are included in the virtual network element, when creating the latest version of the virtual machine, only the latest version of the first OMP virtual machine is created, or the latest version of the first OMP virtual machine and the first version are created.
  • Two OMP virtual machines The primary OMP virtual machine in the virtual network element is replaced with the first OMP virtual machine, and the standby OMP virtual machine in the virtual network element is upgraded online; or the primary OMP virtual machine in the virtual network element is replaced by the first OMP virtual machine.
  • the second OMP virtual machine is used to replace the standby OMP virtual machine in the virtual network element. In this way, the OMP virtual machine can be seamlessly replaced in time, and the virtual network element can be operated normally during the process of upgrading the OMP virtual machine, and the service operation is not affected.
  • the replacement of the OMM virtual machine refer to the replacement method of the OMP virtual machine.
  • the replacement of the OMM virtual machine is completed first, and then a new version of the OMP virtual machine is created.
  • the OMM VM can also be upgraded in the online upgrade mode. If the online upgrade is adopted, the OMM VM is upgraded online and the main OMM VM is upgraded.
  • the embodiment further describes that the primary OMP virtual machine in the virtual network element is replaced by the first OMP virtual machine, and the standby OMP virtual machine in the virtual network element is upgraded online.
  • FIG. 2 it is a flowchart of a method for upgrading a virtual network element according to a second embodiment of the present invention.
  • the OMP virtual machine running in the virtual network element includes: a third OMP virtual machine and a fourth OMP virtual machine.
  • the third OMP virtual machine is used as the primary OMP virtual machine
  • the fourth OMP virtual machine is used as the standby OMP virtual machine.
  • Step S210 creating a latest version of the first OMP virtual machine.
  • Step 1 Obtain a new configuration data file of the virtual network element.
  • This new configuration data file is generated by the new version of the OMM virtual machine.
  • Upgrading the backend OMM VM may change the configuration data of the foreground of the virtual NE. Therefore, upgrade the OMM VM before creating the first OMP VM. After the OMM VM upgrade is complete, the new version of the OMM is updated. The virtual machine regenerates the configuration data file of the virtual network element for the foreground. The configuration data file contains configuration data that is added for the newly added functionality. New features after the OMP virtual machine upgrade require the newly added configuration data.
  • Step 2 Apply for a virtual machine resource for the first OMP virtual machine.
  • the virtual machine resources include: hardware resources and/or software resources required by the first OMP virtual machine.
  • the virtual resources applied for include: Central Processing Unit (CPU), memory, hard disk, network card, and so on.
  • Step 3 Obtain a new version of the OMP image file.
  • the new version of the OMP image file includes: a new version of the OMP operating system image file and an OMP new version file.
  • the OMP new version file is an executable file that contains new features.
  • Step 4 On the basis of the applied virtual machine resources, create a first OMP virtual machine according to the new configuration data file and the OMP image file of the virtual network element.
  • step S220 the fourth OMP virtual machine is stopped, and the first OMP virtual machine is used as a standby OMP virtual machine to access the virtual network element.
  • Step 1 Acquire unique coding codes of virtual machine parameters of the first OMP virtual machine, the third OMP virtual machine, and the fourth OMP virtual machine.
  • Step 2 When the upgrade time comes, power off the fourth OMP virtual machine.
  • the virtual machine When the virtual machine is operated and controlled, the virtual machine is identified according to the unique encoding of the virtual machine. Further, the fourth OMP virtual machine is identified according to the unique encoding of the fourth OMP virtual machine, and the operation and control of the OMP virtual machine are implemented.
  • Step 3 Power on the first OMP virtual machine, and set the first OMP virtual machine as a standby OMP virtual machine.
  • Step S230 performing data synchronization between the first OMP virtual machine and the third OMP virtual machine.
  • the function of data synchronization is to synchronize the data of the third OMP virtual machine as the main OMP virtual machine during operation, such as dynamic data, into the first OMP virtual machine, so that the first OMP virtual machine includes data in the primary OMP virtual machine.
  • Step S240 Switch the first OMP virtual machine to the primary OMP virtual machine, and switch the third OMP virtual machine to the standby OMP virtual machine.
  • This step is used to replace the primary OMP virtual machine in the virtual network element by using the first OMP virtual machine.
  • the first OMP virtual machine When the data in the primary OMP virtual machine is included in the first OMP virtual machine, the first OMP virtual machine has the condition of being the primary OMP virtual machine. Therefore, the first OMP virtual machine can be switched to be the primary OMP virtual machine. The third OMP virtual machine is switched to the standby OMP virtual machine.
  • Step S250 After the online upgrade of the third OMP virtual machine is completed, the fourth OMP virtual machine is deleted.
  • the first OMP virtual machine Before the third OMP virtual machine is upgraded, the first OMP virtual machine may be verified for service; if the verification is passed, the third OMP virtual machine is upgraded, and the fourth OMP virtual machine is deleted; if the verification fails, the rollback process is performed.
  • the service verification means that, based on the first OMP virtual machine, the function of the virtual network element is verified to be normal; if it is normal, the verification is passed; if not, if the error occurs, the verification fails.
  • the rollback process is to power off the first OMP virtual machine, set the third OMP virtual machine as the primary OMP virtual machine, and set the fourth OMP virtual machine as the standby OMP virtual machine. That is to say, the rollback process is to roll back the virtual network element to the original version and suspend the upgrade.
  • the primary OMP VM and the standby OMP VM in the virtual NE are both in the new version.
  • the fourth OMP VM that is stopped can be deleted to release the fourth OMP VM. Virtual machine resources.
  • the fourth OMP virtual machine can be powered on again, and the fourth OMP virtual machine is used as the primary OMP virtual machine.
  • the main OMP virtual machine is seamlessly replaced in the upgrade period, and only the virtual machine resource of the OMP virtual machine can be applied, which can alleviate the problem of resource shortage, and the upgrade is relatively simple, and the upgrade of all the virtual in the upgrade period can be reduced. The risk of an upgrade failure caused by the machine.
  • FIG. 3 is a flowchart of a method for upgrading a virtual network element according to a third embodiment of the present invention.
  • the OMP virtual machine running in the virtual network element includes: a third OMP virtual machine and a fourth OMP virtual machine.
  • the third OMP virtual machine is used as the primary OMP virtual machine
  • the fourth OMP virtual machine is used as the standby OMP virtual machine.
  • Step S310 respectively creating a latest version of the first OMP virtual machine and the second virtual machine.
  • the process of creating the first OMP virtual machine and the second OMP virtual machine can refer to the description in step S210.
  • To create the second OMP virtual machine only the first OMP virtual machine in step S210 needs to be replaced with the second OMP virtual machine.
  • step S320 the fourth OMP virtual machine is stopped, and the first OMP virtual machine is used as a standby OMP virtual machine to access the virtual network element.
  • the virtual machine is used as a standby OMP virtual machine to access the virtual network element.
  • Step S330 performing data synchronization between the first OMP virtual machine and the third OMP virtual machine.
  • the third OMP virtual machine synchronizes it to the first OMP virtual machine as data during the primary OMP virtual machine.
  • Step S340 Switch the first OMP virtual machine to the primary OMP virtual machine, and switch the third OMP virtual machine to the standby OMP virtual machine.
  • This step is used to replace the primary OMP virtual machine in the virtual network element by using the first OMP virtual machine.
  • step S350 the third OMP virtual machine is stopped, and the second OMP virtual machine is used as a standby OMP virtual machine to access the virtual network element.
  • the third OMP VM that is the standby OMP VM is powered off, and the second OMP VM is used as the standby OMP VM to access the VM.
  • Step S360 performing data synchronization between the second OMP virtual machine and the first OMP virtual machine.
  • the second OMP virtual machine After the second OMP virtual machine is connected to the virtual network element as the standby OMP virtual machine, the second OMP virtual machine needs to obtain data in the primary OMP virtual machine. In this case, the second OMP virtual machine and the first OMP virtual machine can pass. Data synchronization is performed between the second OMP virtual machine to obtain data in the primary OMP virtual machine. Further, the data in the first OMP virtual machine is obtained from the third OMP virtual machine when the first OMP virtual machine and the third OMP virtual machine perform data synchronization.
  • Step S370 deleting the third OMP virtual machine and the fourth OMP virtual machine that have stopped running.
  • the first OMP virtual machine and the second OMP virtual machine may be verified by the service; if the verification is passed, the third OMP virtual machine and the fourth OMP virtual machine are deleted; If the verification fails, the rollback process is performed, and the third OMP virtual machine is used as the primary OMP virtual machine, and the fourth OMP virtual machine is used as the standby OMP virtual machine.
  • the primary OMP virtual machine and the standby OMP virtual machine are created in advance, and the low-level active and standby OMP virtual machines in the virtual network element are seamlessly replaced in time, so that the network element can be avoided.
  • the adverse effect of the process on the communication service is that the service of the network element is not affected during the upgrade process of the network element.
  • this embodiment avoids the problem of long online upgrade time, shortens the time for upgrading the network element, and improves the time.
  • the efficiency of NE upgrades reduces the risk caused by NE upgrades.
  • VNF Manager VNF Manager(s), referred to as VNFM
  • VNFM Virtual Infrastructure Manager
  • S Virtual Infrastructure Manager
  • NFV orchestrator Network Function Virtualization Orchestrator, NFVO
  • Version Center Virtual network elements.
  • the VNF Manager manages the lifecycle of the VNF, which is the function of managing virtual networks.
  • the VIM Manager manages the underlying virtual infrastructure of the VNF and provides virtual resources.
  • the NFVO orchestrator is responsible for managing network planning and implementing virtual resource placement so that one or more VNFs complete a specific service.
  • the version center is responsible for storing files for each version of the operating system.
  • the version center can be set in the storage device; NFVO, VNFM, VNF, and VIM can run in the virtual environment; VNF can run in VIM; NFVO can provide a user interface, and the operator manages network planning and resource layout through the user interface.
  • FIG. 4 is a timing diagram of a method for upgrading a virtual network element according to a fourth embodiment of the present invention. In order to facilitate the understanding of the present embodiment, an operator item is added to the timing chart of the present embodiment.
  • Step 1 The operator uploads the new version image file and the new version file to the version center via FTP.
  • the new version of the image file includes: a new version of the OMM image file and a new version of the OMP image file.
  • the new version of the OMM image file includes: OMM operating system image culture and OMM New version of the file.
  • the new version of the OMP image file includes: OMP operating system image file and OMP new version file.
  • the new version of the OMM image file and the new version of the OMP image file in this embodiment are configured as non-separable files, that is, the OMM operating system image culture and the OMM new version file in the new version of the OMM image file are not removable.
  • the OMP operating system image file and the OMP new version file in the new version of the OMP image file are also not separable. Therefore, in order to facilitate the OMM virtual machine (hereinafter referred to as OMM) and the OMP virtual machine (hereinafter referred to as OMP) upgrade, this embodiment separately uploads the OMM new version file and the OMP new version file.
  • OMM OMM virtual machine
  • OMP OMP virtual machine
  • the version on the board refers to the process of uploading the new version of the image file to VIM.
  • step 3 NFVO downloads the new version image file and the new version file from the version center to the local.
  • step 4 NFVO verifies the new version of the image file and the new version of the file.
  • the new version of the image file is uploaded to the VIM and the operator is prompted to upload the completion; if the verification fails, the operator is prompted to re-upload.
  • NFVO verifies the integrity, security, etc. of the new version of the image file.
  • Step 5 Upload the verified new version image file to VIM.
  • step 6 the operator initiates the upgrade preparation.
  • step 7 the NFVO sends an OMM upgrade message to the VNFM.
  • the storage address of the new version file in the version center is included in the OMM upgrade message.
  • Step 8 The VNFM downloads the new version file from the Version Center. That is to say, VNFM downloads the OMM new version file and the OMP new version file from the version center.
  • step 9 the VNFM sends an upgrade command to the OMM in the VNF through an interface between the VNFM and the VNF.
  • the new version of the OMM file is stored in the VNFM, and the new version of the OMM is carried in the upgrade command.
  • the storage path of this file in VNFM is stored in the VNFM.
  • Step 10 The OMM downloads the new version of the OMM file from the VNFM and starts the online upgrade; and notifies the VNFM after the OMM virtual machine upgrade is completed.
  • VNF includes the OMM host and the OMM standby device
  • upgrade the OMM standby device switch the upgraded OMM standby device to the host, switch the original OMM host to the standby device, and then upgrade the switched OMM standby device.
  • step 11 the VNFM sends a configuration data file generation command to the OMM.
  • step 12 the OMM generates a configuration data file and sends the configuration data file to the VNFM.
  • Step 13 After receiving the configuration data file, the VNFM requests the virtual machine resource from the VIM. VNFM is applying for virtual machine resources to VIM, which is the process of controlling VIM to generate OMP virtual machines.
  • Step 14 The VNFM controls the VIM to use the new version of the OMP image file and the configuration data file to create an OMP virtual machine, and returns a creation completion message carrying the OMP unique code to the VNFM.
  • step 15 when the upgrade time comes, the operator issues an OMP upgrade request to the NFVO.
  • step 16 the NFVO initiates an OMP upgrade request to the VNFM.
  • Step 17 The VNFM controls the newly established OMP to be powered on as the standby machine, and controls the original OMP backup machine to be powered off.
  • the VNFM can send a standby power-off command to the original OMP host.
  • the original OMP host agrees that the original OMP backup machine indicates that the original OMP backup machine is powered off.
  • Step 18 The VNFM sends a handover command to the original OMP host and the new OMP backup device to control the original OMP host and the new OMP backup device to synchronize data, and perform active/standby switchover. Switch the original OMP host to the standby machine and switch the new OMP backup machine to the host.
  • step 19 the OMP new version file is downloaded from the VNFM, and the online upgrade is switched to the original OMP host of the standby machine.
  • the storage path of the OMP new version file in VNFM can be obtained during the interaction with VNFM.
  • the OMP new version file is downloaded from the VNFM, and the original OMP host that is switched to the standby machine is upgraded online according to the new version of the OMP file.
  • Step 20 After the online upgrade of the original OMP host that is switched to the standby machine is completed and the data is synchronized, the newly created OMP is notified to the VNFM of the host, and the OMP upgrade is completed.
  • step 21 the VNFM notifies the NFVO that the OMP upgrade is complete.
  • the results of the OMP upgrade can be seen by the operator in the NFVO user interface.
  • the first OMP virtual machine is used to replace the primary OMP virtual machine in the virtual network element
  • the second OMP virtual machine is used to replace the standby OMP virtual in the virtual network element.
  • the VNFM needs to use the new version of the OMP image file and the configuration data file to create two OMP virtual machines, namely the first OMP virtual machine and the second OMP virtual machine.
  • the VNFM needs to control the fourth OMP virtual machine as the standby machine to power off.
  • the first OMP virtual machine is connected to the standby machine; the first OMP virtual machine is synchronized with the third OMP virtual machine as the host; the first OMP virtual machine is switched to the host, and the third OMP virtual machine is used.
  • Switching to the standby device powering off the third OMP virtual machine that is switched to the standby device, and accessing the second OMP virtual machine as a standby device; and performing data synchronization between the second OMP virtual machine and the first OMP virtual machine; Delete the third OMP virtual machine and the fourth OMP virtual machine.
  • This embodiment provides a device for upgrading a virtual network element.
  • FIG. 5 it is a structural diagram of an apparatus for upgrading a virtual network element according to the fifth embodiment of the present invention.
  • a module 510 is created that is configured to create the latest version of the virtual machine.
  • the upgrade module 520 is configured to use the latest version of the virtual machine to replace the corresponding one in the virtual network element. A virtual machine to upgrade an virtual network element.
  • the creating module 510 is configured to create a latest version of the OMP virtual machine before the preset upgrade time arrives; the upgrade module 520 is configured to use the latest version of the OMP when the preset upgrade time arrives.
  • the virtual machine seamlessly replaces the OMP virtual machine in the virtual network element.
  • the creating module 510 is specifically configured to: if the primary OMP virtual machine and the standby OMP virtual machine are included in the virtual network element, create only the latest version of the first OMP virtual machine, or create the latest version of the first OMP virtual machine and the second OMP. virtual machine.
  • the upgrade module 520 is specifically configured to: if the primary OMP virtual machine and the standby OMP virtual machine are included in the virtual network element, replace the primary OMP virtual machine in the virtual network element with the first OMP virtual machine, and upgrade the virtual ODM in the virtual network element.
  • the OMP virtual machine is replaced by the first OMP virtual machine, and the standby OMP virtual machine in the virtual network element is replaced with the second OMP virtual machine.
  • the virtual network element includes: a third OMP virtual machine and a fourth OMP virtual machine; wherein the third OMP virtual machine is used as the primary OMP virtual machine, and the fourth OMP virtual machine is used as the standby OMP virtual machine;
  • the 520 is specifically configured to: stop the fourth OMP virtual machine, and connect the first OMP virtual machine as a standby OMP virtual machine to the virtual network element; perform data synchronization between the first OMP virtual machine and the third OMP virtual machine; The first OMP virtual machine is switched to the primary OMP virtual machine, and the third OMP virtual machine is switched to the standby OMP virtual machine. After the third OMP virtual machine is upgraded online, the fourth OMP virtual machine is deleted.
  • the virtual network element includes: a third OMP virtual machine and a fourth OMP virtual machine; wherein the third OMP virtual machine is used as the primary OMP virtual machine, and the fourth OMP virtual machine is used as the standby OMP virtual machine;
  • the module 520 is specifically configured to: stop the fourth OMP virtual machine, and connect the first OMP virtual machine as a standby OMP virtual machine to the virtual network element; perform data synchronization between the first OMP virtual machine and the third OMP virtual machine; Switch the first OMP virtual machine to the primary The OMP virtual machine switches the third OMP virtual machine to the standby OMP virtual machine; the third OMP virtual machine is stopped, and the second OMP virtual machine is used as the standby OMP virtual machine to access the virtual network element; in the second OMP virtual machine and Data synchronization is performed between the first OMP virtual machines; the third OMP virtual machine and the fourth OMP virtual machine are deleted.
  • the creating module 510 is further configured to: create a latest version of the operation and maintenance module OMM virtual machine before the preset upgrade time arrives; the upgrade module 520 is further configured to: before the preset upgrade time arrives, Replace the OMM virtual machine in the virtual NE with the latest version of the OMM virtual machine.
  • the above-mentioned creation module 510 can be set in the VIM
  • the above-mentioned upgrade module 520 can be set in the VNFM.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing upgrade method of the virtual network element.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the present invention is directed to a method, apparatus (system), and computer program in accordance with an embodiment of the present invention
  • the flow chart and/or block diagram of the product is described. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the embodiment of the present invention uses a virtual network element in a wireless communication system, and when the network element needs to be upgraded, the virtual machine is upgraded by replacing the virtual machine in the virtual network element with the latest version of the virtual machine. .
  • the virtual network element can still operate normally, and the service service can be normally provided.

Abstract

本发明公开了一种虚拟网元的升级方法和装置。该方法包括:创建最新版本的虚拟机;使用所述最新版本的虚拟机,无缝替换虚拟网元中相应的虚拟机,以实现对所述虚拟网元的升级。本发明还公开了一种计算机存储介质。

Description

虚拟网元的升级方法、装置和计算机存储介质 技术领域
本发明涉及通信技术领域,特别是涉及一种虚拟网元的升级方法、装置和计算机存储介质。
背景技术
在无线通信系统中,网元升级是网络功能管理的一部分。目前,电信运营网络中使用物理网元,物理网元的升级过程必然涉及到网元的下电、升级和重启。然而,从物理网元下电开始,直到物理网元重启的这段时间内,物理网元必然不能提供任何业务服务。而且,由于物理网元的在线升级时间较长,这将导致在进行网元升级时,物理网元将在一段时间内无法提供业务服务。因此,现有的网元升级方式对通信业务的正常运行存在不良影响。
发明内容
本发明实施例提供一种虚拟网元的升级方法、装置和计算机存储介质,用以解决现有的物理网元升级方式对通信业务的正常运行存在不良影响的问题。
针对上述技术问题,本发明实施例是通过以下技术方案来解决的。
本发明实施例提供了一种虚拟网元的升级方法,包括:创建最新版本的虚拟机;使用所述最新版本的虚拟机,无缝替换虚拟网元中相应的虚拟机,以实现对所述虚拟网元的升级。
其中,创建最新版本的虚拟机,包括:在预设的升级时刻到来之前,创建最新版本的操作维护处理模块OMP虚拟机;使用所述最新版本的虚拟 机,替换虚拟网元中相应的虚拟机,包括:在预设的升级时刻到来之时,使用所述最新版本的OMP虚拟机,无缝替换虚拟网元中的OMP虚拟机。
其中,如果在虚拟网元中包括主OMP虚拟机和备OMP虚拟机,则所述创建最新版本的虚拟机,包括:仅创建最新版本的第一OMP虚拟机、或者创建最新版本的第一OMP虚拟机和第二OMP虚拟机;如果在虚拟网元中包括主OMP虚拟机和备OMP虚拟机,则使用所述最新版本的虚拟机,无缝替换虚拟网元中相应的虚拟机,包括:使用所述第一OMP虚拟机替换所述虚拟网元中的主OMP虚拟机,并在线升级所述虚拟网元中的备OMP虚拟机;或者,使用所述第一OMP虚拟机替换所述虚拟网元中的主OMP虚拟机,使用所述第二OMP虚拟机替换所述虚拟网元中的备OMP虚拟机。
其中,所述虚拟网元中包括:第三OMP虚拟机和第四OMP虚拟机;其中,第三OMP虚拟机作为主OMP虚拟机,第四OMP虚拟机作为备OMP虚拟机;使用所述第一OMP虚拟机替换所述虚拟网元中的主OMP虚拟机,并在线升级所述虚拟网元中的备OMP虚拟机,包括:停止运行所述第四OMP虚拟机,并将所述第一OMP虚拟机作为备OMP虚拟机接入所述虚拟网元;在所述第一OMP虚拟机和所述第三OMP虚拟机之间进行数据同步;将所述第一OMP虚拟机切换为主OMP虚拟机,将所述第三OMP虚拟机切换为备OMP虚拟机;在所述第三OMP虚拟机在线升级完成之后,删除所述第四OMP虚拟机。
其中,所述虚拟网元中包括:第三OMP虚拟机和第四OMP虚拟机;其中,第三OMP虚拟机作为主OMP虚拟机,第四OMP虚拟机作为备OMP虚拟机;使用所述第一OMP虚拟机替换所述虚拟网元中的主OMP虚拟机,使用所述第二OMP虚拟机替换所述虚拟网元中的备OMP虚拟机,包括:停止运行所述第四OMP虚拟机,并将所述第一OMP虚拟机作为备OMP虚拟机接入所述虚拟网元;在所述第一OMP虚拟机和所述第三OMP虚拟 机之间进行数据同步;将所述第一OMP虚拟机切换为主OMP虚拟机,将所述第三OMP虚拟机切换为备OMP虚拟机;停止运行所述第三OMP虚拟机,并将所述第二OMP虚拟机作为备OMP虚拟机接入所述虚拟网元;在所述第二OMP虚拟机和所述第一OMP虚拟机之间进行数据同步;删除所述第三OMP虚拟机和所述第四OMP虚拟机。
其中,创建最新版本的虚拟机,包括:在预设的升级时刻到来之前,创建最新版本的操作维护模块OMM虚拟机;使用所述最新版本的虚拟机,替换虚拟网元中相应的虚拟机,包括:在预设的升级时刻到来之前,使用所述最新版本的OMM虚拟机,替换所述虚拟网元中的OMM虚拟机。
本发明实施例还提供了一种虚拟网元的升级装置,包括:创建模块,配置为创建最新版本的虚拟机;升级模块,配置为使用所述最新版本的虚拟机,替换虚拟网元中相应的虚拟机,以实现对所述虚拟网元的升级。
其中,所述创建模块,配置为在预设的升级时刻到来之前,创建最新版本的OMP虚拟机;所述升级模块,配置为在预设的升级时刻到来之时,使用所述最新版本的OMP虚拟机,无缝替换虚拟网元中的OMP虚拟机。
其中,所述创建模块具体配置为:如果在虚拟网元中包括主OMP虚拟机和备OMP虚拟机,则仅创建最新版本的第一OMP虚拟机、或者创建最新版本的第一OMP虚拟机和第二OMP虚拟机;所述升级模块具体配置为:如果在虚拟网元中包括主OMP虚拟机和备OMP虚拟机,则使用所述第一OMP虚拟机替换所述虚拟网元中的主OMP虚拟机,并在线升级所述虚拟网元中的备OMP虚拟机;或者,使用所述第一OMP虚拟机替换所述虚拟网元中的主OMP虚拟机,使用所述第二OMP虚拟机替换所述虚拟网元中的备OMP虚拟机。
其中,所述虚拟网元中包括:第三OMP虚拟机和第四OMP虚拟机;其中,第三OMP虚拟机作为主OMP虚拟机,第四OMP虚拟机作为备OMP 虚拟机;升级模块具体配置为:停止运行所述第四OMP虚拟机,并将所述第一OMP虚拟机作为备OMP虚拟机接入所述虚拟网元;在所述第一OMP虚拟机和所述第三OMP虚拟机之间进行数据同步;将所述第一OMP虚拟机切换为主OMP虚拟机,将所述第三OMP虚拟机切换为备OMP虚拟机;在所述第三OMP虚拟机在线升级完成之后,删除所述第四OMP虚拟机。
其中,所述虚拟网元中包括:第三OMP虚拟机和第四OMP虚拟机;其中,第三OMP虚拟机作为主OMP虚拟机,第四OMP虚拟机作为备OMP虚拟机;所述升级模块具体配置为:停止运行所述第四OMP虚拟机,并将所述第一OMP虚拟机作为备OMP虚拟机接入所述虚拟网元;在所述第一OMP虚拟机和所述第三OMP虚拟机之间进行数据同步;将所述第一OMP虚拟机切换为主OMP虚拟机,将所述第三OMP虚拟机切换为备OMP虚拟机;停止运行所述第三OMP虚拟机,并将所述第二OMP虚拟机作为备OMP虚拟机接入所述虚拟网元;在所述第二OMP虚拟机和所述第一OMP虚拟机之间进行数据同步;删除所述第三OMP虚拟机和所述第四OMP虚拟机。
其中,所述创建模块还配置为:在预设的升级时刻到来之前,创建最新版本的操作维护模块OMM虚拟机;所述升级模块还配置为:在预设的升级时刻到来之前,使用所述最新版本的OMM虚拟机,替换所述虚拟网元中的OMM虚拟机。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述的虚拟网元的升级方法。
本发明实施例有益效果如下:
本发明实施例在无线通信系统中使用虚拟网元,并且在网元需要升级时,使用预先创建最新版本的虚拟机,替换虚拟网元中的相应虚拟机,以 此实现对虚拟网元的升级。通过本发明实施例即便是在虚拟网元的升级过程中,虚拟网元依旧可以正常运行,并且可以正常提供业务服务。
附图说明
图1是根据本发明第一实施例的虚拟网元的升级方法的流程图;
图2是根据本发明第二实施例的虚拟网元的升级方法的流程图;
图3是根据本发明第三实施例的虚拟网元的升级方法的流程图;
图4是根据本发明第四实施例的虚拟网元的升级方法的时序图;
图5是根据本发明第五实施例的虚拟网元的升级装置的结构图。
具体实施方式
随着云计算技术的不断发展,云平台在多个领域得到广泛应用。电信行业在此基础上提出了网络功能虚拟化(Network Functions Virtualization,简称NFV)技术。
为了提高通信网络的灵活性,降低网络成本、提升网络稳定性,利用基于NFV技术的虚拟网络功能(Virtualized Network Function,简称VNF)代替电信运营商网络中的物理网元,使得网络功能与具体硬件解耦。VNF与底层的网络功能虚拟化基础架构(Network Functions Virtualization Infrastructure,简称NFVI)隔离。
VNF被称作虚拟网元,其在功能上与物理网元相同,只是在实现上,虚拟网元为虚拟设备,物理网元为物理设备。但是,在应用过程中,物理网元容易受到资源的限制,而虚拟网元可以根据需求配置最大的资源配置,然后根据负荷的大小,自动进行弹性伸缩,避免资源浪费或不足。
以下结合附图以及实施例,对本发明进行进一步详细说明。应当理解, 此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。
实施例一
本实施例提供了一种虚拟网元的升级方法。如图1所示,为根据本发明第一实施例的虚拟网元的升级方法的流程图。
步骤S110,创建最新版本的虚拟机。
虚拟机是指:通过软件模拟的具有完整硬件系统功能的、运行在一个完全隔离环境中的完整的计算机系统。
虚拟网元包括OMM虚拟机、OMP虚拟机以及其他的业务处理虚拟机。对虚拟网元进行升级,也即是对该虚拟网元中的虚拟机分别进行升级。
OMM(Operation Maintenance Module,操作维护模块)虚拟机在后台运行,用于监控数字程控交换机的工作情况。
OMP(Operation Management Processor,操作维护处理模块)虚拟机在前台运行,用于管理业务处理虚拟机以及处理前后台通讯。
在虚拟网元升级之前,需要预设一个升级时段,该升级时段为预先申请的、专门用于升级虚拟网元的时段,以便在该升级时段之内执行影响虚拟网元业务正常运行的升级操作。该升级时段例如是:每天凌晨0:00~4:00。升级时段的起始时刻被称作升级时刻,本实施例可以在预设的升级时刻到来之前,预先创建最新版本的OMP虚拟机和OMM虚拟机,以便使用最新版本的OMP虚拟机和OMM虚拟机,替换虚拟网元中低版本的OMP虚拟机和OMM虚拟机。
步骤S120,使用最新版本的虚拟机,无缝替换虚拟网元中相应的虚拟机,以实现对该虚拟网元的升级。
因为升级时段有限,为了避免升级时段较短,造成在升级时段内无法升级虚拟网元中的全部虚拟机,进而引起的升级不成功的问题,本实施例根据不同类型的虚拟机对虚拟网元业务运营产生的影响、以及虚拟机升级 的特点,在升级时段之内或之外,分别升级每种类型的虚拟机。
由于升级OMM虚拟机对虚拟网元的业务运营无影响,所以,可以在预设的升级时刻到来之前,使用最新版本的OMM虚拟机,替换虚拟网元中的OMM虚拟机。进一步地,可以是在线升级OMM虚拟机,也可以是使用预先创建的最新版本的OMM虚拟机,替换虚拟网元中低版本的OMM虚拟机。
由于升级OMP虚拟机的时间较长、且可能会对虚拟网元的业务运营产生影响,所以,在预设的升级时刻到来之时,使用所述最新版本的OMP虚拟机,无缝替换虚拟网元中的OMP虚拟机,以实现对OMP虚拟机的替换。
由于除OMM虚拟机、OMP虚拟机之外的其他业务处理虚拟机是在OMP虚拟机的控制下完成升级,且升级过程不影响虚拟网元业务的正常运营,因此,在OMP虚拟机升级完成之后,可以在升级时段之内或之后,由OMP虚拟机控制这些业务处理虚拟机升级。
在升级间段来临之前,先升级OMM虚拟机;在升级间段内,处理OMP虚拟机的升级,使用最新版本的OMP虚拟机替换虚拟网元中低版本的OMP虚拟机,以及通过OMP虚拟机升级其他的业务处理虚拟机。这样可以保证在正式升级的时间段内OMP虚拟机以及业务处理模块可以升级完成,进一步保证虚拟网元可以升级完成,并且可以提高虚拟网元的升级效率。
实施例二
本实施例的虚拟网元可以不采用冗余设计,也即是说,该虚拟网元中的虚拟机只有主虚拟机、无备虚拟机。
如果虚拟机无冗余,则可以预先创建最新版本的虚拟机;在升级低版本的主虚拟机时,将该新版本的虚拟机作为备虚拟机接入;在新版本的备虚拟机和低版本的主虚拟机之间进行数据同步;将新版本的备虚拟机切换为主虚拟机,将低版本的主虚拟机切换为备虚拟机并删除。这样,在升级 虚拟网元的过程中,虚拟网元不会停止运行,不会中断业务运营。
本实施例的虚拟网元也可以采用冗余设计,来提高虚拟网元的安全性,也即是说,虚拟网元中的虚拟机的类型包括主虚拟机和备虚拟机。进一步地,OMM虚拟机、OMP虚拟机和其余虚拟机都包含主虚拟机和备虚拟机。一般而言,在虚拟网元中设置一对主、备OMM虚拟机,一对主、备OMP虚拟机,以及主、备比例为1:n的业务处理虚拟机,其中,n≥1。
如果在虚拟网元中包括主OMP虚拟机和备OMP虚拟机,则在创建最新版本的虚拟机时,仅创建最新版本的第一OMP虚拟机、或者创建最新版本的第一OMP虚拟机和第二OMP虚拟机。使用第一OMP虚拟机替换虚拟网元中的主OMP虚拟机,并在线升级所述虚拟网元中的备OMP虚拟机;或者,使用第一OMP虚拟机替换虚拟网元中的主OMP虚拟机,使用第二OMP虚拟机替换虚拟网元中的备OMP虚拟机。这样,可以实现OMP虚拟机在时间上的无缝替换,保证在升级OMP虚拟机的过程中,虚拟网元也可以正常运行,业务运营不受影响。
OMM虚拟机的替换方式可以参考OMP虚拟机的替换方式。本实施例优选地,先完成OMM虚拟机的替换,再创建新版本的OMP虚拟机。OMM虚拟机也可以采用在线升级的方式完成升级,如果采用在线升级的方式,则先在线升级备OMM虚拟机,再升级主OMM虚拟机。
实施例三
本实施例进一步地描述使用所述第一OMP虚拟机替换虚拟网元中的主OMP虚拟机,并在线升级所述虚拟网元中的备OMP虚拟机。如图2所示,为根据本发明第二实施例的虚拟网元的升级方法的流程图。在本实施例中,虚拟网元中正在运行的OMP虚拟机包括:第三OMP虚拟机和第四OMP虚拟机。其中,第三OMP虚拟机作为主OMP虚拟机,第四OMP虚拟机作为备OMP虚拟机。
步骤S210,创建最新版本的第一OMP虚拟机。
步骤1,获得虚拟网元的新配置数据文件。
该新配置数据文件是由新版本的OMM虚拟机生成的。
升级后台的OMM虚拟机可能会使虚拟网元的前台的配置数据发生改变,所以,在创建第一OMP虚拟机之前,先升级OMM虚拟机;在OMM虚拟机升级完成之后,由新版本的OMM虚拟机为前台重新生成虚拟网元的配置数据文件。该配置数据文件包含为新增加的功能而增加的配置数据。OMP虚拟机升级后的新功能需要使用到该新增加的配置数据。
步骤2,为第一OMP虚拟机申请虚机资源。
虚机资源包括:第一OMP虚拟机所需的硬件资源和/或软件资源。例如:申请的虚拟资源包括:中央处理器(Central Processing Unit,简称CPU)、内存、硬盘、网卡等。
步骤3,获取新版本的OMP镜像文件。
该新版本的OMP镜像文件包括:新版本的OMP操作系统的镜像文件和OMP新版本文件。OMP新版本文件是包含新功能的可执行文件。
同样的,OMM虚拟机也会存在新版本的OMM操作系统的镜像文件。步骤4,在申请的虚机资源的基础上,根据虚拟网元的新配置数据文件和OMP镜像文件,创建第一OMP虚拟机。
在虚拟机(OMM虚拟机和OMP虚拟机)创建完成后,生成一个虚拟机对应的唯一性编码。
步骤S220,停止运行第四OMP虚拟机,并将第一OMP虚拟机作为备OMP虚拟机接入虚拟网元。
步骤1,获取第一OMP虚拟机、第三OMP虚拟机和第四OMP虚拟机的虚机参数的唯一性编码。
步骤2,在升级时刻到来时,下电第四OMP虚拟机。
在对虚拟机进行操作和控制时,根据虚拟机的唯一性编码来识别该虚拟机。进一步地,根据第四OMP虚拟机的唯一性编码,来识别该第四OMP虚拟机,实现对该OMP虚拟机的操作和控制。
步骤3,上电第一OMP虚拟机,并将第一OMP虚拟机设置为备OMP虚拟机。
步骤S230,在第一OMP虚拟机和第三OMP虚拟机之间进行数据同步。
数据同步的作用在于,将第三OMP虚拟机作为主OMP虚拟机运行期间的数据,例如动态数据,同步到第一OMP虚拟机中,使第一OMP虚拟机包括主OMP虚拟机中的数据。
步骤S240,将第一OMP虚拟机切换为主OMP虚拟机,将第三OMP虚拟机切换为备OMP虚拟机。
该步骤用于实现使用第一OMP虚拟机替换虚拟网元中的主OMP虚拟机。
在第一OMP虚拟机中包括主OMP虚拟机中的数据时,第一OMP虚拟机就具备了作为主OMP虚拟机的条件,因此,可以将第一OMP虚拟机切换为主OMP虚拟机,将第三OMP虚拟机切换为备OMP虚拟机。
步骤S250,第三OMP虚拟机在线升级完成之后,删除第四OMP虚拟机。
因为,作为主OMP虚拟机的第一OMP虚拟机已经是最新版本,所以,只需升级作为备OMP虚拟机的第三OMP虚拟机即可。
在第三OMP虚拟机升级之前,可以对第一OMP虚拟机进行业务验证;若验证通过,则升级第三OMP虚拟机,删除第四OMP虚拟机;若验证未通过,则执行回退处理。
业务验证是指:基于第一OMP虚拟机,验证虚拟网元的功能是否正常;若正常,则表示验证通过;若不正常,出现错误,则表示验证不通过。
回退处理是指:将第一OMP虚拟机下电,重新将第三OMP虚拟机设置为主OMP虚拟机、将第四OMP虚拟机设置为备OMP虚拟机。也即是说,回退处理是将虚拟网元回退至原来的版本,暂停升级。
在第三OMP虚拟机升级完成之后,虚拟网元中的主OMP虚拟机和备OMP虚拟机都为新版本,停止运行的第四OMP虚拟机则可以被删除,以便释放第四OMP虚拟机占用的虚机资源。
如果在线升级第三OMP虚拟机之时,第一OMP虚拟机出现故障,则可以重新上电第四OMP虚拟机,将第四OMP虚拟机作为主OMP虚拟机。
本实施例在升级时段内无缝替换主OMP虚拟机,仅申请一个OMP虚拟机的虚机资源即可,可以缓解资源紧张的问题,并且升级较为简便,并且可以降低在升级时段内升级所有虚拟机造成的升级失败的风险。
实施例四
本实施例进一步地描述使用所述第一OMP虚拟机替换虚拟网元中的主OMP虚拟机,使用所述第二OMP虚拟机替换虚拟网元中的备OMP虚拟机。如图3所示,为根据本发明第三实施例的虚拟网元的升级方法的流程图。在本实施例中,虚拟网元中正在运行的OMP虚拟机包括:第三OMP虚拟机和第四OMP虚拟机。其中,第三OMP虚拟机作为主OMP虚拟机,第四OMP虚拟机作为备OMP虚拟机。
步骤S310,分别创建最新版本的第一OMP虚拟机和第二虚拟机。
创建第一OMP虚拟机和第二OMP虚拟机的过程都可以参考步骤S210中的描述。创建第二OMP虚拟机仅需将步骤S210中的第一OMP虚拟机替换为第二OMP虚拟机即可。
步骤S320,停止运行第四OMP虚拟机,并将第一OMP虚拟机作为备OMP虚拟机接入虚拟网元。
将作为备OMP虚拟机的第四OMP虚拟机下电,同时将第一OMP虚 拟机作为备OMP虚拟机接入虚拟网元。
步骤S330,在第一OMP虚拟机和第三OMP虚拟机之间进行数据同步。
在数据同步的过程中,第三OMP虚拟机将其作为主OMP虚拟机期间的数据同步给第一OMP虚拟机。
步骤S340,将第一OMP虚拟机切换为主OMP虚拟机,将第三OMP虚拟机切换为备OMP虚拟机。
该步骤用于实现使用第一OMP虚拟机替换虚拟网元中的主OMP虚拟机。
步骤S350,停止运行第三OMP虚拟机,并将第二OMP虚拟机作为备OMP虚拟机接入虚拟网元。
将作为备OMP虚拟机的第三OMP虚拟机下电,同时将第二OMP虚拟机作为备OMP虚拟机接入虚拟网元。
步骤S360,在第二OMP虚拟机和第一OMP虚拟机之间进行数据同步。
当第二OMP虚拟机作为备OMP虚拟机接入虚拟网元之后,第二OMP虚拟机需要获得主OMP虚拟机中的数据,这时,可以通过在第二OMP虚拟机和第一OMP虚拟机之间进行数据同步,使第二OMP虚拟机获得主OMP虚拟机中的数据。进一步地,第一OMP虚拟机中的数据是第一OMP虚拟机和第三OMP虚拟机进行数据同步时,从第三OMP虚拟机中获得的。
步骤S370,删除已经停止运行的第三OMP虚拟机和第四OMP虚拟机。
在删除第三OMP虚拟机和第四OMP虚拟机之前,可以对第一OMP虚拟机和第二OMP虚拟机进行业务验证;若验证通过,则删除第三OMP虚拟机和第四OMP虚拟机;若验证未通过,则执行回退处理,重新将第三OMP虚拟机作为主OMP虚拟机,将第四OMP虚拟机作为备OMP虚拟机。
本实施例预先创建主OMP虚拟机和备OMP虚拟机,并在时间上实现无缝替换虚拟网元中低版本的主、备OMP虚拟机,这样可以避免在网元升 级过程对通信业务的不良影响,即在网元升级过程中,网元的业务不受影响,而且,本实施例避免了在线升级时间较长的问题,缩短了网元升级的时间,提高了网元升级的效率,降低了网元升级引起的风险。
实施例五
本实施例提供一种虚拟网元VNF升级系统。该系统包括:VNF管理器(VNF Manager(s),简称VNFM)、虚拟基础架构管理器(Virtualised Infrastructure Manager(s),简称VIM)、NFV编排器(Network Function Virtualization Orchestrator,简称NFVO)、版本中心、虚拟网元。
VNF管理器管理VNF的生命周期,也即是管理虚拟网络功能。
VIM管理器管理VNF底层的虚拟基础架构,提供虚拟资源。
NFVO编排器负责管理网络规划,实现对虚拟资源布局,使一个或多个VNF完成一个具体的业务。
版本中心负责存储每个版本的操作系统的文件。
版本中心可以设置在存储设备中;NFVO、VNFM、VNF和VIM可以运行在虚拟环境中;VNF可以运行在VIM中;NFVO可以提供用户界面,操作员通过用户界面管理网络规划和资源布局。
本实施例基于上述系统,更进一步地描述使用第一OMP虚拟机替换虚拟网元中的主OMP虚拟机,并在线升级虚拟网元中的备OMP虚拟机。如图4所示,为根据本发明第四实施例的虚拟网元的升级方法的时序图。为了使本实施例便于理解,在本实施例的时序图中添加了操作员项。
步骤1,操作员通过FTP将新版本镜像文件和新版本文件上传到版本中心。
该新版本镜像文件包括:新版本的OMM镜像文件和新版本的OMP镜像文件。新版本的OMM镜像文件包括:OMM操作系统镜像文化和OMM 新版本文件。新版本的OMP镜像文件包括:OMP操作系统镜像文件和OMP新版本文件。
本实施例的新版本的OMM镜像文件和新版本的OMP镜像文件都配置成不可拆分文件,也即是说,新版本的OMM镜像文件中的OMM操作系统镜像文化和OMM新版本文件不可拆分,新版本的OMP镜像文件中的OMP操作系统镜像文件和OMP新版本文件也不可拆分。因此,为了方便OMM虚拟机(以下简称OMM)和OMP虚拟机(以下简称OMP)升级,本实施例单独上传OMM新版本文件和OMP新版本文件。步骤2,操作员向NFVO下达版本在板开始的指令。
版本在板是指将新版本镜像文件上传到VIM的过程。
步骤3,NFVO将新版本镜像文件和新版本文件从版本中心下载到本地。
步骤4,NFVO验证新版本镜像文件和新版本文件。
如果验证通过,则将新版本镜像文件上传到VIM,并提示操作员上载完成;如果验证未通过,则提示操作员重新上载。例如:NFVO验证新版本镜像文件的完整性、安全性等。
步骤5,将验证通过的新版本镜像文件上传到VIM。
步骤6,操作员启动升级准备工作。
步骤7,NFVO向VNFM发送OMM升级消息。在该OMM升级消息中包含新版本文件在版本中心中的存储地址。
步骤8,VNFM从版本中心下载新版本文件。也即是说,VNFM从版本中心下载OMM新版本文件和OMP新版本文件。
步骤9,VNFM通过VNFM和VNF之间的接口,向VNF中的OMM发送升级命令。
OMM新版本文件被存储在VNFM中,则在升级命令携带OMM新版 本文件在VNFM中的存储路径。
步骤10,OMM从VNFM下载OMM新版本文件,开始在线升级;并在OMM虚拟机升级完成之后,通知VNFM。
如果VNF包括OMM主机和OMM备机,则先升级OMM备机,将该升级后的OMM备机切换为主机,将原OMM主机切换为备机,再对切换后的OMM备机进行升级。
步骤11,VNFM向OMM发送配置数据文件生成命令。
步骤12,OMM生成配置数据文件,并将配置数据文件发送给VNFM。
步骤13,VNFM收到配置数据文件后,向VIM申请虚机资源。VNFM在向VIM申请虚机资源,即是控制VIM生成OMP虚拟机的过程。
步骤14,VNFM控制VIM使用新版本的OMP镜像文件和配置数据文件,创建OMP虚拟机,并将携带有OMP唯一性编码的创建完成消息返回给VNFM。
至此,升级前准备工作完成。
步骤15,在升级时刻到来时,操作员向NFVO发出OMP升级请求。
步骤16,NFVO向VNFM发起OMP升级请求。
步骤17,VNFM控制新建的OMP作为备机上电,控制原OMP备机下电。
VNFM可以向原OMP主机发送备机下电命令,原OMP主机同意原OMP备机指示原OMP备机下电。
步骤18,VNFM向原OMP主机和新建OMP备机发送切换命令,控制原OMP主机和新建OMP备机进行同步数据,并分别进行主备切换。即将原OMP主机切换成备机,将新建OMP备机切换成主机。
步骤19,从VNFM下载OMP新版本文件,在线升级被切换为备机的原OMP主机。
OMP新版本文件在VNFM中的存储路径可以在与VNFM的交互过程中获得。从VNFM下载OMP新版本文件,根据该OMP新版本文件,对被切换为备机的原OMP主机进行在线升级。
步骤20,被切换为备机的原OMP主机在线升级完成以及同步数据之后,被切换为主机的新建OMP通知VNFM,OMP升级完成。
OMP升级完成即是OMP主机和OMP备机都升级完成。
步骤21,VNFM通知NFVO,OMP升级完成。
OMP升级完成的结果可以在NFVO用户界面中被操作员看到。
在升级完成之后,可以将下电的备OMP主机删除,释放其占用的资源。
与图4的处理过程不同的是,基于上述系统,使用所述第一OMP虚拟机替换虚拟网元中的主OMP虚拟机,使用所述第二OMP虚拟机替换虚拟网元中的备OMP虚拟机,VNFM需要使用新版本的OMP镜像文件和配置数据文件,创建两个OMP虚拟机,即第一OMP虚拟机和第二OMP虚拟机,VNFM需要控制作为备机的第四OMP虚拟机下电,将第一OMP虚拟机作为备机接入;在第一OMP虚拟机和作为主机的第三OMP虚拟机之间进行数据同步;将第一OMP虚拟机切换为主机,将第三OMP虚拟机切换为备机;将切换为备机的第三OMP虚拟机下电,并将第二OMP虚拟机作为备机接入;在第二OMP虚拟机和第一OMP虚拟机之间进行数据同步;删除第三OMP虚拟机和第四OMP虚拟机。
实施例五
本实施例提供了一种虚拟网元的升级装置,如图5所示,为根据本发明第五实施例的虚拟网元的升级装置的结构图。
创建模块510,配置为创建最新版本的虚拟机。
升级模块520,配置为使用最新版本的虚拟机,替换虚拟网元中相应的 虚拟机,以实现对虚拟网元的升级。
在一个实施例中,创建模块510,配置为在预设的升级时刻到来之前,创建最新版本的OMP虚拟机;升级模块520,配置为在预设的升级时刻到来之时,使用最新版本的OMP虚拟机,无缝替换虚拟网元中的OMP虚拟机。
创建模块510具体配置为:如果在虚拟网元中包括主OMP虚拟机和备OMP虚拟机,则仅创建最新版本的第一OMP虚拟机、或者创建最新版本的第一OMP虚拟机和第二OMP虚拟机。
升级模块520具体配置为:如果在虚拟网元中包括主OMP虚拟机和备OMP虚拟机,则使用第一OMP虚拟机替换虚拟网元中的主OMP虚拟机,并在线升级虚拟网元中的备OMP虚拟机;或者,使用第一OMP虚拟机替换虚拟网元中的主OMP虚拟机,使用第二OMP虚拟机替换虚拟网元中的备OMP虚拟机。
在一个实施例中,虚拟网元中包括:第三OMP虚拟机和第四OMP虚拟机;其中,第三OMP虚拟机作为主OMP虚拟机,第四OMP虚拟机作为备OMP虚拟机;升级模块520具体配置为:停止运行第四OMP虚拟机,并将第一OMP虚拟机作为备OMP虚拟机接入虚拟网元;在第一OMP虚拟机和第三OMP虚拟机之间进行数据同步;将第一OMP虚拟机切换为主OMP虚拟机,将第三OMP虚拟机切换为备OMP虚拟机;在线升级第三OMP虚拟机之后,删除第四OMP虚拟机。
在另一实施例中,虚拟网元中包括:第三OMP虚拟机和第四OMP虚拟机;其中,第三OMP虚拟机作为主OMP虚拟机,第四OMP虚拟机作为备OMP虚拟机;升级模块520具体配置为:停止运行第四OMP虚拟机,并将第一OMP虚拟机作为备OMP虚拟机接入虚拟网元;在第一OMP虚拟机和第三OMP虚拟机之间进行数据同步;将第一OMP虚拟机切换为主 OMP虚拟机,将第三OMP虚拟机切换为备OMP虚拟机;停止运行第三OMP虚拟机,并将第二OMP虚拟机作为备OMP虚拟机接入虚拟网元;在第二OMP虚拟机和第一OMP虚拟机之间进行数据同步;删除第三OMP虚拟机和第四OMP虚拟机。
在又一实施例中,创建模块510还配置为:在预设的升级时刻到来之前,创建最新版本的操作维护模块OMM虚拟机;升级模块520还配置为:在预设的升级时刻到来之前,使用最新版本的OMM虚拟机,替换虚拟网元中的OMM虚拟机。
进一步地,可以将上述创建模块510设置在VIM中,可以将上述升级模块520设置在VNFM中。
本实施例的装置的功能已经在图1~图4所示的方法实施例中进行了描述,故本实施例的描述中未详尽之处,可以参见前述实施例中的相关说明,在此不做赘述。
此外,本方案实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述的虚拟网元的升级方法。
尽管为示例目的,已经公开了本发明的优选实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本发明的范围应当不限于上述实施例。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序 产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
本发明实施例在无线通信系统中使用虚拟网元,并且在网元需要升级时,使用预先创建最新版本的虚拟机,替换虚拟网元中的相应虚拟机,以此实现对虚拟网元的升级。通过本发明即便是在虚拟网元的升级过程中,虚拟网元依旧可以正常运行,并且可以正常提供业务服务。

Claims (13)

  1. 一种虚拟网元的升级方法,包括:
    创建最新版本的虚拟机;
    使用所述最新版本的虚拟机,无缝替换虚拟网元中相应的虚拟机,以实现对所述虚拟网元的升级。
  2. 如权利要求1所述的方法,其中,
    创建最新版本的虚拟机,包括:
    在预设的升级时刻到来之前,创建最新版本的操作维护处理模块OMP虚拟机;
    使用所述最新版本的虚拟机,替换虚拟网元中相应的虚拟机,包括:
    在预设的升级时刻到来之时,使用所述最新版本的OMP虚拟机,无缝替换虚拟网元中的OMP虚拟机。
  3. 如权利要求2所述的方法,其中,
    如果在虚拟网元中包括主OMP虚拟机和备OMP虚拟机,则所述创建最新版本的虚拟机,包括:
    仅创建最新版本的第一OMP虚拟机、或者创建最新版本的第一OMP虚拟机和第二OMP虚拟机;
    如果在虚拟网元中包括主OMP虚拟机和备OMP虚拟机,则使用所述最新版本的虚拟机,无缝替换虚拟网元中相应的虚拟机,包括:
    使用所述第一OMP虚拟机替换所述虚拟网元中的主OMP虚拟机,并在线升级所述虚拟网元中的备OMP虚拟机;或者,
    使用所述第一OMP虚拟机替换所述虚拟网元中的主OMP虚拟机,使用所述第二OMP虚拟机替换所述虚拟网元中的备OMP虚拟机。
  4. 如权利要求3所述的方法,其中,
    所述虚拟网元中包括:第三OMP虚拟机和第四OMP虚拟机;其中,第三OMP虚拟机作为主OMP虚拟机,第四OMP虚拟机作为备OMP虚拟机;
    使用所述第一OMP虚拟机替换所述虚拟网元中的主OMP虚拟机,并在线升级所述虚拟网元中的备OMP虚拟机,包括:
    停止运行所述第四OMP虚拟机,并将所述第一OMP虚拟机作为备OMP虚拟机接入所述虚拟网元;
    在所述第一OMP虚拟机和所述第三OMP虚拟机之间进行数据同步;
    将所述第一OMP虚拟机切换为主OMP虚拟机,将所述第三OMP虚拟机切换为备OMP虚拟机;
    在所述第三OMP虚拟机在线升级完成之后,删除所述第四OMP虚拟机。
  5. 如权利要求3所述的方法,其中,
    所述虚拟网元中包括:第三OMP虚拟机和第四OMP虚拟机;其中,第三OMP虚拟机作为主OMP虚拟机,第四OMP虚拟机作为备OMP虚拟机;
    使用所述第一OMP虚拟机替换所述虚拟网元中的主OMP虚拟机,使用所述第二OMP虚拟机替换所述虚拟网元中的备OMP虚拟机,包括:
    停止运行所述第四OMP虚拟机,并将所述第一OMP虚拟机作为备OMP虚拟机接入所述虚拟网元;
    在所述第一OMP虚拟机和所述第三OMP虚拟机之间进行数据同步;
    将所述第一OMP虚拟机切换为主OMP虚拟机,将所述第三OMP虚拟机切换为备OMP虚拟机;
    停止运行所述第三OMP虚拟机,并将所述第二OMP虚拟机作为备OMP虚拟机接入所述虚拟网元;
    在所述第二OMP虚拟机和所述第一OMP虚拟机之间进行数据同步;
    删除所述第三OMP虚拟机和所述第四OMP虚拟机。
  6. 如权利要求1所述的方法,其中,
    创建最新版本的虚拟机,包括:
    在预设的升级时刻到来之前,创建最新版本的操作维护模块OMM虚拟机;
    使用所述最新版本的虚拟机,替换虚拟网元中相应的虚拟机,包括:
    在预设的升级时刻到来之前,使用所述最新版本的OMM虚拟机,替换所述虚拟网元中的OMM虚拟机。
  7. 一种虚拟网元的升级装置,包括:
    创建模块,配置为创建最新版本的虚拟机;
    升级模块,配置为使用所述最新版本的虚拟机,替换虚拟网元中相应的虚拟机,以实现对所述虚拟网元的升级。
  8. 如权利要求7所述的装置,其中,
    所述创建模块,配置为在预设的升级时刻到来之前,创建最新版本的OMP虚拟机;
    所述升级模块,配置为在预设的升级时刻到来之时,使用所述最新版本的OMP虚拟机,无缝替换虚拟网元中的OMP虚拟机。
  9. 如权利要求8所述的装置,其中,
    所述创建模块,配置为:如果在虚拟网元中包括主OMP虚拟机和备OMP虚拟机,则仅创建最新版本的第一OMP虚拟机、或者创建最新版本的第一OMP虚拟机和第二OMP虚拟机;
    所述升级模块,配置为:如果在虚拟网元中包括主OMP虚拟机和备OMP虚拟机,则使用所述第一OMP虚拟机替换所述虚拟网元中的主OMP虚拟机,并在线升级所述虚拟网元中的备OMP虚拟机;或者,使用所述第 一OMP虚拟机替换所述虚拟网元中的主OMP虚拟机,使用所述第二OMP虚拟机替换所述虚拟网元中的备OMP虚拟机。
  10. 如权利要求9所述的装置,其中,
    所述虚拟网元中包括:第三OMP虚拟机和第四OMP虚拟机;其中,第三OMP虚拟机作为主OMP虚拟机,第四OMP虚拟机作为备OMP虚拟机;
    升级模块,配置为:
    停止运行所述第四OMP虚拟机,并将所述第一OMP虚拟机作为备OMP虚拟机接入所述虚拟网元;
    在所述第一OMP虚拟机和所述第三OMP虚拟机之间进行数据同步;
    将所述第一OMP虚拟机切换为主OMP虚拟机,将所述第三OMP虚拟机切换为备OMP虚拟机;
    在所述第三OMP虚拟机在线升级完成之后,删除所述第四OMP虚拟机。
  11. 如权利要求9所述的装置,其中,
    所述虚拟网元中包括:第三OMP虚拟机和第四OMP虚拟机;其中,第三OMP虚拟机作为主OMP虚拟机,第四OMP虚拟机作为备OMP虚拟机;
    所述升级模块,配置为:
    停止运行所述第四OMP虚拟机,并将所述第一OMP虚拟机作为备OMP虚拟机接入所述虚拟网元;
    在所述第一OMP虚拟机和所述第三OMP虚拟机之间进行数据同步;
    将所述第一OMP虚拟机切换为主OMP虚拟机,将所述第三OMP虚拟机切换为备OMP虚拟机;
    停止运行所述第三OMP虚拟机,并将所述第二OMP虚拟机作为备 OMP虚拟机接入所述虚拟网元;
    在所述第二OMP虚拟机和所述第一OMP虚拟机之间进行数据同步;
    删除所述第三OMP虚拟机和所述第四OMP虚拟机。
  12. 如权利要求7所述的装置,其中,
    所述创建模块还配置为:在预设的升级时刻到来之前,创建最新版本的操作维护模块OMM虚拟机;
    所述升级模块还配置为:在预设的升级时刻到来之前,使用所述最新版本的OMM虚拟机,替换所述虚拟网元中的OMM虚拟机。
  13. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至6任一项所述的虚拟网元的升级方法。
PCT/CN2016/075978 2015-06-29 2016-03-09 虚拟网元的升级方法、装置和计算机存储介质 WO2017000586A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP16816951.4A EP3316518B1 (en) 2015-06-29 2016-03-09 Method and device for upgrading virtual network element, and computer storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510367164.2 2015-06-29
CN201510367164.2A CN106301877A (zh) 2015-06-29 2015-06-29 一种虚拟网元的升级方法和装置

Publications (1)

Publication Number Publication Date
WO2017000586A1 true WO2017000586A1 (zh) 2017-01-05

Family

ID=57607674

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/075978 WO2017000586A1 (zh) 2015-06-29 2016-03-09 虚拟网元的升级方法、装置和计算机存储介质

Country Status (3)

Country Link
EP (1) EP3316518B1 (zh)
CN (1) CN106301877A (zh)
WO (1) WO2017000586A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113050974A (zh) * 2021-04-30 2021-06-29 中国工商银行股份有限公司 云计算基础设施在线升级方法及装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108287746B (zh) * 2017-01-09 2021-04-16 大唐移动通信设备有限公司 一种对epc网元的虚拟资源扩容或缩容的方法及装置
CN111510314B (zh) * 2019-01-31 2021-07-06 大唐移动通信设备有限公司 一种核心网网元升级处理方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100106885A1 (en) * 2008-10-24 2010-04-29 International Business Machines Corporation Method and Device for Upgrading a Guest Operating System of an Active Virtual Machine
CN101764703A (zh) * 2009-09-16 2010-06-30 深圳市震有科技有限公司 基于虚拟技术的网元管理系统
CN104142847A (zh) * 2013-05-06 2014-11-12 中国银联股份有限公司 云计算环境下的无状态化虚拟机及其应用
CN104205730A (zh) * 2013-12-31 2014-12-10 华为技术有限公司 网元数据访问方法、装置以及网络管理系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080003535A (ko) * 2006-07-03 2008-01-08 삼성전자주식회사 방송 수신장치의 자동 업그레이드방법 및 그 장치
CN103369660A (zh) * 2012-03-26 2013-10-23 大唐联诚信息系统技术有限公司 网元数据同步方法和网元设备
CN104410672B (zh) * 2014-11-12 2017-11-24 华为技术有限公司 网络功能虚拟化应用升级的方法、转发业务的方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100106885A1 (en) * 2008-10-24 2010-04-29 International Business Machines Corporation Method and Device for Upgrading a Guest Operating System of an Active Virtual Machine
CN101764703A (zh) * 2009-09-16 2010-06-30 深圳市震有科技有限公司 基于虚拟技术的网元管理系统
CN104142847A (zh) * 2013-05-06 2014-11-12 中国银联股份有限公司 云计算环境下的无状态化虚拟机及其应用
CN104205730A (zh) * 2013-12-31 2014-12-10 华为技术有限公司 网元数据访问方法、装置以及网络管理系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3316518A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113050974A (zh) * 2021-04-30 2021-06-29 中国工商银行股份有限公司 云计算基础设施在线升级方法及装置
CN113050974B (zh) * 2021-04-30 2024-02-20 中国工商银行股份有限公司 云计算基础设施在线升级方法及装置

Also Published As

Publication number Publication date
EP3316518A1 (en) 2018-05-02
CN106301877A (zh) 2017-01-04
EP3316518B1 (en) 2019-09-18
EP3316518A4 (en) 2018-05-23

Similar Documents

Publication Publication Date Title
US10496503B2 (en) Healing cloud services during upgrades
KR102430869B1 (ko) 컨테이너화된 환경에서 클러스터의 라이브 마이그레이션
US9244676B2 (en) Virtual machine based controller and upgrade mechanism
WO2016078417A1 (zh) 一种虚拟化网络功能管理升级方法、装置及服务器
CN102594849B (zh) 数据备份、恢复方法、虚拟机快照删除、回滚方法及装置
KR102027604B1 (ko) 상태 보존형 애플리케이션의 가용성 증가 기법
WO2016045439A1 (zh) 一种vnfm容灾保护的方法、装置和nfvo、存储介质
CN113032085A (zh) 云操作系统的管理方法、装置、服务器、管理系统及介质
JP2013114684A (ja) バーチャルマシンの管理システム及び管理方法
CN108089913A (zh) 一种超融合系统的虚拟机部署方法
CN108319492B (zh) 复位物理机的方法、装置与系统
JP2019049818A (ja) 情報処理装置、情報処理システム、情報処理システムの制御方法及びライブマイグレーション制御プログラム
CN114079615B (zh) 一种多集群环境下的应用同步方法、系统、介质和电子设备
WO2017000586A1 (zh) 虚拟网元的升级方法、装置和计算机存储介质
CN112434008A (zh) 分布式数据库升级方法、设备及介质
CN112328365A (zh) 一种虚拟机迁移方法、装置、设备及存储介质
US20220229687A1 (en) Non-disruptive container runtime changes
CN110413369A (zh) 用于虚拟化环境中的备份的系统和方法
CN107783826B (zh) 一种虚拟机迁移方法、装置及系统
CN112948102B (zh) 虚拟机事件处理方法、装置和系统
US20220229689A1 (en) Virtualization platform control device, virtualization platform control method, and virtualization platform control program
CN115248746A (zh) 数据备份方法、系统及相关设备
CN108733460B (zh) 保持用于网络存储设备的会话的方法和设备
JP2015153128A (ja) 呼処理制御装置及びそのソフトウェア更新方法、呼処理システム、並びにコンピュータ・プログラム
CN114930313A (zh) 用于管理区块链节点的系统和方法

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2016816951

Country of ref document: EP