{"id":2412,"date":"2022-09-02T11:12:29","date_gmt":"2022-09-02T03:12:29","guid":{"rendered":"https:\/\/www.wjxy.net.cn\/?p=2412"},"modified":"2023-10-04T06:31:35","modified_gmt":"2023-10-03T22:31:35","slug":"%e6%8e%a7%e5%88%b6dell-poweredge-r720%e7%9a%84%e9%a3%8e%e6%89%87%e8%bd%ac%e9%80%9f-%ef%bc%88%e5%88%a9%e7%94%a8ipmi%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wjxy.net.cn\/?p=2412","title":{"rendered":"\u63a7\u5236Dell PowerEdge R720\u7684\u98ce\u6247\u8f6c\u901f \uff08\u5229\u7528IPMI\uff09"},"content":{"rendered":"<h1>\u673a\u578b\u548ciDRAC\u7248\u672c<\/h1>\n<p><span style=\"color: #ff0000;\">IDRAC\u91cc\u9762IPMI\u5fc5\u987b\u8981\u6253\u5f00<\/span><\/p>\n<p><span style=\"color: #999aaa;\">\u4f7f\u7528\u673a\u578b\uff1aDell PowerEdge R720<br \/>\niDRAC\u7248\u672c\uff1a7<br \/>\n\u63a7\u5236\u4e3b\u673a\u7cfb\u7edf\u7248\u672c\uff1aCentOS 8 \/ Windows<\/span><\/p>\n<p><code># cat .\/fan_35.sh<br \/>\nipmitool -I lanplus -U root -P calvin -H 192.168.145.231 raw 0x30 0x30 0x01 0x00<br \/>\nipmitool -I lanplus -U root -P calvin -H 192.168.145.231 raw 0x30 0x30 0x02 0xff 0x23<br \/>\n# cat .\/fan_auto.sh<br \/>\nipmitool -I lanplus -U root -P calvin -H 192.168.145.231 raw 0x30 0x30 0x01 0x01<\/code><\/p>\n<p>&nbsp;<\/p>\n<h1>\u4e00\u3001\u5f00\u542fIPMI\u63a7\u5236<\/h1>\n<h2><a name=\"t3\"><\/a><a id=\"iDRAC_7_14\"><\/a>iDRAC 7<\/h2>\n<h3><a name=\"t4\"><\/a><a id=\"1System_Setup_15\"><\/a>1.\u8fdb\u5165System Setup\u754c\u9762<\/h3>\n<p>\u5f00\u673a\u7684\u65f6\u5019\u731b\u6233\u00a0<strong>F2<\/strong>\u00a0,\u8fdb\u5165<strong>System Setup<\/strong>\u754c\u9762<\/p>\n<p>&nbsp;<\/p>\n<h3>\u8bbe\u7f6e IPMI \u4e3a enabled<\/h3>\n<p>\u9009\u62e9Network\u540e\u5f80\u4e0b\u62c9\uff0c\u8bbe\u7f6e IPMI \u4e3a enabled<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1478\" height=\"559\" id=\"thepasted-1\" class=\"alignnone wp-image-2585 size-full\" src=\"https:\/\/www.wjxy.net.cn\/wp-content\/uploads\/2022\/09\/Pasted.png\" srcset=\"https:\/\/www.wjxy.net.cn\/wp-content\/uploads\/2022\/09\/Pasted.png 1478w, https:\/\/www.wjxy.net.cn\/wp-content\/uploads\/2022\/09\/Pasted-300x113.png 300w, https:\/\/www.wjxy.net.cn\/wp-content\/uploads\/2022\/09\/Pasted-768x290.png 768w, https:\/\/www.wjxy.net.cn\/wp-content\/uploads\/2022\/09\/Pasted-1024x387.png 1024w\" sizes=\"(max-width: 1478px) 100vw, 1478px\" \/><\/p>\n<h1>\u4e8c\u3001\u98ce\u6247\u8c03\u901f<\/h1>\n<h2><a name=\"t9\"><\/a><a id=\"CentOS_8__40\"><\/a>CentOS 8 \u7528\u6237<\/h2>\n<h3><a name=\"t10\"><\/a><a id=\"1IPMI_41\"><\/a>1.\u5b89\u88c5IPMI<\/h3>\n<p><code>yum install epel-release -y<br \/>\nyum install ipmitool -y<\/code><\/p>\n<h3>2.\u67e5\u770b\u72b6\u6001<\/h3>\n<pre data-index=\"1\"><code>rpm -qa | grep ipmi<\/code><\/pre>\n<h3>3.\u8fdb\u884c\u98ce\u6247\u8c03\u901f<\/h3>\n<h4>3.1 \u542f\u7528\u624b\u52a8\u8c03\u901f<\/h4>\n<pre class=\"prettyprint\" data-index=\"2\">ipmitool -I lanplus -U ipmi\u7528\u6237\u540d -P ipmi\u5bc6\u7801 -H \u670d\u52a1\u5668\u5730\u5740 raw 0x30 0x30 0x01 0x00 \r\n<strong>ipmi\u7528\u6237\u540d<\/strong>\uff1a\u767b\u5f55iDRAC\u7684\u7528\u6237\u540d\uff0c\u9ed8\u8ba4\u4e3a\u00a0<strong>root<\/strong>\r\n<strong>ipmi\u5bc6\u7801<\/strong>\uff1a\u767b\u5f55iDRAC\u7684\u5bc6\u7801\uff0c\u9ed8\u8ba4\u4e3a\u00a0<strong>calvin<\/strong>\r\n<strong>\u670d\u52a1\u5668\u5730\u5740<\/strong>\uff1a iDRAC\u7684\u670d\u52a1\u5668IP\uff0c\u4e0d\u662f\u7cfb\u7edf\u6216\u865a\u62df\u673a\u7684IP\r\n<strong>0x00<\/strong>\u00a0\u4ee3\u8868\u00a0<strong>\u7981\u7528<\/strong>\u00a0\u624b\u52a8\u8c03\u901f \uff1b\u00a0<strong>0x01<\/strong>\u00a0\u4ee3\u8868\u00a0<strong>\u542f\u7528<\/strong>\u00a0\u624b\u52a8\u8c03\u901f\r\n\r\n\r\n<\/pre>\n<h4>3.2 \u8c03\u6574\u98ce\u901f<\/h4>\n<pre data-index=\"3\"><code>ipmitool -I lanplus -U ipmi\u7528\u6237\u540d -P ipmi\u5bc6\u7801 -H \u670d\u52a1\u5668\u5730\u5740 raw 0x30 0x30 0x02 0xff 0x18<\/code><\/pre>\n<p>0xff \u7b49\u4e8e\u6240\u6709\u98ce\u6247<br \/>\n0x18 \u4f60\u671f\u671b\u98ce\u6247\u8fd0\u884c\u7684\u8f6c\u901f\u767e\u5206\u6bd4\uff0c\u539f\u5382\u7684\u66b4\u529b\u6247\u5e94\u8be5\u4e3a12000rpm,\u8fd9\u662f 24 \u768416\u8fdb\u5236<\/p>\n<p>0xff 0x18 = \u6240\u6709\u98ce\u6247 \u4ee5 24% \u7684\u8f6c\u901f\u8fd0\u884c\uff0c\u53ef\u4ee5\u66f4\u6539 0xff \u4e3a\u5355\u72ec\u7684\u98ce\u6247\u8c03\u901f<\/p>\n<p>\u81f3\u6b64\uff0c\u5e94\u8be5\u80fd\u591f\u8c03\u6574\u8f6c\u901f\u4e86\uff0c\u6211\u81ea\u5df1\u7528\u7684\u662f10%\u7684\u8f6c\u901f\uff0c\u6211\u4f5c\u4e3aNAS\u4f7f\u7528\u3002<\/p>\n<p>\u5207\u52ff\u8ba9\u8f6c\u901f\u8fc7\u4f4e\u6216\u8fc7\u9ad8<\/p>\n<div><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2817\" src=\"https:\/\/www.wjxy.net.cn\/wp-content\/uploads\/2023\/10\/unnamed-file-12.png\" width=\"959\" height=\"418\" alt=\"\" srcset=\"https:\/\/www.wjxy.net.cn\/wp-content\/uploads\/2023\/10\/unnamed-file-12.png 959w, https:\/\/www.wjxy.net.cn\/wp-content\/uploads\/2023\/10\/unnamed-file-12-300x131.png 300w, https:\/\/www.wjxy.net.cn\/wp-content\/uploads\/2023\/10\/unnamed-file-12-768x335.png 768w\" sizes=\"(max-width: 959px) 100vw, 959px\" \/><\/div>\n<div><code>ipmitool -I lanplus -U root -P calvin -H 192.168.145.231 sensor get \"Temp\"<br \/>\n<\/code><\/div>\n<div>\n<p>\u6d4b\u8bd5IPMI\u7684\u8fde\u63a5\u6027\uff1a<\/p>\n<div class=\"highlight\">\n<pre tabindex=\"0\"><code class=\"language-sh\" data-lang=\"sh\">ipmitool -I lanplus -H 192.168.1.149 -U root -P root raw\r\n<\/code><\/pre>\n<\/div>\n<p>\u5c06\u98ce\u6247\u8bbe\u7f6e\u4e3a\u624b\u52a8\u8c03\u8282\u8f6c\u901f<\/p>\n<div class=\"highlight\">\n<pre tabindex=\"0\"><code class=\"language-sh\" data-lang=\"sh\">ipmitool -I lanplus -H 192.168.1.149 -U root -P root-passwd raw 0x30 0x30 0x01 0x00\r\n<\/code><\/pre>\n<\/div>\n<p>\u624b\u52a8\u8bbe\u7f6e\u98ce\u6247\u8f6c\u901f\uff08\u6700\u540e\u4e00\u5b57\u8282\u6307\u793a\u98ce\u6247\u8f6c\u901f\u7684\u767e\u5206\u6bd4\u7684\u5341\u516d\u8fdb\u5236\uff0c\u59820x0a\u5c31\u662f10% \u7cfb\u7edf\u9ed8\u8ba4\u6700\u4f4e\u662f18%\uff09\uff1a \u6ce8\uff1a\u5e38\u752810% 0x0a\u3001 20% 0x14\u300130% 0x1e\u300150% 0x32\u300170% 0x46\u300190% 0x5a<\/p>\n<div class=\"highlight\">\n<pre tabindex=\"0\"><code class=\"language-sh\" data-lang=\"sh\">ipmitool -I lanplus -H 192.168.1.149 -U root -P root-passwd raw 0x30 0x30 0x02 0xff 0x0a\r\n<\/code><\/pre>\n<\/div>\n<p>\u6062\u590d\u6210\u81ea\u52a8\u63a7\u5236\u8f6c\u901f<\/p>\n<div class=\"highlight\">\n<pre tabindex=\"0\"><code class=\"language-sh\" data-lang=\"sh\">ipmitool -I lanplus -H 192.168.1.149 -U root -P root-passwd raw 0x30 0x30 0x01 0x01\r\n<\/code><\/pre>\n<\/div>\n<\/div>\n<h2>Windows\u7528\u6237<\/h2>\n<p><span style=\"color: #999aaa;\">\u53ef\u4ee5\u5229\u7528 @cw1997 \u5927\u4f6c\u5f00\u53d1\u7684\u8f6f\u4ef6\uff1a<\/span><\/p>\n<p>\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"https:\/\/www.wjxy.net.cn\/wp-content\/uploads\/2022\/09\/dell_fans_controller_v1.0.0.zip\">dell_fans_controller_v1.0.0<\/a><\/p>\n<pre class=\"prettyprint\" data-index=\"4\"><code>https:\/\/github.com\/cw1997\/dell_fans_controller\/releases\/<\/code> \u8f6f\u4ef6\u7684\u754c\u9762<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u673a\u578b\u548ciDRAC\u7248\u672c IDRAC\u91cc\u9762IPMI\u5fc5\u987b\u8981\u6253\u5f00 \u4f7f\u7528\u673a\u578b\uff1aDell PowerEdge R720 iD [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[],"_links":{"self":[{"href":"https:\/\/www.wjxy.net.cn\/index.php?rest_route=\/wp\/v2\/posts\/2412"}],"collection":[{"href":"https:\/\/www.wjxy.net.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wjxy.net.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wjxy.net.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wjxy.net.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2412"}],"version-history":[{"count":9,"href":"https:\/\/www.wjxy.net.cn\/index.php?rest_route=\/wp\/v2\/posts\/2412\/revisions"}],"predecessor-version":[{"id":2818,"href":"https:\/\/www.wjxy.net.cn\/index.php?rest_route=\/wp\/v2\/posts\/2412\/revisions\/2818"}],"wp:attachment":[{"href":"https:\/\/www.wjxy.net.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wjxy.net.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wjxy.net.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}