CN111064663A - High-availability implementation method of virtual router in cloud computing environment - Google Patents
High-availability implementation method of virtual router in cloud computing environment Download PDFInfo
- Publication number
- CN111064663A CN111064663A CN202010017395.1A CN202010017395A CN111064663A CN 111064663 A CN111064663 A CN 111064663A CN 202010017395 A CN202010017395 A CN 202010017395A CN 111064663 A CN111064663 A CN 111064663A
- Authority
- CN
- China
- Prior art keywords
- physical host
- virtual router
- cloud computing
- modules
- heartbeat
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/58—Association of routers
- H04L45/586—Association of routers of virtual routers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Hardware Redundancy (AREA)
Abstract
A high-availability realization method of a virtual router in a cloud computing environment is provided with two physical hosts, wherein a physical host A and a physical host B are both provided with virtual router modules, heartbeat modules are configured in the two virtual router modules, and heartbeat mechanisms are utilized to detect mutual heartbeat, so that after a host of one network node fails, the other physical host can immediately serve as a network node function, and normal operation of the network function in a cloud computing cluster is ensured.
Description
Technical Field
The invention relates to the technical field of network virtualization, in particular to a high-availability implementation method of a virtual router in a cloud computing environment.
Background
In the field of cloud computing, software is required to create a virtual router to achieve the mutual communication between the virtual network created by the software and an external network, and a gateway of the virtual network defined by the software and forwarding functions of an internal network and an external network are both in the virtual router defined by the software. An existing cloud computing cluster generally comprises a plurality of physical servers, one physical server is provided with a software-defined virtual router, the routing function between an internal network and an external network of the whole cluster and a self-defined internal network is realized, the physical server where the software-defined virtual router is located is generally called a network node, and if the network node cannot normally work due to faults such as power failure, network disconnection and the like, the network service of the whole cluster cannot normally work.
Disclosure of Invention
In order to overcome the defects of the technologies, the invention provides a high-availability implementation method for a virtual router in a cloud computing environment, which solves the problem that network services of the whole cluster cannot work normally due to network node faults.
The technical scheme adopted by the invention for overcoming the technical problems is as follows:
a high-availability implementation method of a virtual router in a cloud computing environment comprises the following steps:
a) n physical hosts are deployed in the cloud computing cluster, wherein N is a positive integer greater than or equal to 3, virtual router modules are deployed in the physical host A and the physical host B, and taps 0 and tap1 are both deployed in the virtual router modules in the physical host A and the physical host B and serve as gateways of two internal network segments;
b) respectively arranging heartbeat modules in the virtual router modules in the physical host A and the physical host B, wherein the heartbeat modules are used for detecting the heartbeat of the other side;
c) in a normal state, the virtual router module in the physical host A provides a virtual routing function for the whole cloud computing cluster, and the tap0 and the tap1 in the virtual router module in the physical host B are both in a Down state;
d) when the heartbeat module in the physical host B detects that the physical host A cannot work normally, the virtual router modules in the physical host B are all provided with tap0 and tap1 which are placed in an Up state, and the physical host B provides a virtual routing function for the whole cloud computing cluster.
Further, tap _ ext in the physical host a and the physical host B in the step a) is used as an external port of the virtual router.
The invention has the beneficial effects that: the two physical hosts are arranged, the virtual router modules are arranged in the physical host A and the physical host B, the heartbeat modules are configured in the two virtual router modules, and the heartbeat mechanisms are used for detecting the heartbeat of each other, so that after the host of one network node breaks down, the other physical host can serve as the network node function at once, and the normal operation of the network function in the cloud computing cluster is ensured.
Detailed Description
The present invention is further explained below.
A high-availability implementation method of a virtual router in a cloud computing environment comprises the following steps:
a) n physical hosts are deployed in the cloud computing cluster, N is a positive integer larger than or equal to 3, virtual router modules are deployed in the physical host A and the physical host B, and taps 0 and tap1 are both deployed in the virtual router modules in the physical host A and the physical host B and serve as gateways of two internal network segments.
b) And respectively arranging a heartbeat module in the virtual router modules of the physical host A and the physical host B for detecting the heartbeat of the other side.
c) Under a normal state, the virtual router module in the physical host a provides a virtual routing function for the entire cloud computing cluster, and both the tap0 and the tap1 in the virtual router module in the physical host B are in a Down state, that is, the virtual router module in the physical host B does not provide the virtual routing function at this time.
d) When the heartbeat module in the physical host B detects that the physical host A cannot work normally, the virtual router modules in the physical host B are all provided with tap0 and tap1 which are placed in an Up state, and the physical host B provides a virtual routing function for the whole cloud computing cluster.
Because two physical hosts are arranged, the physical host A and the physical host B are both provided with virtual router modules, and heartbeat modules are configured in the two virtual router modules at the same time, and heartbeat mechanisms are utilized to detect mutual heartbeat, the other physical host can serve as a network node function immediately after the host of one network node fails, and the normal operation of the network function in the cloud computing cluster is ensured.
Further, tap _ ext in the physical host a and the physical host B in the step a) is used as an external port of the virtual router. tap _ ext is an external port of the virtual router, and is responsible for network forwarding of the router and external networks.
The above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (2)
1. A high-availability implementation method of a virtual router in a cloud computing environment is characterized by comprising the following steps:
a) n physical hosts are deployed in the cloud computing cluster, wherein N is a positive integer greater than or equal to 3, virtual router modules are deployed in the physical host A and the physical host B, and taps 0 and tap1 are both deployed in the virtual router modules in the physical host A and the physical host B and serve as gateways of two internal network segments;
b) respectively arranging heartbeat modules in the virtual router modules in the physical host A and the physical host B, wherein the heartbeat modules are used for detecting the heartbeat of the other side;
c) in a normal state, the virtual router module in the physical host A provides a virtual routing function for the whole cloud computing cluster, and the tap0 and the tap1 in the virtual router module in the physical host B are both in a Down state;
d) when the heartbeat module in the physical host B detects that the physical host A cannot work normally, the virtual router modules in the physical host B are all provided with tap0 and tap1 which are placed in an Up state, and the physical host B provides a virtual routing function for the whole cloud computing cluster.
2. The method for realizing the high availability of the virtual router in the cloud computing environment according to claim 1, wherein: and the tap _ ext in the physical host A and the physical host B in the step a) is used as an external port of the virtual router.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010017395.1A CN111064663A (en) | 2020-01-08 | 2020-01-08 | High-availability implementation method of virtual router in cloud computing environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010017395.1A CN111064663A (en) | 2020-01-08 | 2020-01-08 | High-availability implementation method of virtual router in cloud computing environment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111064663A true CN111064663A (en) | 2020-04-24 |
Family
ID=70306689
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010017395.1A Pending CN111064663A (en) | 2020-01-08 | 2020-01-08 | High-availability implementation method of virtual router in cloud computing environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111064663A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113157391A (en) * | 2021-04-09 | 2021-07-23 | 上海云轴信息科技有限公司 | Cloud routing high-availability method and equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1561034A (en) * | 2004-03-12 | 2005-01-05 | Optimization method for processing message by virtual route set in static routh | |
CN102141928A (en) * | 2010-01-29 | 2011-08-03 | 国际商业机器公司 | Data processing method and system in virtual environment and deployment method of system |
CN104394130A (en) * | 2014-11-12 | 2015-03-04 | 国云科技股份有限公司 | A multi-tenant virtual network isolating method |
US20170155577A1 (en) * | 2014-08-12 | 2017-06-01 | Huawei Technologies Co., Ltd. | Virtual Router Redundancy Protocol Fault Detection Method and Routing Device |
CN107707398A (en) * | 2017-09-29 | 2018-02-16 | 郑州云海信息技术有限公司 | The method and apparatus that physical host is managed in cloud computing system |
CN109039913A (en) * | 2018-08-23 | 2018-12-18 | 郑州云海信息技术有限公司 | Virtual routing device and virtual machine communication system |
US10264020B1 (en) * | 2015-02-05 | 2019-04-16 | Symantec Corporation | Systems and methods for scalable network monitoring in virtual data centers |
-
2020
- 2020-01-08 CN CN202010017395.1A patent/CN111064663A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1561034A (en) * | 2004-03-12 | 2005-01-05 | Optimization method for processing message by virtual route set in static routh | |
CN102141928A (en) * | 2010-01-29 | 2011-08-03 | 国际商业机器公司 | Data processing method and system in virtual environment and deployment method of system |
US20170155577A1 (en) * | 2014-08-12 | 2017-06-01 | Huawei Technologies Co., Ltd. | Virtual Router Redundancy Protocol Fault Detection Method and Routing Device |
CN104394130A (en) * | 2014-11-12 | 2015-03-04 | 国云科技股份有限公司 | A multi-tenant virtual network isolating method |
US10264020B1 (en) * | 2015-02-05 | 2019-04-16 | Symantec Corporation | Systems and methods for scalable network monitoring in virtual data centers |
CN107707398A (en) * | 2017-09-29 | 2018-02-16 | 郑州云海信息技术有限公司 | The method and apparatus that physical host is managed in cloud computing system |
CN109039913A (en) * | 2018-08-23 | 2018-12-18 | 郑州云海信息技术有限公司 | Virtual routing device and virtual machine communication system |
Non-Patent Citations (2)
Title |
---|
KVM虚拟化: "如何实现一个虚拟路由器(2)", 《腾讯云HTTPS://CLOUD.TENCENT.COM/DEVELOPER/ARTICLE/1546817》 * |
刘辉邦: "云计算动态虚拟网络的性能研究及测量", 《CNKI硕士论文全文数据库》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113157391A (en) * | 2021-04-09 | 2021-07-23 | 上海云轴信息科技有限公司 | Cloud routing high-availability method and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110166356B (en) | Method and network equipment for sending message | |
US8438307B2 (en) | Method and device of load-sharing in IRF stack | |
US8730793B2 (en) | Method and apparatus providing network redundancy and high availability to remote network nodes | |
US20080215910A1 (en) | High-Availability Networking with Intelligent Failover | |
US8761001B2 (en) | Method and network system for implementing user port orientation in multi-machine backup scenario of broadband remote access server | |
US7881188B2 (en) | Methods, systems, and computer program products for implementing link redundancy in a media gateway | |
US20070019642A1 (en) | Virtual local area network configuration for multi-chassis network element | |
US20100306572A1 (en) | Apparatus and method to facilitate high availability in secure network transport | |
WO2020123182A1 (en) | Server redundant network paths | |
CN101060533B (en) | A method, system and device for improving the reliability of VGMP protocol | |
WO2018108149A1 (en) | Data-link switching method and apparatus and data-link switching device | |
CN102006189A (en) | Primary access server determination method and device for dual-machine redundancy backup | |
US20170230231A1 (en) | Reofredundancy system based on virtual router redundancy protocol and method thereof | |
US8477598B2 (en) | Method and system for implementing network element-level redundancy | |
CN101360043B (en) | Communication apparatus reliably connected inside | |
CN101895444A (en) | Dual system of ATCA blade server, connection method and test method | |
CN104734825A (en) | Network redundancy fault tolerance method and system based on IP protocol expansion | |
CN111064663A (en) | High-availability implementation method of virtual router in cloud computing environment | |
WO2011110134A2 (en) | Method, device and broadband access server system for load share | |
CN104702498A (en) | Method and device for reducing the number of optical connections through coordination protection | |
WO2024001359A1 (en) | Communication state switching method, port configuration method, and communication system and medium | |
TWI677247B (en) | Muiti-node device and backup communication method thereof | |
CA3214690A1 (en) | Passive optical network for utility infrastructure resiliency | |
US8547828B2 (en) | Method and system for implementing network element-level redundancy | |
US8553531B2 (en) | Method and system for implementing network element-level redundancy |
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: 20200424 |