CN108306780B - Cloud environment-based virtual machine communication quality self-optimization system and method - Google Patents

Cloud environment-based virtual machine communication quality self-optimization system and method Download PDF

Info

Publication number
CN108306780B
CN108306780B CN201710800837.8A CN201710800837A CN108306780B CN 108306780 B CN108306780 B CN 108306780B CN 201710800837 A CN201710800837 A CN 201710800837A CN 108306780 B CN108306780 B CN 108306780B
Authority
CN
China
Prior art keywords
virtual machine
network
strategy
module
communication quality
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710800837.8A
Other languages
Chinese (zh)
Other versions
CN108306780A (en
Inventor
谢恒�
蔡秋亮
郭华敏
谢琼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Financial Futures Information Technology Co ltd
Original Assignee
Shanghai Financial Futures Information Technology Co ltd
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 Shanghai Financial Futures Information Technology Co ltd filed Critical Shanghai Financial Futures Information Technology Co ltd
Priority to CN201710800837.8A priority Critical patent/CN108306780B/en
Publication of CN108306780A publication Critical patent/CN108306780A/en
Application granted granted Critical
Publication of CN108306780B publication Critical patent/CN108306780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5061Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the interaction between service providers and their network customers, e.g. customer relationship management
    • H04L41/5064Customer relationship management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a cloud environment-based virtual machine communication quality self-optimization system and method, which solve the problem of how to acquire data collection of network communication quality from the perspective of a user and solve the problem that network communication does not meet requirements. The technical scheme is as follows: the technical effect of acquiring the network communication quality data from the virtual machine perspective is achieved by setting the network quality statistical process in the virtual machine, and the problems that the user demands on the network are various, the evaluation on the communication quality is multidimensional, and the monitoring measures set from the outside cannot acquire the direct data of the network communication quality information of all the virtual machines are solved. Meanwhile, whether the network communication quality reaches the standard is judged according to the statistical data of the network communication quality acquired from the virtual machine, if not, an optimization adjustment scheme is calculated and optimization is attempted, and the technical effect of realizing accurate adjustment according to the communication quality of the virtual machine and the topological environment of the cloud environment is realized.

Description

Cloud environment-based virtual machine communication quality self-optimization system and method
Technical Field
The invention relates to a technology for improving virtualized network monitoring, in particular to a system and a method for optimizing and migrating the network communication quality of a virtual machine in a cloud platform scheme.
Background
In practice, virtualized network monitoring is very important. Typically, cloud environments employ specialized devices or systems to monitor hardware devices. However, what provides service for users is a virtual machine running in a server, the virtual machine is connected with a virtualized two-layer network and a virtualized three-layer network, network performance monitoring of the virtual machine is relatively lacked in practice, an external monitoring process is generally adopted to acquire ping command data or monitor virtual tap equipment and the like, the monitoring mode is single, and the acquired data cannot comprehensively reflect network communication experience from the perspective of the users, so that the requirements of multi-dimensional monitoring and optimization cannot be met.
Meanwhile, in the existing cloud platform scheme, a solution for optimizing and migrating the network communication quality of the virtual machine is lacked. In practice, a reasonable optimization scheme can be provided only by comprehensively considering the actual topological structure and the load condition of the cloud platform.
Disclosure of Invention
The following presents a simplified summary of one or more aspects in order to provide a basic understanding of such aspects. This summary is not an extensive overview of all contemplated aspects, and is intended to neither identify key or critical elements of all aspects nor delineate the scope of any or all aspects. Its sole purpose is to present some concepts of one or more aspects in a simplified form as a prelude to the more detailed description that is presented later.
The invention aims to provide a cloud environment-based virtual machine communication quality self-optimization system and method, which solve the problem of how to acquire data collection of network communication quality from the perspective of a user and solve the problem that network communication is not in line with requirements.
The technical scheme of the invention is as follows: the invention discloses a cloud environment-based virtual machine communication quality self-optimization system, which comprises a control module, a virtual machine network data collection module, a configuration library, a resource management module and a cloud platform infrastructure component, wherein the control module is respectively connected with the configuration library, the virtual machine network data collection module and the resource management module in a data mode, and the cloud platform infrastructure component is respectively connected with the virtual machine network data collection module and the resource management module in a data mode, wherein:
the configuration library is used for configuration information written by an administrator, and the configuration information comprises network quality setting indexes;
the resource management module is used for hardware resource management of the cloud platform, and comprises the steps of monitoring hardware to obtain hardware resource state data, receiving an operation instruction sent by the control module, feeding back an operation result to the control module, and sending an operation instruction including virtual machine migration to a cloud platform infrastructure component;
a cloud platform infrastructure component that controls virtual machines generated in servers of the component to report network quality statistics to a virtual machine network data collection module;
the virtual machine network data collection module is used for receiving network quality statistical data sent by the virtual machine;
the control module is used for acquiring network quality setting indexes of the configuration library, network quality statistical data of the virtual machine network data collection module and hardware resource state data of the resource management module, calculating a strategy list, generating an operation instruction based on an optimal strategy selected from the strategy list, sending the operation instruction to the resource management module for operation, judging whether the operation fails according to operation feedback collected from the resource management module, if the operation fails, rolling back, continuing to select a new optimal strategy for operation until the operation succeeds or all strategies fail, and recording failure information to avoid repeated operation.
According to an embodiment of the cloud environment-based virtual machine communication quality self-optimization system, the cloud platform infrastructure component reports network quality statistical data to the virtual machine network data collection module by presetting a network monitoring process in the virtual machine.
According to an embodiment of the system for cloud environment-based virtual machine communication quality self-optimization of the present invention, the system further includes:
the system comprises an administrator interface module, a system administrator and a configuration library module, wherein the administrator interface module is used for a system administrator to check and manage the system, the checked content comprises the current virtual machine network state including data transmission quantity, time delay or packet loss rate, an alarm mark including project information which cannot meet the requirements of the configuration library, and an operation history record including the step records of virtual machine migration, retry or rollback; the content of management includes: modifying the configuration library and manually sending an execution command to the control module;
the control module also reports to the administrator interface module, the content of the report including: virtual machine monitoring data gathered from the virtual machine network data collection module; reporting the non-conforming items in the monitoring data by combining the setting of the configuration library; and the operation data of the control module comprises migration, withdrawing and rollback of the virtual machine.
According to an embodiment of the system for cloud environment-based virtual machine communication quality self-optimization of the present invention, the system further includes:
the log module is used for recording operation logs of the control module and the resource management module;
the control module also writes the trigger information, the calculation result and the operation log of the resource management module into the log module.
According to an embodiment of the cloud environment-based virtual machine communication quality self-optimization system of the present invention, the configuration information stored in the configuration library further includes a prohibition operation item, where the network quality setting index includes a delay, a packet loss ratio, and a bandwidth, and the prohibition operation item includes a list prohibiting migration and subnet exclusion of a certain virtual machine.
The invention also discloses a cloud environment-based virtual machine communication quality self-optimization method, which is characterized by being executed on the cloud environment-based virtual machine communication quality self-optimization system, and the method comprises the following steps:
the control module acquires data of a configuration library and data of a virtual machine network data collection module, wherein the data of the configuration library comprises a recorded network quality setting index;
comparing the network quality setting index of the configuration library with the network quality statistical data of the virtual machine network data collection module, calculating out non-conforming items, and ending the process if all the items are in accordance;
the control module acquires hardware resource state data of the resource management module;
the control module selects different strategy generation modes according to the categories of the non-conforming items, and finally generates a strategy list, wherein each strategy contained in the strategy list corresponds to a virtual machine migration scheme;
the control module generates an operation instruction based on the optimal strategy selected from the strategy list, sends the operation instruction to the resource management module for operation, judges whether the operation fails according to operation feedback collected from the resource management module, continues to select a new optimal strategy for operation after rollback if the operation fails until the operation succeeds or all strategies fail, and records failure information to avoid repeated operation.
According to an embodiment of the cloud environment-based virtual machine communication quality self-optimization method of the present invention, the method further includes: and removing the non-processing items pre-stored in the configuration library from the non-conforming items as the final result of the non-conforming items.
According to an embodiment of the cloud environment-based virtual machine communication quality self-optimization method, in the step of selecting different policy generation modes by the control module according to the categories of the non-compliant items, the policy generation modes include:
if the virtual machine belongs to a cluster formed by a plurality of subnets and the virtual machine is not communicated with other virtual machines in the cluster smoothly, checking whether the virtual machine and the other virtual machines in the cluster are positioned in the same host machine or an available domain, and if not, migrating the virtual machine into the available domain; or
If the communication between the virtual machine and the external network is not smooth, the network port state, the virtual machine routing state and the network equipment state of the host machine corresponding to the virtual machine are checked, the bottleneck is found out, and the bottleneck is migrated to the host machine node with lower load.
According to an embodiment of the cloud environment-based virtual machine communication quality self-optimization method of the present invention, the rollback operation includes: deleting the file generated in the operation process, recovering the file modified in the operation process, and recovering the file deleted in the operation process.
According to an embodiment of the cloud environment-based virtual machine communication quality self-optimization method of the present invention, the method further includes:
when the flow is finished, the resource management module reports the execution state to the control module and writes the execution state into the log.
Compared with the prior art, the invention has the following beneficial effects: according to the invention, through setting the network quality statistical process in the virtual machine, the technical effect of acquiring the network communication quality data from the perspective of the virtual machine is realized, and the problems that the user has various network requirements, the evaluation on the communication quality is multidimensional, and the monitoring measures set from the outside cannot acquire the direct data of the network communication quality information of all the virtual machines are solved. Meanwhile, whether the network communication quality reaches the standard is judged according to the statistical data of the network communication quality acquired from the virtual machine, if not, an optimization adjustment scheme is calculated and optimization is attempted, and the technical effect of realizing accurate adjustment according to the communication quality of the virtual machine and the topological environment of the cloud environment is realized.
Drawings
The above features and advantages of the present disclosure will be better understood upon reading the detailed description of embodiments of the disclosure in conjunction with the following drawings. In the drawings, components are not necessarily drawn to scale, and components having similar relative characteristics or features may have the same or similar reference numerals.
Fig. 1 is a schematic diagram of an embodiment of the system for cloud environment-based virtual machine communication quality self-optimization according to the present invention.
Fig. 2 is a flowchart illustrating an embodiment of the cloud environment-based virtual machine communication quality self-optimization method according to the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. It is noted that the aspects described below in connection with the figures and the specific embodiments are only exemplary and should not be construed as imposing any limitation on the scope of the present invention.
Fig. 1 illustrates the principle of an embodiment of the system for cloud environment-based virtual machine communication quality self-optimization of the present invention. Referring to fig. 1, the system of the present embodiment includes: the system comprises a control module, a Virtual Machine (VM) network data collection module, a configuration library, a cloud platform Infrastructure component (IaaS) and a resource management module. In addition, an administrator interface module and a log module are also preferably included.
The administrator interface module is used for a system administrator to view and manage the system, wherein the viewed contents include but are not limited to: the current network state of the virtual machine, such as data transmission quantity, time delay, packet loss rate and the like; alarm flags, such as project information that cannot meet the requirements of the configuration library, etc.; and operation history records, such as step records of virtual machine migration, retry, rollback and the like. Managed content includes, but is not limited to: modifying the configuration library and manually sending an execution command to the control module.
The configuration library is used for storing configuration information written by an administrator, and includes but is not limited to: network quality thresholds such as delay, packet loss rate, bandwidth, etc.; and prohibiting operation items, such as prohibiting migration of a certain virtual machine, a subnet exclusion list, and the like.
The control module is the core of the whole system and is used for reporting to the administrator interface module, generating an optimization strategy, recording failure information to avoid repeated operation, and writing triggering information, calculation results and operation logs into the log module.
Wherein for the functions reported to the administrator interface module, the content of the report includes, but is not limited to: virtual machine monitoring data gathered from the virtual machine network data collection module; reporting the non-conforming items in the monitoring data by combining the setting of the configuration library; and operation data of the control module, such as migration, rollback and rollback of the virtual machine.
The step of generating an optimization strategy comprises: the method comprises the steps of firstly obtaining monitoring data of a virtual machine from a virtual machine network data collection module. Comparing with a threshold value of a configuration library, and filtering out non-conforming items; and acquiring the current hardware resource state, such as a CPU, a memory, a network use state, a network topology and an IaaS topology, from the resource management module. A policy list is then computed. And then selecting an optimal strategy, generating an operation instruction, sending the operation instruction to the resource management module, receiving operation feedback of the resource management module, continuously selecting the next strategy from the strategy list if the operation fails, and repeating the step until the operation is successful or all the strategies fail.
The log module is used for recording operation logs of the control module and the resource management module.
The cloud platform infrastructure component (IaaS) is an infrastructure layer of the cloud platform, and includes servers, network devices, storage devices, and the like. The virtual machine is generated in a server in IaaS, a network monitoring process is preset in the virtual machine, and statistical data are reported to a virtual machine network data collection module at regular time.
The resource management module is used for being responsible for hardware resource management of the cloud platform. The method has the functions of monitoring hardware (such as server utilization rate such as CPU and memory, network equipment state such as bandwidth and topology), receiving an operation instruction sent by a control module, sending the operation instruction to IaaS (such as virtual machine migration) and recording an operation log.
The virtual machine network data collection module is used for receiving network quality statistical data sent by the virtual machine.
Fig. 2 shows the operation process of the system, that is, the flow of the embodiment of the method for self-optimizing the communication quality of the virtual machine based on the cloud environment of the present invention. Referring to fig. 2, the operation steps (i.e., the self-optimization method steps) of the system of the present embodiment are as follows.
Step S1: the control module timing tasks are triggered or the administrator manually triggers at the administrator interface module.
Step S2: the control module acquires the data of the configuration library and the data of the virtual machine network data collection module.
The configuration database data includes setting index for recording network quality, list of non-processed items, etc.
Step S3: and comparing the data of the configuration library with the data of the virtual machine network data collection module, calculating out the non-conforming items, and making a difference set with the non-processing item list.
If the non-conforming item is empty, it jumps to step S10, otherwise it continues to step S4.
Step S4: the control module obtains data of the resource management module, namely information of the cloud platform IaaS, including network topology, available domain division information, virtual subnet and virtual routing information and the like.
Step S5: the control module calculates a policy list.
This step is the core of the present invention. First different policy generating procedures are selected according to the category of the non-compliant items. For example, if a virtual machine belongs to a cluster formed by a plurality of subnets and the virtual machine is not in communication with other virtual machines in the cluster, checking whether the virtual machine and the other virtual machines in the cluster are located in the same host machine or an available domain, and if not, migrating the virtual machine into the available domain; if the communication between the virtual machine and the external network is not smooth, the network port state, the virtual machine routing state and the network equipment state of the host machine corresponding to the virtual machine are checked, the bottleneck is found out, and the virtual machine is considered to be migrated to the host machine node with lower load.
A policy list is then generated based on the policy generator. The strategy list comprises a plurality of strategies, each strategy comprises a virtual machine migration scheme, and the scoring is set according to conditions. And the strategy list sorts the strategies in a descending order according to the scores, and the first strategy in the list is the current optimal strategy.
Step S6: and judging whether the strategy list is empty or not.
If the policy list is empty, go to step S10, otherwise go to step S7.
Step S7: and taking the current optimal strategy (the first strategy) in the strategy list out of the list, and submitting the current optimal strategy to the resource management module for execution.
In this step, it is first determined whether the target host condition in the policy is satisfied, including memory, CPU, storage resources, and the like. If not, S9 is executed, and if so, the present step is continued.
And then copying partial memory pages of the virtual machine to a host machine, copying information such as network state and the like, and starting the copied virtual machine.
Step S8: and judging whether the execution of the resource management module is successful.
And if the access address of the source virtual machine is successful, switching the access address of the source virtual machine to the copied virtual machine, destroying the source virtual machine, executing the step S10, and if the access address of the source virtual machine is failed, executing the step S9.
Step S9: and rolling back, if the execution fails, deleting the file generated in the operation process, recovering the file modified in the operation process, and recovering the file deleted in the operation process. And records the log file, notifies the control module, and then returns to step S6 to execute, when the previously executed policy has been deleted from the policy list.
Step S10: and reporting the execution state to the control module, writing a log and ending the process.
While, for purposes of simplicity of explanation, the methodologies are shown and described as a series of acts, it is to be understood and appreciated that the methodologies are not limited by the order of acts, as some acts may, in accordance with one or more embodiments, occur in different orders and/or concurrently with other acts from that shown and described herein or not shown and described herein, as would be understood by one skilled in the art.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary embodiments, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software as a computer program product, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a web site, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk (disk) and disc (disc), as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk and blu-ray disc where disks (disks) usually reproduce data magnetically, while discs (discs) reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples and designs described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. The utility model provides a virtual machine communication quality is from system of optimizing based on cloud environment, its characterized in that, includes control module, virtual machine network data collection module, configuration storehouse, resource management module, cloud platform infrastructure subassembly, and control module respectively with configuration storehouse, virtual machine network data collection module, resource management module establish data connection, cloud platform infrastructure subassembly respectively with virtual machine network data collection module, resource management module establish data connection, wherein:
the configuration library is used for storing configuration information written by an administrator, and the configuration information comprises network quality setting indexes;
the resource management module is used for hardware resource management of the cloud platform, and comprises the steps of monitoring hardware to obtain hardware resource state data, receiving an operation instruction sent by the control module, feeding back an operation result to the control module, and sending an operation instruction including virtual machine migration to a cloud platform infrastructure component;
a cloud platform infrastructure component that controls virtual machines to report network quality statistics to a virtual machine network data collection module, wherein the virtual machines are generated at servers in the component;
the virtual machine network data collection module is used for receiving network quality statistical data sent by the virtual machine;
a control module for obtaining network quality setting index of the configuration library, network quality statistical data of the virtual machine network data collection module and hardware resource state data of the resource management module, calculating a strategy list, generating an operation instruction based on the optimal strategy selected from the strategy list, sending the operation instruction to the resource management module for operation, judging whether the operation fails according to the operation feedback collected from the resource management module, if the operation fails, rolling back, continuing to select a new optimal strategy for operation until the operation succeeds or all strategies fail, and recording failure information to avoid repeated operation, comparing the monitoring data of the virtual machine obtained by the virtual machine network data collection module with the configuration library threshold value to filter out non-conforming items, and further configuring the calculation strategy list to select different strategy generation programs according to the categories of the non-conforming items, the way of selecting different policy generating programs according to the category of the non-compliant item includes: if the virtual machine belongs to a cluster formed by a plurality of subnets and the virtual machine is not communicated with other virtual machines in the cluster smoothly, checking whether the virtual machine and the other virtual machines in the cluster are positioned in the same host machine or an available domain, and if not, taking the virtual machine into consideration to be migrated; if the communication between the virtual machine and the external network is not smooth, checking the corresponding host machine network port state, virtual machine routing state and network equipment state, finding out a bottleneck, considering migrating the bottleneck to a host machine node with lower load, generating a strategy list based on a strategy generating program, wherein the strategy list comprises a plurality of strategies, each strategy comprises a virtual machine migration scheme, and setting and scoring according to conditions, the strategies are sorted in a descending order according to the scoring by the strategy list, and the first strategy in the list is the current optimal strategy.
2. The cloud environment-based virtual machine communication quality self-optimization system of claim 1, wherein the cloud platform infrastructure component reports network quality statistics to the virtual machine network data collection module by pre-provisioning a network monitoring process in the virtual machine.
3. The cloud environment-based virtual machine communication quality self-optimization system according to claim 1, further comprising:
and the administrator interface module is used for a system administrator to view and manage the system, wherein the viewed content is as follows: the method comprises the following steps of obtaining the network state of the current virtual machine including data transmission quantity, time delay or packet loss rate, alarm signs including item information which cannot meet the requirements of a configuration library, and operation history records including step records of virtual machine migration, retry or rollback; the content of management includes: modifying the configuration library and manually sending an execution command to the control module;
the control module also reports to the administrator interface module, the content of the report including: virtual machine monitoring data gathered from the virtual machine network data collection module; reporting the non-conforming items in the monitoring data by combining the setting of the configuration library; and the operation data of the control module comprises migration, withdrawing and rollback of the virtual machine.
4. The cloud environment-based virtual machine communication quality self-optimization system according to claim 3, further comprising:
the log module is used for recording operation logs of the control module and the resource management module;
the control module also writes the trigger information, the calculation result and the operation log of the resource management module into the log module.
5. The cloud environment-based virtual machine communication quality self-optimization system according to claim 4, wherein the configuration information stored in the configuration library further includes prohibited operation items, wherein the network quality setting index includes delay, packet loss rate, and bandwidth, and the prohibited operation items include a list of prohibiting migration and subnet exclusion of a certain virtual machine.
6. A cloud environment-based virtual machine communication quality self-optimization method, which is executed on the cloud environment-based virtual machine communication quality self-optimization system according to claim 1, and comprises:
the control module acquires data of a configuration library and data of a virtual machine network data collection module, wherein the data of the configuration library comprises network quality setting indexes;
comparing the network quality setting index of the configuration library with the network quality statistical data of the virtual machine network data collection module, calculating out non-conforming items, and ending the process if all the items are in accordance;
the control module acquires hardware resource state data of the resource management module;
the method comprises the following steps that a control module selects different strategy generation modes according to the categories of non-conforming items, and finally generates a strategy list, wherein each strategy contained in the strategy list corresponds to a virtual machine migration scheme, and in the step that the control module selects different strategy generation modes according to the categories of the non-conforming items, the strategy generation modes comprise the following steps: if the virtual machine belongs to a cluster formed by a plurality of subnets and the virtual machine is not communicated with other virtual machines in the cluster smoothly, checking whether the virtual machine and the other virtual machines in the cluster are positioned in the same host machine or an available domain, and if not, migrating the virtual machine into the available domain; or if the communication between the virtual machine and the external network is not smooth, checking the corresponding host machine network port state, virtual machine routing state and network equipment state, finding out a bottleneck, migrating the bottleneck to a host machine node with lower load, generating a strategy list based on a strategy generation program, wherein the strategy list comprises a plurality of strategies, setting and grading according to conditions, and sorting the strategies in a descending order according to the grading by the strategy list, wherein the first strategy in the list is the current optimal strategy;
the control module generates an operation instruction based on the optimal strategy selected from the strategy list, sends the operation instruction to the resource management module for operation, judges whether the operation fails according to operation feedback collected from the resource management module, continues to select a new optimal strategy for operation after rollback if the operation fails until the operation succeeds or all strategies fail, and records failure information to avoid repeated operation.
7. The cloud environment-based virtual machine communication quality self-optimization method according to claim 6, further comprising: and removing the non-processing items pre-stored in the configuration library from the non-conforming items as the final result of the non-conforming items.
8. The cloud environment-based virtual machine communication quality self-optimization method of claim 7, wherein the rollback operation comprises: deleting the file generated in the operation process, recovering the file modified in the operation process, and recovering the file deleted in the operation process.
9. The cloud environment-based virtual machine communication quality self-optimization method according to claim 8, further comprising:
when the flow is finished, the resource management module reports the execution state to the control module and writes the execution state into the log.
CN201710800837.8A 2017-09-07 2017-09-07 Cloud environment-based virtual machine communication quality self-optimization system and method Active CN108306780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710800837.8A CN108306780B (en) 2017-09-07 2017-09-07 Cloud environment-based virtual machine communication quality self-optimization system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710800837.8A CN108306780B (en) 2017-09-07 2017-09-07 Cloud environment-based virtual machine communication quality self-optimization system and method

Publications (2)

Publication Number Publication Date
CN108306780A CN108306780A (en) 2018-07-20
CN108306780B true CN108306780B (en) 2021-07-20

Family

ID=62869502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710800837.8A Active CN108306780B (en) 2017-09-07 2017-09-07 Cloud environment-based virtual machine communication quality self-optimization system and method

Country Status (1)

Country Link
CN (1) CN108306780B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347523A (en) * 2019-07-12 2019-10-18 深信服科技股份有限公司 A kind of data transmission method, equipment, system and medium
CN112636965B (en) * 2020-12-17 2023-03-28 浪潮云信息技术股份公司 Virtual machine network connectivity monitoring method in cloud environment
CN116866154B (en) * 2023-09-05 2023-11-28 湖北华中电力科技开发有限责任公司 Intelligent dispatching management system for power distribution network communication service based on virtual machine cluster

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800698A (en) * 2010-01-29 2010-08-11 华南理工大学 Flow limit system and method thereof based on network processor
CN104011685A (en) * 2012-12-26 2014-08-27 华为技术有限公司 Resource management method of virtual machine system, virtual machine system, and apparatus
CN104010028A (en) * 2014-05-04 2014-08-27 华南理工大学 Dynamic virtual resource management strategy method for performance weighting under cloud platform
CN104683388A (en) * 2013-11-27 2015-06-03 宁波复博信息技术有限公司 Cloud resource management system and management method thereof
CN104869025A (en) * 2014-02-24 2015-08-26 中国移动通信集团广东有限公司 PTN (Packet Transport Network) service configuration parameter detecting method and system
CN105302630A (en) * 2015-10-26 2016-02-03 深圳大学 Dynamic adjustment method and system for virtual machine

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800698A (en) * 2010-01-29 2010-08-11 华南理工大学 Flow limit system and method thereof based on network processor
CN104011685A (en) * 2012-12-26 2014-08-27 华为技术有限公司 Resource management method of virtual machine system, virtual machine system, and apparatus
CN104683388A (en) * 2013-11-27 2015-06-03 宁波复博信息技术有限公司 Cloud resource management system and management method thereof
CN104869025A (en) * 2014-02-24 2015-08-26 中国移动通信集团广东有限公司 PTN (Packet Transport Network) service configuration parameter detecting method and system
CN104010028A (en) * 2014-05-04 2014-08-27 华南理工大学 Dynamic virtual resource management strategy method for performance weighting under cloud platform
CN105302630A (en) * 2015-10-26 2016-02-03 深圳大学 Dynamic adjustment method and system for virtual machine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于openstack的动态资源调度方法的研究与实现;程龙;《中国优秀硕士学位论文全文数据库 信息科技辑》;20150415;正文13-51页 *

Also Published As

Publication number Publication date
CN108306780A (en) 2018-07-20

Similar Documents

Publication Publication Date Title
US9460185B2 (en) Storage device selection for database partition replicas
US9460136B1 (en) Managing databases in data storage systems
US7685165B2 (en) Policy based resource management for legacy data
CN109582213B (en) Data reconstruction method and device and data storage system
US11210183B2 (en) Memory health tracking for differentiated data recovery configurations
CN103929500A (en) Method for data fragmentation of distributed storage system
CN108306780B (en) Cloud environment-based virtual machine communication quality self-optimization system and method
US20120239797A1 (en) Reconciling network management data
CN104615606A (en) Hadoop distributed file system and management method thereof
US11157186B2 (en) Distributed object storage system with dynamic spreading
CN114443332A (en) Storage pool detection method and device, electronic equipment and storage medium
CN109460345A (en) The calculation method and system of real time data
JP7514336B2 (en) Cluster capacity reduction/expansion method and system, capacity reduction/expansion control terminal, and medium
CN109840051B (en) Data storage method and device of storage system
CN114416665A (en) Method, device and medium for detecting and repairing data consistency
US7058715B2 (en) Managing access control within system topologies using canonical access control representations
US11301436B2 (en) File storage method and storage apparatus
CN115904263B (en) Data migration method, system, equipment and computer readable storage medium
CN111984196A (en) File migration method, device, equipment and readable storage medium
CN115604294A (en) Method and device for managing storage resources
US11580082B2 (en) Object storage system with control entity quota usage mapping
US11204717B2 (en) Object storage system with access control quota status check
CN115603923A (en) Access Control List (ACL) policy management method, device and related equipment
CN107491264A (en) Method for writing data and device in a kind of distributed system
CN112269677A (en) Rollback operation device, method, equipment and medium under heterogeneous cloud platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant