CN110958152A - Method, system and equipment for monitoring virtual machine service network - Google Patents

Method, system and equipment for monitoring virtual machine service network Download PDF

Info

Publication number
CN110958152A
CN110958152A CN201910970354.1A CN201910970354A CN110958152A CN 110958152 A CN110958152 A CN 110958152A CN 201910970354 A CN201910970354 A CN 201910970354A CN 110958152 A CN110958152 A CN 110958152A
Authority
CN
China
Prior art keywords
virtual machine
monitoring
service network
information
alarm
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.)
Pending
Application number
CN201910970354.1A
Other languages
Chinese (zh)
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201910970354.1A priority Critical patent/CN110958152A/en
Publication of CN110958152A publication Critical patent/CN110958152A/en
Pending legal-status Critical Current

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
    • H04L43/0823Errors, e.g. transmission errors
    • 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/06Management of faults, events, alarms or notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method, a system and equipment for monitoring a virtual machine service network, which are characterized in that the service network of a virtual machine is mirrored onto a specific virtual network card, data on the virtual network card is monitored, alarm information is generated in time when the set data is abnormal, mail or short message setting is triggered after the set data reaches a specific value, the information is sent to maintenance personnel, and the maintenance personnel logs in the system in time according to the received information to solve the alarm. The invention solves the difficult problems of monitoring and timely finding out and quickly solving problems of the virtual machine service network in the virtualization system.

Description

Method, system and equipment for monitoring virtual machine service network
Technical Field
The invention relates to the technical field of computer application, in particular to a method, a system and equipment for monitoring a virtual machine service network.
Background
Currently, network monitoring monitors data mirrored through a port mirroring function of a physical switch. The data traffic of the physical switch port is huge, and the effect of monitoring the change of the total data traffic is good.
In the existing virtualization management system, a plurality of virtual machines can be created to provide services for clients, the operation service of each virtual machine may be different, so that the data on each virtual machine needs to be monitored to monitor the operation condition of the service network on each virtual machine, when the service network fails, an alarm is generated in time, and maintenance personnel can find and solve the problem in time. However, it is difficult to make a judgment on the service network of a specific virtual machine in time to generate an alarm to notify a maintenance person on a conventional physical switch.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a method, a system, and a device for monitoring a virtual machine service network, which can monitor all virtual machine service networks or some particularly important virtual machine service network states in a virtualization system, and when a fault occurs, can generate an alarm report in time and notify a maintenance person to repair the fault in time through an email or a short message.
In order to achieve the purpose, the invention is realized by the following technical scheme: a monitoring method of a virtual machine service network comprises the following steps:
starting a virtual machine service network;
mirroring the service network flow of the virtual machine to a network card of the virtual machine through a port mirroring function;
monitoring and abnormal alarming are carried out on data on a virtual machine network card;
and triggering information setting after the alarm duration exceeds a set threshold value, and sending information to maintenance personnel.
Further, the monitoring and abnormal warning of the data on the virtual machine network card includes:
inputting a monitored IP address of the virtual machine, generating an alarm when the interruption time of the data of the IP of the virtual machine exceeds the preset time, and stopping the alarm when the interrupted data is recovered.
Further, triggering information setting after the alarm duration exceeds a set threshold, and sending information to maintenance personnel comprises:
when the alarm duration exceeds a set threshold, triggering a sending instruction of a mail or short message configuration unit;
and after receiving the sending instruction, the mail or short message configuration unit sends the interruption information to maintenance personnel.
Further, the interruption information includes: a virtual machine name and a virtual machine IP address.
Further, still include:
and after the maintenance personnel receive the interrupt information, positioning the fault virtual machine according to the interrupt information.
Correspondingly, the invention also discloses a monitoring system of the virtual machine service network, which comprises:
the starting unit is used for starting the virtual machine service network;
the mirror image unit is used for mirroring the service network flow of the virtual machine to the network card of the virtual machine through a port mirror image function;
the monitoring unit is used for monitoring and alarming abnormality of data on the virtual machine network card;
and the information sending unit is used for triggering information setting after the alarm duration exceeds a set threshold value and sending the information to maintenance personnel.
Further, the monitoring unit includes:
the input module is used for inputting the IP address of the monitored virtual machine;
and the alarm module is used for generating an alarm when the interruption time of the data of the IP of the virtual machine exceeds the preset time, and stopping the alarm when the interrupted data is recovered.
Further, the information sending unit includes:
the instruction triggering module is used for triggering a sending instruction of the mail or short message configuration unit when the alarm duration exceeds a set threshold;
and the instruction execution module is used for sending the interruption information to maintenance personnel after the mail or short message configuration unit receives the sending instruction.
Correspondingly, the invention also discloses a monitoring device of the virtual machine service network, which comprises:
a memory for storing a computer program;
a processor for implementing the steps of the method for monitoring a virtual machine service network as described in any one of the above when executing the computer program.
Compared with the prior art, the invention has the beneficial effects that: the invention provides a method, a system and equipment for monitoring a virtual machine service network, which are characterized in that the service network of a virtual machine is mirrored onto a specific virtual network card, data on the virtual network card is monitored, alarm information is generated in time when the set data is abnormal, mail or short message setting is triggered after the set data reaches a specific value, the information is sent to maintenance personnel, and the maintenance personnel logs in the system in time according to the received information to solve the alarm. The invention solves the difficult problems of monitoring and timely finding out and quickly solving problems of the virtual machine service network in the virtualization system.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of the method of the present invention.
Fig. 2 is a system block diagram of the present invention.
FIG. 3 is a process flow diagram of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made with reference to the accompanying drawings.
As shown in fig. 1, the present invention provides a method for monitoring a virtual machine service network, including:
and starting the virtual machine service network.
And mirroring the service network flow of the virtual machine to the network card of the virtual machine through the port mirroring function.
And monitoring and alarming the data on the network card of the virtual machine. The method specifically comprises the following steps: inputting a monitored IP address of the virtual machine, generating an alarm when the interruption time of the data of the IP of the virtual machine exceeds the preset time, and stopping the alarm when the interrupted data is recovered.
And triggering information setting after the alarm duration exceeds a set threshold value, and sending information to maintenance personnel. Firstly, when the alarm duration exceeds a set threshold, triggering a sending instruction of a mail or short message configuration unit; and after receiving the sending instruction, the mail or short message configuration unit sends the interruption information to maintenance personnel. The interrupt information includes: a virtual machine name and a virtual machine IP address.
On the basis, as shown in fig. 3, the specific implementation process of the monitoring method for the virtual machine service network provided by the present invention is as follows:
1. the virtual machine service network normally provides services to customers.
2. And mirroring the service network traffic of the virtual machine onto a target network card (virtual machine network card) through a port mirroring function.
3. The data on the virtual network card is monitored through a service network monitoring module in the virtualization management system, the IP address of the monitored virtual machine is input, when the data needing to be monitored is interrupted for more than 60 seconds (which can be set), an alarm is generated, and when the interrupted data is recovered, the alarm disappears.
4. And when the alarm occurrence time exceeds a set value, triggering a mail or short message configuration sending instruction.
5. After the mail or short message configuration receives the instruction, the information including the virtual machine name, the IP and the like is sent to the set maintenance personnel according to the specific content.
6. After receiving the information, the maintenance personnel quickly find the fault virtual machine according to the content, and timely solve the problem and restore the problem to normal.
Correspondingly, as shown in fig. 2, the present invention also discloses a monitoring system for a virtual machine service network, including:
and the starting unit is used for starting the virtual machine service network.
And the mirror image unit is used for mirroring the service network flow of the virtual machine to the network card of the virtual machine through the port mirror image function.
The monitoring unit is used for monitoring and alarming abnormality of data on the virtual machine network card; the monitoring unit includes:
the input module is used for inputting the IP address of the monitored virtual machine;
and the alarm module is used for generating an alarm when the interruption time of the data of the IP of the virtual machine exceeds the preset time, and stopping the alarm when the interrupted data is recovered.
And the information sending unit is used for triggering information setting after the alarm duration exceeds a set threshold value and sending the information to maintenance personnel. The information transmitting unit includes:
the instruction triggering module is used for triggering a sending instruction of the mail or short message configuration unit when the alarm duration exceeds a set threshold;
and the instruction execution module is used for sending the interruption information to maintenance personnel after the mail or short message configuration unit receives the sending instruction.
Correspondingly, the invention also discloses a monitoring device of the virtual machine service network, which comprises:
a memory for storing a computer program;
a processor for implementing the steps of the method for monitoring a virtual machine service network as described in any one of the above when executing the computer program.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention. The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided by the present invention, it should be understood that the disclosed system, system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit.
Similarly, each functional unit in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one processing module.
The invention is further described with reference to the accompanying drawings and specific embodiments. It should be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention may be made by those skilled in the art after reading the teaching of the present invention, and these equivalents also fall within the scope of the present application.

Claims (9)

1. A monitoring method for a virtual machine service network is characterized by comprising the following steps:
starting a virtual machine service network;
mirroring the service network flow of the virtual machine to a network card of the virtual machine through a port mirroring function;
monitoring and abnormal alarming are carried out on data on a virtual machine network card;
and triggering information setting after the alarm duration exceeds a set threshold value, and sending information to maintenance personnel.
2. The method for monitoring the service network of the virtual machine according to claim 1, wherein the monitoring and abnormal alarm of the data on the network card of the virtual machine comprises:
inputting a monitored IP address of the virtual machine, generating an alarm when the interruption time of the data of the IP of the virtual machine exceeds the preset time, and stopping the alarm when the interrupted data is recovered.
3. The method for monitoring the service network of the virtual machine according to claim 1, wherein the triggering of the information setting when the alarm duration exceeds the set threshold value, the sending of the information to the maintenance staff includes:
when the alarm duration exceeds a set threshold, triggering a sending instruction of a mail or short message configuration unit;
and after receiving the sending instruction, the mail or short message configuration unit sends the interruption information to maintenance personnel.
4. The method for monitoring the virtual machine service network according to claim 3, wherein the interruption information includes: a virtual machine name and a virtual machine IP address.
5. The method for monitoring the virtual machine service network according to claim 3, further comprising:
and after the maintenance personnel receive the interrupt information, positioning the fault virtual machine according to the interrupt information.
6. A monitoring system for a virtual machine service network, comprising:
the starting unit is used for starting the virtual machine service network;
the mirror image unit is used for mirroring the service network flow of the virtual machine to the network card of the virtual machine through a port mirror image function;
the monitoring unit is used for monitoring and alarming abnormality of data on the virtual machine network card;
and the information sending unit is used for triggering information setting after the alarm duration exceeds a set threshold value and sending the information to maintenance personnel.
7. The monitoring system of the virtual machine service network according to claim 6, wherein the monitoring unit comprises:
the input module is used for inputting the IP address of the monitored virtual machine;
and the alarm module is used for generating an alarm when the interruption time of the data of the IP of the virtual machine exceeds the preset time, and stopping the alarm when the interrupted data is recovered.
8. The monitoring system of the virtual machine service network according to claim 6, wherein the information sending unit includes:
the instruction triggering module is used for triggering a sending instruction of the mail or short message configuration unit when the alarm duration exceeds a set threshold;
and the instruction execution module is used for sending the interruption information to maintenance personnel after the mail or short message configuration unit receives the sending instruction.
9. A monitoring device for a virtual machine service network, comprising:
a memory for storing a computer program;
a processor for implementing the method steps of monitoring a virtual machine traffic network according to any one of claims 1 to 5 when executing said computer program.
CN201910970354.1A 2019-10-13 2019-10-13 Method, system and equipment for monitoring virtual machine service network Pending CN110958152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910970354.1A CN110958152A (en) 2019-10-13 2019-10-13 Method, system and equipment for monitoring virtual machine service network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910970354.1A CN110958152A (en) 2019-10-13 2019-10-13 Method, system and equipment for monitoring virtual machine service network

Publications (1)

Publication Number Publication Date
CN110958152A true CN110958152A (en) 2020-04-03

Family

ID=69975610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910970354.1A Pending CN110958152A (en) 2019-10-13 2019-10-13 Method, system and equipment for monitoring virtual machine service network

Country Status (1)

Country Link
CN (1) CN110958152A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825877A (en) * 2013-11-07 2014-05-28 北京安码科技有限公司 Integration immunization virtual machine detection method
CN105635035A (en) * 2014-10-27 2016-06-01 青岛金讯网络工程有限公司 Method for monitoring flow of virtual machine
CN106789964A (en) * 2016-12-02 2017-05-31 中国移动通信集团新疆有限公司 Cloud resource pool data safety detection method and system
CN107645410A (en) * 2017-09-05 2018-01-30 郑州云海信息技术有限公司 A kind of virtual machine management system and method based on OpenStack cloud platforms
CN107864061A (en) * 2017-11-15 2018-03-30 北京易讯通信息技术股份有限公司 A kind of method of virtual machine port speed constraint and mirror image in private clound
CN109525509A (en) * 2017-09-19 2019-03-26 中兴通讯股份有限公司 Network interface card mirror image packet snapping method, terminal and readable storage medium storing program for executing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825877A (en) * 2013-11-07 2014-05-28 北京安码科技有限公司 Integration immunization virtual machine detection method
CN105635035A (en) * 2014-10-27 2016-06-01 青岛金讯网络工程有限公司 Method for monitoring flow of virtual machine
CN106789964A (en) * 2016-12-02 2017-05-31 中国移动通信集团新疆有限公司 Cloud resource pool data safety detection method and system
CN107645410A (en) * 2017-09-05 2018-01-30 郑州云海信息技术有限公司 A kind of virtual machine management system and method based on OpenStack cloud platforms
CN109525509A (en) * 2017-09-19 2019-03-26 中兴通讯股份有限公司 Network interface card mirror image packet snapping method, terminal and readable storage medium storing program for executing
CN107864061A (en) * 2017-11-15 2018-03-30 北京易讯通信息技术股份有限公司 A kind of method of virtual machine port speed constraint and mirror image in private clound

Similar Documents

Publication Publication Date Title
CN107515796B (en) Equipment abnormity monitoring processing method and device
CN108809757B (en) System alarm method, storage medium and server
CN110851320A (en) Server downtime supervision method, system, terminal and storage medium
CN103490919A (en) Fault management system and fault management method
CN105227347A (en) A kind of general O&M method for supervising and O&M supervisory control system
CN114024834A (en) Fault positioning method and device, electronic equipment and readable storage medium
CN109921942A (en) Cloud platform method for handover control, device, system and electronic equipment
WO2019019457A1 (en) Control center device, business system processing method and system, and storage medium
CN111193643A (en) Cloud server state monitoring system and method
CN105634814A (en) Monitoring method for server asset information change
CN106453504A (en) Monitoring system and method based on NGINX server cluster
CN111082998A (en) Architecture system of operation and maintenance monitoring campus convergence layer
CN104503405B (en) Monitoring method, device and system based on SCADA system
CN101488881A (en) A fault processing method
CN110198230B (en) Application monitoring method and device, storage medium and electronic device
CN111628903B (en) Monitoring method and monitoring system for transaction system running state
CN110990903B (en) Cloud system and cloud system protection method
CN110224872B (en) Communication method, device and storage medium
CN110958152A (en) Method, system and equipment for monitoring virtual machine service network
CN114661507A (en) Data processing method and device based on time-associated data and electronic equipment
CN104639890A (en) Facility monitoring control system
CN114338350A (en) Alarm method, alarm device, electronic equipment and computer storage medium
CN113900855A (en) Active hot start method, system and device for abnormal state of switch
CN113176969A (en) Service providing method, device, equipment and computer readable storage medium
CN111614501A (en) Monitoring method and system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200403