欢迎来到天天文库
浏览记录
ID:32029087
大小:2.55 MB
页数:62页
时间:2019-01-30
《【硕士论文】Linux平台下IPMI驱动程序设计与实现.pdf》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、中南大学硕士学位论文Linux平台下IPMI驱动程序设计与实现姓名:李号双申请学位级别:硕士专业:计算机应用技术指导教师:陈志刚20090513摘要目前主流的IPMI驱动程序各有特色,大部分无法达到跨主板,不能自动侦测系统中支持的IPMI系统接口类型,且大多不支持多用产。本文针对上述问题提出了解决方案,设计并实现了一个支持多用户的IPMI驱动程序。本论文研究了在Linux平台下读取和分析SMBl0S中信息的方法,从中获得与IPMI相关的信息(如主机支持的系统接口类型),并且自动初始化IPMI系统接口,改进了大部分传统驱动程序采用固定端口地址与基板管理微控制器通信的缺陷,从而实
2、现了跨主板的特性。传统IPMI驱动多为单线程程序,因此只能接受单用户访问。本文对IPMI用户、IPMI消息和IPMI系统接口进行统一编号管理,整个系统基于事件驱动,在用户发送命令的同时注册用于接收回复的回调函数,在实现多用户访问的基础上,本文首次提出了一种在多用户情况下对BMC的访问调度策略,实验表明,该策略具有较好的效果。本文采用松散耦合的模块化设计,模块之间用抽象化的接口相连,大大增强了系统的可扩展性,应用程序接口模块向应用程序提供简单易用的接口。消息管理器模块处理核心逻辑,具有承上启下的功能。IPMI系统接口模块负责直接与BMC通信。本文最后通过实验与其他IPMI驱动做
3、比较,验证本驱动跨主板特性和多用户情况下的响应性能。关键词服务器管理,Linux驱动,智能管理平台接口,SMBIOSABSTRACTCurrently,mostIPMIdrivershavetheirownadvantagefeatures,however,mostofthemcouldnotberunondifferentplatformsastheycouldnotidentifythetypesofIPMIsysteminterfacessupportedbythehost,andcouldnotbeusedformulti.user.Thispaperpresents
4、asolutionforaboveissues,andimplementsagenericIPMIdriverwhichcouldbeusedformulti—user.ThispaperprovidesamethodtoreadIPMIrelatedinformation(thesysteminterfacetypessupportedbyhost)fromSMBIOS,andinitializetheIPMISystemInterfacesautomatically.Thishasgreatlyimprovedcomparingwiththetraditionalwayt
5、hatcommunicatedtoBMCbyfixedports,then,thenewdrivercouldberunondifferentplatforms.MostoftraditionalIPMIdriversaredesignedwithasinglethread,andcouldonlybeaccessedbysingle—user.Inthispaper,IPMIusers、IPMIinterfacesandIPMImessageshavebeenallassignedandmanagedbyanidentifynumber.Thewholesystemisba
6、sedonevent—driven;acallbackfunctiontoreceivethereplywillberegiestedwhensendingacommandtoBMC.ThispaperpresentatsaschedulestrategyofBMCaccess,andtestsshowthatthestrategyworkswell.Inthispaper,themodularsofthesystemarelooselycoupled;Modulesareconnectedbyabstractinterfaces.Applicationinterfacemo
7、duleistoprovideaneasy—to-useinterfaceforapplication.Messagemanagementmoduledealswiththecorelogicofthedriver,andconnectsdifferentmodulesinthesystem.IPMIsysteminterfacemoduleisresponsiblefortalkingtoBMCdirectly.Atlast,thispaperhasdemonstratesdthecross—plat
此文档下载收益归作者所有