基于EVB的控制信息交互方法研究
发布时间:2018-02-28 16:37
本文关键词: 数据中心 EVB 交换机 CDCP S通道 出处:《西南交通大学》2014年硕士论文 论文类型:学位论文
【摘要】:随着大数据时代的来临,数据中心越来越与人们的生活朝夕相关。而数据中心的—个标志性技术就是虚拟化,也就是在一台实体服务器上同时配有多台虚拟机,利用这种技术可以大大提高服务器的运行效率。但是服务器上的数据最终要传输到每个人的手里,于是就要用到网络通信设备,也就是常说的交换机。问题随之而来,如何去转发、控制、监控这些虚拟机与交换机之间流通的数据,这就是EVB(802.1Qbg)协议所产生的原因。 本论文结合在某网络通信公司所做的项目,在EVB协议的基础上,在交换机上实现它的主要内容,最终目的是实现虚拟机与交换机之间信息交互的一种方法,也就是本文中所提到的S通道的建立。S通道是指,为了在虚拟机与交换机之间同一物理接口上隔离各个交换实体的通道,采用了端口映射的S-Vlan组件技术,将一个物理接口分出的多个虚拟通道。 首先,给出相关背景知识的介绍并结合实际硬件及软件开发环境,设计出该模块总体架构图,与其他模块间交互的关系。 其次,重点描述作者在项目中所参与部分的开发内容。这包括EVB功能使能的开发,以及S通道的实现。EVB使能的开发需要涉及到基础模块初始化和本地行为初始化,各个子模块初始化完成后,通过系统提供的不同类型的套接字来完成通信,并且可以将套接字加入epoll中,利用epoll来实现多路复用的功能。当EVB进程收到配置消息后,解析EVB TLV,将配置下发到物理口的配置数据结构中。完成了EVB功能使能之后,需要创建S通道。创建之前,为了防止错误发生,配置方式需要检查创建条件;CDCP协商则设计了三条链表的算法。S通道创建过程中,本模块需要和接口管理以及驱动建立联系,几方共同交互最终实现功能。 最后,对于所开发的功能给予测试,验证本设计的成果。
[Abstract]:With the advent of big data's time, data centers have become more and more relevant to people's lives. One of the iconic technologies of data centers is virtualization, in which multiple virtual machines are installed on one physical server at the same time. Using this technology can greatly improve the efficiency of the server. But the data on the server will eventually be transferred to everyone's hands, so it will use network communication equipment, which is often referred to as the switch. How to forward, control and monitor the data flowing between these virtual machines and switches is the reason of EVBU 802.1Qbg. protocol. Based on the EVB protocol, this paper realizes the main contents of the switch based on the project of a network communication company. The ultimate goal is to realize the information exchange between the virtual machine and the switch. That is, the establishment of the S-channel in this paper means that in order to isolate the channels of each switching entity on the same physical interface between the virtual machine and the switch, the S-Vlan component technology of port mapping is used. A plurality of virtual channels that separate a physical interface. Firstly, the related background knowledge is introduced and combined with the actual hardware and software development environment, the overall architecture diagram of the module is designed, and the relationship between the module and other modules is designed. Secondly, the author's participation in the development of the project is described, which includes the development of the EVB functional enabling, and the development of the S-channel implementation .EVB.The development needs to involve the initialization of the basic module and the initialization of the local behavior. After each sub-module is initialized, the communication is accomplished by the different types of sockets provided by the system, and the socket can be added to the epoll, and the function of multiplexing can be realized by using epoll. When the EVB process receives the configuration message, Parse the EVB tv to send the configuration to the configuration data structure of the physical port. After completing the EVB functionality, you need to create the S channel. In the process of constructing three linked lists, the module needs to establish the connection with the interface management and driver, and finally realizes the function through the interaction of several parties. Finally, the developed functions are tested to verify the results of the design.
【学位授予单位】:西南交通大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.04
【参考文献】
相关期刊论文 前2条
1 梁凯鹏;;基于VEPA的云计算数据中心的设计与实现[J];广东通信技术;2011年09期
2 康乐;;虚拟机网络接入层技术进化[J];中国教育网络;2012年02期
,本文编号:1548101
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/1548101.html