CN104618246A - Network topology discovery method for XEN virtualization environment - Google Patents

Network topology discovery method for XEN virtualization environment Download PDF

Info

Publication number
CN104618246A
CN104618246A CN201510074281.XA CN201510074281A CN104618246A CN 104618246 A CN104618246 A CN 104618246A CN 201510074281 A CN201510074281 A CN 201510074281A CN 104618246 A CN104618246 A CN 104618246A
Authority
CN
China
Prior art keywords
network
network topology
module
xen
information
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
CN201510074281.XA
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510074281.XA priority Critical patent/CN104618246A/en
Publication of CN104618246A publication Critical patent/CN104618246A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a network topology discovery method for an XEN virtualization environment. The method is implemented through the following modules of an SNMP (Simple Network Management Protocol) access policy management module, a network node discovery module, an SMNP detection module, a virtual node discovery module and a network topology generation module. The network topology discovery method for the XEN virtualization environment can automatically discover the physical network topology of specified hosts or all hosts of different XEN pools and show the network topology of virtual machines of XEN servers. The physical network topology discovery uses the SNMP, is easy to implement and short in development cycle, has functions of network performance monitoring, network equipment configuration, network error detection and analysis and the like and facilitates expansion of a network traffic function for future adding of a network topology management functions. A virtual machine network topology generation and management function is also added to facilitate the showing of the network topology changed after physical network devices and virtual network devices are added or removed.

Description

A kind of method for discovering network topology towards XEN virtualized environment
Technical field
The present invention relates to field of cloud computer technology, specifically a kind of method for discovering network topology towards XEN virtualized environment.
Background technology
The arrival of cloud computing and large data age, Intel Virtualization Technology is made to obtain develop rapidly, but it is more complicated also to make network topology change, the management of Virtual becomes more prevalent, and present isp operator is also all unwilling to disclose the network topology of oneself, adding and deletion in addition due to network host or empty machine, needs intuitively can reflect network change really.Under these circumstances, in process virtual network managed, the discovery of physical network and virtual network topology relation is become particularly important.
Xen is an open source code virtual machine monitor, and Xen, without the need to special hardware support, just can reach high performance virtual.Xen adopts ICA agreement, is called accurate virtualized technology obtains high-performance by one, and even in some and the disagreeableness framework of traditional virtual technology extreme, Xen also has excellent performance.Xen virtual machine can in non-stop situation between multiple physical host real-time migration.Xen can on a set of physical hardware safety the multiple virtual machine of execution.
Summary of the invention
Technical assignment of the present invention is to provide a kind of method for discovering network topology towards XEN virtualized environment.
Technical assignment of the present invention realizes in the following manner, and this method adopts and realizes with lower module: the management of SNMP access strategy, and network node finds module, SMNP detecting module, and dummy node finds module and network topology generation module;
The initialization operation of whole algorithm and self-discovery work is responsible in the management of SNMP access strategy, can arrange corresponding SNMP access strategy and access border according to user's request;
Network node finds module: send SNMP request back message to the All hosts that SNMP access strategy is arranged, judge the main frame of all activities according to response situation;
SMNP detecting module: by SNMP proxy access effort scale SNMP storehouse, according to the type of the variable determination network equipment in MIB storehouse, and its information classification is stored;
Dummy node finds module: obtain network connection information by the Network Management Function in xen platform, according to Microsoft Loopback Adapter acquisition of information host information, thus find out corresponding relation;
Network topology generation module: by the result obtained SMNP detecting module, utilize the element information in IP group to find out network topology, and the topological relation that combined with virtual node module generates is aggregated into physical network under complete xen environment and virtual network topology graph of a relation.
Described network node finds that module is by sending UDP message to destination host, the port being set to by communication mode not open with this main frame communicates, the ICMP information returned is judged, if do not returned, illustrate that machine is not opened, then can not obtain the topological relation of this machine in this case.
Described network connection information is virtual switch machine information and Microsoft Loopback Adapter information.
Described element information is IP address table, IP route table and IP network is media table element information.
Variable in described MIB storehouse is that IP forwards variable and SYS device variables.
A kind of method for discovering network topology towards XEN virtualized environment of the present invention compared to the prior art, can the physical network topology relation of given host in different xen pond or whole main frame automatically be found and can be represented the network topology in xen server between virtual machine, wherein physical network topology discovery have employed snmp protocol, it realizes simple, construction cycle is short, and comprise monitoring network performance, the functions such as network errors are analyzed in configure network devices and detection, the expansion to network traffics function in network topology management function is increased after convenient, also add generation and the management function of network topology between virtual machine, the displaying after facilitating physical network device and the rear network topology of virtual network device increase deletion to change.
Accompanying drawing explanation
Accompanying drawing 1 is the virtual platform discovering network topology structure chart of the method for discovering network topology towards XEN virtualized environment.
Accompanying drawing 2 is the virtual platform security protection flow chart of the method for discovering network topology towards XEN virtualized environment.
Embodiment
Embodiment 1:
This method adopts and realizes with lower module: the management of SNMP access strategy, and network node finds module, SMNP detecting module, and dummy node finds module and network topology generation module;
The initialization operation of whole algorithm and self-discovery work is responsible in the management of SNMP access strategy, can arrange corresponding SNMP access strategy and access border according to user's request;
Network node finds module: send UDP message to the All hosts that SNMP access strategy is arranged, the port being set to by communication mode not open with this main frame communicates, the ICMP information returned is judged, if do not returned, illustrate that machine is not opened, then can not obtain the topological relation of this machine in this case.
SMNP detecting module: by SNMP proxy access effort scale SNMP storehouse, according to the type of the variable determination network equipment in MIB storehouse, and its information classification is stored;
Dummy node finds module: obtain network connection information by the Network Management Function in xen platform, according to Microsoft Loopback Adapter acquisition of information host information, thus find out corresponding relation;
Network topology generation module: by the result obtained SMNP detecting module, utilize the element information in IP group to find out network topology, and the topological relation that combined with virtual node module generates is aggregated into physical network under complete xen environment and virtual network topology graph of a relation.
Embodiment 2:
This method adopts and realizes with lower module: the management of SNMP access strategy, and network node finds module, SMNP detecting module, and dummy node finds module and network topology generation module;
The initialization operation of whole algorithm and self-discovery work is responsible in the management of SNMP access strategy, can arrange corresponding SNMP access strategy and access border according to user's request;
Network node finds module: send UDP message to the All hosts that SNMP access strategy is arranged, the port being set to by communication mode not open with this main frame communicates, the ICMP information returned is judged, if do not returned, illustrate that machine is not opened, then can not obtain the topological relation of this machine in this case.
SMNP detecting module: by SNMP proxy access effort scale SNMP storehouse, forward the type of variable and the SYS device variables determination network equipment according to the IP in MIB storehouse, and its information classification stored;
Dummy node finds module: obtain network connection information by the Network Management Function in xen platform, network connection information is virtual switch machine information and Microsoft Loopback Adapter information; According to Microsoft Loopback Adapter acquisition of information host information, thus find out corresponding relation;
Network topology generation module: by the result obtained SMNP detecting module, utilizes the element information in IP group to find out network topology, and element information is IP address table, IP route table and IP network is media table element information; And the topological relation that combined with virtual node module generates is aggregated into physical network under complete xen environment and virtual network topology graph of a relation.
By embodiment above, described those skilled in the art can be easy to realize the present invention.But should be appreciated that the present invention is not limited to above-mentioned several embodiments.On the basis of disclosed execution mode, described those skilled in the art can the different technical characteristic of combination in any, thus realizes different technical schemes.

Claims (5)

1. the method for discovering network topology towards XEN virtualized environment, it is characterized in that, the method adopts and realizes with lower module: the management of SNMP access strategy, and network node finds module, SMNP detecting module, dummy node finds module and network topology generation module;
The initialization operation of whole algorithm and self-discovery work is responsible in the management of SNMP access strategy, can arrange corresponding SNMP access strategy and access border according to user's request;
Network node finds module: send SNMP request back message to the All hosts that SNMP access strategy is arranged, judge the main frame of all activities according to response situation;
SMNP detecting module: by SNMP proxy access effort scale SNMP storehouse, according to the type of the variable determination network equipment in MIB storehouse, and its information classification is stored;
Dummy node finds module: obtain network connection information by the Network Management Function in xen platform, according to Microsoft Loopback Adapter acquisition of information host information, thus find out corresponding relation;
Network topology generation module: by the result obtained SMNP detecting module, utilize the element information in IP group to find out network topology, and the topological relation that combined with virtual node module generates is aggregated into physical network under complete xen environment and virtual network topology graph of a relation.
2. a kind of method for discovering network topology towards XEN virtualized environment according to claim 1, it is characterized in that, described network node finds that module is by sending UDP message to destination host, the port being set to by communication mode not open with this main frame communicates, the ICMP information returned is judged, if do not returned, illustrate that machine is not opened, then can not obtain the topological relation of this machine in this case.
3. a kind of method for discovering network topology towards XEN virtualized environment according to claim 1, is characterized in that, described network connection information is virtual switch machine information and Microsoft Loopback Adapter information.
4. a kind of method for discovering network topology towards XEN virtualized environment according to claim 1, is characterized in that, described element information is IP address table, IP route table and IP network is media table element information.
5. a kind of method for discovering network topology towards XEN virtualized environment according to claim 1, is characterized in that, the variable in described MIB storehouse is that IP forwards variable and SYS device variables.
CN201510074281.XA 2015-02-12 2015-02-12 Network topology discovery method for XEN virtualization environment Pending CN104618246A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510074281.XA CN104618246A (en) 2015-02-12 2015-02-12 Network topology discovery method for XEN virtualization environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510074281.XA CN104618246A (en) 2015-02-12 2015-02-12 Network topology discovery method for XEN virtualization environment

Publications (1)

Publication Number Publication Date
CN104618246A true CN104618246A (en) 2015-05-13

Family

ID=53152532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510074281.XA Pending CN104618246A (en) 2015-02-12 2015-02-12 Network topology discovery method for XEN virtualization environment

Country Status (1)

Country Link
CN (1) CN104618246A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634962A (en) * 2016-01-22 2016-06-01 北京航空航天大学 SDN network topology generation method and device
CN105847300A (en) * 2016-05-30 2016-08-10 北京琵琶行科技有限公司 Method and device for visualizing topological structure of enterprise network boundary equipment
CN106489251A (en) * 2015-12-21 2017-03-08 华为技术有限公司 The methods, devices and systems that applied topology relation finds
CN106713042A (en) * 2016-12-29 2017-05-24 中国银联股份有限公司 Method and device for determination of network topology
JP2018137611A (en) * 2017-02-22 2018-08-30 日本電信電話株式会社 Communication method and communication system
CN109831318A (en) * 2018-12-26 2019-05-31 中兴通讯股份有限公司 A kind of system, method and server obtaining network topology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110093251A1 (en) * 2009-10-16 2011-04-21 Sun Microsystems, Inc. Virtualizing complex network topologies
CN102857363A (en) * 2012-05-04 2013-01-02 运软网络科技(上海)有限公司 Automatic computing system and method for virtual networking
CN103281248A (en) * 2013-06-09 2013-09-04 北京星网锐捷网络技术有限公司 Network topology discovering method, device and system
CN104243320A (en) * 2014-09-10 2014-12-24 珠海市君天电子科技有限公司 Method and device for optimizing network access paths

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110093251A1 (en) * 2009-10-16 2011-04-21 Sun Microsystems, Inc. Virtualizing complex network topologies
CN102857363A (en) * 2012-05-04 2013-01-02 运软网络科技(上海)有限公司 Automatic computing system and method for virtual networking
CN103281248A (en) * 2013-06-09 2013-09-04 北京星网锐捷网络技术有限公司 Network topology discovering method, device and system
CN104243320A (en) * 2014-09-10 2014-12-24 珠海市君天电子科技有限公司 Method and device for optimizing network access paths

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐东等: "一个面向虚拟网络拓扑发现系统的设计与实现", 《微计算机信息》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106489251A (en) * 2015-12-21 2017-03-08 华为技术有限公司 The methods, devices and systems that applied topology relation finds
WO2017107018A1 (en) * 2015-12-21 2017-06-29 华为技术有限公司 Method, device, and system for discovering the relationship of applied topology
CN106489251B (en) * 2015-12-21 2019-10-18 华为技术有限公司 The methods, devices and systems of applied topology relationship discovery
US10459754B2 (en) 2015-12-21 2019-10-29 Huawei Technologies Co., Ltd. Method, apparatus, and system for discovering application topology relationship
CN105634962A (en) * 2016-01-22 2016-06-01 北京航空航天大学 SDN network topology generation method and device
CN105634962B (en) * 2016-01-22 2018-07-24 北京航空航天大学 The generation method and device of SDN network topology
CN105847300A (en) * 2016-05-30 2016-08-10 北京琵琶行科技有限公司 Method and device for visualizing topological structure of enterprise network boundary equipment
CN106713042A (en) * 2016-12-29 2017-05-24 中国银联股份有限公司 Method and device for determination of network topology
CN106713042B (en) * 2016-12-29 2020-05-26 中国银联股份有限公司 Method and device for determining network topology
JP2018137611A (en) * 2017-02-22 2018-08-30 日本電信電話株式会社 Communication method and communication system
CN109831318A (en) * 2018-12-26 2019-05-31 中兴通讯股份有限公司 A kind of system, method and server obtaining network topology

Similar Documents

Publication Publication Date Title
US11516098B2 (en) Round trip time (RTT) measurement based upon sequence number
US10797970B2 (en) Interactive hierarchical network chord diagram for application dependency mapping
US9083633B2 (en) System and method for distributed netflow exporter with a single IP endpoint in a network environment
CN107094090B (en) Physical path determination for virtual network packet flows
US9137118B2 (en) Management server and management method
US9094308B2 (en) Finding latency through a physical network in a virtualized network
CN104618246A (en) Network topology discovery method for XEN virtualization environment
CN105337789A (en) Method and device for monitoring flow of virtual network
CN113867884B (en) Method and system for computer network and storage medium
US9716631B2 (en) End host physical connection on a switch port using multiple ethernet frames
Guay et al. dFtree: a fat-tree routing algorithm using dynamic allocation of virtual lanes to alleviate congestion in infiniband networks
US10225175B2 (en) Systems and methods for determining a default gateway without an endpoint configuration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150513

WD01 Invention patent application deemed withdrawn after publication