A thermal removal method for PCIE devices provided in this application includes: setting the first GPIO in PCH to a low level after receiving the power-down instruction of the PCIE device; triggering the ACPI Hotplug interruption when the first GPIO is detected to be a low level; releasing the occupied resources of the PCIE device when the ACPI Hotplug interruption occurs; generating and removing the occupied resources of the PCIE device when the occupied resources of the PCIE device are released. Instruction to remove the PCIE device. The whole thermal removal process only needs to send power-off instructions to the server. When the thermal removal of PCIE devices is carried out in batches, the thermal removal efficiency of PCIE devices is greatly improved, which is conducive to the maintenance of server clusters. The application also provides a thermal removal system for PCIE devices, a computer readable storage medium and a server with the above beneficial effects.
【技术实现步骤摘要】
一种PCIE设备的热移除方法、系统及相关装置
本申请涉及服务器领域,特别涉及一种PCIE设备的热移除方法、系统及相关装置。
技术介绍
在服务器主板领域,PCIE接口是支持设备的热移除功能的,目前也有技术实现了这一操作,即在开机状态下能安全移除PCIE设备而不会引起服务器异常,但是当前的技术是建立在复杂的硬件电路基础上,需要增加的热移除控制电路,电源指示灯以及提示按钮等极大地增加了操作的繁琐性,而且从按下移除按钮到提示可以移除设备这个过程也需要等待时间,当机房大批量服务器都需要热移除某种PCIE设备时,维护人员则需要依次对每一台都这样操作,严重降低了服务器维护的效率。
技术实现思路
本申请的目的是提供一种PCIE设备的热移除方法、系统、一种计算机可读存储介质和一种服务器,解决了逐一移除热移除PCIE设备带来的服务器维护效率低的问题。为解决上述技术问题,本申请提供一种PCIE设备的热移除方法,其中:在接收到所述PCIE设备的下电指令后,将PCH中的第一GPIO置为低电平;检测到所述第一GPIO为低电平后,触发ACPIHotplug中断;在发生所述ACPIHotplug中断时,释放所述PCIE设备的占用资源;当所述PCIE设备的占用资源释放完毕时,生成移除指令,以便移除所述PCIE设备。其中,还包括:利用BMCWeb远程发送所述下电指令至服务器的BMC。其中,释放所述PCIE设备的占用资源之前还包括:关闭所述PCIE设备对应插槽的电源。其中,生成移除指令,以便移除所述PCIE设备包括:生成移除指令;将所述移除指令发送至维护终端,以便维护人员利用所述维护终端接收到所述 ...
【技术保护点】
1.一种PCIE设备的热移除方法,其特征在于,包括:在接收到所述PCIE设备的下电指令后,将PCH中的第一GPIO置为低电平;检测到所述第一GPIO为低电平后,触发ACPI Hotplug中断;在发生所述ACPI Hotplug中断时,释放所述PCIE设备的占用资源;当所述PCIE设备的占用资源释放完毕时,生成移除指令,以便移除所述PCIE设备。
【技术特征摘要】
1.一种PCIE设备的热移除方法,其特征在于,包括:在接收到所述PCIE设备的下电指令后,将PCH中的第一GPIO置为低电平;检测到所述第一GPIO为低电平后,触发ACPIHotplug中断;在发生所述ACPIHotplug中断时,释放所述PCIE设备的占用资源;当所述PCIE设备的占用资源释放完毕时,生成移除指令,以便移除所述PCIE设备。2.根据权利要求1所述的热移除方法,其特征在于,还包括:利用BMCWeb远程发送所述下电指令至服务器的BMC。3.根据权利要求1所述的热移除方法,其特征在于,释放所述PCIE设备的占用资源之前还包括:关闭所述PCIE设备对应插槽的电源。4.根据权利要求2所述的热移除方法,其特征在于,生成移除指令,以便移除所述PCIE设备包括:生成移除指令;将所述移除指令发送至维护终端,以便维护人员利用所述维护终端接收到所述移除指令后移除所述PCIE设备。5.一种PCIE设备的热移除系统,其特征在于,包括:置位模块,用于在接收到所述PCIE设备的下电指令后,将PCH中的第一GPIO置为低电平;中断触发模块,用于检测到所述第一GPIO为低电...
【专利技术属性】
技术研发人员:翟庆伟,
申请(专利权)人:广东浪潮大数据研究有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。