Implementation method of openstack full-distributed dhcp service

An implementation method, a fully distributed technology, applied in the field of cloud computing, can solve problems such as affecting performance, limiting the total number of networks, occupying multiple IP addresses, etc., to achieve the effect of improving performance, simplifying configuration files, and reducing complexity

Inactive Publication Date: 2020-02-28
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are some problems in this mode: the centralized distribution of dhcp limits the total number of networks; the centralized dhcp service needs to occupy multiple IP addresses to ensure high service availability; the virtual machine and the dhcp server are not on the same host, which affects performance At the same time, if the physical network fails, the normal service cannot be guaranteed; DHCP broadcast packets are flooded on the second layer or even the third layer network, which has the risk of affecting the stability of the basic network.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Implementation method of openstack full-distributed dhcp service
  • Implementation method of openstack full-distributed dhcp service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention provides an implementation method of openstack fully distributed dhcp service, deploying dhcp service on all computing nodes,

[0029] Create a namespace on the computing node, and create a trunk port on the virtual machine bridge, associated with the namespace,

[0030] Set the rules of the flow table, only allow the network traffic of the relevant port of the virtual machine to flow through the trunk port, create a dhcp service process after the port of the virtual machine is bound to the computing node, and only allow the dhcp service of the computing node in the namespace of the computing node run within.

[0031] In the implementation method, dhcpagent is used to provide the dhcp service to the virtual machine of the computing node.

[0032] At the same time, it provides an implementation system of openstack fully distributed dhcp service corresponding to the above method, including computing clusters and virtual machines,

[0033] Deploy th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an implementation method of an openstack full-distributed type dhcp service, relating to the field of cloud computing. The method comprises steps of deploying dhcp services onall the computing nodes; creating a namespace on each computing node; creating a trunk port on the virtual machine network bridge and associating with the namespaces; setting a rule of the flow table,only allowing network flow of a related port of a virtual machine to flow through the trunk port, establishing a dhcp service process after the port of the virtual machine is bound with a computing node, and only allowing a dhcp service of the computing node to run in the namespace of the computing node. According to the method provided by the invention, the service of the dhcp is only provided by the process of the node; the network does not pass through the network card and directly corresponds to the operating system, so that the performance of the system can be greatly improved, the configuration file of the dnsmasq is simplified, only the information related to the single network card needs to be configured, and the complexity of the configuration file is reduced.

Description

technical field [0001] The invention discloses a method for realizing an openstack fully distributed dhcp service, and relates to the field of cloud computing. Background technique [0002] The dhcp service of openstack is implemented by starting the dnsmasq process on the user-defined dhcp node. For each network, there is a dedicated dnsmasq process responsible for providing network IP and routing information. There are some problems in this mode: the centralized distribution of dhcp limits the total number of networks; the centralized dhcp service needs to occupy multiple IP addresses to ensure high service availability; the virtual machine and the dhcp server are not on the same host, which affects performance At the same time, if the physical network fails, the normal service cannot be guaranteed; DHCP broadcast packets are flooded on the second layer or even the third layer network, which has the risk of affecting the stability of the basic network. [0003] The invent...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455H04L12/46H04L29/08H04L29/12
CPCG06F9/45558H04L67/30H04L12/462G06F2009/4557G06F2009/45595H04L61/5014H04L67/56
Inventor 申嘉童蔡卫卫谢涛涛梁栋
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products