WO2018192475A1 - 虚机规格调整方法及装置 - Google Patents

虚机规格调整方法及装置 Download PDF

Info

Publication number
WO2018192475A1
WO2018192475A1 PCT/CN2018/083329 CN2018083329W WO2018192475A1 WO 2018192475 A1 WO2018192475 A1 WO 2018192475A1 CN 2018083329 W CN2018083329 W CN 2018083329W WO 2018192475 A1 WO2018192475 A1 WO 2018192475A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual machine
target virtual
network function
target
service
Prior art date
Application number
PCT/CN2018/083329
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 中兴通讯股份有限公司
Publication of WO2018192475A1 publication Critical patent/WO2018192475A1/zh

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
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45575Starting, stopping, suspending or resuming virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45583Memory management, e.g. access or allocation

Definitions

  • the present disclosure relates to the field of network function virtualization, and in particular, to a virtual machine specification adjustment method and apparatus.
  • Network virtualization technology has been favored by operators because it can save resources and reduce equipment costs and operation and maintenance costs. It is also used in many places.
  • the overall capacity should be adjusted to expand the overall capacity. There are currently expansion and shrinkage mechanisms to meet this demand.
  • the present disclosure provides two methods and devices for adjusting virtual machine specifications.
  • the present disclosure provides a virtual machine specification adjustment method, which is applied to a virtual network function manager, and the method includes the following steps:
  • the virtual network function manager When the virtual network function manager receives the virtual machine specification adjustment operation, sending a first virtual machine specification adjustment instruction corresponding to the virtual machine specification adjustment operation to the network function virtualization infrastructure to indicate the network function virtualization infrastructure Adjust the specifications of the target virtual machine, and do not restart the target virtual machine after the specification adjustment is completed;
  • the target virtual machine after the specification adjustment is restarted based on the virtual network function, so that the adjusted specification takes effect.
  • the method before the step of migrating the service being performed by the target virtual machine to the cold standby virtual machine or the hot standby virtual machine based on the virtual network function corresponding to the target virtual machine, the method further includes:
  • the service being performed by the target virtual machine is migrated to a cold standby virtual machine or a hot standby virtual machine based on a virtual network function corresponding to the target virtual machine;
  • each of the target virtual machines is directly marked as completed service migration.
  • the target virtual machine when the target virtual machine includes multiple virtual machines of the same service type, after completing specification adjustment of the target virtual machine and service migration, restarting the specification based on the virtual network function.
  • the adjusted target virtual machine is such that the adjusted specifications take effect:
  • each of the target virtual machines After completing the specification adjustment of each of the target virtual machines, and each of the target virtual machines is marked as having completed the service migration, selecting one target virtual machine in each of the target virtual machines based on the virtual network function;
  • the selected virtual machine When the target virtual machine is selected, the selected virtual machine is migrated to the cold standby virtual machine or the hot standby virtual machine based on the virtual network function, and the selected target virtual machine service is migrated to the cold standby virtual machine. After the machine or the hot standby virtual machine, restart the selected target virtual machine based on the virtual network function;
  • the method further includes:
  • the service migrated to the cold standby virtual machine or the hot standby virtual machine is moved back to the target virtual machine based on the virtual network function corresponding to the target virtual machine.
  • the step of transmitting the first virtual machine specification adjustment instruction corresponding to the virtual machine specification adjustment operation to the network function virtualization infrastructure is performed.
  • the step of transmitting the first virtual machine specification adjustment instruction corresponding to the virtual machine specification adjustment operation to the network function virtualization infrastructure is performed.
  • the virtual machine whose load reaches the preset load is used as the target virtual machine, and the virtual machine specification adjustment operation is triggered.
  • the disclosure also provides a virtual machine specification adjustment method, which is applied to a virtual network function manager, and the method includes:
  • the service being performed by the target virtual machine is migrated to the cold standby virtual machine or the hot standby virtual machine based on the virtual network function corresponding to the target virtual machine;
  • the service migrated to the cold standby virtual machine or the hot standby virtual machine is moved back to the target virtual machine based on the virtual network function corresponding to the target virtual machine.
  • the method before the step of migrating the service being performed by the target virtual machine to the cold standby virtual machine or the hot standby virtual machine based on the virtual network function of the corresponding target virtual machine, the method further includes:
  • the service being performed by the target virtual machine is migrated to a cold standby virtual machine or a hot standby virtual machine based on a virtual network function corresponding to the target virtual machine;
  • the target virtual machine includes multiple virtual machines of the same service type
  • the plurality of target virtual machines are divided into multiple batches of target virtual machines based on the virtual network function, wherein each batch of targets A virtual machine includes one or more virtual machines.
  • the step of dividing each of the target virtual machines into a plurality of batch target virtual machines based on the virtual network function After that, it also includes:
  • the service of the selected virtual machine of the selected batch is migrated to the hot standby virtual machine or the respective cold standby virtual machine based on the virtual network function, and after the services of the target virtual machine of the selected batch are all migrated, the corresponding response is sent.
  • the service migrated to the cold standby virtual machine or the hot standby virtual machine is moved back to the target virtual machine of the selected batch based on the virtual network function, and returned to the virtual network based on the virtual network.
  • the function selects the steps of a batch of target virtual machines until the target virtual machines of each batch are selected.
  • the present disclosure further provides a virtual machine specification adjustment apparatus, which is applied to a virtual network function manager, and the apparatus includes:
  • the first adjustment module is configured to: when the virtual network function manager receives the virtual machine specification adjustment operation, send the first virtual machine specification adjustment instruction corresponding to the virtual machine specification adjustment operation to the network function virtualization infrastructure, to indicate the location
  • the network function virtualization infrastructure adjusts the specifications of the target virtual machine, and does not restart the target virtual machine after the specification adjustment is completed;
  • the first migration module is configured to migrate the service being performed by the target virtual machine to a cold standby virtual machine or a hot standby virtual machine based on a virtual network function corresponding to the target virtual machine;
  • the module is restarted, and after the specification adjustment and the service migration of the target virtual machine are completed, the target virtual machine after the specification adjustment is restarted based on the virtual network function, so that the adjusted specification takes effect.
  • the first migration module is further configured to identify whether the target virtual machine is unique; when the target virtual machine is unique, the target is based on a virtual network function corresponding to the target virtual machine The virtual machine is being migrated to the cold standby virtual machine or the hot standby virtual machine.
  • the target virtual machine includes multiple virtual machines of the same service type, each of the target virtual machines is directly marked as completed business migration.
  • the first migration module is further configured to complete specification adjustment of each of the target virtual machines in the first adjustment module, And each of the target virtual machines is marked as having completed the service migration, selecting one of the target virtual machines according to the virtual network function; when the target virtual machine is selected, based on the virtual network function The selected business of the target virtual machine is migrated to the cold standby virtual machine or the hot standby virtual machine;
  • the restarting module is further configured to restart the selected target virtual machine based on the virtual network function after the first migration module migrates the selected target virtual machine service to the cold standby virtual machine or the hot standby virtual machine;
  • the first migration module is further configured to continue to select one of the target virtual machines until each of the target virtual machines is selected.
  • the first migration module is further configured to migrate the virtual network function based on the corresponding target virtual machine to the cold standby virtual machine or the hot standby virtual machine after the target virtual machine restarts after the specification is successfully restarted. The business of the machine is moved back to the target virtual machine.
  • the apparatus further includes a triggering module configured to detect whether a load of each virtual machine reaches a preset load; and when the load of the virtual machine reaches the preset load, the load is up to the pre-load Set the virtual machine as the target virtual machine and trigger the virtual machine specification adjustment operation.
  • a triggering module configured to detect whether a load of each virtual machine reaches a preset load; and when the load of the virtual machine reaches the preset load, the load is up to the pre-load Set the virtual machine as the target virtual machine and trigger the virtual machine specification adjustment operation.
  • the present disclosure also provides a virtual machine specification adjustment apparatus, which is applied to a virtual network function manager, and the apparatus includes:
  • the second migration module is configured to: when the virtual network function manager receives the virtual machine specification adjustment operation, migrate the service being performed by the target virtual machine to the cold standby virtual machine or the hot based on the virtual network function corresponding to the target virtual machine.
  • a second adjustment module configured to send a second virtual machine specification adjustment instruction corresponding to the virtual machine specification adjustment operation to the network function virtualization infrastructure after the service migration to the target virtual machine is completed, to indicate the network
  • the function virtualization infrastructure adjusts the specifications of the target virtual machine, and restarts the target virtual machine after the specification adjustment is completed, so that the adjusted specifications take effect;
  • the second migration module is further configured to: after the target virtual machine restarts after the specification is successfully restarted, move the service migrated to the cold standby virtual machine or the hot standby virtual machine to the location based on the virtual network function of the corresponding target virtual machine.
  • the target virtual machine is further configured to: after the target virtual machine restarts after the specification is successfully restarted, move the service migrated to the cold standby virtual machine or the hot standby virtual machine to the location based on the virtual network function of the corresponding target virtual machine.
  • the target virtual machine is further configured to: after the target virtual machine restarts after the specification is successfully restarted, move the service migrated to the cold standby virtual machine or the hot standby virtual machine to the location based on the virtual network function of the corresponding target virtual machine.
  • the second migration module is further configured to: when the virtual network function manager receives the virtual machine specification adjustment operation, identify whether the target virtual machine is unique; when the target virtual machine is unique, based on Corresponding to the virtual network function of the target virtual machine, the business that the target virtual machine is carrying out is migrated to the cold standby virtual machine or the hot standby virtual machine; when the target virtual machine includes multiple virtual machines of the same service type, based on the The virtual network function divides the plurality of target virtual machines into target virtual machines of multiple batches, wherein the target virtual machine of each batch includes one or more virtual machines.
  • the second migration module is further configured to divide each of the target virtual machines into multiple based on the virtual network function when the target virtual machine includes multiple virtual machines of the same service type. After the target virtual machine of the batch, select one of the plurality of batches of the target virtual machine based on the virtual network function; and based on the virtual network function, select the target virtual machine to be launched Migrate to a hot standby virtual machine or a separate cold standby virtual machine;
  • the second adjustment module is further configured to send a second virtual machine specification adjustment instruction corresponding to the target virtual machine of the selected batch to the network function virtualization infrastructure after the services of the target virtual machine of the selected batch are all migrated, to Instructing the network function virtualization infrastructure to adjust the specification of the target virtual machine of the selected batch, and restarting the target virtual machine of the selected batch after completing the specification adjustment;
  • the second migration module is further configured to move the service migrated to the cold standby virtual machine or the hot standby virtual machine to the target virtual target of the selected batch based on the virtual network function after the target virtual machine of the selected batch is successfully restarted. And continue to select a batch of target virtual machines based on the virtual network function until the target virtual machines of each batch are selected.
  • Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement any of the methods described above.
  • the method and device for adjusting the virtual machine specification proposed by the present disclosure by using the first virtual machine specification adjustment instruction when the virtual network function manager receives the virtual machine specification adjustment operation, and adjusting the target virtual machine based on the network function virtualization infrastructure
  • the specifications enable the new virtual machine specifications to take effect at the physical level.
  • the virtual virtual network function is used to migrate the services of the target virtual machine to avoid loss of service data, thereby satisfying the overall capacity adjustment. At the same time, it will not cause business interruption, users will not drop the line, and achieve the purpose of adjusting the virtual machine specifications without affecting the operation of the virtual machine.
  • another virtual machine specification adjustment method and apparatus provided by the present disclosure, through the control flow, circumvent the influence of the automatic restart of the second virtual machine specification adjustment instruction.
  • the virtual network function corresponding to the target virtual machine Before the network function virtualization infrastructure executes the second virtual machine specification adjustment instruction, the virtual network function corresponding to the target virtual machine first migrates the current business of the target virtual machine, and then the network function virtualizes the infrastructure according to the second virtual The machine specification adjustment command is used to adjust the virtual machine specifications. Therefore, the purpose of adjusting the virtual machine specifications is achieved without affecting the operation of the virtual machine.
  • FIG. 1 is a schematic block diagram of a first example of a virtual machine specification adjustment apparatus according to the present disclosure
  • FIG. 2 is a schematic diagram showing an architecture of a network function virtualization architecture involved in the first example of the virtual machine specification adjustment apparatus of the present disclosure
  • FIG. 3 is a schematic block diagram of a fifth example of the virtual machine specification adjustment apparatus according to the present disclosure.
  • FIG. 4 is a schematic flow chart of a first example of a method for adjusting a virtual machine specification according to the present disclosure
  • FIG. 5 is a schematic flowchart diagram of a fifth example of a method for adjusting a virtual machine specification according to the present disclosure.
  • the apparatus includes:
  • the first adjustment module 10 is configured to: when the virtual network function manager receives the virtual machine specification adjustment operation, send a first virtual machine specification adjustment instruction corresponding to the virtual machine specification adjustment operation to the network function virtualization infrastructure, to indicate The network function virtualization infrastructure adjusts the specification of the target virtual machine, and does not restart the target virtual machine after completing the specification adjustment;
  • the first migration module 20 is configured to migrate the service being performed by the target virtual machine to the cold standby virtual machine or the hot standby virtual machine based on the virtual network function of the corresponding target virtual machine;
  • the restarting module 30 is configured to restart the target virtual machine after the specification adjustment based on the virtual network function after the specification adjustment and the service migration of the target virtual machine are completed, so that the adjusted specification takes effect.
  • the virtual machine specification adjustment device of the present disclosure implements the function based on the virtual network function manager in the network function virtualization architecture.
  • the following firstly introduces the network function virtualization architecture involved in the present disclosure, as shown in FIG. 2, by the following functions: Component composition:
  • the Network Function Virtualization Infrastructure provides the virtualization resources needed to support the implementation of network function virtualization, including Commercial Off The Shelf (COTS) hardware, accelerator components, and underlying hardware. Virtualization and abstraction of the software layer.
  • COTS Commercial Off The Shelf
  • the virtual network function is a software implementation of the Network Function (NF) that can run on the network function virtualization infrastructure, and may also be accompanied by an Element Management System (EMS) module to understand and manage the individual virtual Network features and their features.
  • NF Network Function
  • EMS Element Management System
  • the virtual network function is equivalent to the entity of the network node and is expected to be delivered in pure software that is free of hardware dependencies.
  • NFV Management and Orchestration includes lifecycle management of physical and/or software resources that orchestrate and support infrastructure virtualization, and lifecycle management of virtual network functions.
  • the network function virtualization management and process orchestration system focuses on virtualization-specific management tasks in the network function virtualization architecture.
  • the network function virtualization management and process orchestration system also interacts with the Operation Support System (OSS)/Business Support System (BSS) (network function virtualization external) to allow network function virtualization to be integrated.
  • OSS Operation Support System
  • BSS Business Support System
  • the above components interact through defined reference points and interfaces so that different entities can be clearly decoupled, resulting in an open and innovative network function virtualization ecosystem.
  • the reference point processing resource between the virtual network function and the network function virtualization infrastructure abstracts and virtualizes the resources, and hosts the host of the virtual network function, so that the virtual network function can not only Moving from one to the other in a network-enabled virtualization infrastructure makes it possible to ensure that different underlying hardware is selected.
  • the associated components are designed to allow reuse of existing solutions (such as cloud management systems) and also interact with existing operational support systems/business support system environments to which the network functional virtualization system is connected.
  • the orchestrator is mainly responsible for completing the network business orchestration function, and virtualizing the infrastructure resource arrangement across the network functions of multiple virtualized infrastructure managers to complete the resource orchestration function.
  • Virtual network function manager responsible for lifecycle management of virtual network function instances, each virtual network function is assumed to have an associated virtual network function manager, a virtual network function manager can be assigned to manage a single virtual network function instance or Manage multiple instances of virtual network features of the same or different types.
  • the available capabilities include: virtual network function instantiation, virtual network function configuration network function virtualization infrastructure resource, virtual network function instance update, virtual network function instance scaling, virtual network function instance related network function virtualization infrastructure performance metrics and events Collection and association with events related to virtual network function instances, assisted or automated rehabilitation of virtual network function instances, termination of virtual network function instances, integrity management of virtual network function instances throughout their lifecycle, virtualization of infrastructure for network functions, and
  • the configuration and event reporting between the element management systems serves as a global coordination and adaptation role.
  • a virtualized infrastructure manager that is responsible for controlling and managing the computing, storage, and network resources of the network function virtualization infrastructure, typically within an operator's infrastructure subdomain.
  • a virtualized infrastructure manager can specifically handle certain types of network functions to virtualize infrastructure resources or can manage multiple types of network functions to virtualize infrastructure resources. Its available capabilities include: orchestration of network functions, virtualized infrastructure resource allocation/upgrade/de-allocation/recycling, management of virtualized resources and computing, storage, and network resource association; management of hardware resources (computing, storage, networking) and software A directory of resources (such as hypervisors); collection and forwarding of performance metrics and events for virtualized resources, and more.
  • the main solution of the present disclosure is to adjust the target virtual machine specification based on the network function virtualization infrastructure when the virtual machine specification adjustment instruction is received, so that the new virtual machine specification is effective at the physical level, and the specification is adjusted at the service level.
  • the services of the target virtual machine are migrated based on the virtual network function to avoid the loss of service data. Therefore, the service capacity is not interrupted and the user does not drop the line.
  • the virtual machine specification adjustment operation is first triggered to start the entire virtual machine specification adjustment process.
  • the virtual machine specification adjustment operation can be triggered by the user through the operation interface of the network function virtualization management and process orchestration system, including the scale up/down operation.
  • the virtual network function manager When receiving the triggered virtual machine specification adjustment operation, the virtual network function manager will invoke the relevant plug-in to generate a virtual machine specification file corresponding to the received virtual machine specification adjustment operation, so as to adjust the target virtual machine specification to the virtual machine specification file requirement. Specifications.
  • the first adjustment module 10 detects whether the virtual network function manager receives the virtual machine specification adjustment operation, and after detecting that the virtual network function manager receives the virtual machine specification adjustment operation, and generates the corresponding virtual machine specification file, The first adjustment module 10 sends a first virtual machine specification adjustment instruction to the network function virtualization infrastructure to instruct the network function virtualization infrastructure to adjust the specification of the target virtual machine according to the foregoing virtual machine specification file, where the target virtual
  • the adjustments made by the machine include Scaleup/down. For example, the number of cpu cores processed by the target virtual machine is adjusted from 2 to 4. For example, the memory capacity of the target virtual machine is adjusted from 2G to 1G.
  • the first virtual machine specification adjustment instruction is a nova live-resize instruction.
  • the network function virtualization infrastructure After receiving the first virtual machine specification adjustment instruction transmitted by the first adjustment module 10, the network function virtualization infrastructure adjusts the specification of the target virtual machine according to the virtual machine specification file, and completes the specification adjustment of the target virtual machine. Thereafter, the first operational response to the successful adjustment is returned to the restart module 30. Since the first virtual machine specification adjustment instruction is the nova live-resize command, the network function virtualization infrastructure does not restart the target virtual machine after completing the specification adjustment of the target virtual machine.
  • the first migration module 20 After the first adjustment module 10 transmits the first virtual machine specification adjustment instruction to the network function virtualization infrastructure, the first migration module 20 further sends a pre-processing operation indication to the virtual network function of the corresponding target virtual machine to indicate that it is performing the virtual machine.
  • the pre-processing operation of the specification adjustment is to ensure that the business being carried out by the target virtual machine is not affected, so that the user does not perceive the upper layer operation and the business is not damaged.
  • the first migration module 20 may also send a pre-processing operation indication to the virtual of the corresponding target virtual machine while the first adjustment module 10 transmits the first virtual machine specification adjustment instruction to the network function virtualization infrastructure.
  • the network function may also send a pre-processing operation indication to the virtual network function of the corresponding target virtual machine before the first adjustment module 10 transmits the first virtual machine specification adjustment instruction to the network function virtualization infrastructure.
  • the virtual network function corresponding to the target virtual machine first updates the capacity of the target virtual machine and the template information; and then identifies whether the target virtual machine has a cold standby virtual machine;
  • the active/standby switchover of the target virtual machine and the cold standby virtual machine is performed to migrate the business being carried out by the target virtual machine to the cold standby virtual machine, and the cold standby virtual machine takes over the target virtual
  • the business being carried out by the machine when it is identified that the target virtual machine does not have a cold standby virtual machine, it is identified whether there is a hot standby virtual machine in the system, and if the existing hot standby virtual machine is identified, the business being carried out by the target virtual machine is migrated to The hot standby virtual machine takes over the business being carried out by the target virtual machine by the hot standby virtual machine.
  • the virtual network function After the service being performed by the target virtual machine is migrated to the cold standby virtual machine or the hot standby virtual machine, the virtual network function returns a second operation response that the preprocessing operation succeeds to the restarting module 30, and waits for the restarting module 30 to initiate the virtual machine specification adjustment. Post-processing operations.
  • the restarting module 30 upon receiving the first operational response returned by the network function virtualization infrastructure, and receiving the second operational response returned by the virtual network function, determines that the specification adjustment of the target virtual machine and the service migration are completed, and may be restarted. Target the virtual machine so that the adjusted specifications take effect. At this time, the restarting module 30 sends a post-processing operation indication to the aforementioned virtual network function to instruct it to perform a post-processing operation of the virtual machine specification adjustment.
  • the target virtual machine After the virtual network function receives the post-processing operation indication transmitted by the restart module 30, the target virtual machine is restarted. Since there is no ongoing service on the target virtual machine, restarting the target virtual machine does not cause the service to be lost. After the restart of the target virtual machine is completed, the adjusted specifications of the target virtual machine are valid at the physical level and the service level, that is, the specification adjustment of the target virtual machine is completed.
  • the virtual machine specification adjustment device proposed by the present disclosure adjusts the target virtual machine specification based on the network function virtualization infrastructure when the virtual network function manager receives the virtual machine specification adjustment operation, so that the new virtual machine specification is effective at the physical level.
  • the virtual virtual network function is used to migrate the service of the target virtual machine to avoid loss of service data, so that the entire capacity adjustment can be satisfied, and the service is not interrupted, and the user does not Dropped the line, the purpose of adjusting the virtual machine specifications without affecting the operation of the virtual machine.
  • the first migration module 20 is further configured to identify whether the target virtual machine is unique; when the target virtual machine is unique, the service being performed by the target virtual machine is migrated to the cold standby virtual state based on the virtual network function corresponding to the target virtual machine. If the target virtual machine includes multiple virtual machines of the same service type, the target virtual machines are directly marked as completed business migration.
  • the first migration module 20 before the migration of the service of the target virtual machine, the first migration module 20 first identifies the number of target virtual machines whose specifications are adjusted to determine whether the target virtual machine is unique.
  • the first migration module 20 sends a pre-processing operation indication to the virtual network function of the corresponding target virtual machine to indicate that the virtual machine specification is performed.
  • a pre-processing operation indication For the pre-processing operation of the adjustment, refer to the foregoing first example, and details are not described herein again.
  • the first migration module 20 When it is determined that the target virtual machine includes multiple virtual machines of the same service type (for example, the target virtual machine includes 20 virtual machines that process traffic), the first migration module 20 does not send the pre-processing operation indication to the virtual of the corresponding target virtual machine.
  • the network function directly marks each target virtual machine as completed service migration (it is easy to understand that the services of each target virtual machine are not actually migrated at this time), and the third operation response is transmitted to the restart module 30.
  • the first migration module 20 is further configured to complete the specification adjustment of each target virtual machine in the first adjustment module 10, and each target virtual machine is When the service migration is completed, a target virtual machine in each target virtual machine is selected based on the virtual network function; when the target virtual machine is selected, the selected target virtual machine is being migrated based on the virtual network function.
  • the restart module 30 is further configured to restart after the first migration module 20 migrates the selected target virtual machine service to the cold standby virtual machine or the hot standby virtual machine based on the foregoing virtual network function.
  • the selected target virtual machine; the first migration module 20 is further configured to continue to select one target virtual machine in each target virtual machine until each target virtual machine is selected.
  • the restart module 30 receives the first operational response returned by the network function virtualization infrastructure and the third operational response transmitted by the first migration module 20,
  • the post-transmission operation indication is sent to the foregoing virtual network function, and the post-processing operation indication sent at this time is different from the post-processing operation indication in the foregoing first example, that the post-processing operation indication sent at this time also carries the indication of the foregoing virtual network function.
  • the virtual network function that identifies the specification adjustment includes multiple virtual machines of the same service type, and first updates the capacity of each target virtual machine and the template information; Then, the order of the migration of each target virtual machine is not specifically limited, and may be set by a person skilled in the art according to actual needs, for example, may be sorted according to the name of each target virtual machine, and migrated) The services that are being carried out are migrated to the cold standby virtual machine or the hot standby virtual machine. For details on how to migrate, refer to the related description of the foregoing first example, and details are not described herein again.
  • the first migration module 20 is further configured to move the service migrated to the cold standby virtual machine or the hot standby virtual machine based on the virtual network function of the corresponding target virtual machine after the target virtual machine is successfully restarted. To the target virtual machine.
  • the foregoing example of the present disclosure ensures that the service being carried out by the target virtual machine is migrated to the cold standby virtual machine or the hot standby virtual machine when the target virtual machine is adjusted in the specification, thereby ensuring the uninterrupted service, but due to the business.
  • the load of the virtual machine moved into the service will increase, and the work efficiency will be reduced.
  • the target virtual machine has completed the adjustment of the specifications, and the business can be continued, and the migrated business can be moved back to the target virtual machine.
  • the restart module 30 transmits a restart completion indication to the first migration module 20 after completing the restart of the target virtual machine (including a single target virtual machine and a plurality of target virtual machines of the same service type).
  • the first migration module 20 Upon receiving the restart completion indication transmitted by the restart module 30, the first migration module 20 recognizes that the adjusted specifications of the target virtual machine are valid at the physical level and the service level, and the service of the target virtual machine can be moved. In this case, the service relocation instruction is sent to the foregoing virtual network function, and the virtual network function relocates the service that the target virtual machine migrates out, and the target virtual machine continues to carry out the business.
  • the virtual machine specification adjusting device further includes a triggering module configured to detect whether the load of each virtual machine reaches a preset load; when the load of the virtual machine reaches a preset load, the load reaches a preset load.
  • the virtual machine acts as the target virtual machine and triggers the virtual machine specification adjustment operation.
  • This example also provides a method for automatically triggering the specification adjustment, which is only described below. Others may refer to the foregoing examples, and details are not described herein again.
  • the trigger module detects each virtual machine in the system to determine whether the load of the virtual machine reaches a preset load, wherein the preset load is set to trigger a trigger threshold for performing specification adjustment, specifically
  • the setting is not limited according to the actual needs.
  • the virtual machine of the traffic it can detect whether the traffic of the virtual machine reaches the preset traffic, and the preset traffic is the virtual type.
  • the maximum traffic volume of the normal traffic service is not limited according to the actual needs.
  • the trigger module When it is detected that the load of the virtual machine reaches the preset load, it indicates that the current specification of the virtual machine is not suitable for the actual load, and the specification is adjusted, and the trigger module will load the virtual machine with the preset load at this time. Marked as the target virtual machine and triggers the virtual machine specification adjustment operation on the target virtual machine. For details on how to adjust the specifications of the target virtual machine, refer to the related descriptions of the foregoing examples, and details are not described herein.
  • the apparatus includes:
  • the second migration module 110 is configured to: when the virtual network function manager receives the virtual machine specification adjustment operation, migrate the service being performed by the target virtual machine to the cold standby virtual machine or the hot standby based on the virtual network function corresponding to the target virtual machine.
  • the second adjustment module 120 is configured to send a second virtual machine specification adjustment instruction corresponding to the virtual machine specification adjustment operation to the network function virtualization infrastructure after completing the service migration to the target virtual machine to indicate the network function virtualization infrastructure. Adjust the specifications of the target virtual machine, and restart the target virtual machine after the specification adjustment is completed, so that the adjusted specifications take effect;
  • the second migration module 110 is further configured to move the service migrated to the cold standby virtual machine or the hot standby virtual machine to the target virtual machine based on the virtual network function of the corresponding target virtual machine after the target virtual machine is successfully restarted.
  • the virtual machine specification adjustment operation is first triggered to start the entire virtual machine specification adjustment process.
  • the virtual machine specification adjustment operation can be triggered by the user through the operation interface of the network function virtualization management and process orchestration system, including the scale up/down operation.
  • the virtual network function manager When receiving the triggered virtual machine specification adjustment operation, the virtual network function manager will invoke the relevant plug-in to generate a virtual machine specification file corresponding to the received virtual machine specification adjustment operation, so as to adjust the target virtual machine specification to the virtual machine specification file requirement. Specifications.
  • the second migration module 110 detects whether the virtual network function manager receives the virtual machine specification adjustment operation, and after detecting that the virtual network function manager receives the virtual machine specification adjustment operation, and generates the corresponding virtual machine specification file, And sending a pre-processing operation indication to the virtual network function corresponding to the target virtual machine to instruct the virtual machine to perform the pre-processing operation of the virtual machine specification adjustment, so as to ensure that the service being performed by the target virtual machine is not affected, so that the user does not perceive the upper layer Operation, to achieve business lossless.
  • the virtual network function corresponding to the target virtual machine first updates the capacity of the target virtual machine and the template information; and then identifies whether the target virtual machine has a cold standby virtual machine;
  • the active/standby switchover of the target virtual machine and the cold standby virtual machine is performed to migrate the business being carried out by the target virtual machine to the cold standby virtual machine, and the cold standby virtual machine takes over the target virtual
  • the business being carried out by the machine when it is identified that the target virtual machine does not have a cold standby virtual machine, it is identified whether there is a hot standby virtual machine in the system, and if the existing hot standby virtual machine is identified, the business being carried out by the target virtual machine is migrated to The hot standby virtual machine takes over the business being carried out by the target virtual machine by the hot standby virtual machine.
  • the foregoing virtual network function returns a virtual machine specification
  • the second adjustment module 120 After receiving the virtual machine specification modification operation request returned by the foregoing virtual network function, the second adjustment module 120 identifies that the second migration module 110 has completed the service migration to the target virtual machine, and then sends the second virtual machine specification adjustment instruction to The network function virtualizes the infrastructure to instruct the network function virtualization infrastructure to adjust the specifications of the target virtual machine according to the foregoing virtual machine specification file, wherein the adjustment to the target virtual machine includes Scaleup/down, for example, the target virtual machine The number of processed CPU cores is adjusted from 2 to 4. For example, the hard disk capacity of the target virtual machine is adjusted from 2T to 1T.
  • the second virtual machine specification adjustment instruction is a nova resize instruction.
  • the network function virtualization infrastructure After receiving the second virtual machine specification adjustment instruction transmitted by the second adjustment module 120, the network function virtualization infrastructure adjusts the specification of the target virtual machine according to the virtual machine specification file, because the second virtual machine specification adjustment instruction is The nova resize command, the network function virtualization infrastructure will restart the target virtual machine after completing the specification adjustment of the target virtual machine. At this time, the adjusted specifications of the target virtual machine are effective at the physical level and the service level.
  • the network function virtualization infrastructure After completing the restart of the target virtual machine, the network function virtualization infrastructure returns a virtual machine specification modification operation response to the second migration module 110.
  • the second migration module 110 After receiving the virtual machine specification modification operation response returned by the network function virtualization infrastructure, the second migration module 110 identifies that the target virtual machine has been restarted successfully, because the foregoing specification adjusts the target virtual machine.
  • the business of the target virtual machine is migrated to the cold standby virtual machine or the hot standby virtual machine to ensure that the business is not interrupted.
  • the load of the cold standby virtual machine or the hot standby virtual machine will increase. Reduce the efficiency of the work, and at this time the target virtual machine has completed the adjustment of the specifications, and can continue to carry out the business, and then move the migrated business back to the target virtual machine.
  • the second migration module 110 forwards the received virtual machine specification modification operation response to the foregoing virtual network function, and the virtual virtual network function relocates the service that the target virtual machine migrates out, and the target virtual machine continues to carry out the service.
  • the virtual network function returns a pre-processing response to the second migration module 110 after the service of the target virtual machine is migrated back.
  • the second migration module 110 may transmit a post-processing operation indication to the foregoing virtual network function according to actual needs, and perform the post-processing operation indicated by the foregoing virtual network function, And after performing the post-processing operation, returning the post-processing response to the second migration module 110.
  • the second migration module 110 is further configured to identify whether the target virtual machine is unique when the virtual network function manager receives the virtual machine specification adjustment operation; and when the target virtual machine is unique, the virtual network based on the corresponding target virtual machine The function is to migrate the business that the target virtual machine is carrying out to the cold standby virtual machine or the hot standby virtual machine.
  • the second migration module 110 before the migration of the service of the target virtual machine, the second migration module 110 first identifies the number of target virtual machines whose specifications are adjusted to determine whether the target virtual machine is unique.
  • the second migration module 110 sends a pre-processing operation instruction to the virtual network function of the corresponding target virtual machine to indicate that the virtual machine specification is performed.
  • a pre-processing operation instruction For the pre-processing operation of the adjustment, refer to the foregoing first example, and details are not described herein again.
  • the second migration module 110 is further configured to divide each target virtual machine into multiple batches of target virtual machines based on the foregoing virtual network function when the target virtual machine includes multiple virtual machines of the same service type, where The target virtual machine of each batch includes one or more virtual machines; the target virtual machine of one of the plurality of batches is selected based on the foregoing virtual network function; and the target of the selected batch is virtualized based on the foregoing virtual network function
  • the business being carried out by the machine is migrated to the hot standby virtual machine or the respective cold standby virtual machine;
  • the second adjustment module 120 is further configured to send a second virtual machine specification adjustment instruction corresponding to the target virtual machine of the selected batch to the network function virtualization infrastructure after the migration of the selected target virtual machine is completed.
  • the network function virtualization infrastructure adjusts the specifications of the target virtual machine of the selected batch, and restarts the target virtual machine of the selected batch after completing the specification adjustment;
  • the second migration module 110 is further configured to: after the target virtual machine of the selected batch is restarted successfully, move the service migrated to the cold standby virtual machine or the hot standby virtual machine to the target virtual machine of the selected batch based on the foregoing virtual network function. And continuing to select a batch of target virtual machines based on the virtual network function until the target virtual machines of each batch are selected.
  • the second migration module 110 sends a pre-processing operation indication to the foregoing virtual network function, and the pre-processing operation sent at this time indicates the pre-processing operation with the foregoing fifth example.
  • the difference between the indications is that the pre-processing operation indication sent at this time also carries the information of each target virtual machine.
  • the foregoing virtual network function divides each target virtual machine into a plurality of target virtual machines, and the target virtual machines of the divided batches may have multiple target virtual machines, or may only include one The target virtual machine is divided according to the specific processing capability of the network function virtualization infrastructure.
  • the virtual network function selects a batch of target virtual machines, and the selected virtual machine of the selected target virtual machine is migrated to the hot standby virtual machine or the respective cold standby virtual machine, wherein During the migration, the target virtual machine of the selected batch is migrated one by one.
  • the foregoing virtual network function After completing the service migration of the target virtual machine of the selected batch, the foregoing virtual network function returns a virtual machine specification modification operation request corresponding to the target virtual machine of the selected batch to the second adjustment module 120.
  • the second adjustment module 120 After receiving the virtual machine specification modification operation request returned by the foregoing virtual network function, the second adjustment module 120 identifies that the second migration module 110 has completed the service migration of the target virtual machine of the selected batch, and sends the corresponding selected batch at this time.
  • the second virtual machine specification adjustment instruction of the target virtual machine is added to the network function virtualization infrastructure to instruct the network function virtualization infrastructure to adjust the specifications of the target virtual machine of the selected batch according to the foregoing virtual machine specification file, wherein,
  • the adjustment of the target virtual machine includes Scaleup/down. For example, the number of cpu cores processed by the target virtual machine is adjusted from 2 to 4. For example, the hard disk capacity of the target virtual machine is adjusted from 2T to 1T.
  • the second virtual machine specification adjustment instruction is a nova resize instruction.
  • the network function virtualization infrastructure After receiving the second virtual machine specification adjustment instruction transmitted by the second adjustment module 120, the network function virtualization infrastructure adjusts the specification of the target virtual machine of the selected batch according to the virtual machine specification file, because the second virtual machine The specification adjustment command is the nova resize command. After the network function virtualization infrastructure completes the specification adjustment of the target virtual machine of the selected batch, the target virtual machine of the selected batch will be restarted. At this time, the adjusted specifications of the target virtual machine are Effective at the physical level and at the business level.
  • the network function virtualization infrastructure After the restart of the target virtual machine of the selected batch is completed, the network function virtualization infrastructure returns a virtual machine specification modification operation response corresponding to the target virtual machine of the selected batch to the second migration module 110.
  • the second migration module 110 After receiving the virtual machine specification modification operation response returned by the network function virtualization infrastructure corresponding to the target virtual machine of the selected batch, the second migration module 110 identifies that the target virtual machine of the selected batch has been restarted successfully, due to the present When the specification of the target virtual machine is adjusted, the business of the target virtual machine is migrated to the cold standby virtual machine or the hot standby virtual machine to ensure that the service is not interrupted. However, due to the moving in, the cold standby virtual machine Or the load of the hot standby virtual machine will increase, and the working efficiency will be reduced. At this time, the target virtual machine of the selected batch has been adjusted in specifications, and the business can be continued, and the migrated business can be moved back to the selected batch. The target virtual machine.
  • the second migration module 110 forwards the received virtual machine specification modification operation response corresponding to the selected batch to the foregoing virtual network function, and the virtual network function moves the service of the selected batch of the target virtual machine to be moved back.
  • the target virtual machine of the batch continues to carry on the business.
  • the virtual network function continues to select a batch of target virtual machines until each batch of target virtual machines is selected, and the adjusted specifications of the target virtual machines are effective at the physical level and the service level, and the migrated services are moved. return.
  • the virtual network function returns a pre-processing response to the second migration module 110 after the services of the batches of virtual machines migrated out of the batch are all moved back.
  • the second migration module 110 may transmit a post-processing operation indication to the foregoing virtual network function according to actual needs, and perform the post-processing operation indicated by the foregoing virtual network function, And after performing the post-processing operation, returning the post-processing response to the second migration module 110.
  • the present disclosure also provides a virtual machine specification adjustment method, which is executed by the virtual machine specification adjustment apparatus shown in FIG. 1 .
  • the virtual machine specification is adjusted corresponding to the foregoing.
  • the virtual machine specification adjustment method includes:
  • Step S10 When the virtual network function manager receives the virtual machine specification adjustment operation, send a first virtual machine specification adjustment instruction corresponding to the virtual machine specification adjustment operation to the network function virtualization infrastructure, to indicate that the network function is virtualized.
  • the infrastructure adjusts the specifications of the target virtual machine and does not restart the target virtual machine after the specification adjustment is completed;
  • Step S20 The service that is being carried out by the target virtual machine is migrated to the cold standby virtual machine or the hot standby virtual machine based on the virtual network function corresponding to the target virtual machine.
  • step S30 after the specification adjustment of the target virtual machine and the service migration are completed, the target virtual machine adjusted by the specification is restarted based on the foregoing virtual network function, so that the adjusted specification takes effect.
  • the method disclosed in the present disclosure is executed by the virtual machine specification adjusting device shown in FIG. 1 , and the virtual machine specification adjusting device implements functions based on the virtual network function manager in the network function virtualization architecture.
  • the following firstly refers to the network function involved in the present disclosure.
  • the virtualization architecture is introduced, as shown in Figure 2, consisting of the following functional components:
  • NFVI The NFV Infrastructure
  • COTS Commercial Off The Shelf
  • the virtual network function is a software implementation of the Network Function (NF) that can run on the network function virtualization infrastructure, and may also be accompanied by an Element Management System (EMS) module to understand and manage the individual virtual Network features and their features.
  • NF Network Function
  • EMS Element Management System
  • the virtual network function is equivalent to the entity of the network node and is expected to be delivered in pure software that is free of hardware dependencies.
  • NFV Management and Orchestration includes lifecycle management of physical and/or software resources that orchestrate and support infrastructure virtualization, and lifecycle management of virtual network functions.
  • the network function virtualization management and process orchestration system focuses on virtualization-specific management tasks in the network function virtualization architecture.
  • the network function virtualization management and process orchestration system also interacts with the Operation Support System (OSS)/Business Support System (BSS) (network function virtualization external) to allow network function virtualization to be integrated.
  • OSS Operation Support System
  • BSS Business Support System
  • the above components interact through defined reference points and interfaces so that different entities can be clearly decoupled, resulting in an open and innovative network function virtualization ecosystem.
  • the reference point processing resource between the virtual network function and the network function virtualization infrastructure abstracts and virtualizes the resources, and hosts the host of the virtual network function, so that the virtual network function can not only Moving from one to the other in a network-enabled virtualization infrastructure makes it possible to ensure that different underlying hardware is selected.
  • the associated components are designed to allow reuse of existing solutions (such as cloud management systems) and also interact with existing operational support systems/business support system environments to which the network functional virtualization systems are connected.
  • the orchestrator is mainly responsible for completing the network business orchestration function, and virtualizing the infrastructure resource arrangement across the network functions of multiple virtualized infrastructure managers to complete the resource orchestration function.
  • Virtual network function manager responsible for lifecycle management of virtual network function instances, each virtual network function is assumed to have an associated virtual network function manager, a virtual network function manager can be assigned to manage a single virtual network function instance or Manage multiple instances of virtual network features of the same or different types.
  • the available capabilities include: virtual network function instantiation, virtual network function configuration network function virtualization infrastructure resource, virtual network function instance update, virtual network function instance scaling, virtual network function instance related network function virtualization infrastructure performance metrics and events Collection and association with events related to virtual network function instances, assisted or automated rehabilitation of virtual network function instances, termination of virtual network function instances, integrity management of virtual network function instances throughout their lifecycle, virtualization of infrastructure for network functions, and
  • the configuration and event reporting between the element management systems serves as a global coordination and adaptation role.
  • a virtualized infrastructure manager that is responsible for controlling and managing the computing, storage, and network resources of the network function virtualization infrastructure, typically within an operator's infrastructure subdomain.
  • a virtualized infrastructure manager can specifically handle certain types of network functions to virtualize infrastructure resources or can manage multiple types of network functions to virtualize infrastructure resources. Its available capabilities include: orchestration of network functions, virtualized infrastructure resource allocation/upgrade/de-allocation/recycling, management of virtualized resources and computing, storage, and network resource association; management of hardware resources (computing, storage, networking) and software A directory of resources (such as hypervisors); collection and forwarding of performance metrics and events for virtualized resources, and more.
  • the main solution of the present disclosure is to adjust the target virtual machine specification based on the network function virtualization infrastructure when the virtual machine specification adjustment instruction is received, so that the new virtual machine specification is effective at the physical level, and the specification is adjusted at the service level.
  • the services of the target virtual machine are migrated based on the virtual network function to avoid the loss of service data. Therefore, the service capacity is not interrupted and the user does not drop the line.
  • the virtual machine specification adjustment operation is first triggered to start the entire virtual machine specification adjustment process.
  • the virtual machine specification adjustment operation can be triggered by the user through the operation interface of the network function virtualization management and process orchestration system, including the scale up/down operation.
  • the virtual network function manager When receiving the triggered virtual machine specification adjustment operation, the virtual network function manager will invoke the relevant plug-in to generate a virtual machine specification file corresponding to the received virtual machine specification adjustment operation, so as to adjust the target virtual machine specification to the virtual machine specification file requirement. Specifications.
  • the first adjustment module 10 detects whether the virtual network function manager receives the virtual machine specification adjustment operation, and after detecting that the virtual network function manager receives the virtual machine specification adjustment operation, and generates the corresponding virtual machine specification file, The first adjustment module 10 sends a first virtual machine specification adjustment instruction to the network function virtualization infrastructure to instruct the network function virtualization infrastructure to adjust the specification of the target virtual machine according to the foregoing virtual machine specification file, where the target virtual
  • the adjustments made by the machine include Scaleup/down. For example, the number of cpu cores processed by the target virtual machine is adjusted from 2 to 4. For example, the memory capacity of the target virtual machine is adjusted from 2G to 1G.
  • the first virtual machine specification adjustment instruction is a nova live-resize instruction.
  • the network function virtualization infrastructure After receiving the first virtual machine specification adjustment instruction transmitted by the first adjustment module 10, the network function virtualization infrastructure adjusts the specification of the target virtual machine according to the virtual machine specification file, and completes the specification adjustment of the target virtual machine. Thereafter, the first operational response to the successful adjustment is returned to the restart module 30. Since the first virtual machine specification adjustment instruction is the nova live-resize command, the network function virtualization infrastructure does not restart the target virtual machine after completing the specification adjustment of the target virtual machine.
  • the first migration module 20 After the first adjustment module 10 transmits the first virtual machine specification adjustment instruction to the network function virtualization infrastructure, the first migration module 20 further sends a pre-processing operation indication to the virtual network function of the corresponding target virtual machine to indicate that it is performing the virtual machine.
  • the pre-processing operation of the specification adjustment is to ensure that the business being carried out by the target virtual machine is not affected, so that the user does not perceive the upper layer operation and the business is not damaged.
  • the first migration module 20 may also send a pre-processing operation indication to the virtual of the corresponding target virtual machine while the first adjustment module 10 transmits the first virtual machine specification adjustment instruction to the network function virtualization infrastructure.
  • the network function may also send a pre-processing operation indication to the virtual network function of the corresponding target virtual machine before the first adjustment module 10 transmits the first virtual machine specification adjustment instruction to the network function virtualization infrastructure.
  • the virtual network function corresponding to the target virtual machine first updates the capacity of the target virtual machine and the template information; and then identifies whether the target virtual machine has a cold standby virtual machine;
  • the active/standby switchover of the target virtual machine and the cold standby virtual machine is performed to migrate the business being carried out by the target virtual machine to the cold standby virtual machine, and the cold standby virtual machine takes over the target virtual
  • the business being carried out by the machine when it is identified that the target virtual machine does not have a cold standby virtual machine, it is identified whether there is a hot standby virtual machine in the system, and if the existing hot standby virtual machine is identified, the business being carried out by the target virtual machine is migrated to The hot standby virtual machine takes over the business being carried out by the target virtual machine by the hot standby virtual machine.
  • the virtual network function After the service being performed by the target virtual machine is migrated to the cold standby virtual machine or the hot standby virtual machine, the virtual network function returns a second operation response that the preprocessing operation succeeds to the restarting module 30, and waits for the restarting module 30 to initiate the virtual machine specification adjustment. Post-processing operations.
  • the restarting module 30 upon receiving the first operational response returned by the network function virtualization infrastructure, and receiving the second operational response returned by the virtual network function, determines that the specification adjustment of the target virtual machine and the service migration are completed, and may be restarted. Target the virtual machine so that the adjusted specifications take effect. At this time, the restarting module 30 sends a post-processing operation indication to the aforementioned virtual network function to instruct it to perform a post-processing operation of the virtual machine specification adjustment.
  • the target virtual machine After the virtual network function receives the post-processing operation indication transmitted by the restart module 30, the target virtual machine is restarted. Since there is no ongoing service on the target virtual machine, restarting the target virtual machine does not cause the service to be lost. After the restart of the target virtual machine is completed, the adjusted specifications of the target virtual machine are valid at the physical level and the service level, that is, the specification adjustment of the target virtual machine is completed.
  • the virtual machine specification adjustment method proposed by the present disclosure adjusts the target virtual machine specification based on the network function virtualization infrastructure when the virtual network function manager receives the virtual machine specification adjustment operation, so that the new virtual machine specification is effective at the physical level.
  • the virtual virtual network function is used to migrate the service of the target virtual machine to avoid loss of service data, so that the entire capacity adjustment can be satisfied, and the service is not interrupted, and the user does not Dropped the line, the purpose of adjusting the virtual machine specifications without affecting the operation of the virtual machine.
  • the method further includes:
  • step S20 is performed;
  • each target virtual machine is directly marked as completed business migration.
  • the first migration module 20 before the migration of the service of the target virtual machine, the first migration module 20 first identifies the number of target virtual machines whose specifications are adjusted to determine whether the target virtual machine is unique.
  • the first migration module 20 sends a pre-processing operation indication to the virtual network function of the corresponding target virtual machine to indicate that the virtual machine specification is performed.
  • a pre-processing operation indication For the pre-processing operation of the adjustment, refer to the foregoing first example, and details are not described herein again.
  • the first migration module 20 When it is determined that the target virtual machine includes multiple virtual machines of the same service type (for example, the target virtual machine includes 20 virtual machines that process traffic), the first migration module 20 does not send the pre-processing operation indication to the virtual of the corresponding target virtual machine.
  • the network function directly marks each target virtual machine as completed service migration (it is easy to understand that the services of each target virtual machine are not actually migrated at this time), and the third operation response is transmitted to the restart module 30.
  • step S30 when the target virtual machine is not unique, step S30 includes:
  • each target virtual machine is marked as completed business migration, one target virtual machine in each target virtual machine is selected based on the virtual network function;
  • the selected virtual machine When the target virtual machine is selected, the selected virtual machine is migrated to the cold standby virtual machine or the hot standby virtual machine based on the virtual network function, and the selected target virtual machine service is migrated to the cold standby virtual machine. After the machine or the hot standby virtual machine, restart the selected target virtual machine based on the virtual network function;
  • the first migration module 20 is further configured to complete the specification adjustment of each target virtual machine in the first adjustment module 10, and each target virtual machine is When the service migration is completed, a target virtual machine in each target virtual machine is selected based on the virtual network function; when the target virtual machine is selected, the selected target virtual machine is being migrated based on the virtual network function.
  • the restart module 30 is further configured to restart after the first migration module 20 migrates the selected target virtual machine service to the cold standby virtual machine or the hot standby virtual machine based on the foregoing virtual network function.
  • the selected target virtual machine; the first migration module 20 is further configured to continue to select one target virtual machine in each target virtual machine until each target virtual machine is selected.
  • the restart module 30 receives the first operational response returned by the network function virtualization infrastructure and the third operational response transmitted by the first migration module 20,
  • the post-transmission operation indication is sent to the foregoing virtual network function, and the post-processing operation indication sent at this time is different from the post-processing operation indication in the foregoing first example, that the post-processing operation indication sent at this time also carries the indication of the foregoing virtual network function.
  • the virtual network function that identifies the specification adjustment includes multiple virtual machines of the same service type, and first updates the capacity of each target virtual machine and the template information; Then, the order of the migration of each target virtual machine is not specifically limited, and may be set by a person skilled in the art according to actual needs, for example, may be sorted according to the name of each target virtual machine, and migrated) The services that are being carried out are migrated to the cold standby virtual machine or the hot standby virtual machine. For details on how to migrate, refer to the related description of the foregoing first example, and details are not described herein again.
  • the method further includes:
  • the service migrated to the cold standby virtual machine or the hot standby virtual machine is moved back to the target virtual machine based on the virtual network function of the corresponding target virtual machine.
  • the foregoing example of the present disclosure ensures that the service being carried out by the target virtual machine is migrated to the cold standby virtual machine or the hot standby virtual machine when the target virtual machine is adjusted in the specification, thereby ensuring the uninterrupted service, but due to the business.
  • the migration of the cold standby virtual machine or the hot standby virtual machine will increase and reduce the working efficiency.
  • the target virtual machine has completed the adjustment of the specifications, and can continue to carry out the business, and the moved out business can be moved back. To the target virtual machine.
  • the restart module 30 transmits a restart completion indication to the first migration module 20 after completing the restart of the target virtual machine (including a single target virtual machine and multiple target virtual machines of the same service type).
  • the first migration module 20 Upon receiving the restart completion indication transmitted by the restart module 30, the first migration module 20 recognizes that the adjusted specifications of the target virtual machine are valid at the physical level and the service level, and the service of the target virtual machine can be moved. In this case, the service relocation instruction is sent to the foregoing virtual network function, and the virtual network function relocates the service that the target virtual machine migrates out, and the target virtual machine continues to carry out the business.
  • a fourth example of the virtual machine specification adjustment method of the present disclosure is proposed.
  • the method further includes:
  • the virtual machine whose load reaches the preset load is taken as the target virtual machine, and the virtual machine specification adjustment operation is triggered.
  • This example also provides a method for automatically triggering the specification adjustment, which is only described below. Others may refer to the foregoing examples, and details are not described herein again.
  • the virtual machine specification adjustment apparatus further includes a trigger module that detects each virtual machine in the system to determine whether the load of the virtual machine reaches a preset load, wherein the preset load is set.
  • the trigger threshold for triggering the specification adjustment can be set according to the actual needs.
  • the disclosure does not specifically limit. For example, for the virtual machine of the traffic, it can detect whether the traffic of the virtual machine reaches the preset traffic.
  • the amount of traffic is the maximum amount of traffic for which the virtual machine normally performs traffic.
  • the trigger module When it is detected that the load of the virtual machine reaches the preset load, it indicates that the current specification of the virtual machine is not suitable for the actual load, and the specification is adjusted, and the trigger module will load the virtual machine with the preset load at this time. Marked as the target virtual machine and triggers the virtual machine specification adjustment operation on the target virtual machine. For details on how to adjust the specifications of the target virtual machine, refer to the related descriptions of the foregoing examples, and details are not described herein.
  • a fifth example of the virtual machine specification adjustment method of the present disclosure is proposed.
  • the method includes:
  • Step S110 When the virtual network function manager receives the virtual machine specification adjustment operation, the service that the target virtual machine is carrying out is migrated to the cold standby virtual machine or the hot standby virtual machine based on the virtual network function corresponding to the target virtual machine.
  • Step S120 After completing the service migration to the target virtual machine, send a second virtual machine specification adjustment instruction corresponding to the virtual machine specification adjustment operation to the network function virtualization infrastructure, to indicate that the network function virtualization infrastructure is on the target virtual machine.
  • the specifications are adjusted, and the target virtual machine is restarted after the specification adjustment is completed, so that the adjusted specifications take effect;
  • step S130 after the target virtual machine is successfully restarted, the service migrated to the cold standby virtual machine or the hot standby virtual machine is moved back to the target virtual machine based on the virtual network function of the corresponding target virtual machine.
  • the method provided by the example of the present disclosure is performed by the virtual machine specification adjusting device shown in FIG.
  • the virtual machine specification adjustment operation is first triggered to start the entire virtual machine specification adjustment process.
  • the virtual machine specification adjustment operation can be operated by the user through the network function virtualization management and the operation interface of the process orchestration system. Trigger, including Scale up/down operations.
  • the virtual network function manager When receiving the triggered virtual machine specification adjustment operation, the virtual network function manager will invoke the relevant plug-in to generate a virtual machine specification file corresponding to the received virtual machine specification adjustment operation, so as to adjust the target virtual machine specification to the virtual machine specification file requirement. Specifications.
  • the second migration module 110 detects whether the virtual network function manager receives the virtual machine specification adjustment operation, and after detecting that the virtual network function manager receives the virtual machine specification adjustment operation, and generates the corresponding virtual machine specification file, And sending a pre-processing operation indication to the virtual network function corresponding to the target virtual machine to instruct the virtual machine to perform the pre-processing operation of the virtual machine specification adjustment, so as to ensure that the service being performed by the target virtual machine is not affected, so that the user does not perceive the upper layer Operation, to achieve business lossless.
  • the virtual network function corresponding to the target virtual machine first updates the capacity of the target virtual machine and the template information; and then identifies whether the target virtual machine has a cold standby virtual machine;
  • the active/standby switchover of the target virtual machine and the cold standby virtual machine is performed to migrate the business being carried out by the target virtual machine to the cold standby virtual machine, and the cold standby virtual machine takes over the target virtual
  • the business being carried out by the machine when it is identified that the target virtual machine does not have a cold standby virtual machine, it is identified whether there is a hot standby virtual machine in the system, and if the existing hot standby virtual machine is identified, the business being carried out by the target virtual machine is migrated to The hot standby virtual machine takes over the business being carried out by the target virtual machine by the hot standby virtual machine.
  • the foregoing virtual network function returns a virtual machine specification
  • the second adjustment module 120 After receiving the virtual machine specification modification operation request returned by the foregoing virtual network function, the second adjustment module 120 identifies that the second migration module 110 has completed the service migration to the target virtual machine, and then sends the second virtual machine specification adjustment instruction to The network function virtualizes the infrastructure to instruct the network function virtualization infrastructure to adjust the specifications of the target virtual machine according to the foregoing virtual machine specification file, wherein the adjustment to the target virtual machine includes Scaleup/down, for example, the target virtual machine The number of processed CPU cores is adjusted from 2 to 4. For example, the hard disk capacity of the target virtual machine is adjusted from 2T to 1T.
  • the second virtual machine specification adjustment instruction is a nova resize instruction.
  • the network function virtualization infrastructure After receiving the second virtual machine specification adjustment instruction transmitted by the second adjustment module 120, the network function virtualization infrastructure adjusts the specification of the target virtual machine according to the virtual machine specification file, because the second virtual machine specification adjustment instruction is The nova resize command, the network function virtualization infrastructure will restart the target virtual machine after completing the specification adjustment of the target virtual machine. At this time, the adjusted specifications of the target virtual machine are effective at the physical level and the service level.
  • the network function virtualization infrastructure After completing the restart of the target virtual machine, the network function virtualization infrastructure returns a virtual machine specification modification operation response to the second migration module 110.
  • the second migration module 110 After receiving the virtual machine specification modification operation response returned by the network function virtualization infrastructure, the second migration module 110 identifies that the target virtual machine has been restarted successfully, because the foregoing specification adjusts the target virtual machine.
  • the business of the target virtual machine is migrated to the cold standby virtual machine or the hot standby virtual machine to ensure that the business is not interrupted.
  • the load of the cold standby virtual machine or the hot standby virtual machine will increase. Reduce the efficiency of the work, and at this time the target virtual machine has completed the adjustment of the specifications, and can continue to carry out the business, and then move the migrated business back to the target virtual machine.
  • the second migration module 110 forwards the received virtual machine specification modification operation response to the foregoing virtual network function, and the virtual virtual network function relocates the service that the target virtual machine migrates out, and the target virtual machine continues to carry out the service.
  • the virtual network function returns a pre-processing response to the second migration module 110 after the service of the target virtual machine is migrated back.
  • the second migration module 110 may transmit a post-processing operation indication to the foregoing virtual network function according to actual needs, and perform the post-processing operation indicated by the foregoing virtual network function, And after performing the post-processing operation, returning the post-processing response to the second migration module 110.
  • the method further includes:
  • the virtual network function manager When the virtual network function manager receives the virtual machine specification adjustment operation, it identifies whether the target virtual machine is unique;
  • step S110 is performed.
  • the second migration module 110 before the migration of the service of the target virtual machine, the second migration module 110 first identifies the number of target virtual machines whose specifications are adjusted to determine whether the target virtual machine is unique.
  • the second migration module 110 sends a pre-processing operation instruction to the virtual network function of the corresponding target virtual machine to indicate that the virtual machine specification is performed.
  • a pre-processing operation instruction For the pre-processing operation of the adjustment, refer to the foregoing first example, and details are not described herein again.
  • the method further includes:
  • the target virtual machine When the target virtual machine includes multiple virtual machines of the same service type, the target virtual machine is divided into multiple batches of target virtual machines based on the foregoing virtual network function, wherein the target virtual machine of each batch includes one or more Virtual machine
  • the services of the selected virtual machine of the selected batch are migrated to the hot standby virtual machine or the respective cold standby virtual machine, and after the services of the target virtual machine of the selected batch are all migrated, the corresponding correspondence is sent.
  • the service migrated to the cold standby virtual machine or the hot standby virtual machine is moved back to the target virtual machine of the selected batch based on the foregoing virtual network function, and continues to be based on the virtual network function. Select a batch of target virtual machines until the target virtual machines for each batch are selected.
  • the second migration module 110 sends a pre-processing operation indication to the foregoing virtual network function, and the pre-processing operation sent at this time indicates the pre-processing operation with the foregoing fifth example.
  • the difference between the indications is that the pre-processing operation indication sent at this time also carries the information of each target virtual machine.
  • the foregoing virtual network function divides each target virtual machine into a plurality of target virtual machines, and the target virtual machines of the divided batches may have multiple target virtual machines, or may only include one The target virtual machine is divided according to the specific processing capability of the network function virtualization infrastructure.
  • the virtual network function selects a batch of target virtual machines, and the selected virtual machine of the selected target virtual machine is migrated to the hot standby virtual machine or the respective cold standby virtual machine, wherein During the migration, the target virtual machine of the selected batch is migrated one by one.
  • the foregoing virtual network function After completing the service migration of the target virtual machine of the selected batch, the foregoing virtual network function returns a virtual machine specification modification operation request corresponding to the target virtual machine of the selected batch to the second adjustment module 120.
  • the second adjustment module 120 After receiving the virtual machine specification modification operation request returned by the foregoing virtual network function, the second adjustment module 120 identifies that the second migration module 110 has completed the service migration of the target virtual machine of the selected batch, and sends the corresponding selected batch at this time.
  • the second virtual machine specification adjustment instruction of the target virtual machine is added to the network function virtualization infrastructure to instruct the network function virtualization infrastructure to adjust the specifications of the target virtual machine of the selected batch according to the foregoing virtual machine specification file, wherein,
  • the adjustment of the target virtual machine includes Scaleup/down. For example, the number of cpu cores processed by the target virtual machine is adjusted from 2 to 4. For example, the hard disk capacity of the target virtual machine is adjusted from 2T to 1T.
  • the second virtual machine specification adjustment instruction is a nova resize instruction.
  • the network function virtualization infrastructure After receiving the second virtual machine specification adjustment instruction transmitted by the second adjustment module 120, the network function virtualization infrastructure adjusts the specification of the target virtual machine of the selected batch according to the virtual machine specification file, because the second virtual machine The specification adjustment command is the nova resize command. After the network function virtualization infrastructure completes the specification adjustment of the target virtual machine of the selected batch, the target virtual machine of the selected batch will be restarted. At this time, the adjusted specifications of the target virtual machine are Effective at the physical level and at the business level.
  • the network function virtualization infrastructure After the restart of the target virtual machine of the selected batch is completed, the network function virtualization infrastructure returns a virtual machine specification modification operation response corresponding to the target virtual machine of the selected batch to the second migration module 110.
  • the second migration module 110 After receiving the virtual machine specification modification operation response returned by the network function virtualization infrastructure corresponding to the target virtual machine of the selected batch, the second migration module 110 identifies that the target virtual machine of the selected batch has been restarted successfully, due to the present When the specification of the target virtual machine is adjusted, the business of the target virtual machine is migrated to the cold standby virtual machine or the hot standby virtual machine to ensure that the service is not interrupted. However, due to the moving in, the cold standby virtual machine Or the load of the hot standby virtual machine will increase, and the working efficiency will be reduced. At this time, the target virtual machine of the selected batch has been adjusted in specifications, and the business can be continued, and the migrated business can be moved back to the selected batch. The target virtual machine.
  • the second migration module 110 forwards the received virtual machine specification modification operation response corresponding to the selected batch to the foregoing virtual network function, and the virtual network function moves the service of the selected batch of the target virtual machine to be moved back.
  • the target virtual machine of the batch continues to carry on the business.
  • the virtual network function continues to select a batch of target virtual machines until each batch of target virtual machines is selected, and the adjusted specifications of the target virtual machines are effective at the physical level and the service level, and the migrated services are moved. return.
  • the virtual network function returns a pre-processing response to the second migration module 110 after the services of the batches of virtual machines migrated out of the batch are all moved back.
  • the second migration module 110 may transmit a post-processing operation indication to the foregoing virtual network function according to actual needs, and perform the post-processing operation indicated by the foregoing virtual network function, And after performing the post-processing operation, returning the post-processing response to the second migration module 110.
  • Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement any of the methods described above.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
  • the disclosure provides a virtual machine specification adjustment method and device, which uses a first virtual machine specification adjustment instruction or a second virtual machine specification adjustment instruction to instruct a network function virtualization infrastructure to adjust a target virtual machine specification, and virtualizes the network function.
  • the ongoing business of the target virtual machine is migrated to the cold standby virtual machine or the hot standby virtual machine before the target virtual machine is restarted.
  • the loss of the service data is avoided, and the entire capacity adjustment is performed, the service is not interrupted, and the user does not drop the line, thereby realizing the adjustment of the virtual machine specification without affecting the operation of the virtual machine. the goal of.

Landscapes

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

Abstract

提供了虚机规格调整方法及装置,通过采用第一虚机规格调整指令或第二虚机规格调整指令指示网络功能虚拟化基础设施对目标虚机的规格进行调整,并在网络功能虚拟化基础设施完成调整后,在对目标虚机进行重启之前,将目标虚机正在开展的业务迁移至冷备虚机或热备虚机。

Description

虚机规格调整方法及装置 技术领域
本公开涉及网络功能虚拟化领域,尤其涉及一种虚机规格调整方法及装置。
背景技术
网络虚拟化技术因为可以节省资源,降低设备成本和运维成本,已经被运营商所青睐,目前也在很多地方进行了应用。当因为规划的历史原因,而导致之前的局容量不能满足用户增加的现时需要时,要对整局容量进行调整,将整局容量扩大。目前有扩容以及弹缩机制可以满足这种需求。
然而,上述的扩容以及弹缩机制虽然可以满足局容量扩大的需求,但是虚机规格还限制在原来的基础之上,会导致虚机个数变多,在多虚机的情况下,公共资源(如操作系统占用的处理资源和内存资源)就会造成严重浪费。
此外,还有一种通过改变单个虚机的规格的方式,来提高单个虚机的处理能力,同时减少虚机个数。但该方法有个缺点是,虚机会自动重启。这样会导致虚机开展的业务不受控制,如果是关键虚机的规格发生变化,比如主处理器,这种重启会导致所有业务数据丢失,影响在线用户体验。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本公开提供两种虚机规格调整方法及装置。
本公开提供一种虚机规格调整方法,应用于虚拟网络功能管理器,该方法包括以下步骤:
在虚拟网络功能管理器接收到虚机规格调整操作时,发送对应所述虚机规格调整操作的第一虚机规格调整指令至网络功能虚拟化基础设施,以指示所述网络功能虚拟化基础设施对目标虚机的规格进行调整,并在完成规格调 整后不重启所述目标虚机;
基于对应所述目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
在完成对所述目标虚机的规格调整以及业务迁移之后,基于所述虚拟网络功能重启规格调整后的所述目标虚机,以使得调整后的规格生效。
在示例性实施例中,所述基于对应所述目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机的步骤之前,还包括:
识别所述目标虚机是否唯一;
在所述目标虚机唯一时,基于对应所述目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
在所述目标虚机包括相同业务类型的多个虚机时,直接将各所述目标虚机标记为已完成业务迁移。
在示例性实施例中,在所述目标虚机包括相同业务类型的多个虚机时,所述在完成对所述目标虚机的规格调整以及业务迁移之后,基于所述虚拟网络功能重启规格调整后的所述目标虚机,以使得调整后的规格生效的步骤包括:
在完成对各所述目标虚机的规格调整,且各所述目标虚机被标记为已完成业务迁移时,基于所述虚拟网络功能选中各所述目标虚机中的一个目标虚机;
在选中目标虚机时,基于所述虚拟网络功能将选中的目标虚机正在开展的业务迁移至冷备虚机或热备虚机,并在将选中的目标虚机的业务迁移至冷备虚机或热备虚机之后,基于所述虚拟网络功能重启选中的目标虚机;
返回选中各所述目标虚机中的一个目标虚机的步骤,直至各所述目标虚机均被选中。
在示例性实施例中,所述基于所述虚拟网络功能重启规格调整后的所述目标虚机的步骤之后,还包括:
在规格调整后的所述目标虚机重启成功后,基于对应目标虚机的虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至所述目标虚机。
在示例性实施例中,所述在虚拟网络功能管理器接收到虚机规格调整操作时,发送对应所述虚机规格调整操作的第一虚机规格调整指令至网络功能虚拟化基础设施的步骤之前,还包括:
侦测各虚机的负载是否达到预设负载;
在有虚机的负载达到所述预设负载时,将负载达到所述预设负载的虚机作为目标虚机,并触发虚机规格调整操作。
本公开还提供一种虚机规格调整方法,应用于虚拟网络功能管理器,该方法包括:
在虚拟网络功能管理器接收到虚机规格调整操作时,基于对应目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
在完成对所述目标虚机的业务迁移之后,发送对应所述虚机规格调整操作的第二虚机规格调整指令至网络功能虚拟化基础设施,以指示所述网络功能虚拟化基础设施对所述目标虚机的规格进行调整,并在完成规格调整后重启所述目标虚机,以使得调整后的规格生效;
在规格调整后的所述目标虚机重启成功后,基于对应目标虚机的虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至所述目标虚机。
在示例性实施例中,所述基于对应目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机的步骤之前,还包括:
在虚拟网络功能管理器接收到虚机规格调整操作时,识别所述目标虚机是否唯一;
在所述目标虚机唯一时,基于对应目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
在所述目标虚机包括相同业务类型的多个虚机时,基于所述虚拟网络功能将所述多个目标虚机划分为多个批次的目标虚机,其中,每个批次的目标虚机包括一个或多个虚机。
在示例性实施例中,在所述目标虚机包括相同业务类型的多个虚机时,在基于所述虚拟网络功能将各所述目标虚机划分为多个批次的目标虚机的 步骤之后,还包括:
基于所述虚拟网络功能选中所述多个批次中的一批次的目标虚机;
基于所述虚拟网络功能将选中批次的目标虚机正在开展的业务迁移至热备虚机或者各自的冷备虚机,并在选中批次的目标虚机的业务均迁移完成之后,发送对应选中批次的目标虚机的第二虚机规格调整指令至网络功能虚拟化基础设施,以指示所述网络功能虚拟化基础设施对选中批次的目标虚机的规格进行调整,并在完成规格调整后重启选中批次的目标虚机;
在选中批次的目标虚机重启成功后,基于所述虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至选中批次的目标虚机,并返回基于所述虚拟网络功能选中一批次的目标虚机的步骤,直至各批次的目标虚机均被选中。
此外,为实现上述目的,本公开还提供一种虚机规格调整装置,应用于虚拟网络功能管理器,该装置包括:
第一调整模块,设置为在虚拟网络功能管理器接收到虚机规格调整操作时,发送对应所述虚机规格调整操作的第一虚机规格调整指令至网络功能虚拟化基础设施,以指示所述网络功能虚拟化基础设施对目标虚机的规格进行调整,并在完成规格调整后不重启所述目标虚机;
第一迁移模块,设置为基于对应所述目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
重启模块,设置为在完成对所述目标虚机的规格调整以及业务迁移之后,基于所述虚拟网络功能重启规格调整后的所述目标虚机,以使得调整后的规格生效。
在示例性实施例中,所述第一迁移模块还设置为识别所述目标虚机是否唯一;在所述目标虚机唯一时,基于对应所述目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机;在所述目标虚机包括相同业务类型的多个虚机时,直接将各所述目标虚机标记为已完成业务迁移。
在示例性实施例中,在所述目标虚机包括相同业务类型的多个虚机时,所述第一迁移模块还设置为在第一调整模块完成对各所述目标虚机的规格 调整,且各所述目标虚机被标记为已完成业务迁移时,基于所述虚拟网络功能选中各所述目标虚机中的一个目标虚机;在选中目标虚机时,基于所述虚拟网络功能将选中的目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
所述重启模块还设置为在所述第一迁移模块将选中的目标虚机的业务迁移至冷备虚机或热备虚机之后,基于所述虚拟网络功能重启选中的目标虚机;
所述第一迁移模块还设置为继续选中各所述目标虚机中的一个目标虚机,直至各所述目标虚机均被选中。
在示例性实施例中,所述第一迁移模块还设置为在规格调整后的所述目标虚机重启成功后,基于对应目标虚机的虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至所述目标虚机。
在示例性实施例中,所述装置还包括触发模块,设置为侦测各虚机的负载是否达到预设负载;在有虚机的负载达到所述预设负载时,将负载达到所述预设负载的虚机作为目标虚机,并触发虚机规格调整操作。
本公开还提供一种虚机规格调整装置,应用于虚拟网络功能管理器,该装置包括:
第二迁移模块,设置为在虚拟网络功能管理器接收到虚机规格调整操作时,基于对应目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
第二调整模块,设置为在完成对所述目标虚机的业务迁移之后,发送对应所述虚机规格调整操作的第二虚机规格调整指令至网络功能虚拟化基础设施,以指示所述网络功能虚拟化基础设施对所述目标虚机的规格进行调整,并在完成规格调整后重启所述目标虚机,以使得调整后的规格生效;
所述第二迁移模块还设置为在规格调整后的所述目标虚机重启成功后,基于对应目标虚机的虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至所述目标虚机。
在示例性实施例中,所述第二迁移模块还设置为在虚拟网络功能管理器接收到虚机规格调整操作时,识别所述目标虚机是否唯一;在所述目标虚机 唯一时,基于对应目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机;在所述目标虚机包括相同业务类型的多个虚机时,基于所述虚拟网络功能将所述多个目标虚机划分为多个批次的目标虚机,其中,每个批次的目标虚机包括一个或多个虚机。
在示例性实施例中,所述第二迁移模块还设置为在所述目标虚机包括相同业务类型的多个虚机时,在基于所述虚拟网络功能将各所述目标虚机划分为多个批次的目标虚机之后,基于所述虚拟网络功能选中所述多个批次中的一批次的目标虚机;基于所述虚拟网络功能将选中批次的目标虚机正在开展的业务迁移至热备虚机或者各自的冷备虚机;
所述第二调整模块还设置为在选中批次的目标虚机的业务均迁移完成之后,发送对应选中批次的目标虚机的第二虚机规格调整指令至网络功能虚拟化基础设施,以指示所述网络功能虚拟化基础设施对选中批次的目标虚机的规格进行调整,并在完成规格调整后重启选中批次的目标虚机;
所述第二迁移模块还设置为在选中批次的目标虚机重启成功后,基于所述虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至选中批次的目标虚机,并继续基于所述虚拟网络功能选中一批次的目标虚机,直至各批次的目标虚机均被选中。
本公开实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现以上描述的任一方法。
本公开提出的一种虚机规格调整方法及装置,通过在虚拟网络功能管理器接收到虚机规格调整操作时,使用第一虚机规格调整指令,基于网络功能虚拟化基础设施调整目标虚机规格,使得新的虚机规格在物理层面生效,并在这种规格调整在业务层面生效前,基于虚拟网络功能将目标虚机的业务进行迁移,避免业务数据丢失,从而在满足整局容量调整的同时,也不会导致业务中断,用户不会掉线,实现了在不影响虚机运行业务的前提下,对虚机规格进行调整的目的。
同时,本公开提供的另一种虚机规格调整方法及装置,通过控制流程,规避第二虚机规格调整指令会自动重启带来的影响。在网络功能虚拟化基础设施执行第二虚机规格调整指令前,由对应目标虚机的虚拟网络功能先对目 标虚机当前开展的业务进行迁移,然后由网络功能虚拟化基础设施根据第二虚机规格调整指令进行虚机规格调整。从而实现了在不影响虚机运行业务的前提下,对虚机规格进行调整的目的。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图说明
图1为本公开虚机规格调整装置第一示例的模块示意图;
图2为本公开虚机规格调整装置第一示例中涉及的网络功能虚拟化架构的架构示例图;
图3为本公开虚机规格调整装置第五示例的模块示意图;
图4为本公开虚机规格调整方法第一示例的流程示意图;
图5为本公开虚机规格调整方法第五示例的流程示意图。
本公开目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本公开,并不用于限定本公开。
本公开提供一种虚机规格调整装置,参照图1,在本公开的第一示例中,该装置包括:
第一调整模块10,设置为在虚拟网络功能管理器接收到虚机规格调整操作时,发送对应所述虚机规格调整操作的第一虚机规格调整指令至网络功能虚拟化基础设施,以指示所述网络功能虚拟化基础设施对目标虚机的规格进行调整,并在完成规格调整后不重启所述目标虚机;
第一迁移模块20,设置为基于对应目标虚机的虚拟网络功能,将目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
重启模块30,设置为在完成对目标虚机的规格调整以及业务迁移之后, 基于所述虚拟网络功能重启规格调整后的目标虚机,以使得调整后的规格生效。
本公开虚机规格调整装置基于网络功能虚拟化架构中的虚拟网络功能管理器实现功能,为描述清楚,以下首先对本公开涉及的网络功能虚拟化架构进行介绍,如图2所示,由以下功能构件组成:
网络功能虚拟化基础设施(NFV Infrastructure,NFVI)提供支撑网络功能虚拟化的执行所需要的虚拟化资源,包括商业现货供应(Commercial Off The Shelf,COTS)的硬件、加速器组件,以及对底层硬件进行虚拟化和抽象化的软件层。
虚拟网络功能是能够在网络功能虚拟化基础设施上运行的网络功能(Network Function,NF)的软件实现,可能还附有网元管理系统(Element Management System,EMS)模块来理解和管理单独的虚拟网络功能及其特性。虚拟网络功能相当于网络节点的实体,被期望以摆脱硬件依赖的纯软件来交付。
网络功能虚拟化管理和流程编排系统(NFV Management and Orchestration,M&O或者MANO)包含编排、支撑基础设施虚拟化的物理和/或软件资源的生命周期管理、虚拟网络功能的生命周期管理。网络功能虚拟化管理和流程编排系统聚焦于网络功能虚拟化架构中虚拟化特定的管理任务。网络功能虚拟化管理和流程编排系统也与(网络功能虚拟化外部的)运营支撑系统(Operation Support System,OSS)/业务支撑系统(Business Support System,BSS)交互,以允许网络功能虚拟化被集成进已存在的涉及全网范围的管理图景。
上述构件通过定义的参考点以及接口进行交互,以便不同实体能够清晰地解耦,从而促成一个开放和创新的网络功能虚拟化生态系统。虚拟网络功能与网络功能虚拟化基础设施之间(以及网络功能虚拟化基础设施内部实体之间)的参考点处理资源的抽象和虚拟化,以及虚拟网络功能的主机寄宿,以便虚拟网络功能不仅能够在网络功能虚拟化基础设施中从一个移动到另一个,而且能够确保选择不同的底层硬件成为可能。网络功能虚拟化管理和流程编排系统与虚拟网络功能和网络功能虚拟化基础设施之间(以及网络功 能虚拟化管理和流程编排系统内部实体之间)的参考点处理网络功能虚拟化系统的管理和运作。相关构件的设计方式允许复用现有解决方案(例如云管理系统),并且也与网络功能虚拟化系统要连接的现有运营支撑系统/业务支撑系统环境进行交互。
此外,网络功能虚拟化管理和流程编排系统内部进一步定义了以下功能构件:
编排器,主要负责完成网络业务编排功能,以及跨多个虚拟化基础设施管理器的网络功能虚拟化基础设施资源编排,完成资源编排功能。
虚拟网络功能管理器,负责虚拟网络功能实例的生命周期管理,每个虚拟网络功能都被假定具有一个关联的虚拟网络功能管理器,一个虚拟网络功能管理器可以被指派管理单一虚拟网络功能实例或者管理多个相同或相异类型的虚拟网络功能实例。其可用能力包括:虚拟网络功能实例化、虚拟网络功能配置网络功能虚拟化基础设施资源、虚拟网络功能实例更新、虚拟网络功能实例缩放、虚拟网络功能实例相关网络功能虚拟化基础设施性能度量和事件的收集以及与虚拟网络功能实例相关事件的关联、虚拟网络功能实例受助或自动康复、虚拟网络功能实例终止、虚拟网络功能实例贯穿其生命周期的完整性管理、为网络功能虚拟化基础设施和网元管理系统之间的配置和事件报告担当全局协调和适配的角色等。
虚拟化基础设施管理器,负责控制和管理网络功能虚拟化基础设施的计算、存储和网络资源,通常在一个运营商的基础设施子域内。一个虚拟化基础设施管理器可以专门处理某类网络功能虚拟化基础设施资源或者可以管理多种类型的网络功能虚拟化基础设施资源。其可用能力包括:编排网络功能虚拟化基础设施资源的分配/升级/解除分配/回收利用,管理虚拟化资源与计算、存储、网络资源的关联;管理硬件资源(计算、存储、网络)和软件资源(例如管理程序)的目录;收集和转发虚拟化资源的性能度量和事件等。
本公开的主要方案为,在接收到虚机规格调整指令时,基于网络功能虚拟化基础设施调整目标虚机规格,使得新的虚机规格在物理层面生效,并在这种规格调整在业务层面生效前,基于虚拟网络功能将目标虚机的业务进行 迁移,避免业务数据丢失,从而在满足整局容量调整的同时,也不会导致业务中断,用户不会掉线。
在本公开的示例中,首先触发虚机规格调整操作,以启动整个虚机规格调整流程。在本示例中,该虚机规格调整操作可由用户通过网络功能虚拟化管理和流程编排系统的操作界面触发,包括Scale up/down操作。
虚拟网络功能管理器在接收到触发的虚机规格调整操作时,将调用相关插件生成对应接收的虚机规格调整操作的虚机规格文件,以将目标虚机的规格调整为虚机规格文件要求的规格。
第一调整模块10对虚拟网络功能管理器是否接收到虚机规格调整操作进行侦测,并在侦测到虚拟网络功能管理器接收到虚机规格调整操作,且生成对应的虚机规格文件之后,第一调整模块10发送第一虚机规格调整指令至网络功能虚拟化基础设施,以指示网络功能虚拟化基础设施按照前述虚机规格文件对目标虚机的规格进行调整,其中,对目标虚机进行的调整包括Scaleup/down,例如,将目标虚机的处理的cpu核数由2个调整为4个;又例如,将目标虚机的内存容量由2G调整为1G。在具体实施时,该第一虚机规格调整指令为nova live-resize指令。
网络功能虚拟化基础设施在接收到第一调整模块10传输的第一虚机规格调整指令之后,按照前述虚机规格文件对目标虚机的规格进行调整,并在完成对目标虚机的规格调整之后,返回调整成功的第一操作响应至重启模块30。由于该第一虚机规格调整指令为nova live-resize指令,网络功能虚拟化基础设施在完成对目标虚机的规格调整之后,并不会重启目标虚机。
在第一调整模块10传输第一虚机规格调整指令至网络功能虚拟化基础设施之后,第一迁移模块20还发送预处理操作指示至对应目标虚机的虚拟网络功能,以指示其进行虚机规格调整的预处理操作,目的是保证目标虚机正在开展的业务不受影响,使得用户不会感知到上层操作,做到业务无损。此外,在其他示例中,第一迁移模块20还可在第一调整模块10传输第一虚机规格调整指令至网络功能虚拟化基础设施的同时,发送预处理操作指示至对应目标虚机的虚拟网络功能;还可在第一调整模块10传输第一虚机规格调整指令至网络功能虚拟化基础设施之前,发送预处理操作指示至对应目标 虚机的虚拟网络功能。
例如,对应目标虚机的虚拟网络功能在接收到第一迁移模块20传输的预处理操作指示之后,首先更新目标虚机的容量以及模板信息;然后识别目标虚机是否有冷备虚机;在识别到目标虚机有冷备虚机时,进行目标虚机与冷备虚机的主备倒换,以将目标虚机正在开展的业务迁移至冷备虚机,由冷备虚机接管目标虚机正在开展的业务;在识别到目标虚机没有冷备虚机时,识别系统内是否存在热备虚机,若识别到存在的热备虚机,则将目标虚机正在开展的业务迁移至该热备虚机,由该热备虚机接管目标虚机正在开展的业务。
在将目标虚机正在开展的业务迁移至冷备虚机或热备虚机之后,虚拟网络功能返回预处理操作成功的第二操作响应至重启模块30,等待重启模块30发起虚机规格调整的后处理操作。
重启模块30在接收到网络功能虚拟化基础设施返回的第一操作响应,以及接收到虚拟网络功能返回的第二操作响应时,确定当前已完成对目标虚机的规格调整以及业务迁移,可以重启目标虚机,以使得调整后的规格生效。此时,重启模块30发送后处理操作指示至前述虚拟网络功能,以指示其进行虚机规格调整的后处理操作。
前述虚拟网络功能在接收到重启模块30传输的后处理操作指示之后,对目标虚机进行重启,由于目标虚机上已经没有正在开展的业务,重启目标虚机不会导致业务丢失。在完成对目标虚机的重启之后,目标虚机调整后的规格在物理层面以及业务层面生效,即完成了对目标虚机的规格调整。
本公开提出的虚机规格调整装置,通过在虚拟网络功能管理器接收到虚机规格调整操作时,基于网络功能虚拟化基础设施调整目标虚机规格,使得新的虚机规格在物理层面生效,并在这种规格调整在业务层面生效前,基于虚拟网络功能将目标虚机的业务进行迁移,避免业务数据丢失,从而在满足整局容量调整的同时,也不会导致业务中断,用户不会掉线,实现了在不影响虚机运行业务的前提下,对虚机规格进行调整的目的。
基于第一示例,提出本公开虚机规格调整装置的第二示例。在本示例中,第一迁移模块20还设置为识别目标虚机是否唯一;在目标虚机唯一时,基于对应目标虚机的虚拟网络功能,将目标虚机正在开展的业务迁移至冷备虚机或热备虚机;在目标虚机包括相同业务类型的多个虚机时,直接将各目标虚机标记为已完成业务迁移。
本示例在前述第一示例的基础上,针对规格调整的目标虚机是否唯一提出了不同的处理方案,以下仅对该区别进行说明,其他可参照前述第一示例,此处不再赘述。
在本示例中,第一迁移模块20在对目标虚机的业务进行迁移之前,首先对规格调整的目标虚机的个数进行识别,以确定目标虚机是否唯一。
在确定目标虚机唯一时,也即是仅有单一目标虚机要进行规格调整时,第一迁移模块20发送预处理操作指示至对应目标虚机的虚拟网络功能,以指示其进行虚机规格调整的预处理操作,具体可参照前述第一示例,此处不再赘述。
在确定目标虚机包括相同业务类型的多个虚机(如目标虚机包括20各处理话务的虚机)时,第一迁移模块20并不发送预处理操作指示至对应目标虚机的虚拟网络功能,而是直接将各目标虚机标记为已完成业务迁移(容易理解的是,此时并未实际迁移各目标虚机的业务),并传输第三操作响应至重启模块30。
在本示例中,在目标虚机包括相同业务类型的多个虚机时,第一迁移模块20还设置为在第一调整模块10完成对各目标虚机的规格调整,且各目标虚机被标记为已完成业务迁移时,基于所述虚拟网络功能选中各目标虚机中的一个目标虚机;在选中目标虚机时,基于所述虚拟网络功能将选中的目标虚机正在开展的业务迁移至冷备虚机或热备虚机;重启模块30还设置为在第一迁移模块20将选中的目标虚机的业务迁移至冷备虚机或热备虚机之后,基于前述虚拟网络功能重启选中的目标虚机;第一迁移模块20还设置为继续选中各目标虚机中的一个目标虚机,直至各目标虚机均被选中。
例如,在目标虚机包括相同业务类型的多个虚机时,重启模块30在接收到网络功能虚拟化基础设施返回的第一操作响应,以及第一迁移模块20 传输的第三操作响应时,发送后处理操作指示至前述虚拟网络功能,此时发送的后处理操作指示,与前述第一示例中的后处理操作指示区别在于,此时发送的后处理操作指示还携带有指示前述虚拟网络功能进行业务迁移的指示信息。
前述虚拟网络功能在接收到重启模块30此时发送的后处理操作指示之后,识别到规格调整的目标虚机包括相同业务类型的多个虚机,首先更新各目标虚机的容量以及模板信息;然后依序(本公开对各目标虚机的迁移顺序不做具体限定,可由本领域技术人员根据实际需要进行设置,例如,可按照各目标虚机的名称排序,并进行迁移)将各目标虚机正在开展的业务进行迁移至冷备虚机或热备虚机,具体如何迁移可参照前述第一示例的相关描述,此处不再赘述。
在完成前述各目标虚机中一个目标虚机的业务迁移之后,对完成迁移的该目标虚机进行重启,以使得该目标虚机调整后的规格在物理层面以及业务层面生效,并继续对前述各目标虚机中其它目标虚机进行业务并重启,直至前述各目标虚机调整后的规格在物理层面以及业务层面生效。
基于前述第一或第二示例,提出本公开虚机规格调整装置的第三示例。在本示例中,第一迁移模块20还设置为在规格调整后的目标虚机重启成功后,基于对应目标虚机的虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至目标虚机。
本示例在前述示例的基础上,增加了业务迁回的操作,以下仅对此进行说明,其他可参照前述示例,此处不再赘述。
容易理解的是,本公开前述示例通过在对目标虚机进行规格调整时,将目标虚机正在开展的业务迁移至冷备虚机或热备虚机,保证了业务不中断,但是,由于业务的迁入,迁入业务的虚机的负载将增大,降低其工作效率,而此时目标虚机已完成规格的调整,可以继续开展业务,即可将迁出的业务迁回至目标虚机。
例如,重启模块30在完成对目标虚机(包括单个目标虚机和相同业务 类型的多个目标虚机)的重启之后,传输重启完成指示至第一迁移模块20。
第一迁移模块20在接收到重启模块30传输的重启完成指示时,识别到此时目标虚机调整后的规格在物理层面以及业务层面均已生效,可将目标虚机迁出的业务进行迁回,此时发送业务迁回指示至前述虚拟网络功能,由虚拟网络功能将目标虚机迁出的业务迁回,由目标虚机继续开展业务。
基于前述任一示例,提出本公开虚机规格调整装置的第四示例。在本示例中,该虚机规格调整装置还包括触发模块,设置为侦测各虚机的负载是否达到预设负载;在有虚机的负载达到预设负载时,将负载达到预设负载的虚机作为目标虚机,并触发虚机规格调整操作。
相较于前述示例手动触发规格调整的方式,本示例还提供一种自动触发规格调整的方式,以下仅对此进行说明,其他可参照前述示例,此处不再赘述。
在本公开的示例中,触发模块对系统内各虚机进行侦测,以确定是否有虚机的负载达到预设负载,其中,预设负载被设置为触发执行规格调整的触发门限,具体可根据实际需要进行设置,本公开不做具体限制,例如,针对话务类虚机,可侦测该类虚机的话务量是否达到预设话务量,预设话务量为该类虚机正常开展话务业务的最大话务量。
在侦测到有虚机的负载达到预设负载时,即说明该虚机当前的规格已不适合其实际负载,要对其规格进行调整,触发模块此时将负载达到预设负载的虚机标记为目标虚机,并触发对该目标虚机的虚机规格调整操作。其中,关于如何对目标虚机进行规格调整,具体可参照前述示例的相关描述,此处不再赘述。
提出本公开虚机规格调整装置的第五示例,参照图3,在本示例中,该装置包括:
第二迁移模块110,设置为在虚拟网络功能管理器接收到虚机规格调整操作时,基于对应目标虚机的虚拟网络功能,将目标虚机正在开展的业务迁 移至冷备虚机或热备虚机;
第二调整模块120,设置为在完成对目标虚机的业务迁移之后,发送对应虚机规格调整操作的第二虚机规格调整指令至网络功能虚拟化基础设施,以指示网络功能虚拟化基础设施对目标虚机的规格进行调整,并在完成规格调整后重启目标虚机,以使得调整后的规格生效;
第二迁移模块110还设置为在规格调整后的目标虚机重启成功后,基于对应目标虚机的虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至目标虚机。
在本公开的示例中,首先触发虚机规格调整操作,以启动整个虚机规格调整流程。在本示例中,该虚机规格调整操作可由用户通过网络功能虚拟化管理和流程编排系统的操作界面触发,包括Scale up/down操作。
虚拟网络功能管理器在接收到触发的虚机规格调整操作时,将调用相关插件生成对应接收的虚机规格调整操作的虚机规格文件,以将目标虚机的规格调整为虚机规格文件要求的规格。
第二迁移模块110对虚拟网络功能管理器是否接收到虚机规格调整操作进行侦测,并在侦测到虚拟网络功能管理器接收到虚机规格调整操作,且生成对应的虚机规格文件之后,发送预处理操作指示至对应目标虚机的虚拟网络功能,以指示其进行虚机规格调整的预处理操作,目的是保证目标虚机正在开展的业务不受影响,使得用户不会感知到上层操作,做到业务无损。
例如,对应目标虚机的虚拟网络功能在接收到第二迁移模块110传输的预处理操作指示之后,首先更新目标虚机的容量以及模板信息;然后识别目标虚机是否有冷备虚机;在识别到目标虚机有冷备虚机时,进行目标虚机与冷备虚机的主备倒换,以将目标虚机正在开展的业务迁移至冷备虚机,由冷备虚机接管目标虚机正在开展的业务;在识别到目标虚机没有冷备虚机时,识别系统内是否存在热备虚机,若识别到存在的热备虚机,则将目标虚机正在开展的业务迁移至该热备虚机,由该热备虚机接管目标虚机正在开展的业务。在完成目标虚机的业务迁移之后,前述虚拟网络功能返回虚机规格修改操作请求至第二调整模块120。
第二调整模块120在接收到前述虚拟网络功能返回的虚机规格修改操作请求之后,识别到第二迁移模块110已完成对目标虚机的业务迁移,此时发送第二虚机规格调整指令至网络功能虚拟化基础设施,以指示网络功能虚拟化基础设施按照前述虚机规格文件对目标虚机的规格进行调整,其中,对目标虚机进行的调整包括Scaleup/down,例如,将目标虚机的处理的cpu核数由2个调整为4个;又例如,将目标虚机的硬盘容量由2T调整为1T。在具体实施时,该第二虚机规格调整指令为nova resize指令。
网络功能虚拟化基础设施在接收到第二调整模块120传输的第二虚机规格调整指令之后,按照前述虚机规格文件对目标虚机的规格进行调整,由于该第二虚机规格调整指令为nova resize指令,网络功能虚拟化基础设施在完成对目标虚机的规格调整之后,将重启目标虚机,此时,目标虚机调整后的规格在物理层面以及业务层面生效。
在完成目标虚机的重启之后,网络功能虚拟化基础设施返回虚机规格修改操作响应至第二迁移模块110。
第二迁移模块110在接收到网络功能虚拟化基础设施返回的虚机规格修改操作响应之后,识别到规格调整后的目标虚机已经重启成功,由于本公开前述在对目标虚机进行规格调整时,将目标虚机正在开展的业务迁移至冷备虚机或热备虚机,保证了业务不中断,但是,由于业务的迁入,冷备虚机或热备虚机的负载将增大,降低其工作效率,而此时目标虚机已完成规格的调整,可以继续开展业务,即可将迁出的业务迁回至目标虚机。
第二迁移模块110将接收的虚机规格修改操作响应转发至前述虚拟网络功能,由前述虚拟网络功能将目标虚机迁出的业务迁回,由目标虚机继续开展业务。其中,前述虚拟网络功能在将目标虚机迁出的业务迁回之后,返回预处理响应至第二迁移模块110。
在其他示例中,第二迁移模块110可以在接收到前述虚拟网络功能返回预处理响应之后,根据实际需要传输后处理操作指示至前述虚拟网络功能,由前述虚拟网络功能执行指示的后处理操作,并在执行完成后处理操作之后,返回后处理响应至第二迁移模块110。
基于第五示例,提出本公开虚机规格调整装置的第六示例。在本示例中,第二迁移模块110还设置为在虚拟网络功能管理器接收到虚机规格调整操作时,识别目标虚机是否唯一;在目标虚机唯一时,基于对应目标虚机的虚拟网络功能,将目标虚机正在开展的业务迁移至冷备虚机或热备虚机。
本示例在前述第五示例的基础上,针对规格调整的目标虚机是否唯一提出了不同的处理方案,以下仅对该区别进行说明,其他可参照前述第五示例,此处不再赘述。
在本示例中,第二迁移模块110在对目标虚机的业务进行迁移之前,首先对规格调整的目标虚机的个数进行识别,以确定目标虚机是否唯一。
在确定目标虚机唯一时,也即是仅有单一目标虚机要进行规格调整时,第二迁移模块110发送预处理操作指示至对应目标虚机的虚拟网络功能,以指示其进行虚机规格调整的预处理操作,具体可参照前述第一示例,此处不再赘述。
在本示例中,第二迁移模块110还设置为在目标虚机包括相同业务类型的多个虚机时,基于前述虚拟网络功能将各目标虚机划分为多个批次的目标虚机,其中,各批次的目标虚机包括一个或多个虚机;基于前述虚拟网络功能选中所述多个批次中的一批次的目标虚机;基于前述虚拟网络功能将选中批次的目标虚机正在开展的业务迁移至热备虚机或者各自的冷备虚机;
第二调整模块120还设置为在选中批次的目标虚机的业务均迁移完成之后,发送对应选中批次的目标虚机的第二虚机规格调整指令至网络功能虚拟化基础设施,以指示网络功能虚拟化基础设施对选中批次的目标虚机的规格进行调整,并在完成规格调整后重启选中批次的目标虚机;
第二迁移模块110还设置为在选中批次的目标虚机重启成功后,基于前述虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至选中批次的目标虚机,并继续基于所述虚拟网络功能选中一批次的目标虚机的步骤,直至各批次的目标虚机均被选中。
例如,在目标虚机包括相同业务类型的多个虚机时,第二迁移模块110发送预处理操作指示至前述虚拟网络功能,此时发送的预处理操作指示与前 述第五示例的预处理操作指示的区别在于,此时发送的预处理操作指示还携带有各目标虚机的信息。
前述虚拟网络功能在接收到预处理操作指示之后,将各目标虚机划分为多个批次的目标虚机,划分的各批次的目标虚机可以多个目标虚机,也可仅包括一个目标虚机,具体根据网络功能虚拟化基础设施的具体处理能力进行划分。
在完成批次划分之后,前述虚拟网络功能选中一批次的目标虚机,并将选中批次的目标虚机正在开展的业务迁移至热备虚机或者各自的冷备虚机,其中,在迁移时,逐个迁移选中批次的目标虚机,具体可参照前述第一示例的相关描述,此处不再赘述。
在完成选中批次的目标虚机的业务迁移之后,前述虚拟网络功能返回对应于选中批次的目标虚机的虚机规格修改操作请求至第二调整模块120。
第二调整模块120在接收到前述虚拟网络功能返回的虚机规格修改操作请求之后,识别到第二迁移模块110已完成对选中批次的目标虚机的业务迁移,此时发送对应选中批次的目标虚机的第二虚机规格调整指令至网络功能虚拟化基础设施,以指示网络功能虚拟化基础设施按照前述虚机规格文件对选中批次的目标虚机的规格进行调整,其中,对目标虚机进行的调整包括Scaleup/down,例如,将目标虚机的处理的cpu核数由2个调整为4个;又例如,将目标虚机的硬盘容量由2T调整为1T。在具体实施时,该第二虚机规格调整指令为nova resize指令。
网络功能虚拟化基础设施在接收到第二调整模块120传输的第二虚机规格调整指令之后,按照前述虚机规格文件对选中批次的目标虚机的规格进行调整,由于该第二虚机规格调整指令为nova resize指令,网络功能虚拟化基础设施在完成对选中批次的目标虚机的规格调整之后,将重启选中批次的目标虚机,此时,目标虚机调整后的规格在物理层面以及业务层面生效。
在完成对选中批次的目标虚机的重启之后,网络功能虚拟化基础设施返回对应选中批次的目标虚机的虚机规格修改操作响应至第二迁移模块110。
第二迁移模块110在接收到网络功能虚拟化基础设施返回的,对应于选 中批次的目标虚机的虚机规格修改操作响应之后,识别到选择批次的目标虚机已经重启成功,由于本公开前述在对目标虚机进行规格调整时,将目标虚机正在开展的业务迁移至冷备虚机或热备虚机,保证了业务不中断,但是,由于业务的迁入,冷备虚机或热备虚机的负载将增大,降低其工作效率,而此时选中批次的目标虚机已完成规格的调整,可以继续开展业务,即可将迁出的业务迁回至选中批次的目标虚机。
第二迁移模块110将接收的,对应于选中批次的虚机规格修改操作响应转发至前述虚拟网络功能,由前述虚拟网络功能将选中批次的目标虚机迁出的业务迁回,由选中批次的目标虚机继续开展业务。
之后,前述虚拟网络功能继续选中一批次的目标虚机,直至各批次目标虚机均被选中,各目标虚机调整后的规格在物理层面以及业务层面生效,且迁出的业务被迁回。其中,前述虚拟网络功能在将各批次目标虚机迁出的业务均迁回之后,返回预处理响应至第二迁移模块110。
在其他示例中,第二迁移模块110可以在接收到前述虚拟网络功能返回预处理响应之后,根据实际需要传输后处理操作指示至前述虚拟网络功能,由前述虚拟网络功能执行指示的后处理操作,并在执行完成后处理操作之后,返回后处理响应至第二迁移模块110。
本公开还提供一种虚机规格调整方法,由图1所示的虚机规格调整装置执行,参照图4,在本公开虚机规格调整方法的第一示例中,对应于前述虚机规格调整装置的第一示例,该虚机规格调整方法包括:
步骤S10,在虚拟网络功能管理器接收到虚机规格调整操作时,发送对应所述虚机规格调整操作的第一虚机规格调整指令至网络功能虚拟化基础设施,以指示所述网络功能虚拟化基础设施对目标虚机的规格进行调整,并在完成规格调整后不重启所述目标虚机;
步骤S20,基于对应目标虚机的虚拟网络功能,将目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
步骤S30,在完成对目标虚机的规格调整以及业务迁移之后,基于前述 虚拟网络功能重启规格调整后的目标虚机,以使得调整后的规格生效。
本公开方法由图1所示的虚机规格调整装置执行,该虚机规格调整装置基于网络功能虚拟化架构中的虚拟网络功能管理器实现功能,为描述清楚,以下首先对本公开涉及的网络功能虚拟化架构进行介绍,如图2所示,由以下功能构件组成:
网络功能虚拟化基础设施(NFV Infrastructure,NFVI)提供支撑网络功能虚拟化的执行的虚拟化资源,包括商业现货供应(Commercial Off The Shelf,COTS)的硬件、加速器组件,以及对底层硬件进行虚拟化和抽象化的软件层。
虚拟网络功能是能够在网络功能虚拟化基础设施上运行的网络功能(Network Function,NF)的软件实现,可能还附有网元管理系统(Element Management System,EMS)模块来理解和管理单独的虚拟网络功能及其特性。虚拟网络功能相当于网络节点的实体,被期望以摆脱硬件依赖的纯软件来交付。
网络功能虚拟化管理和流程编排系统(NFV Management and Orchestration,M&O或者MANO)包含编排、支撑基础设施虚拟化的物理和/或软件资源的生命周期管理、虚拟网络功能的生命周期管理。网络功能虚拟化管理和流程编排系统聚焦于网络功能虚拟化架构中虚拟化特定的管理任务。网络功能虚拟化管理和流程编排系统也与(网络功能虚拟化外部的)运营支撑系统(Operation Support System,OSS)/业务支撑系统(Business Support System,BSS)交互,以允许网络功能虚拟化被集成进已存在的涉及全网范围的管理图景。
上述构件通过定义的参考点以及接口进行交互,以便不同实体能够清晰地解耦,从而促成一个开放和创新的网络功能虚拟化生态系统。虚拟网络功能与网络功能虚拟化基础设施之间(以及网络功能虚拟化基础设施内部实体之间)的参考点处理资源的抽象和虚拟化,以及虚拟网络功能的主机寄宿,以便虚拟网络功能不仅能够在网络功能虚拟化基础设施中从一个移动到另一个,而且能够确保选择不同的底层硬件成为可能。网络功能虚拟化管理和流程编排系统与虚拟网络功能和网络功能虚拟化基础设施之间(以及网络功能虚拟化管理和流程编排系统内部实体之间)的参考点处理网络功能虚拟化 系统的管理和运作。相关构件的设计方式允许复用现有解决方案(例如云管理系统),并且也与网络功能虚拟化系统所连接的现有运营支撑系统/业务支撑系统环境进行交互。
此外,网络功能虚拟化管理和流程编排系统内部进一步定义了以下功能构件:
编排器,主要负责完成网络业务编排功能,以及跨多个虚拟化基础设施管理器的网络功能虚拟化基础设施资源编排,完成资源编排功能。
虚拟网络功能管理器,负责虚拟网络功能实例的生命周期管理,每个虚拟网络功能都被假定具有一个关联的虚拟网络功能管理器,一个虚拟网络功能管理器可以被指派管理单一虚拟网络功能实例或者管理多个相同或相异类型的虚拟网络功能实例。其可用能力包括:虚拟网络功能实例化、虚拟网络功能配置网络功能虚拟化基础设施资源、虚拟网络功能实例更新、虚拟网络功能实例缩放、虚拟网络功能实例相关网络功能虚拟化基础设施性能度量和事件的收集以及与虚拟网络功能实例相关事件的关联、虚拟网络功能实例受助或自动康复、虚拟网络功能实例终止、虚拟网络功能实例贯穿其生命周期的完整性管理、为网络功能虚拟化基础设施和网元管理系统之间的配置和事件报告担当全局协调和适配的角色等。
虚拟化基础设施管理器,负责控制和管理网络功能虚拟化基础设施的计算、存储和网络资源,通常在一个运营商的基础设施子域内。一个虚拟化基础设施管理器可以专门处理某类网络功能虚拟化基础设施资源或者可以管理多种类型的网络功能虚拟化基础设施资源。其可用能力包括:编排网络功能虚拟化基础设施资源的分配/升级/解除分配/回收利用,管理虚拟化资源与计算、存储、网络资源的关联;管理硬件资源(计算、存储、网络)和软件资源(例如管理程序)的目录;收集和转发虚拟化资源的性能度量和事件等。
本公开的主要方案为,在接收到虚机规格调整指令时,基于网络功能虚拟化基础设施调整目标虚机规格,使得新的虚机规格在物理层面生效,并在这种规格调整在业务层面生效前,基于虚拟网络功能将目标虚机的业务进行迁移,避免业务数据丢失,从而在满足整局容量调整的同时,也不会导致业 务中断,用户不会掉线。
在本公开的示例中,首先触发虚机规格调整操作,以启动整个虚机规格调整流程。在本示例中,该虚机规格调整操作可由用户通过网络功能虚拟化管理和流程编排系统的操作界面触发,包括Scale up/down操作。
虚拟网络功能管理器在接收到触发的虚机规格调整操作时,将调用相关插件生成对应接收的虚机规格调整操作的虚机规格文件,以将目标虚机的规格调整为虚机规格文件要求的规格。
第一调整模块10对虚拟网络功能管理器是否接收到虚机规格调整操作进行侦测,并在侦测到虚拟网络功能管理器接收到虚机规格调整操作,且生成对应的虚机规格文件之后,第一调整模块10发送第一虚机规格调整指令至网络功能虚拟化基础设施,以指示网络功能虚拟化基础设施按照前述虚机规格文件对目标虚机的规格进行调整,其中,对目标虚机进行的调整包括Scaleup/down,例如,将目标虚机的处理的cpu核数由2个调整为4个;又例如,将目标虚机的内存容量由2G调整为1G。在具体实施时,该第一虚机规格调整指令为nova live-resize指令。
网络功能虚拟化基础设施在接收到第一调整模块10传输的第一虚机规格调整指令之后,按照前述虚机规格文件对目标虚机的规格进行调整,并在完成对目标虚机的规格调整之后,返回调整成功的第一操作响应至重启模块30。由于该第一虚机规格调整指令为nova live-resize指令,网络功能虚拟化基础设施在完成对目标虚机的规格调整之后,并不会重启目标虚机。
在第一调整模块10传输第一虚机规格调整指令至网络功能虚拟化基础设施之后,第一迁移模块20还发送预处理操作指示至对应目标虚机的虚拟网络功能,以指示其进行虚机规格调整的预处理操作,目的是保证目标虚机正在开展的业务不受影响,使得用户不会感知到上层操作,做到业务无损。此外,在其他示例中,第一迁移模块20还可在第一调整模块10传输第一虚机规格调整指令至网络功能虚拟化基础设施的同时,发送预处理操作指示至对应目标虚机的虚拟网络功能;还可在第一调整模块10传输第一虚机规格调整指令至网络功能虚拟化基础设施之前,发送预处理操作指示至对应目标虚机的虚拟网络功能。
例如,对应目标虚机的虚拟网络功能在接收到第一迁移模块20传输的预处理操作指示之后,首先更新目标虚机的容量以及模板信息;然后识别目标虚机是否有冷备虚机;在识别到目标虚机有冷备虚机时,进行目标虚机与冷备虚机的主备倒换,以将目标虚机正在开展的业务迁移至冷备虚机,由冷备虚机接管目标虚机正在开展的业务;在识别到目标虚机没有冷备虚机时,识别系统内是否存在热备虚机,若识别到存在的热备虚机,则将目标虚机正在开展的业务迁移至该热备虚机,由该热备虚机接管目标虚机正在开展的业务。
在将目标虚机正在开展的业务迁移至冷备虚机或热备虚机之后,虚拟网络功能返回预处理操作成功的第二操作响应至重启模块30,等待重启模块30发起虚机规格调整的后处理操作。
重启模块30在接收到网络功能虚拟化基础设施返回的第一操作响应,以及接收到虚拟网络功能返回的第二操作响应时,确定当前已完成对目标虚机的规格调整以及业务迁移,可以重启目标虚机,以使得调整后的规格生效。此时,重启模块30发送后处理操作指示至前述虚拟网络功能,以指示其进行虚机规格调整的后处理操作。
前述虚拟网络功能在接收到重启模块30传输的后处理操作指示之后,对目标虚机进行重启,由于目标虚机上已经没有正在开展的业务,重启目标虚机不会导致业务丢失。在完成对目标虚机的重启之后,目标虚机调整后的规格在物理层面以及业务层面生效,即完成了对目标虚机的规格调整。
本公开提出的虚机规格调整方法,通过在虚拟网络功能管理器接收到虚机规格调整操作时,基于网络功能虚拟化基础设施调整目标虚机规格,使得新的虚机规格在物理层面生效,并在这种规格调整在业务层面生效前,基于虚拟网络功能将目标虚机的业务进行迁移,避免业务数据丢失,从而在满足整局容量调整的同时,也不会导致业务中断,用户不会掉线,实现了在不影响虚机运行业务的前提下,对虚机规格进行调整的目的。
基于第一示例,提出本公开虚机规格调整方法的第二示例。对应于前述虚机规格调整装置的第二示例,在本示例中,步骤S20之前,还包括:
识别目标虚机是否唯一;
在目标虚机唯一时,执行步骤S20;
在目标虚机包括相同业务类型的多个虚机时,直接将各目标虚机标记为已完成业务迁移。
本示例在前述第一示例的基础上,针对规格调整的目标虚机是否唯一提出了不同的处理方案,以下仅对该区别进行说明,其他可参照前述第一示例,此处不再赘述。
在本示例中,第一迁移模块20在对目标虚机的业务进行迁移之前,首先对规格调整的目标虚机的个数进行识别,以确定目标虚机是否唯一。
在确定目标虚机唯一时,也即是仅有单一目标虚机要进行规格调整时,第一迁移模块20发送预处理操作指示至对应目标虚机的虚拟网络功能,以指示其进行虚机规格调整的预处理操作,具体可参照前述第一示例,此处不再赘述。
在确定目标虚机包括相同业务类型的多个虚机(如目标虚机包括20各处理话务的虚机)时,第一迁移模块20并不发送预处理操作指示至对应目标虚机的虚拟网络功能,而是直接将各目标虚机标记为已完成业务迁移(容易理解的是,此时并未实际迁移各目标虚机的业务),并传输第三操作响应至重启模块30。
在本示例中,在目标虚机不唯一时,步骤S30包括:
在完成对各目标虚机的规格调整,且各目标虚机被标记为已完成业务迁移时,基于所述虚拟网络功能选中各目标虚机中的一个目标虚机;
在选中目标虚机时,基于所述虚拟网络功能将选中的目标虚机正在开展的业务迁移至冷备虚机或热备虚机,并在将选中的目标虚机的业务迁移至冷备虚机或热备虚机之后,基于所述虚拟网络功能重启选中的目标虚机;
返回选中各所述目标虚机中的一个目标虚机的步骤,直至各所述目标虚机均被选中。
在本示例中,在目标虚机包括相同业务类型的多个虚机时,第一迁移模块20还设置为在第一调整模块10完成对各目标虚机的规格调整,且各目标 虚机被标记为已完成业务迁移时,基于所述虚拟网络功能选中各目标虚机中的一个目标虚机;在选中目标虚机时,基于所述虚拟网络功能将选中的目标虚机正在开展的业务迁移至冷备虚机或热备虚机;重启模块30还设置为在第一迁移模块20将选中的目标虚机的业务迁移至冷备虚机或热备虚机之后,基于前述虚拟网络功能重启选中的目标虚机;第一迁移模块20还设置为继续选中各目标虚机中的一个目标虚机,直至各目标虚机均被选中。
例如,在目标虚机包括相同业务类型的多个虚机时,重启模块30在接收到网络功能虚拟化基础设施返回的第一操作响应,以及第一迁移模块20传输的第三操作响应时,发送后处理操作指示至前述虚拟网络功能,此时发送的后处理操作指示,与前述第一示例中的后处理操作指示区别在于,此时发送的后处理操作指示还携带有指示前述虚拟网络功能进行业务迁移的指示信息。
前述虚拟网络功能在接收到重启模块30此时发送的后处理操作指示之后,识别到规格调整的目标虚机包括相同业务类型的多个虚机,首先更新各目标虚机的容量以及模板信息;然后依序(本公开对各目标虚机的迁移顺序不做具体限定,可由本领域技术人员根据实际需要进行设置,例如,可按照各目标虚机的名称排序,并进行迁移)将各目标虚机正在开展的业务进行迁移至冷备虚机或热备虚机,具体如何迁移可参照前述第一示例的相关描述,此处不再赘述。
在完成前述各目标虚机中一个目标虚机的业务迁移之后,对完成迁移的该目标虚机进行重启,以使得该目标虚机调整后的规格在物理层面以及业务层面生效,并继续对前述各目标虚机中其它目标虚机进行业务并重启,直至前述各目标虚机调整后的规格在物理层面以及业务层面生效。
基于前述第一或第二示例,提出本公开虚机规格调整方法的第三示例。对应于前述虚机规格调整装置的第三示例,在本示例中,步骤S30之后,还包括:
在规格调整后的目标虚机重启成功后,基于对应目标虚机的虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至目标虚机。
本示例在前述示例的基础上,增加了业务迁回的操作,以下仅对此进行说明,其他可参照前述示例,此处不再赘述。
容易理解的是,本公开前述示例通过在对目标虚机进行规格调整时,将目标虚机正在开展的业务迁移至冷备虚机或热备虚机,保证了业务不中断,但是,由于业务的迁入,冷备虚机或热备虚机的负载将增大,降低其工作效率,而此时目标虚机已完成规格的调整,可以继续开展业务,即可将迁出的业务迁回至目标虚机。
例如,重启模块30在完成对目标虚机(包括单个目标虚机和相同业务类型的多个目标虚机)的重启之后,传输重启完成指示至第一迁移模块20。
第一迁移模块20在接收到重启模块30传输的重启完成指示时,识别到此时目标虚机调整后的规格在物理层面以及业务层面均已生效,可将目标虚机迁出的业务进行迁回,此时发送业务迁回指示至前述虚拟网络功能,由虚拟网络功能将目标虚机迁出的业务迁回,由目标虚机继续开展业务。
基于前述任一示例,提出本公开虚机规格调整方法的第四示例。对应于前述虚机规格调整装置的第四示例,在本示例中,步骤S10之前,还包括:
侦测各虚机的负载是否达到预设负载;
在有虚机的负载达到预设负载时,将负载达到预设负载的虚机作为目标虚机,并触发虚机规格调整操作。
相较于前述示例手动触发规格调整的方式,本示例还提供一种自动触发规格调整的方式,以下仅对此进行说明,其他可参照前述示例,此处不再赘述。
在本公开的示例中,虚机规格调整装置还包括触发模块,该触发模块对系统内各虚机进行侦测,以确定是否有虚机的负载达到预设负载,其中,预设负载被设置为触发执行规格调整的触发门限,具体可根据实际需要进行设置,本公开不做具体限制,例如,针对话务类虚机,可侦测该类虚机的话务量是否达到预设话务量,预设话务量为该类虚机正常开展话务业务的最大话务量。
在侦测到有虚机的负载达到预设负载时,即说明该虚机当前的规格已不适合其实际负载,要对其规格进行调整,触发模块此时将负载达到预设负载的虚机标记为目标虚机,并触发对该目标虚机的虚机规格调整操作。其中,关于如何对目标虚机进行规格调整,具体可参照前述示例的相关描述,此处不再赘述。
提出本公开虚机规格调整方法的第五示例,参照图5,对应于前述虚机规格调整装置的第五示例,在本示例中,该方法包括:
步骤S110,在虚拟网络功能管理器接收到虚机规格调整操作时,基于对应目标虚机的虚拟网络功能,将目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
步骤S120,在完成对目标虚机的业务迁移之后,发送对应虚机规格调整操作的第二虚机规格调整指令至网络功能虚拟化基础设施,以指示网络功能虚拟化基础设施对目标虚机的规格进行调整,并在完成规格调整后重启目标虚机,以使得调整后的规格生效;
步骤S130,在规格调整后的目标虚机重启成功后,基于对应目标虚机的虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至目标虚机。
本公开的示例提供的方法由图3所示的虚机规格调整装置执行。在本公开的示例中,首先触发虚机规格调整操作,以启动整个虚机规格调整流程,在本示例中,该虚机规格调整操作可由用户通过网络功能虚拟化管理和流程编排系统的操作界面触发,包括Scale up/down操作。
虚拟网络功能管理器在接收到触发的虚机规格调整操作时,将调用相关插件生成对应接收的虚机规格调整操作的虚机规格文件,以将目标虚机的规格调整为虚机规格文件要求的规格。
第二迁移模块110对虚拟网络功能管理器是否接收到虚机规格调整操作进行侦测,并在侦测到虚拟网络功能管理器接收到虚机规格调整操作,且生成对应的虚机规格文件之后,发送预处理操作指示至对应目标虚机的虚拟网络功能,以指示其进行虚机规格调整的预处理操作,目的是保证目标虚机 正在开展的业务不受影响,使得用户不会感知到上层操作,做到业务无损。
例如,对应目标虚机的虚拟网络功能在接收到第二迁移模块110传输的预处理操作指示之后,首先更新目标虚机的容量以及模板信息;然后识别目标虚机是否有冷备虚机;在识别到目标虚机有冷备虚机时,进行目标虚机与冷备虚机的主备倒换,以将目标虚机正在开展的业务迁移至冷备虚机,由冷备虚机接管目标虚机正在开展的业务;在识别到目标虚机没有冷备虚机时,识别系统内是否存在热备虚机,若识别到存在的热备虚机,则将目标虚机正在开展的业务迁移至该热备虚机,由该热备虚机接管目标虚机正在开展的业务。在完成目标虚机的业务迁移之后,前述虚拟网络功能返回虚机规格修改操作请求至第二调整模块120。
第二调整模块120在接收到前述虚拟网络功能返回的虚机规格修改操作请求之后,识别到第二迁移模块110已完成对目标虚机的业务迁移,此时发送第二虚机规格调整指令至网络功能虚拟化基础设施,以指示网络功能虚拟化基础设施按照前述虚机规格文件对目标虚机的规格进行调整,其中,对目标虚机进行的调整包括Scaleup/down,例如,将目标虚机的处理的cpu核数由2个调整为4个;又例如,将目标虚机的硬盘容量由2T调整为1T。在具体实施时,该第二虚机规格调整指令为nova resize指令。
网络功能虚拟化基础设施在接收到第二调整模块120传输的第二虚机规格调整指令之后,按照前述虚机规格文件对目标虚机的规格进行调整,由于该第二虚机规格调整指令为nova resize指令,网络功能虚拟化基础设施在完成对目标虚机的规格调整之后,将重启目标虚机,此时,目标虚机调整后的规格在物理层面以及业务层面生效。
在完成目标虚机的重启之后,网络功能虚拟化基础设施返回虚机规格修改操作响应至第二迁移模块110。
第二迁移模块110在接收到网络功能虚拟化基础设施返回的虚机规格修改操作响应之后,识别到规格调整后的目标虚机已经重启成功,由于本公开前述在对目标虚机进行规格调整时,将目标虚机正在开展的业务迁移至冷备虚机或热备虚机,保证了业务不中断,但是,由于业务的迁入,冷备虚机或热备虚机的负载将增大,降低其工作效率,而此时目标虚机已完成规格的 调整,可以继续开展业务,即可将迁出的业务迁回至目标虚机。
第二迁移模块110将接收的虚机规格修改操作响应转发至前述虚拟网络功能,由前述虚拟网络功能将目标虚机迁出的业务迁回,由目标虚机继续开展业务。其中,前述虚拟网络功能在将目标虚机迁出的业务迁回之后,返回预处理响应至第二迁移模块110。
在其他示例中,第二迁移模块110可以在接收到前述虚拟网络功能返回预处理响应之后,根据实际需要传输后处理操作指示至前述虚拟网络功能,由前述虚拟网络功能执行指示的后处理操作,并在执行完成后处理操作之后,返回后处理响应至第二迁移模块110。
基于第五示例,提出本公开虚机规格调整方法的第六示例。对应于前述虚机规格调整装置的第六示例,在本示例中,步骤S110之前,还包括:
在虚拟网络功能管理器接收到虚机规格调整操作时,识别目标虚机是否唯一;
在所述目标虚机唯一时,执行步骤S110。
本示例在前述第五示例的基础上,针对规格调整的目标虚机是否唯一提出了不同的处理方案,以下仅对该区别进行说明,其他可参照前述第五示例,此处不再赘述。
在本示例中,第二迁移模块110在对目标虚机的业务进行迁移之前,首先对规格调整的目标虚机的个数进行识别,以确定目标虚机是否唯一。
在确定目标虚机唯一时,也即是仅有单一目标虚机要进行规格调整时,第二迁移模块110发送预处理操作指示至对应目标虚机的虚拟网络功能,以指示其进行虚机规格调整的预处理操作,具体可参照前述第一示例,此处不再赘述。
在本示例中,前述识别目标虚机是否唯一的步骤之后,还包括:
在目标虚机包括相同业务类型的多个虚机时,基于前述虚拟网络功能将各目标虚机划分为多个批次的目标虚机,其中,各批次的目标虚机包括一个或多个虚机;
基于前述虚拟网络功能选中一批次的目标虚机;
于基于前述虚拟网络功能将选中批次的目标虚机正在开展的业务迁移至热备虚机或者各自的冷备虚机,并在选中批次的目标虚机的业务均迁移完成之后,发送对应选中批次的目标虚机的第二虚机规格调整指令至网络功能虚拟化基础设施,以指示网络功能虚拟化基础设施对选中批次的目标虚机的规格进行调整,并在完成规格调整后重启选中批次的目标虚机;
在选中批次的目标虚机重启成功后,基于前述虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至选中批次的目标虚机,并继续基于所述虚拟网络功能选中一批次的目标虚机的步骤,直至各批次的目标虚机均被选中中。
例如,在目标虚机包括相同业务类型的多个虚机时,第二迁移模块110发送预处理操作指示至前述虚拟网络功能,此时发送的预处理操作指示与前述第五示例的预处理操作指示的区别在于,此时发送的预处理操作指示还携带有各目标虚机的信息。
前述虚拟网络功能在接收到预处理操作指示之后,将各目标虚机划分为多个批次的目标虚机,划分的各批次的目标虚机可以多个目标虚机,也可仅包括一个目标虚机,具体根据网络功能虚拟化基础设施的具体处理能力进行划分。
在完成批次划分之后,前述虚拟网络功能选中一批次的目标虚机,并将选中批次的目标虚机正在开展的业务迁移至热备虚机或者各自的冷备虚机,其中,在迁移时,逐个迁移选中批次的目标虚机,具体可参照前述第一示例的相关描述,此处不再赘述。
在完成选中批次的目标虚机的业务迁移之后,前述虚拟网络功能返回对应于选中批次的目标虚机的虚机规格修改操作请求至第二调整模块120。
第二调整模块120在接收到前述虚拟网络功能返回的虚机规格修改操作请求之后,识别到第二迁移模块110已完成对选中批次的目标虚机的业务迁移,此时发送对应选中批次的目标虚机的第二虚机规格调整指令至网络功能虚拟化基础设施,以指示网络功能虚拟化基础设施按照前述虚机规格文件 对选中批次的目标虚机的规格进行调整,其中,对目标虚机进行的调整包括Scaleup/down,例如,将目标虚机的处理的cpu核数由2个调整为4个;又例如,将目标虚机的硬盘容量由2T调整为1T。在具体实施时,该第二虚机规格调整指令为nova resize指令。
网络功能虚拟化基础设施在接收到第二调整模块120传输的第二虚机规格调整指令之后,按照前述虚机规格文件对选中批次的目标虚机的规格进行调整,由于该第二虚机规格调整指令为nova resize指令,网络功能虚拟化基础设施在完成对选中批次的目标虚机的规格调整之后,将重启选中批次的目标虚机,此时,目标虚机调整后的规格在物理层面以及业务层面生效。
在完成对选中批次的目标虚机的重启之后,网络功能虚拟化基础设施返回对应选中批次的目标虚机的虚机规格修改操作响应至第二迁移模块110。
第二迁移模块110在接收到网络功能虚拟化基础设施返回的,对应于选中批次的目标虚机的虚机规格修改操作响应之后,识别到选择批次的目标虚机已经重启成功,由于本公开前述在对目标虚机进行规格调整时,将目标虚机正在开展的业务迁移至冷备虚机或热备虚机,保证了业务不中断,但是,由于业务的迁入,冷备虚机或热备虚机的负载将增大,降低其工作效率,而此时选中批次的目标虚机已完成规格的调整,可以继续开展业务,即可将迁出的业务迁回至选中批次的目标虚机。
第二迁移模块110将接收的,对应于选中批次的虚机规格修改操作响应转发至前述虚拟网络功能,由前述虚拟网络功能将选中批次的目标虚机迁出的业务迁回,由选中批次的目标虚机继续开展业务。
之后,前述虚拟网络功能继续选中一批次的目标虚机,直至各批次目标虚机均被选中,各目标虚机调整后的规格在物理层面以及业务层面生效,且迁出的业务被迁回。其中,前述虚拟网络功能在将各批次目标虚机迁出的业务均迁回之后,返回预处理响应至第二迁移模块110。
在其他示例中,第二迁移模块110可以在接收到前述虚拟网络功能返回预处理响应之后,根据实际需要传输后处理操作指示至前述虚拟网络功能,由前述虚拟网络功能执行指示的后处理操作,并在执行完成后处理操作之后,返回后处理响应至第二迁移模块110。
本公开实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现以上描述的任一方法。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
以上仅为本公开的示例性实施例,并非因此限制本公开的专利范围,凡是利用本公开说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本公开的专利保护范围内。
工业实用性
本公开提供了虚机规格调整方法及装置,通过采用第一虚机规格调整指令或第二虚机规格调整指令指示网络功能虚拟化基础设施对目标虚机的规格进行调整,并在网络功能虚拟化基础设施完成调整后,在对目标虚机进行重启之前,将目标虚机正在开展的业务迁移至冷备虚机或热备虚机。根据本 公开,避免了业务数据丢失,在满足整局容量调整的同时,不会导致业务中断,用户不会掉线,实现了在不影响虚机运行业务的前提下,对虚机规格进行调整的目的。

Claims (18)

  1. 一种虚机规格调整方法,应用于虚拟网络功能管理器,其中,所述虚机规格调整方法包括以下步骤:
    在虚拟网络功能管理器接收到虚机规格调整操作时,发送对应所述虚机规格调整操作的第一虚机规格调整指令至网络功能虚拟化基础设施,以指示所述网络功能虚拟化基础设施对目标虚机的规格进行调整,并在完成规格调整后不重启所述目标虚机;
    基于对应所述目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
    在完成对所述目标虚机的规格调整以及业务迁移之后,基于所述虚拟网络功能重启规格调整后的所述目标虚机,以使得调整后的规格生效。
  2. 根据权利要求1所述的方法,其中,所述基于对应所述目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机的步骤之前,还包括:识别所述目标虚机是否唯一;
    在所述目标虚机唯一时,基于对应所述目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
    在所述目标虚机包括相同业务类型的多个虚机时,直接将每个所述目标虚机标记为已完成业务迁移。
  3. 根据权利要求2所述的方法,其中,在所述目标虚机包括相同业务类型的多个虚机时,所述在完成对所述目标虚机的规格调整以及业务迁移之后,基于所述虚拟网络功能重启规格调整后的所述目标虚机,以使得调整后的规格生效的步骤包括:
    在完成对每个所述目标虚机的规格调整,且每个所述目标虚机被标记为已完成业务迁移时,基于所述虚拟网络功能选中所述多个目标虚机中的一个目标虚机;
    在选中目标虚机时,基于所述虚拟网络功能将选中的目标虚机正在开展的业务迁移至冷备虚机或热备虚机,并在将选中的目标虚机的业务迁移至冷备虚机或热备虚机之后,基于所述虚拟网络功能重启选中的目标虚机;
    返回选中所述多个目标虚机中的一个目标虚机的步骤,直至每个所述目标虚机均被选中。
  4. 根据权利要求1-3任一项所述的方法,其中,所述基于所述虚拟网络功能重启规格调整后的所述目标虚机的步骤之后,还包括:
    在规格调整后的所述目标虚机重启成功后,基于对应目标虚机的虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至所述目标虚机。
  5. 根据权利要求1-3任一项所述的方法,其中,所述在虚拟网络功能管理器接收到虚机规格调整操作时,发送对应所述虚机规格调整操作的第一虚机规格调整指令至网络功能虚拟化基础设施的步骤之前,还包括:
    侦测每个虚机的负载是否达到预设负载;
    在有虚机的负载达到所述预设负载时,将负载达到所述预设负载的虚机作为目标虚机,并触发虚机规格调整操作。
  6. 一种虚机规格调整方法,应用于虚拟网络功能管理器,其中,所述虚机规格调整方法包括以下步骤:
    在虚拟网络功能管理器接收到虚机规格调整操作时,基于对应目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
    在完成对所述目标虚机的业务迁移之后,发送对应所述虚机规格调整操作的第二虚机规格调整指令至网络功能虚拟化基础设施,以指示所述网络功能虚拟化基础设施对所述目标虚机的规格进行调整,并在完成规格调整后重启所述目标虚机,以使得调整后的规格生效;
    在规格调整后的所述目标虚机重启成功后,基于对应目标虚机的虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至所述目标虚机。
  7. 根据权利要求6所述的虚机规格调整方法,其中,所述基于对应目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机的步骤之前,还包括:在虚拟网络功能管理器接收到虚机规格调整操作时,识别所述目标虚机是否唯一;
    在所述目标虚机唯一时,基于对应目标虚机的虚拟网络功能,将所述目 标虚机正在开展的业务迁移至冷备虚机或热备虚机;
    在所述目标虚机包括相同业务类型的多个虚机时,基于所述虚拟网络功能将所述多个目标虚机划分为多个批次的目标虚机,其中,每个批次的目标虚机包括一个或多个虚机。
  8. 根据权利要求7所述的虚机规格调整方法,其中,在所述目标虚机包括相同业务类型的多个虚机时,在基于所述虚拟网络功能将所述多个目标虚机划分为多个批次的目标虚机之后,还包括:
    基于所述虚拟网络功能选中所述多个批次中的一批次的目标虚机;
    基于所述虚拟网络功能将选中批次的目标虚机正在开展的业务迁移至热备虚机或者各自的冷备虚机,并在选中批次的目标虚机的业务均迁移完成之后,发送对应选中批次的目标虚机的第二虚机规格调整指令至网络功能虚拟化基础设施,以指示所述网络功能虚拟化基础设施对选中批次的目标虚机的规格进行调整,并在完成规格调整后重启选中批次的目标虚机;
    在选中批次的目标虚机重启成功后,基于所述虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至选中批次的目标虚机,并返回基于所述虚拟网络功能选中一批次的目标虚机的步骤,直至每个批次的目标虚机均被选中。
  9. 一种虚机规格调整装置,应用于虚拟网络功能管理器,其中,所述虚机规格调整装置包括:
    第一调整模块,设置为在虚拟网络功能管理器接收到虚机规格调整操作时,发送对应所述虚机规格调整操作的第一虚机规格调整指令至网络功能虚拟化基础设施,以指示所述网络功能虚拟化基础设施对目标虚机的规格进行调整,并在完成规格调整后不重启所述目标虚机;
    第一迁移模块,设置为基于对应所述目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
    重启模块,设置为在完成对所述目标虚机的规格调整以及业务迁移之后,基于所述虚拟网络功能重启规格调整后的所述目标虚机,以使得调整后的规格生效。
  10. 根据权利要求9所述的装置,其中,所述第一迁移模块还设置为识别所述目标虚机是否唯一;在所述目标虚机唯一时,基于对应所述目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机;在所述目标虚机包括相同业务类型的多个虚机时,直接将每个所述目标虚机标记为已完成业务迁移。
  11. 根据权利要求10所述的装置,其中,在所述目标虚机包括相同业务类型的多个虚机时,所述第一迁移模块还设置为在第一调整模块完成对每个所述目标虚机的规格调整,且每个所述目标虚机被标记为已完成业务迁移时,基于所述虚拟网络功能选中所述多个目标虚机中的一个目标虚机;在选中目标虚机时,基于所述虚拟网络功能将选中的目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
    所述重启模块还设置为在所述第一迁移模块将选中的目标虚机的业务迁移至冷备虚机或热备虚机之后,基于所述虚拟网络功能重启选中的目标虚机;
    所述第一迁移模块还设置为继续选中所述多个目标虚机中的一个目标虚机,直至每个所述目标虚机均被选中。
  12. 根据权利要求9-11任一项所述的装置,其中,所述第一迁移模块还设置为在规格调整后的所述目标虚机重启成功后,基于对应目标虚机的虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至所述目标虚机。
  13. 根据权利要求9-11任一项所述的装置,其中,所述装置还包括触发模块,设置为侦测每个虚机的负载是否达到预设负载;在有虚机的负载达到所述预设负载时,将负载达到所述预设负载的虚机作为目标虚机,并触发虚机规格调整操作。
  14. 一种虚机规格调整装置,应用于虚拟网络功能管理器,其中,所述虚机规格调整装置包括:
    第二迁移模块,设置为在虚拟网络功能管理器接收到虚机规格调整操作时,基于对应目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机;
    第二调整模块,设置为在完成对所述目标虚机的业务迁移之后,发送对应所述虚机规格调整操作的第二虚机规格调整指令至网络功能虚拟化基础设施,以指示所述网络功能虚拟化基础设施对所述目标虚机的规格进行调整,并在完成规格调整后重启所述目标虚机,以使得调整后的规格生效;
    所述第二迁移模块还设置为在规格调整后的所述目标虚机重启成功后,基于对应目标虚机的虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至所述目标虚机。
  15. 根据权利要求14所述的虚机规格调整装置,其中,所述第二迁移模块还设置为在虚拟网络功能管理器接收到虚机规格调整操作时,识别所述目标虚机是否唯一;在所述目标虚机唯一时,基于对应目标虚机的虚拟网络功能,将所述目标虚机正在开展的业务迁移至冷备虚机或热备虚机;在所述目标虚机包括相同业务类型的多个虚机时,基于所述虚拟网络功能将所述多个目标虚机划分为多个批次的目标虚机,其中,每个批次的目标虚机包括一个或多个虚机。
  16. 根据权利要求15所述的虚机规格调整装置,其中,所述第二迁移模块还设置为在所述目标虚机包括相同业务类型的多个虚机时,在基于所述虚拟网络功能将所述多个目标虚机划分为多个批次的目标虚机之后,基于所述虚拟网络功能选中所述多个批次中的一批次的目标虚机;基于所述虚拟网络功能将选中批次的目标虚机正在开展的业务迁移至热备虚机或者各自的冷备虚机;
    所述第二调整模块还设置为在选中批次的目标虚机的业务均迁移完成之后,发送对应选中批次的目标虚机的第二虚机规格调整指令至网络功能虚拟化基础设施,以指示所述网络功能虚拟化基础设施对选中批次的目标虚机的规格进行调整,并在完成规格调整后重启选中批次的目标虚机;
    所述第二迁移模块还设置为在选中批次的目标虚机重启成功后,基于所述虚拟网络功能将迁移至冷备虚机或热备虚机的业务迁回至选中批次的目标虚机,并继续基于所述虚拟网络功能选中一批次的目标虚机,直至每个批次的目标虚机均被选中。
  17. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机 可执行指令被处理器执行时实现权利要求1-5中任一项所述的方法。
  18. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现权利要求6-8中任一项所述的方法。
PCT/CN2018/083329 2017-04-20 2018-04-17 虚机规格调整方法及装置 WO2018192475A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710265046.X 2017-04-20
CN201710265046.XA CN108733450A (zh) 2017-04-20 2017-04-20 虚机规格调整方法及装置

Publications (1)

Publication Number Publication Date
WO2018192475A1 true WO2018192475A1 (zh) 2018-10-25

Family

ID=63856480

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/083329 WO2018192475A1 (zh) 2017-04-20 2018-04-17 虚机规格调整方法及装置

Country Status (2)

Country Link
CN (1) CN108733450A (zh)
WO (1) WO2018192475A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112433854A (zh) * 2020-12-02 2021-03-02 浪潮软件科技有限公司 一种在线调整OpenStack虚拟机规格的方法
US11221865B2 (en) 2018-07-31 2022-01-11 Nutanix, Inc. Batch management of operations over virtualized entities

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678002A (zh) * 2013-12-09 2014-03-26 华为技术有限公司 资源复用的控制方法和装置
CN103885812A (zh) * 2012-12-21 2014-06-25 华为技术有限公司 虚拟机规格调整方法及装置
CN104301404A (zh) * 2014-09-29 2015-01-21 华为技术有限公司 一种基于虚拟机的调整业务系统资源的方法及装置
CN105281949A (zh) * 2015-09-09 2016-01-27 浪潮(北京)电子信息产业有限公司 混合存储模式中主机的隔离方法和隔离装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885812A (zh) * 2012-12-21 2014-06-25 华为技术有限公司 虚拟机规格调整方法及装置
CN103678002A (zh) * 2013-12-09 2014-03-26 华为技术有限公司 资源复用的控制方法和装置
CN104301404A (zh) * 2014-09-29 2015-01-21 华为技术有限公司 一种基于虚拟机的调整业务系统资源的方法及装置
CN105281949A (zh) * 2015-09-09 2016-01-27 浪潮(北京)电子信息产业有限公司 混合存储模式中主机的隔离方法和隔离装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11221865B2 (en) 2018-07-31 2022-01-11 Nutanix, Inc. Batch management of operations over virtualized entities
CN112433854A (zh) * 2020-12-02 2021-03-02 浪潮软件科技有限公司 一种在线调整OpenStack虚拟机规格的方法

Also Published As

Publication number Publication date
CN108733450A (zh) 2018-11-02

Similar Documents

Publication Publication Date Title
EP3606008B1 (en) Method and device for realizing resource scheduling
EP3668009B1 (en) Network service lifecycle management method and device
EP3839726B1 (en) Software modification initiation method and apparatus
WO2016078417A1 (zh) 一种虚拟化网络功能管理升级方法、装置及服务器
US20220012082A1 (en) Hardware acceleration method and related device
CN104461744A (zh) 一种资源分配方法及装置
EP3358790B1 (en) Network function virtualization resource processing method and virtualized network function manager
CN105677441B (zh) 虚拟机迁移方法、虚拟设施管理器及协调器
US10223219B2 (en) Managing network failure using back-up networks
US20140156851A1 (en) Server facility, method for providing copying service for system of server facility, and copying program for system of sever facility
KR20220103796A (ko) 노드 관리 방법, 장치, 디바이스, 저장 매체 및 시스템
CN114003334A (zh) 虚拟机热迁移网络中断的优化方法、装置、设备、存储介质和系统
US10845997B2 (en) Job manager for deploying a bundled application
WO2018192475A1 (zh) 虚机规格调整方法及装置
CN104793981A (zh) 一种虚拟机集群的在线快照管理方法及装置
JP2019086949A (ja) 情報処理装置、情報処理システム及びプログラム
WO2017000586A1 (zh) 虚拟网元的升级方法、装置和计算机存储介质
CN107783826B (zh) 一种虚拟机迁移方法、装置及系统
JP7176633B2 (ja) 仮想化基盤制御装置、仮想化基盤制御方法および仮想化基盤制御プログラム
US10530870B2 (en) Direct volume migration in a storage area network
JP2010262545A (ja) 仮想マシンの監視管理装置、監視管理方法及びコンピュータプログラム
US20240256496A1 (en) Management of network file copy operations to a new data store
US20230195700A1 (en) Autonomous database management system
KR20180037454A (ko) 네트워크 기능 가상화 운영 장치 및 방법
CN116418667A (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: 18787047

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

Country of ref document: EP

Kind code of ref document: A1