The invention relates to a method, device, equipment and storage medium for power consumption limitation of the whole cabinet, including: setting the total limit threshold of the whole cabinet according to the load of the computer room; calculating the node threshold of the whole cabinet according to the total limit threshold; setting the effective range of the node threshold according to the node threshold of the whole cabinet; obtaining the actual work of the whole cabinet node. To determine whether the actual power consumption of the cabinet node exceeds the valid range of the node threshold: Yes, the node threshold is reset according to the actual power consumption, and the reset node threshold is used as the final node threshold; No, the node threshold calculated according to the total limit threshold is used as the final node threshold; According to the final node threshold, the node threshold calculated according to the total limit threshold is used as the final node threshold. Point thresholds limit the power consumption of the nodes. The invention can automatically and flexibly limit the power consumption of each node of the whole cabinet in the computer room. It ensures the security of power supply in data center and improves the energy-saving of data room. At the same time, it greatly reduces the power requirement of the whole cabinet to the room and improves the accommodation of the room.
【技术实现步骤摘要】
一种整机柜功耗限制方法、装置、设备及存储介质
本专利技术属于服务器
,具体涉及一种整机柜功耗限制方法、装置、设备及存储介质。
技术介绍
随着云计算技术的不断发展,部署大量节点的整机柜越来越受到用户的青睐。目前数据中心的机房设计的一个重要因素就是峰值功率,而且机架有额定供电限制,如果Rack机柜功率超过额定值,或者峰值功率过高,机房就会升温,超过冷却能力,严重的会烧毁保险丝。数据中心机房一般按照峰值负载而设计,但是Rack整机并非时刻处于峰值状态,因此必然存在能源浪费的问题。因此动态的管理机房功耗,将Rack整机功耗限制在一个合适的值以下,既能保证服务器性能又可以节约能源。目前,整机柜的功耗限制主要是通过用户确定整机柜中每个节点的功耗限制值,然后通过用户逐个访问整机柜中的节点,并将每个节点的功耗限制值逐个发送到相应的节点中,以此降低整机柜的功耗。但是,由于机柜数量庞大,机柜中的节点数量又多,当用户逐个访问节点并发送每个节点的功耗限制值时,会耗费大量的时间,因此,在对整机柜进行功耗限制的过程中,无法提高整机柜功耗限制的效率。
技术实现思路
本专利技术的目的在于,针对上述现有技术存在的缺陷,提供设计一种整机柜功耗限制方法、装置、设备及存储介质,以解决上述技术问题。第一方面,本申请实施例提供一种整机柜功耗限制方法,包括:根据机房负载设定整机柜的总限制阈值;根据总限制阈值计算整机柜的节点阈值;根据整机柜节点阈值设定节点阈值的有效范围;获取整机柜节点的实际功耗;判断整机柜节点的实际功耗是否超出节点阈值有效范围:是,则根据实际功耗重新设定节点阈值,并将重新设定的节点阈 ...
【技术保护点】
1.一种整机柜功耗限制方法,其特征在于,包括:根据机房负载设定整机柜的总限制阈值;根据总限制阈值计算整机柜的节点阈值;根据整机柜节点阈值设定节点阈值的有效范围;获取整机柜节点的实际功耗;判断整机柜节点的实际功耗是否超出节点阈值有效范围:是,则根据实际功耗重新设定节点阈值,并将重新设定的节点阈值作为最终节点阈值;否,则将根据总限制阈值计算得到的节点阈值作为最终节点阈值;根据最终节点阈值对所述节点进行功耗限制处理。
【技术特征摘要】
1.一种整机柜功耗限制方法,其特征在于,包括:根据机房负载设定整机柜的总限制阈值;根据总限制阈值计算整机柜的节点阈值;根据整机柜节点阈值设定节点阈值的有效范围;获取整机柜节点的实际功耗;判断整机柜节点的实际功耗是否超出节点阈值有效范围:是,则根据实际功耗重新设定节点阈值,并将重新设定的节点阈值作为最终节点阈值;否,则将根据总限制阈值计算得到的节点阈值作为最终节点阈值;根据最终节点阈值对所述节点进行功耗限制处理。2.根据权利要求1所述的方法,其特征在于,还包括:从整机柜的监控管理单元获取整机柜当前采用的功耗阈值;判断设定的总限制阈值是否低于当前采用的功耗阈值:是,则根据总限制阈值对所述整机柜进行功耗限制;否,则按照当前的功耗阈值对所述整机柜进行功耗限制。3.根据权利要求1所述的方法,其特征在于,所述根据总限制阈值计算整机柜的节点阈值包括:获取当前交换机功耗、风扇墙的功耗及电源转换效率损失功耗;根据总限制阈值和当前交换机功耗、风扇墙的功耗及电源转换效率损失功耗计算所述整机柜的总节点阈值;根据总节点阈值和所述整机柜的节点数量计算所述整机柜的节点阈值。4.根据权利要求1所述的方法,其特征在于,所述根据最终节点阈值对所述节点进行功耗限制处理包括:将所述最终节点阈值发送至所述节点的主板管理控制器;将所述最终节点阈值由主板管理控制器发送至所述节点的管理芯片;根据所述最终节点阈值由管理芯片对所述节点进行功耗限制。5.一种整机柜功耗限制装置,其特征在于,包括:机柜设定单元,配置用于根据机房负载设定整机柜的总限制阈值;阈值计算单元,配置用于根据总限制阈值计算整机柜的节点阈值;节点设定单元,配置用于根据整机柜节点阈值设定节点阈值的有效范围;功耗获取单元,配置用于获取整机柜节点的实际功耗;功耗判断单元,配置用于判断整机柜节点的实际功耗是否超出节点...
【专利技术属性】
技术研发人员:刘东伟,
申请(专利权)人:郑州云海信息技术有限公司,
类型:发明
国别省市:河南,41
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。