The invention relates to a method for implementing server BMC and BIOS batch upgrading through BMC. This method with BMC& BIOS firmware upgrade; the function of the BMC server, the following steps: S1. IP read from the batch server BMC IP list; fru information server S2. BMC read the judgment model; S3. model according to the server to call the corresponding script and get when the firmware version information before S4. on the corresponding models; firmware upgrade; S5. upgrade is complete, and again to get the current firmware version information, and upgrade the comparison before judging whether the upgrade was successful, if successful upgrade, repeat steps S1, if the upgrade failed, then executing step S6; S6. check the reason, and determine the reasons for no action or complete the upgrade version of firmware provides error. The invention has the advantages of simple operation, no requirement for OS network; directly burned into the firmware, upgrading thoroughly; to achieve large-scale unattended upgrade; before and after the upgrade version comparison and validation, ensure that the upgrade has been completed; can adapt to various complicated environments.
【技术实现步骤摘要】
一种通过BMC实现服务器BMC和BIOS批量升级方法
本专利技术涉及系统升级领域,特别涉及一种通过BMC实现服务器BMC和BIOS批量升级方法。
技术介绍
互联网时代对服务器的大规模部署的要求越来越高了,对于大规模服务器的集中操作已经成为一个非常重要的研究课题。服务器的bug修复、新功能增加、性能改良通常都是通过升级BMC&BIOS来实现,经常我们因为各种原因需要对服务器进行升级以适应我们的需求。目前对于服务器BIOS升级的方法大多都是通过ssh远程登录,然后用烧录工具进行升级操作。这种方法对被升级服务器os有要求,需要支持ssh协议,需要网络必须打开。并且,如果BIOS里面包含ME的时候还无法直接对ME进行升级。而对于BMC批量升级的方法就更少了。
技术实现思路
本专利技术提供一种通过BMC实现服务器BMC和BIOS批量升级方法,旨在提供一种非常简单且安全的升级的方式。本专利技术提供一种通过BMC实现服务器BMC和BIOS批量升级方法,在带有升级BMC&BIOSfirmware的功能的服务器BMC中,进行以下步骤:S1.从批量服务器BMC的IP列表中 ...
【技术保护点】
一种通过BMC实现服务器BMC和BIOS批量升级方法,其特征在于,在带有升级BMC & BIOS firmware的功能的服务器BMC中,进行以下步骤:S1. 从批量服务器BMC的IP列表中读取IP;S2. 读取BMC的fru信息判断服务器机型;S3. 根据服务器机型调用相应的脚本并获取当前firmware版本信息;S4. 对相应机型进行firmware升级;S5. 升级完成,并再次获取当前firmware版本信息,并和升级前对比,判断是否升级成功,若升级成功,则重复步骤S1,若升级失败,则执行步骤S6;S6. 检查原因,并判断原因为没有完成升级动作还是firmware版本提供错误。
【技术特征摘要】
1.一种通过BMC实现服务器BMC和BIOS批量升级方法,其特征在于,在带有升级BMC&BIOSfirmware的功能的服务器BMC中,进行以下步骤:S1.从批量服务器BMC的IP列表中读取IP;S2.读取BMC的fru信息判断服务器机型;S3.根据服务器机型调用相应的脚本并获取当前firmware版本信息;S4.对相应机型进行firmware升级;S5.升级完成,并再次获取当前firmware版本信息,并和升级前对比,判断是否升级成功,若升级成功,则重复步骤S1,若升级失败,则执行步骤S6;S6.检查原因,并判断原因为没有完成升级动作还是firmware版本提供错误。2.根据权利要求1所述通过BMC实现服务器BMC和BIOS批量升级方法,其特征在于,所述步骤S2为通过ipmitool读取BMC的fru信息。3.根据权利要求1所述通过BMC实现服务器BMC和BIOS批量升级方法,其特征在于,所述步骤S3中调用相应脚本之前,对每种版本的服务器编写一个升级脚...
【专利技术属性】
技术研发人员:吴仲品,
申请(专利权)人:深圳市同泰怡信息技术有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。