WO2018023217A1 - Procédé, dispositif et système d'établissement de machine virtuelle - Google Patents

Procédé, dispositif et système d'établissement de machine virtuelle Download PDF

Info

Publication number
WO2018023217A1
WO2018023217A1 PCT/CN2016/092503 CN2016092503W WO2018023217A1 WO 2018023217 A1 WO2018023217 A1 WO 2018023217A1 CN 2016092503 W CN2016092503 W CN 2016092503W WO 2018023217 A1 WO2018023217 A1 WO 2018023217A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual machine
request
vim
vnfm
identifier
Prior art date
Application number
PCT/CN2016/092503
Other languages
English (en)
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 华为技术有限公司
Priority to PCT/CN2016/092503 priority Critical patent/WO2018023217A1/fr
Publication of WO2018023217A1 publication Critical patent/WO2018023217A1/fr

Links

Images

Classifications

    • 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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a system for establishing a virtual machine.
  • NFV Network Function Virtualization
  • VIM Virtualized Infrastructure Manager
  • VNF Virtualised Network Function
  • VNFM Virtualized Network Function Manager
  • NFVO NFV Management and Orchestration
  • a certain VNF can correspond to multiple VMs, and each VM can be used as a functional module of the VNF to implement the functions of the VNF.
  • the VM may fail.
  • the VIM of the NFV system can monitor whether the VM is faulty, and can send a fault alarm message carrying the identifier of the failed VM to the EMS through the VNFM when the VM is detected to be faulty.
  • the EMS After receiving the fault alarm message, the EMS sends a deletion request to the VIM for requesting deletion of the failed VM through the VNFM, so that the VIM deletes the failed VM, and the EMS can send a VM creation request to the VIM through the VNFM, so that the EMS can send a VM creation request to the VIM through the VNFM.
  • VIM creates a new VM and assigns new ports to the newly created VM, such as IP (Internet Protocol) address and MAC (Media Access Control) address.
  • the address segment of the port assigned to the VM may be different from the address segment of other VMs of the VNF to which it belongs.
  • the address segment of other VMs needs to be updated so that the VM can perform with other VMs.
  • Communication, other VMs need to be restarted to update the address segment of the local port, resulting in lower stability and reliability of the service.
  • an embodiment of the present invention provides a method and apparatus for establishing a virtual machine.
  • the technical solution is as follows:
  • the first aspect provides a method for establishing a virtual machine, where the VIM receives a second re-establishment request sent by the VNFM, and the VIM obtains mirror data according to the second re-establishment request, and establishes according to the mirror data.
  • a second virtual machine the VIM receives a first port update request sent by the VNFM, where the first port update request carries an identifier of a port of the first virtual machine; and the VIM is configured according to the first port update request, Establishing a correspondence between the port and the second virtual machine.
  • the VIM obtains mirror data according to the second reconstruction request, including:
  • the VIM acquires the mirror data of the first virtual machine carried by the second reconstruction request.
  • the VIM obtains mirror data according to the second reconstruction request, including:
  • the VIM acquires the mirrored data of the first virtual machine according to the storage address of the mirrored data of the first virtual machine.
  • the method further includes:
  • the VIM sets the identifier of the virtual machine corresponding to the storage location to the identifier of the second virtual machine according to the storage location update request.
  • the method further includes:
  • the VIM deletes system data of the first virtual machine according to the system data deletion request.
  • the method before the VIM receives the second reconstruction request sent by the VNFM, the method further includes:
  • the VM can be re-established after the soft restart fails. If the soft restart is successful, the reconstruction process can be omitted. This can effectively reduce the frequency of rebuilding the VM and improve the stability of the network.
  • the method before the VIM receives the second reconstruction request sent by the VNFM, the method further includes:
  • the VIM receives a hard restart request sent by the VNFM, where the hard restart request carries an identifier of the first virtual machine, and the VIM performs a hard restart process on the first virtual machine according to the hard restart request. .
  • the VM can be re-established after the hard restart fails. If the hard restart is successful, the reconstruction process can be omitted. This can effectively reduce the frequency of rebuilding the VM and improve the stability of the network.
  • the method before the receiving the first port update request, the method further includes:
  • the VIM sets the identifier of the virtual machine corresponding to the port to null.
  • the mirrored data includes system data
  • the VIM establishes a second virtual machine according to the mirrored data, including:
  • the VIM establishes system data of the second virtual machine according to system data in the mirrored data
  • the VIM establishes the second virtual machine according to system data of the second virtual machine and instantiation parameters of the first virtual machine.
  • the second virtual machine is established, and the second virtual machine with the same parameters as the first virtual machine can be established, thereby improving the stability of the network.
  • the VIM establishes the second virtual machine according to the system data of the second virtual machine and the instantiation parameter of the first virtual machine, including:
  • the VIM establishes the second virtual machine according to system data of the second virtual machine, an instantiation parameter of the first virtual machine, and metadata of the first virtual machine.
  • the second virtual machine is established based on the instantiation parameters and metadata of the first virtual machine, and The consistency of the first virtual machine and the second virtual machine is further improved, thereby improving the stability of the network.
  • a method of establishing a virtual machine comprising:
  • the virtual network function manager VNFM receives the first re-establishment request sent by the virtual network function VNF, where the first re-establishment request carries the identifier of the first virtual machine;
  • the VNFM sends a second reestablishment request to the virtualization infrastructure management VIM, where the second reestablishment request is used to request to establish a second virtual machine;
  • the VNFM sends a first port update request to the VIM, where the first port update request carries an identifier of a port of the first virtual machine, where the first port update request is used to request to establish the port and the port Corresponding relationship of the second virtual machine.
  • the second reconstruction request carries mirror data of the first virtual machine.
  • the second reconstruction request carries a storage address of the mirrored data of the first virtual machine.
  • the method further includes:
  • the VNFM acquires a storage location of service data of the first virtual machine
  • the VNFM sends a storage location update request of the service data to the VIM, where the storage location update request carries a storage location of the service data,
  • the storage location update request is used to request that an identifier of a virtual machine corresponding to the storage location be set as an identifier of the second virtual machine.
  • the method further includes:
  • the VNFM sends a system data deletion request to the VIM, where the system data deletion request carries an identifier of the first virtual machine.
  • the method before the VNFM sends the first port update request to the VIM, the method further includes:
  • the VNFM sends a second port update request to the VIM, where the second port update request carries an identifier of the port of the first virtual machine, and is used to request that the identifier of the virtual machine corresponding to the port is set to be empty. Null.
  • the VNFM before receiving the first reconstruction request sent by the VNF, the VNFM further includes:
  • the VNFM before receiving the first reconstruction request sent by the VNF, the VNFM further includes:
  • a method of establishing a virtual machine comprising:
  • the virtual network function VNF acquires a failure of the first virtual machine
  • the VNF sends a first re-establishment request to the virtual network function manager VNFM, where the first re-establishment request carries an identifier of the first virtual machine.
  • the preset condition is that the first virtual machine has a soft restart failure, and before the VNF acquires the failure of the first virtual machine, the method further includes:
  • the VNF sends a soft restart request to the VNFM, where the soft restart request carries an identifier of the first virtual machine, and the soft restart request is used to request a soft restart of the first virtual machine.
  • the preset condition is that the first virtual machine has a hard restart failure, and before the VNF acquires the failure of the first virtual machine, the method further includes:
  • the VNF sends a hard restart request of the first virtual machine to the VNFM, where the hard restart request carries an identifier of the first virtual machine, where the hard restart request is used to request a hard restart of the first virtual machine.
  • a virtualization infrastructure management VIM comprising:
  • a receiving module configured to receive a second reconstruction request sent by the virtual network function manager VNFM;
  • Establishing a module configured to acquire mirror data according to the second reconstruction request received by the receiving module, and establish a second virtual machine according to the mirror data;
  • the receiving module is further configured to receive a first port update request sent by the VNFM, where the first port update request carries an identifier of a port of the first virtual machine;
  • the establishing module is further configured to establish a correspondence between the port and the second virtual machine according to the first port update request received by the receiving module.
  • the building module is further configured to:
  • the mirror data of the first virtual machine carried by the second reconstruction request is acquired.
  • the building module is further configured to:
  • the mirrored data of the first virtual machine is obtained according to the storage address of the mirrored data of the first virtual machine.
  • the receiving module is further configured to:
  • the VIM also includes:
  • the first setting module is configured to set an identifier of the virtual machine corresponding to the storage location to an identifier of the second virtual machine according to the storage location update request received by the receiving module.
  • the receiving module is further configured to:
  • the VIM also includes:
  • a deleting module configured to delete system data of the first virtual machine according to the system data deletion request received by the receiving module.
  • the VIM further includes:
  • a first restarting module configured to receive a soft restart request sent by the VNFM, where the soft restart request carries an identifier of the first virtual machine, and performs soft restart on the first virtual machine according to the soft restart request. deal with.
  • the VIM further includes:
  • a second restarting module configured to receive a hard restart request sent by the VNFM, where the hard restart request carries an identifier of the first virtual machine, and performs a hard restart on the first virtual machine according to the hard restart request. deal with.
  • the receiving module is further configured to:
  • the VIM also includes:
  • a second setting module configured to set an identifier of the virtual machine corresponding to the port to null.
  • the mirrored data includes system data
  • the establishing module is further configured to:
  • the building module is further configured to:
  • a virtual network function manager VNFM is provided, where the VNFM includes:
  • a receiving module configured to receive a first re-establishment request sent by the virtual network function VNF, where the first re-establishment request carries an identifier of the first virtual machine
  • a sending module configured to send a second re-establishment request to the virtualization infrastructure management VIM, where the second re-establishment request is used to request to establish a second virtual machine;
  • the sending module is further configured to send a first port update request to the VIM, where the first port update request carries an identifier of a port of the first virtual machine, where the first port update request is used to request to establish Correspondence between the port and the second virtual machine.
  • the second reconstruction request carries mirror data of the first virtual machine.
  • the second reconstruction request carries a storage address of the mirrored data of the first virtual machine.
  • the VNFM further includes:
  • An obtaining module configured to acquire a storage location of service data of the first virtual machine
  • the sending module is further configured to: if the storage space indicated by the storage location acquired by the acquiring module is a shared storage space, send a storage location update request of the service data to the VIM, where the storage location is The update request carries a storage location of the service data, and the storage location update request is used to request that an identifier of the virtual machine corresponding to the storage location be set as an identifier of the second virtual machine.
  • the sending module is further configured to:
  • the sending module is further configured to:
  • the second port update request carries an identifier of the port of the first virtual machine, and is used to request that the identifier of the virtual machine corresponding to the port is set to null.
  • the receiving module is further configured to receive a soft restart request sent by the VNF, where the soft restart request carries an identifier of the first virtual machine;
  • the sending module is further configured to send the soft restart request to the VIM, where the soft restart request is used to request a soft restart of the first virtual machine.
  • the receiving module is further configured to receive a hard restart request sent by the VNF, where the hard restart request carries an identifier of the first virtual machine;
  • the sending module is further configured to send the hard restart request to the VIM, where the hard restart request is used to request to hard restart the first virtual machine.
  • VNF virtual network function
  • a sending module configured to send a first rebuild request to the virtual network function manager VNFM, if the fault that occurs in the first virtual machine that is acquired by the acquiring module meets a preset condition, where the first rebuild request carries The identifier of the first virtual machine.
  • the preset condition is that the first virtual machine has a soft restart failure
  • the sending module is further configured to:
  • the preset condition is that a hard restart failure occurs in the first virtual machine
  • the sending module is further configured to:
  • a virtualization infrastructure management VIM comprising a processor, a memory, and a communication interface, wherein:
  • the processor is configured to receive a second reestablishment request sent by the virtual network function manager VNFM;
  • the processor is further configured to acquire mirror data according to the second reconstruction request, according to the mirror Like data, create a second virtual machine
  • the processor is further configured to receive a first port update request sent by the VNFM, where the first port update request carries an identifier of a port of the first virtual machine;
  • the processor is further configured to establish a correspondence between the port and the second virtual machine according to the first port update request.
  • the processor is further configured to:
  • the mirror data of the first virtual machine carried by the second reconstruction request is acquired.
  • the processor is further configured to:
  • the mirrored data of the first virtual machine is obtained according to the storage address of the mirrored data of the first virtual machine.
  • the processor is further configured to:
  • the processor is further configured to:
  • the processor is further configured to delete system data of the first virtual machine according to the system data deletion request.
  • the processor is further configured to:
  • the processor is further configured to:
  • the processor is further configured to:
  • the mirrored data includes system data
  • the processor is further configured to:
  • the processor is further configured to:
  • a virtual network function manager VNFM including a processor, a memory, and a communication interface, wherein:
  • the processor is configured to receive a first re-establishment request sent by the virtual network function VNF, where the first re-establishment request carries an identifier of the first virtual machine;
  • the processor is further configured to send a second re-establishment request to the virtualization infrastructure management VIM, where the second re-establishment request is used to request to establish a second virtual machine;
  • the processor is further configured to send a first port update request to the VIM, where the first port update request carries an identifier of a port of the first virtual machine, where the first port update request is used to request to establish Correspondence between the port and the second virtual machine.
  • the second reconstruction request carries mirror data of the first virtual machine.
  • the second reconstruction request carries a storage address of the mirrored data of the first virtual machine.
  • the processor is further configured to:
  • the processor is further configured to: if the storage space indicated by the storage location is a shared storage space, send a storage location update request of the service data to the VIM, where the storage location update request carries the service a storage location of the data, the storage location update request is used to request to set an identifier of the virtual machine corresponding to the storage location as an identifier of the second virtual machine.
  • the processor is further configured to:
  • the processor is further configured to:
  • the second port update request carries an identifier of the port of the first virtual machine, and is used to request that the identifier of the virtual machine corresponding to the port is set to null.
  • the processor is further configured to:
  • the processor is further configured to:
  • a virtual network function VNF including a processor, a memory, and a communication interface, wherein:
  • the processor is configured to acquire a fault that occurs in the first virtual machine
  • the processor is further configured to: if the fault that occurs in the first virtual machine meets a preset condition, send a first reestablishment request to the virtual network function manager VNFM, where the first rebuild request carries the first virtual The logo of the machine.
  • the preset condition is that the first virtual machine has a soft restart failure
  • the processor is further configured to:
  • the preset condition is that a hard restart failure occurs in the first virtual machine
  • the processor is further configured to:
  • the hard restart request is used to request a hard restart of the first virtual machine.
  • the VIM when the first virtual machine is faulty, the VIM establishes a second virtual machine, After receiving the first port update request sent by the VNFM, the first port update request carries the identifier of the port of the first virtual machine; the VIM establishes the correspondence between the port and the second virtual machine according to the first port update request, so that it is unnecessary A new port is allocated for the newly created second virtual machine, so that other VMs can be prevented from being restarted, thereby improving the stability and reliability of the service.
  • FIG. 1 is a system frame diagram provided by an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a VIM, a VNFM, and a VNF according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for establishing a virtual machine according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for establishing a virtual machine according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a VIM according to an embodiment of the present disclosure.
  • VNFM 6 is a schematic structural diagram of a VNFM according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a VNF according to an embodiment of the present invention.
  • the embodiment of the invention provides a method for establishing a virtual machine, which can be applied to a network function virtualization (NFV) system, and the NFV system can be used to provide a service for a user.
  • NFV Network Function Virtualization
  • the traditional physical node evolves into a virtual node under the new network architecture, and NFVI (Network) is added to the network architecture defined by the NFV system standard.
  • Function Virtualization Infrastructure VIM (Virtualized Infrastructure Manager), VNFM (Virtualized Network Function Manager), and NFVO (NFV Management and Orchestration)
  • VIM Virtualized Infrastructure Manager
  • VNFM Virtualized Network Function Manager
  • NFVO NFV Management and Orchestration
  • VNFM can be used Manage VNFs, for example, to manage the lifecycle of VNFs such as instantiation, Scale In/Scale Out, update VNF, and terminate VNF.
  • VIM can be used to manage virtual machines. For example, it can detect whether a virtual machine is running normally. It can also be responsible for NFVI calculation, network resource control and management.
  • FIG. 1 is a network architecture diagram of an embodiment of the present invention.
  • the NFV system of the embodiment of the present invention includes functional nodes such as NFVI, VIM, VNF, VNFM, and NFVO.
  • the VNF corresponds to a physical network function (PNF) entity in a traditional non-virtualized network, and the functional behavior and state of the network function are independent of virtualization.
  • PNF physical network function
  • the VNF and the PNF have The same functional behavior and external interface.
  • VIM is a virtualized infrastructure management node that includes resources for controlling and managing computing, storage, and networking;
  • VNFM is responsible for the management of the life cycle of the VNF.
  • the VI-Ha interface between the virtual layer and the hardware resource can request hardware resources and collect related hardware resource status information through the VI-Ha interface.
  • Vn-Nf interface between VNF and NFVI Describes the execution environment that NFVI provides to VNF.
  • the Vi-Vnfm interface between the VIM and the VNFM is an internal interface of the MANO, and is specifically used for: the VNFM sends a resource configuration request;
  • VNF/EMS The Ve-Vnfm interface between VNF/EMS and VNFM, specifically for:
  • the status information during its operation can be ACTIVE, STOPPED or other status (such as PAUSED, SUSPENDED, ERROR, etc.).
  • the system data storage manner may be local storage space storage or shared storage space storage, and the service data storage manner may also be local storage space storage or shared storage space storage.
  • an embodiment of the present invention provides a method for establishing a virtual machine, which may be implemented by VIM, VNF, and VNFM.
  • VIM, VNF, and VNFM may form a virtual machine.
  • System the system can perform the following processing flow:
  • Step 301 The VNF acquires a fault that occurs in the first virtual machine.
  • the above faults can be various.
  • the fault may be a running fault, such as a virtual machine hang, a virtual machine system program crash, a virtual machine pull-up failure, etc.; or the fault may also be a restart fault, such as a soft restart fault, a hard restart fault, and the like.
  • Step 301 can be implemented in two ways:
  • the VNF detects the failure of the virtual machine.
  • the VNF may detect whether the virtual machine fails when the preset detection period is reached, or detect the failure of the virtual machine when receiving the fault detection instruction sent by the VNFM.
  • the VNF receives the alarm information, and obtains the fault of the first virtual machine according to the alarm information.
  • the VIM can monitor the running status of the virtual machine in real time to determine whether each virtual machine is faulty.
  • the VIM detects that the first virtual machine sends a fault, the VIM sends an alarm message to the VNF through the VNFM.
  • Step 302 If the fault of the first virtual machine meets the preset condition, the VNF sends a first re-establishment request to the VNFM, where the first re-establishment request carries the identifier of the first virtual machine.
  • the identifier of the first virtual machine may be an ID of the first virtual machine or a reconstruction identifier.
  • the first reconstruction request may not be sent to the VNFM.
  • the preset condition may be various.
  • the preset condition may be a virtual machine running fault, such as a virtual machine hang, a virtual machine system program crash, a virtual machine pull-up failure, and the like.
  • the preset condition may also be that the first virtual machine has a soft restart fault.
  • the following processing may be performed:
  • Step 1 The VNF sends a soft restart request to the VNFM, where the soft restart request carries the identifier of the first virtual machine, and the soft restart request is used to request the soft restart of the first virtual machine.
  • Step 2 The VNFM receives the soft restart request sent by the VNF, and sends a soft restart request to the VIM, where the soft restart request is used to request the soft restart of the first virtual machine.
  • Step 3 The VIM receives the soft restart request sent by the VNFM, and the VIM performs a soft restart process on the first virtual machine according to the soft restart request.
  • the VNF can monitor whether the soft restart of the first virtual machine is successful. If successful, the VNF can perform no subsequent processing. If not, the VNF can send a first rebuild request to the VNFM.
  • the preset condition may also be that the first virtual machine has a hard restart fault.
  • the following processing may be performed:
  • step 1' the VNF sends a hard restart request of the first virtual machine to the VNFM, and the hard restart request is used to request a hard restart of the first virtual machine.
  • the VNFM receives the hard restart request sent by the VNF.
  • the hard restart request carries the identifier of the first virtual machine, and sends a hard restart request to the VIM.
  • the hard restart request is used to request a hard restart of the first virtual machine.
  • step 3 the VIM receives the hard restart request sent by the VNFM, and the hard restart request carries the identifier of the first virtual machine, and the VIM performs a hard restart process on the first virtual machine according to the hard restart request.
  • the VNF can monitor whether the hard restart of the first virtual machine is successful. If successful, the VNF can perform no subsequent processing. If not, the VNF can send a first rebuild request to the VNFM.
  • Step 303 The VNFM receives the first re-establishment request sent by the VNF, where the first re-establishment request carries the identifier of the first virtual machine.
  • Step 304 The VNFM sends a second re-establishment request to the VIM, where the second re-establishment request is used to request to establish a second virtual machine.
  • the VNFM can determine whether the storage space indicated by the storage location of the system data of the first virtual machine is the local storage space, and whether the current state of the first virtual machine is active or stopped, if the system of the first virtual machine is If the storage space indicated by the storage location of the data is the local storage space, and the state of the first virtual machine is active or stopped, the first virtual machine may be reconstructed by using a method of rebuilding the virtual machine in the prior art, for example, The system disk of the VM is re-mounted by calling OpenStack and Huawei FusionSphere. Otherwise, steps 304 to 309 are performed to rebuild the first virtual machine by establishing a second virtual machine.
  • step 305 the VIM receives the second reconstruction request sent by the VNFM.
  • Step 306 The VIM acquires mirror data according to the second reconstruction request, and establishes a second virtual machine according to the mirror data.
  • the image data may include VNFD (VNF data, VNF data), and may also include operating system data of the virtual machine of the VNF, and some system parameters and the like.
  • the second virtual machine is created according to the mirroring data, and specifically includes:
  • the VIM establishes system data of the second virtual machine according to the system data in the mirrored data.
  • the VIM establishes a second virtual machine according to the system data of the second virtual machine and the instantiation parameter of the first virtual machine.
  • the above instantiation parameters may include network information, affinity information, and the like of the VM.
  • the network information may be port information of the VM
  • the affinity information may be a policy for the VM to be deployed to the host.
  • the instantiating parameter of the first virtual machine may be sent by the VNFM to the VIM.
  • the instantiation parameter of the first virtual machine may be carried in the second re-establishment request, or may be carried in other messages for sending. Make a limit.
  • step 306b can be implemented in the following two ways:
  • Manner 1 The VIM establishes the second virtual machine only according to the system data of the second virtual machine and the instantiation parameters of the first virtual machine.
  • Manner 2 The VIM establishes a second virtual machine according to system data of the second virtual machine, an instantiation parameter of the first virtual machine, and metadata of the first virtual machine.
  • the VIM may establish a second virtual machine according to system data of the second virtual machine and the instantiation parameter of the first virtual machine, and may perform metadata of the first virtual machine in the process of establishing the second virtual machine. , stored as a file in the created second virtual machine.
  • the instantiating parameters and the metadata of the first virtual machine may be sent by the VNFM to the VIM.
  • the VNFM may be carried in the second re-establishment request, and may be carried in other messages for transmission. This embodiment is not limited.
  • the metadata may include INSTALL_MODE (installation mode), RESTORE (recovery information), and the like.
  • Step 307 The VNFM sends a first port update request to the VIM, where the first port update request carries the identifier of the port corresponding to the first virtual machine, and the first port update request is used to request to establish a correspondence between the port and the second virtual machine.
  • the VNFM may send a first port update request to the VIM after detecting that the second virtual machine is successfully established.
  • the way VNFM detects that the second virtual machine is successfully established is as follows:
  • the VNFM receives a response message that the second virtual machine is successfully established.
  • the VNFM may send a response message that the second virtual machine is successfully established.
  • the VNFM obtains the state information of the second virtual machine, and determines whether the second virtual machine is successfully established according to the state information.
  • the VNFM may send a status query request corresponding to the second virtual machine to the VIM, and the VIM may send the status information of the second virtual machine to the VNFM. If the status information is ACTIVE, the VNFM may determine that the second virtual machine is successfully created. The first port update request is then sent to the VIM. If the status information is not ACTIVE, the first port update request is not sent.
  • Step 308 the VIM receives the first port update request sent by the VNFM, and the first port is updated.
  • the identifier of the port corresponding to the first virtual machine is carried.
  • Step 309 The VIM establishes a correspondence between the port and the second virtual machine according to the first port update request.
  • the corresponding relationship between the port and the second virtual machine may be in the form of a corresponding relationship table, or may be in other forms, which is not limited in this embodiment.
  • the corresponding relationship between the foregoing port and the second virtual machine may be established in the following manner.
  • the VIM may set the identifier of the virtual machine corresponding to the port in the correspondence table between the port and the virtual machine to the identifier of the second virtual machine.
  • the VIM can set the device_id parameter to the identifier of the second virtual machine in the attribute information of the port.
  • the VIM when the first virtual machine is faulty, the VIM establishes the second virtual machine, and then receives the first port update request sent by the VNFM; the VIM establishes the port and the second virtual machine according to the first port update request.
  • the VIM in this way, there is no need to allocate a new port for the newly created second virtual machine, so that it is possible to avoid restarting other VMs when the port is allocated, thereby improving the stability and reliability of the service.
  • the VNF receives the alarm information, and obtains the fault that occurs in the first virtual machine according to the alarm information, which may include the following steps:
  • Step 1 The VIM detects that the first virtual machine has failed.
  • the VIM may detect whether each virtual machine fails when the preset detection period is reached, or may detect whether the virtual service fails after receiving the detection instruction of the corresponding virtual machine.
  • step 2 the VIM sends a fault notification message to the VNFM.
  • the fault notification message may carry the identifier of the first virtual machine, such as the ID of the first virtual machine.
  • the fault notification message may also carry the identifier of the fault that occurs in the first virtual machine.
  • Step 3 The VNFM sends the fault notification message to the VNF to which the first virtual machine belongs.
  • the VNFM may pre-store the correspondence between the VNF and the virtual machine, and the VNFM may determine the VNF corresponding to the first virtual machine according to the correspondence, and may send the failure notification message to the VNF. If the fault notification message carries the identifier of the first virtual machine, the VNF may detect, according to the fault notification message, a fault that occurs in the first virtual machine; and the fault notification message carries the identifier of the first virtual machine and the first In the case of the identifier of the failure of the virtual machine, the VNF may determine the failure of the first virtual machine according to the identifier of the fault.
  • the method further includes: the VNF migrating the service on the first virtual machine.
  • the VNF migrates the service on the first virtual machine after detecting that the first virtual machine fails or receives the fault notification message. For example, if the working mode of the first virtual machine is the load sharing mode, the service request on the first virtual machine can be allocated to other working virtual machines. When the working mode of the first virtual machine is in the active standby mode, the primary mode is performed. Backup.
  • the method before the VNF sends the first reestablishment request to the VNFM in the foregoing step 302, the method further includes:
  • Step 1 The VNF determines whether the fault occurring in the first virtual machine is an operation fault.
  • step 302 If the VNF determines that the failure of the first virtual machine is not an operation failure, the process of step 302 is performed.
  • Step 2 If the failure of the first virtual machine is an operation failure, the VNF sends a soft restart request to the VNFM.
  • Step 3 The VNF determines whether the first virtual machine has a soft restart failure.
  • the subsequent processing may not be performed.
  • Step 4 If the first virtual machine has a soft restart failure, the VNF sends a hard restart request to the VNFM.
  • Step 5 The VNF determines whether a hard restart failure occurs in the first virtual machine.
  • the subsequent processing may not be performed.
  • Step 6 If the first virtual machine has a hard restart failure, the VNF sends a first rebuild request to the VNFM.
  • the method before the VNF sends the first re-establishment request to the VNFM in the foregoing step 302, the method further includes: determining, by the VNF, whether the first virtual machine meets the re-establishment condition, if the condition is met. If the remote reconstruction condition is performed, the remote reconstruction is performed; if the above-mentioned remote reconstruction condition is not satisfied, the VNF may send a second reconstruction request to the VNFM.
  • the remote reconstruction condition can be any of the following situations:
  • the storage space indicated by the storage location of the system data is a local storage space, and the storage space indicated by the storage location of the service data is a shared storage space;
  • the storage space indicated by the storage location of the system data and the storage location indicated by the storage location of the service data are shared storage spaces
  • the VIM fails to rebuild the first virtual machine based on the mirrored data.
  • the VNF may further include:
  • the VNF detects whether the second virtual machine is successfully established; if the second virtual machine fails to be established, the VNF sends an offsite reestablishment request to the VNFM.
  • the VNF determines that the second virtual machine is successfully established.
  • the method further includes:
  • Step 1 The VNFM queries the database for the identifier of the service data (also referred to as a data volume) of the first virtual machine.
  • Step 2 The VNFM sends an unbinding request corresponding to the service data of the first virtual machine to the VIM, where the unbinding request may carry the identifier of the service data of the first virtual machine.
  • step 3 the VIM receives the unbinding request sent by the VNFM.
  • Step 4 The VIM releases the binding relationship between the service data and the first virtual machine, that is, the data volume is offloaded from the first virtual machine.
  • the VIM may modify the identifier of the virtual machine corresponding to the service data to null.
  • the correspondence between the service data and the virtual machine may be stored in the form of a corresponding relationship table, or may be stored in other forms.
  • the identifier of the virtual machine is stored in the attribute information of the service data. Not limited.
  • the second re-establishment request may further carry the identifier of the port of the first virtual machine in step 304, and the steps 307-309 may be replaced by:
  • the VIM establishes a correspondence between the port and the second virtual machine according to the identifier of the port of the first virtual machine that is carried by the second re-establishment request.
  • the VNFM does not need to send a first port update request to the VIM, thereby improving processing efficiency.
  • the VIM obtains the mirror data according to the second reconstruction request, and may adopt the following manner:
  • the VIM can obtain the mirrored data of the first virtual machine carried by the second reconstruction request, as follows:
  • Step 1 After receiving the first reconstruction request, the VNFM acquires the mirror data, and adds the mirror data. Adding to the second reconstruction request, sending a second reconstruction request to the VIM.
  • the VNFM may pre-store the mirror data of each VNF and the corresponding relationship between the VNF and the virtual machine.
  • the VNFM may determine the VNF corresponding to the first virtual machine, obtain the mirror data of the VNF, and add the acquired mirror data to the first
  • a second reconstruction request is sent to the VIM.
  • Step 2 The VIM receives the second re-establishment request sent by the VNFM, and obtains the mirror data of the first virtual machine carried by the second re-establishment request.
  • the VIM may obtain the mirrored data of the first virtual machine according to the storage address of the mirrored data of the first virtual machine, as follows:
  • Step 1 After receiving the first reconstruction request, the VNFM acquires a storage address of the mirrored data of the first virtual machine, adds the storage address to the second reconstruction request, and sends a second reconstruction request to the VIM.
  • the storage address of the mirrored data of each virtual machine may be pre-stored in the VNFM, and the VNFM may search for the storage address of the mirrored data of the first virtual machine according to the first reconstruction request, and then add the found storage address to the second reconstruction.
  • a second rebuild request is sent to the VIM.
  • Step 2 The VIM receives the second reconstruction request sent by the VNFM, and acquires the mirrored data of the first virtual machine according to the storage address of the mirrored data of the first virtual machine.
  • a data transmission channel can be established between the VNFM and the VIM. After sending the second reconstruction request, the VNFM sends the mirrored data to the VIM through the data transmission channel.
  • the VIM can obtain the mirror data in other manners, which is not limited in this embodiment.
  • the method before the VNFM sends the first port update request to the VIM in step 307, the method further includes:
  • Step 1 The VNFM sends a second port update request to the VIM, where the second port update request carries the identifier of the port of the first virtual machine.
  • the second port update request is used to request that the identifier of the virtual machine corresponding to the port be null.
  • the VNFM may pre-store the correspondence between the port and the identifier of the virtual machine. After receiving the first reconstruction request sent by the VNF, the VNFM may query the port of the first virtual machine in the corresponding relationship, and then the VNFM. The above second port update request can be sent to the VIM.
  • the correspondence between the port and the identifier of the virtual machine may be stored in the form of a corresponding relationship table, or may be stored in other forms.
  • the identifier of the virtual machine is stored in the attribute information of the port. Not limited.
  • Step 2 The VIM receives the second port update request sent by the VNFM, and sets the identifier of the virtual machine corresponding to the port to null.
  • the VIM may set the device_id parameter to null in the attribute information of the port to release the binding relationship between the port and the first virtual machine.
  • the method further includes: mounting the data volume of the first virtual machine to the first On the second virtual machine, as follows:
  • Step 1 The VNFM acquires a storage location of the service data of the first virtual machine.
  • Step 2 If the storage space indicated by the storage location is a shared storage space, the VNFM sends a storage location update request for the service data to the VIM, where the storage location update request carries the storage location of the service data, and the storage location update request is used to request the storage.
  • the identifier of the virtual machine corresponding to the location is set to the identifier of the second virtual machine.
  • step 3 the VIM receives the storage location update request sent by the VNFM.
  • Step 4 The VIM sets the identifier of the virtual machine corresponding to the storage location to the identifier of the second virtual machine according to the storage location update request.
  • the VIM in the process of loading the data volume of the first virtual machine to the second virtual machine, may receive the storage of the service data without receiving the VNFM.
  • the location update request after the VIM can establish the second virtual machine, obtain the storage location of the service data of the first virtual machine, set the identifier of the virtual machine corresponding to the storage location to the identifier of the second virtual machine, and obtain the first virtual machine by the VIM.
  • the manner of storing the location of the service data may be various, and is not limited in this embodiment.
  • the method may further include:
  • Step 1 The VIM sends a response message indicating that the port update succeeds to the VNFM.
  • the response message may carry related parameter information (such as port and system parameters) of the second virtual machine.
  • Step 2 The VNFM sends a response message to the VNF that the port is successfully updated.
  • the response message may carry related parameter information (such as port and system parameters) of the second virtual machine, so that the VNF can learn that the second virtual service is successfully established, and allocate services for the second virtual machine.
  • related parameter information such as port and system parameters
  • the foregoing method further includes: deleting system data of the failed first virtual machine, as follows:
  • Step 1 The VNFM sends a system data deletion request to the VIM, where the system data deletion request carries the identifier of the first virtual machine.
  • step 2 the VIM receives the system data deletion request sent by the VNFM.
  • Step 3 The VIM deletes the system data of the first virtual machine according to the system data deletion request.
  • the VNFM may send a response message, and after receiving the response message, the VNFM may send the system data deletion request to the VIM.
  • the VIM can receive the system data deletion request, and then obtain the identifier of the first virtual machine in the system data deletion request, so that the system data of the first virtual machine can be searched in the pre-stored system data.
  • the VIM can delete the system data of the first virtual machine, and the system data can be the system volume of the virtual machine. In this way, the VIM deletes the system data of the first virtual machine, and deletes the system data of the first virtual machine, and does not delete the system data of the first virtual machine. port.
  • the technician can pre-set the deletion policy of the virtual machine.
  • the VIM receives the system data deletion request, and can delete only the system data, and does not delete the service data of the virtual machine.
  • the system data and the service data can also be deleted at the same time. .
  • the VNF may send a soft restart request, a hard restart request, and a first rebuild request through a communication interface provided by the VNFM.
  • the communication interface may use a REST-style HTTP protocol, and parameters in the HTTP request message and the response message may be used. JSON format representation.
  • the various interfaces provided by VNFM are defined as follows:
  • PUT is the submit method of http request.
  • the request format is the format used to restart the request, such as the HTTP PUT format, request parameters. It is a parameter that can be carried in the restart request.
  • the request format is a format of the reconstruction request, such as an HTTP PUT format, and the request parameter is a parameter that the rebuild request can carry.
  • the VNFM may send a response message to the VNF, such as a response message that the port update succeeds, or a response message that the second virtual machine establishes a success.
  • the response message can carry one or more of the following response parameters:
  • the format of the response message may be arbitrary and is not limited.
  • this embodiment also provides a method for establishing a virtual machine, as follows:
  • step 401 the VNF detects a VM 1 failure.
  • step 401' the VIM detects that the VM 1 is faulty, and sends a fault notification message to the VNFM, and the VNFM sends the fault notification message to the VNF corresponding to the VM 1.
  • the VIM can detect the running status of the VM and determine whether the VM is faulty.
  • the VIM can send a fault notification message to the VNFM, where the fault notification message can carry the ID of the VM 1.
  • the VIM can also detect the running status of the host to determine whether the host is faulty.
  • the VIM can send a fault notification message to the VNFM, and the fault notification message can be carried.
  • the above steps 401 and 401' can be performed simultaneously.
  • Step 402 The VNF may perform service migration on the VM 1 when the VM 1 failure is detected, or when the failure notification message sent by the VNFM is received.
  • the VIM can also detect whether the host is faulty. After the VNF performs service migration, it is necessary to first determine whether the fault notification message carries the fault identifier of the host fault to which the failed virtual machine belongs, and if yes, to the VNFM. The remote re-establishment request is sent to enable the VNFM to perform the re-establishment processing.
  • the specific manner of the re-establishment processing may be performed in the prior art, and is not described in this embodiment; if not, step 403 may be performed.
  • step 403 the VNF sends a soft restart request corresponding to the VM 1 to the VNFM.
  • step 404 the VNFM sends a soft restart request corresponding to the VM 1 to the VIM, and the VIM performs a soft restart process on the VM1.
  • Step 405 The VNF monitors whether the VM 1 is successfully restarted. If the soft restart is unsuccessful, step 406 is performed. If successful, no subsequent processing is performed.
  • step 406 the VNF sends a corresponding VM 1 hard restart request to the VNFM.
  • step 407 the VNFM sends a hard restart request corresponding to the VM 1 to the VIM, and the VIM performs a hard restart process on the VM1.
  • Step 408 The VNF monitors whether the VM 1 is successfully restarted. If the hard restart is unsuccessful, step 409 is performed. If successful, no subsequent processing is performed.
  • step 409 the VNF sends a first reconstruction request to the VNFM.
  • Step 410 The VNFM sends a second port update request of the VM 1 to the VIM, so that the VIM releases the binding relationship between the port and the VM1.
  • step 411 the VNFM sends a system data deletion request of the VM 1 to the VIM, so that the VIM deletes the system data of the VM 1.
  • step 412 the VNFM sends a second reconstruction request to the VIM.
  • Step 413 The VIM creates a new VM 2, determines a storage location of the service data of the first virtual machine, and sets an identifier of the virtual machine corresponding to the storage location as an identifier of the second virtual machine.
  • Step 414 The VNFM sends a first port update request of the VM 1 to the VIM, so that the VIM establishes a correspondence between the port and the second virtual machine.
  • the VIM when the first virtual machine is faulty, the VIM establishes the second virtual machine, and then receives the first port update request sent by the VNFM, where the first port update request carries the identifier of the port of the first virtual machine;
  • the VIM establishes a correspondence between the port and the second virtual machine according to the first port update request, so that it is not necessary to allocate a new port for the newly created second virtual machine, so that other VMs can be prevented from being restarted, thereby improving service stability. Sex and reliability.
  • the embodiment of the present invention further provides a VIM.
  • the VIM includes a processor 210, a memory 220, and a communication interface 230.
  • the memory 220 and the communication interface 230 are respectively disposed on the processor 210. Connection, the memory 220 is used to store program code, the program code includes computer operation instructions, and the processor 210 executes the program code stored in the memory 220 for performing the correlation of the VIM in the embodiment shown in FIG. 3 or FIG. Processing and communicating with the VNFM through the communication interface 230;
  • the processor 210 is configured to receive a second reestablishment request sent by the virtual network function manager VNFM.
  • the processor 210 is further configured to acquire mirror data according to the second reconstruction request, and establish a second virtual machine according to the mirror data.
  • the processor 210 is further configured to receive a first port update request sent by the VNFM, where the first port update request carries an identifier of a port of the first virtual machine;
  • the processor 210 is further configured to establish a correspondence between the port and the second virtual machine according to the first port update request.
  • the second re-establishment request carries the mirrored data of the first virtual machine
  • the processor 210 is further configured to:
  • the second reconstruction request carries a storage address of the mirrored data of the first virtual machine
  • the processor 210 is further configured to:
  • processor 210 is further configured to:
  • processor 210 is further configured to:
  • processor 210 is further configured to:
  • processor 210 is further configured to:
  • processor 210 is further configured to:
  • the mirroring data includes system data
  • the processor 210 is further configured to:
  • processor 210 is further configured to:
  • an embodiment of the present invention further provides a VNFM.
  • the VNFM includes a processor 210, a memory 220, and a communication interface 230.
  • the memory 220 and the communication interface 230 are respectively disposed on the processor 210. Connection, the memory 220 is used to store program code, the program code includes computer operation instructions, and the processor 210 executes the program code stored in the memory 220 for performing the correlation of the VNFM in the embodiment shown in FIG. 3 or FIG. 4 above. Processing and communicating with the VNF and VIM through the communication interface 230;
  • the processor 210 is configured to receive a first re-establishment request sent by the virtual network function VNF, where the first re-establishment request carries an identifier of the first virtual machine;
  • the processor 210 is further configured to send, by using the communication interface 230, a second re-establishment request to the virtualization infrastructure management VIM, where the second re-establishment request is used to request to establish a second virtual machine;
  • the processor 210 is further configured to send a first port update request to the VIM, where the first port update request carries an identifier of a port of the first virtual machine, where the first port update request is used for A request is made to establish a correspondence between the port and the second virtual machine.
  • the second reconstruction request carries mirror data of the first virtual machine.
  • the second reconstruction request carries a storage address of the mirrored data of the first virtual machine.
  • processor 210 is further configured to:
  • the processor 210 is further configured to: if the storage space indicated by the storage location is a shared storage space, send a storage location update request of the service data to the VIM, where the storage location update request carries the a storage location of the service data, where the storage location update request is used to request that an identifier of the virtual machine corresponding to the storage location be set as an identifier of the second virtual machine.
  • processor 210 is further configured to:
  • processor 210 is further configured to:
  • the second port update request carries an identifier of the port of the first virtual machine, and is used to request that the identifier of the virtual machine corresponding to the port is set to null.
  • processor 210 is further configured to:
  • processor 210 is further configured to:
  • an embodiment of the present invention further provides a VNF.
  • the VNF includes a processor 210, a memory 220, and a communication interface 230.
  • the memory 220 and the communication interface 230 are respectively disposed on the processor 210. Connection, the memory 220 is used to store program code, the program code includes computer operation instructions, and the processor 210 executes the program code stored in the memory 220 for performing the correlation of the VNF in the embodiment shown in FIG. 3 or FIG. Processing and can be connected by communication Port 230 communicates with VNFM;
  • the processor 210 is configured to acquire a fault that occurs in the first virtual machine.
  • the processor 210 is further configured to: if the fault that occurs in the first virtual machine meets a preset condition, send a first reestablishment request to the virtual network function manager VNFM, where the first rebuild request carries the first The ID of the virtual machine.
  • the preset condition is that the first virtual machine generates a soft restart fault
  • the processor 210 is further configured to:
  • the preset condition is that the first virtual machine generates a hard restart fault
  • the processor 210 is further configured to:
  • the hard restart request is used to request a hard restart of the first virtual machine.
  • the VIM when the first virtual machine is faulty, the VIM establishes the second virtual machine, and then receives the first port update request sent by the VNFM, where the first port update request carries the identifier of the port of the first virtual machine;
  • the VIM establishes a correspondence between the port and the second virtual machine according to the first port update request, so that it is not necessary to allocate a new port for the newly created second virtual machine, so that other VMs can be prevented from being restarted, thereby improving service stability. Sex and reliability.
  • the embodiment of the present invention further provides a VIM.
  • the VIM includes a receiving module 510 and an establishing module 520.
  • the receiving module 510 and the establishing module 520 can be used to execute the foregoing FIG. 3 or Correlation processing of VIM in the embodiment shown in FIG. 4;
  • the receiving module 510 is configured to receive a second re-establishment request sent by the virtual network function manager VNFM.
  • the establishing module 520 is configured to acquire mirror data according to the second reconstruction request received by the receiving module 510, and establish a second virtual machine according to the mirror data.
  • the receiving module 510 is further configured to receive a first port update request sent by the VNFM, where the first port update request carries an identifier of a port of the first virtual machine;
  • the establishing module 520 is further configured to establish a correspondence between the port and the second virtual machine according to the first port update request received by the receiving module 510.
  • the second re-establishment request carries the mirrored data of the first virtual machine
  • the establishing module 520 is further configured to:
  • the second re-establishment request carries a storage address of the mirrored data of the first virtual machine
  • the establishing module 520 is further configured to:
  • the receiving module 510 is further configured to:
  • the VIM also includes:
  • the first setting module is configured to set an identifier of the virtual machine corresponding to the storage location to an identifier of the second virtual machine according to the storage location update request received by the receiving module 510.
  • the receiving module 510 is further configured to:
  • the VIM also includes:
  • a deleting module configured to delete system data of the first virtual machine according to the system data deletion request received by the receiving module 510.
  • the VIM further includes:
  • a first restarting module configured to receive a soft restart request sent by the VNFM, where the soft restart request carries an identifier of the first virtual machine, and performs soft restart on the first virtual machine according to the soft restart request. deal with.
  • the VIM further includes:
  • a second restarting module configured to receive a hard restart request sent by the VNFM, where the hard restart request carries an identifier of the first virtual machine, and performs a hard restart on the first virtual machine according to the hard restart request. deal with.
  • the receiving module 510 is further configured to:
  • the VIM also includes:
  • a second setting module configured to set an identifier of the virtual machine corresponding to the port to null.
  • the image data includes system data
  • the establishing module 520 is further configured to:
  • the establishing module 520 is further configured to:
  • the embodiment of the present invention further provides a VNFM.
  • the VNFM includes a receiving module 610 and a sending module 620, a receiving module 610, and a sending module 620. Correlation processing of VNFM in the embodiment shown in FIG. 4;
  • the receiving module 610 is configured to receive a first re-establishment request sent by the virtual network function VNF, where the first re-establishment request carries an identifier of the first virtual machine.
  • a sending module 620 configured to send a second re-establishment request to the virtualization infrastructure management VIM, where the second re-establishment request is used to request to establish a second virtual machine;
  • the sending module 620 is further configured to send a first port update request to the VIM, where the first port update request carries an identifier of a port of the first virtual machine, where the first port update request is used for requesting Establishing a correspondence between the port and the second virtual machine.
  • the second reconstruction request carries mirror data of the first virtual machine.
  • the second reconstruction request carries a storage address of the mirrored data of the first virtual machine.
  • the VNFM further includes:
  • An obtaining module configured to acquire a storage location of service data of the first virtual machine
  • the sending module 620 is further configured to: if the storage space indicated by the storage location is a shared storage space, send a storage location update request of the service data to the VIM, where the storage location update request carries the Obtaining, by the module, a storage location of the service data that is obtained by the module, where the storage location update request is used to request that an identifier of the virtual machine corresponding to the storage location is set as an identifier of the second virtual machine.
  • the sending module 620 is further configured to:
  • the sending module 620 is further configured to:
  • the second port update request carries an identifier of the port of the first virtual machine, and is used to request that the identifier of the virtual machine corresponding to the port is set to null.
  • the receiving module 610 is further configured to receive a soft restart request sent by the VNF, where the soft restart request carries an identifier of the first virtual machine.
  • the sending module 620 is further configured to send the soft restart request to the VIM, where the soft restart request is used to request a soft restart of the first virtual machine.
  • the receiving module 610 is further configured to receive a hard restart request sent by the VNF, where the hard restart request carries an identifier of the first virtual machine.
  • the sending module 620 is further configured to send the hard restart request to the VIM, where the hard restart request is used to request to hard restart the first virtual machine.
  • the embodiment of the present invention further provides a VNF.
  • the VNF includes an obtaining module 710 and a sending module 720, and an obtaining module 710 and a sending module 720, which can be used to execute the foregoing FIG. Or the related processing of the VNF in the embodiment shown in FIG. 4;
  • the obtaining module 710 is configured to acquire a fault that occurs in the first virtual machine.
  • the sending module 720 is configured to send a first re-establishment request to the virtual network function manager VNFM if the fault that occurs in the first virtual machine acquired by the obtaining module 710 meets a preset condition, where the first re-establishment request carries The identifier of the first virtual machine.
  • the preset condition is that the first virtual machine generates a soft restart fault
  • the sending module 720 is further configured to:
  • the preset condition is that the first virtual machine generates a hard restart fault
  • the sending module 720 is further configured to:
  • the VIM when the first virtual machine is faulty, the VIM establishes the second virtual machine, and then receives the first port update request sent by the VNFM, where the first port update request carries the identifier of the port of the first virtual machine;
  • the VIM establishes a correspondence between the port and the second virtual machine according to the first port update request, so that it is not necessary to allocate a new port for the newly created second virtual machine, and therefore, it can be avoided. His VM is restarted to improve the stability and reliability of the business.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

La présente invention se rapporte au domaine de la technologie informatique. La présente invention concerne un procédé, un dispositif et un système d'établissement d'une machine virtuelle. Le procédé comprend : la réception, par une VIM, d'une seconde demande de reconstruction envoyée par une VNFM ; l'acquisition, par la VIM, conformément à la seconde demande de reconstruction, de données d'imagerie et l'établissement d'une seconde machine virtuelle en fonction des données d'imagerie ; la réception, par la VIM, d'une première demande de mise à jour de port envoyée par la VNFM, la première demande de mise à jour de port portant un identifiant d'un port d'une première machine virtuelle ; l'établissement, par la VIM, conformément à la première demande de mise à jour de port, d'une relation de correspondance entre le port et la seconde machine virtuelle. L'utilisation du procédé permet d'améliorer la stabilité et la fiabilité des services.
PCT/CN2016/092503 2016-07-30 2016-07-30 Procédé, dispositif et système d'établissement de machine virtuelle WO2018023217A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/092503 WO2018023217A1 (fr) 2016-07-30 2016-07-30 Procédé, dispositif et système d'établissement de machine virtuelle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/092503 WO2018023217A1 (fr) 2016-07-30 2016-07-30 Procédé, dispositif et système d'établissement de machine virtuelle

Publications (1)

Publication Number Publication Date
WO2018023217A1 true WO2018023217A1 (fr) 2018-02-08

Family

ID=61072208

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/092503 WO2018023217A1 (fr) 2016-07-30 2016-07-30 Procédé, dispositif et système d'établissement de machine virtuelle

Country Status (1)

Country Link
WO (1) WO2018023217A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000440A (zh) * 2020-08-24 2020-11-27 浪潮云信息技术股份公司 一种基于云平台的多启动卷虚拟机启动顺序变更方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455942A (zh) * 2010-12-02 2012-05-16 中标软件有限公司 一种广域网虚拟机动态迁移方法及系统
CN104734931A (zh) * 2015-03-31 2015-06-24 华为技术有限公司 一种虚拟网络功能间链路建立方法及装置
CN105183588A (zh) * 2015-09-30 2015-12-23 华为技术有限公司 一种虚拟机的重建方法和装置
CN105204955A (zh) * 2015-09-30 2015-12-30 华为技术有限公司 一种虚拟机故障修复方法和装置
CN105681077A (zh) * 2015-12-31 2016-06-15 华为技术有限公司 故障处理方法、装置及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455942A (zh) * 2010-12-02 2012-05-16 中标软件有限公司 一种广域网虚拟机动态迁移方法及系统
CN104734931A (zh) * 2015-03-31 2015-06-24 华为技术有限公司 一种虚拟网络功能间链路建立方法及装置
CN105183588A (zh) * 2015-09-30 2015-12-23 华为技术有限公司 一种虚拟机的重建方法和装置
CN105204955A (zh) * 2015-09-30 2015-12-30 华为技术有限公司 一种虚拟机故障修复方法和装置
CN105681077A (zh) * 2015-12-31 2016-06-15 华为技术有限公司 故障处理方法、装置及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000440A (zh) * 2020-08-24 2020-11-27 浪潮云信息技术股份公司 一种基于云平台的多启动卷虚拟机启动顺序变更方法

Similar Documents

Publication Publication Date Title
CN110865867B (zh) 应用拓扑关系发现的方法、装置和系统
CN107209710B (zh) 节点系统、服务器设备、缩放控制方法和程序
JP5427574B2 (ja) 仮想計算機の移動管理方法、前記移動管理方法を用いた計算機、前記移動管理方法を用いた仮想化機構および前記移動管理方法を用いた計算機システム
CN108039964B (zh) 基于网络功能虚拟化的故障处理方法及装置、系统
US20180146031A1 (en) Life Cycle Management Method and Apparatus
WO2018058942A1 (fr) Procédé de traitement de données et serveur de sauvegarde
US8510815B2 (en) Virtual computer system, access control method and communication device for the same
US9489230B1 (en) Handling of virtual machine migration while performing clustering operations
US20140032753A1 (en) Computer system and node search method
US10521315B2 (en) High availability handling network segmentation in a cluster
CN109168328B (zh) 虚拟机迁移的方法、装置和虚拟化系统
US11924117B2 (en) Automated local scaling of compute instances
JP2013544417A (ja) 異種移動環境用の仮想マシンモーフィング
US9223606B1 (en) Automatically configuring and maintaining cluster level high availability of a virtual machine running an application according to an application level specified service level agreement
US9378039B2 (en) Virtual machine storage replication schemes
US20130332921A1 (en) Virtual machine image write leasing
US20210089415A1 (en) High availability for a relational database management system as a service in a cloud platform
CN107038096A (zh) 虚拟磁盘备份系统、方法和装置
US11153173B1 (en) Dynamically updating compute node location information in a distributed computing environment
CN112035062B (zh) 云计算的本地存储的迁移方法、计算机设备及存储介质
WO2018023217A1 (fr) Procédé, dispositif et système d'établissement de machine virtuelle
CN114691304B (zh) 实现集群虚拟机高可用的方法和装置、设备和介质
US10367711B2 (en) Protecting virtual computing instances from network failures
US20220237036A1 (en) System and method for operation analysis
JP6205013B1 (ja) アプリケーション利用システム

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

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

Country of ref document: EP

Kind code of ref document: A1