
{"id":685,"date":"2021-09-19T15:36:54","date_gmt":"2021-09-19T07:36:54","guid":{"rendered":"http:\/\/dba.qishuo.xin\/?p=685"},"modified":"2021-09-19T15:36:54","modified_gmt":"2021-09-19T07:36:54","slug":"oracle-database-appliance-x6-2m%e7%a1%ac%e4%bb%b6%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"http:\/\/dba.qishuo.xin\/?p=685","title":{"rendered":"Oracle Database Appliance X6-2M\u786c\u4ef6\u914d\u7f6e"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 ez-toc-wrap-right counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<label for=\"ez-toc-cssicon-toggle-item-69f8e157e9459\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f8e157e9459\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#1_%E7%A1%AC%E4%BB%B6%E7%8E%AF%E5%A2%83\" >1. \u786c\u4ef6\u73af\u5883<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#11_%E7%A1%AC%E4%BB%B6%E5%9B%BE%E7%89%87\" >1.1. \u786c\u4ef6\u56fe\u7247<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#12_%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F\" >1.2. \u64cd\u4f5c\u7cfb\u7edf<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#2_%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%A1%AC%E4%BB%B6%E9%85%8D%E7%BD%AE%E7%AE%80%E4%BB%8B\" >2. \u670d\u52a1\u5668\u786c\u4ef6\u914d\u7f6e\u7b80\u4ecb<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#3_%E4%B8%8E%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%9E%8B%E5%8F%B7%E7%9B%B8%E5%85%B3%E7%9A%84%E5%8F%82%E6%95%B0\" >3. \u4e0e\u670d\u52a1\u5668\u578b\u53f7\u76f8\u5173\u7684\u53c2\u6570<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#31_%E6%9F%A5%E7%9C%8B%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%9E%8B%E5%8F%B7\" >3.1. \u67e5\u770b\u670d\u52a1\u5668\u578b\u53f7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#32_%E6%9F%A5%E7%9C%8B%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%88%B6%E9%80%A0%E5%95%86%E3%80%81%E5%9E%8B%E5%8F%B7%E3%80%81%E5%BA%8F%E5%88%97%E5%8F%B7\" >3.2. \u67e5\u770b\u670d\u52a1\u5668\u5236\u9020\u5546\u3001\u578b\u53f7\u3001\u5e8f\u5217\u53f7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#33_%E6%9F%A5%E7%9C%8B%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%BB%E6%9D%BF%E5%9E%8B%E5%8F%B7\" >3.3. \u67e5\u770b\u670d\u52a1\u5668\u4e3b\u677f\u578b\u53f7<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#4_%E4%B8%8E%E5%86%85%E5%AD%98%E7%9B%B8%E5%85%B3%E7%9A%84%E5%8F%82%E6%95%B0\" >4. \u4e0e\u5185\u5b58\u76f8\u5173\u7684\u53c2\u6570<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#41_%E6%9F%A5%E7%9C%8B%E5%86%85%E5%AD%98%E6%A6%82%E8%A6%81%E4%BF%A1%E6%81%AF\" >4.1. \u67e5\u770b\u5185\u5b58\u6982\u8981\u4fe1\u606f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#42_%E6%9F%A5%E7%9C%8B%E5%86%85%E5%AD%98%E5%9E%8B%E5%8F%B7\" >4.2. \u67e5\u770b\u5185\u5b58\u578b\u53f7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#43_%E6%9F%A5%E7%9C%8B%E5%86%85%E5%AD%98%E6%8F%92%E6%A7%BD%E6%95%B0\" >4.3. \u67e5\u770b\u5185\u5b58\u63d2\u69fd\u6570<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#5_%E4%B8%8ECPU%E7%9B%B8%E5%85%B3%E7%9A%84%E5%8F%82%E6%95%B0\" >5. \u4e0eCPU\u76f8\u5173\u7684\u53c2\u6570<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#51_%E6%9F%A5%E7%9C%8BCPU%E6%A6%82%E8%A6%81%E4%BF%A1%E6%81%AF\" >5.1. \u67e5\u770bCPU\u6982\u8981\u4fe1\u606f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#52_%E6%9F%A5%E7%9C%8BCPU%E5%9E%8B%E5%8F%B7\" >5.2. \u67e5\u770bCPU\u578b\u53f7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#53_%E6%9F%A5%E7%9C%8B%E7%89%A9%E7%90%86CPU%E4%B8%AA%E6%95%B0\" >5.3. \u67e5\u770b\u7269\u7406CPU\u4e2a\u6570<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#54_%E6%9F%A5%E7%9C%8B%E6%AF%8F%E4%B8%AA%E7%89%A9%E7%90%86CPU%E4%B8%ADcore%E7%9A%84%E4%B8%AA%E6%95%B0%E5%8D%B3%E6%A0%B8%E6%95%B0\" >5.4. \u67e5\u770b\u6bcf\u4e2a\u7269\u7406CPU\u4e2dcore\u7684\u4e2a\u6570(\u5373\u6838\u6570)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#55_%E6%9F%A5%E7%9C%8B%E9%80%BB%E8%BE%91CPU%E7%9A%84%E4%B8%AA%E6%95%B0\" >5.5. \u67e5\u770b\u903b\u8f91CPU\u7684\u4e2a\u6570<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#56_%E6%9F%A5%E7%9C%8BCPU%E6%98%AF%E5%90%A6%E5%90%AF%E7%94%A8%E8%B6%85%E7%BA%BF%E7%A8%8B\" >5.6. \u67e5\u770bCPU\u662f\u5426\u542f\u7528\u8d85\u7ebf\u7a0b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#57_%E6%9F%A5%E7%9C%8B%E5%BD%93%E5%89%8DCPU%E8%BF%90%E8%A1%8C%E6%A8%A1%E5%BC%8F%E6%98%AF32%E4%BD%8D%E8%BF%98%E6%98%AF64%E4%BD%8D\" >5.7. \u67e5\u770b\u5f53\u524dCPU\u8fd0\u884c\u6a21\u5f0f\u662f32\u4f4d\u8fd8\u662f64\u4f4d<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#6_%E4%B8%8E%E7%A1%AC%E7%9B%98%E7%9B%B8%E5%85%B3%E7%9A%84%E5%8F%82%E6%95%B0\" >6. \u4e0e\u786c\u76d8\u76f8\u5173\u7684\u53c2\u6570<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#61_%E6%9F%A5%E7%9C%8B%E7%A1%AC%E7%9B%98%E7%9B%B8%E5%85%B3%E7%9A%84%E5%8F%82%E6%95%B0\" >6.1. \u67e5\u770b\u786c\u76d8\u76f8\u5173\u7684\u53c2\u6570<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#62_%E6%9F%A5%E7%9C%8B%E6%89%80%E6%9C%89%E9%80%BB%E8%BE%91%E7%A3%81%E7%9B%98%E7%BB%84%E4%BF%A1%E6%81%AF\" >6.2. \u67e5\u770b\u6240\u6709\u903b\u8f91\u78c1\u76d8\u7ec4\u4fe1\u606f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#63_%E6%9F%A5%E7%9C%8BRaid%E5%8D%A1%E5%9E%8B%E5%8F%B7%EF%BC%8CRaid%E8%AE%BE%E7%BD%AE%EF%BC%8CDisk%E7%9B%B8%E5%85%B3%E4%BF%A1%E6%81%AF\" >6.3. \u67e5\u770bRaid\u5361\u578b\u53f7\uff0cRaid\u8bbe\u7f6e\uff0cDisk\u76f8\u5173\u4fe1\u606f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-25\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#64_%E6%9F%A5%E7%9C%8BRAID%E5%8D%A1%E4%BF%A1%E6%81%AF\" >6.4. \u67e5\u770bRAID\u5361\u4fe1\u606f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-26\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#65_%E6%9F%A5%E7%9C%8BRAID%E4%B8%AD%E7%9A%84%E7%A1%AC%E7%9B%98%E4%BF%A1%E6%81%AF\" >6.5. \u67e5\u770bRAID\u4e2d\u7684\u786c\u76d8\u4fe1\u606f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-27\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#66_%E6%9F%A5%E7%9C%8B%E7%A1%AC%E7%9B%98%E5%8F%8A%E5%88%86%E5%8C%BA\" >6.6. \u67e5\u770b\u786c\u76d8\u53ca\u5206\u533a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-28\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#67_%E6%9F%A5%E7%9C%8B%E5%90%84%E5%88%86%E5%8C%BA%E4%BD%BF%E7%94%A8%E6%83%85%E5%86%B5\" >6.7. \u67e5\u770b\u5404\u5206\u533a\u4f7f\u7528\u60c5\u51b5<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-29\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#7_%E4%B8%8E%E7%BD%91%E5%8D%A1%E7%9B%B8%E5%85%B3%E7%9A%84%E5%8F%82%E6%95%B0\" >7. \u4e0e\u7f51\u5361\u76f8\u5173\u7684\u53c2\u6570<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-30\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#71_%E6%9F%A5%E7%9C%8B%E7%BD%91%E5%8D%A1%E5%9E%8B%E5%8F%B7\" >7.1. \u67e5\u770b\u7f51\u5361\u578b\u53f7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-31\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#72_Linux_bonding\" >7.2. Linux bonding<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-32\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#73_Ethtool_%E5%B7%A5%E5%85%B7\" >7.3. Ethtool \u5de5\u5177<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-33\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#74_mii-tool%E5%B7%A5%E5%85%B7\" >7.4. mii-tool\u5de5\u5177<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-34\" href=\"http:\/\/dba.qishuo.xin\/?p=685\/#75_%E7%BD%91%E5%8D%A1%E7%9A%84%E8%B4%9F%E8%BD%BD%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7\" >7.5. \u7f51\u5361\u7684\u8d1f\u8f7d\u6d4b\u8bd5\u5de5\u5177<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"1_%E7%A1%AC%E4%BB%B6%E7%8E%AF%E5%A2%83\"><\/span>1. \u786c\u4ef6\u73af\u5883<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"11_%E7%A1%AC%E4%BB%B6%E5%9B%BE%E7%89%87\"><\/span>1.1. \u786c\u4ef6\u56fe\u7247<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_3bbb37e831f36601dc2a87f68b00845b.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_3bbb37e831f36601dc2a87f68b00845b.jpg\" alt=\"\" \/><\/a><\/p>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_de3abfc815298aaa627b636d5815c7e9.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_de3abfc815298aaa627b636d5815c7e9.jpg\" alt=\"\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"12_%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F\"><\/span>1.2. \u64cd\u4f5c\u7cfb\u7edf<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>\u673a\u5668\u578b\u53f7\uff1aODA X6-2M<br \/>\n\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c\uff1aOracle Linux Server release 6.8<br \/>\n\u5907\u6ce8\uff1aOracle Database Appliance(ODA)  X6-2M<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%A1%AC%E4%BB%B6%E9%85%8D%E7%BD%AE%E7%AE%80%E4%BB%8B\"><\/span>2. \u670d\u52a1\u5668\u786c\u4ef6\u914d\u7f6e\u7b80\u4ecb<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>DMI<\/strong> (<strong>Desktop Management Interface<\/strong>, DMI)\u5c31\u662f\u5e2e\u52a9\u6536\u96c6\u7535\u8111\u7cfb\u7edf\u4fe1\u606f\u7684\u7ba1\u7406\u7cfb\u7edf\uff0cDMI\u4fe1\u606f\u7684\u6536\u96c6\u5fc5\u987b\u5728\u4e25\u683c\u9075\u7167SMBIOS\u89c4\u8303\u7684\u524d\u63d0\u4e0b\u8fdb\u884c\u3002 <strong>SMBIOS<\/strong>(System Management BIOS)\u662f\u4e3b\u677f\u6216\u7cfb\u7edf\u5236\u9020\u8005\u4ee5\u6807\u51c6\u683c\u5f0f\u663e\u793a\u4ea7\u54c1\u7ba1\u7406\u4fe1\u606f\u6240\u9700\u9075\u5faa\u7684\u7edf\u4e00\u89c4\u8303\u3002<strong>SMBIOS<\/strong>\u548c<strong>DMI<\/strong>\u662f\u7531\u884c\u4e1a\u6307\u5bfc\u673a\u6784<strong>Desktop Management Task Force<\/strong> (<strong>DMTF<\/strong>)\u8d77\u8349\u7684\u5f00\u653e\u6027\u7684\u6280\u672f\u6807\u51c6\uff0c\u5176\u4e2dDMI\u8bbe\u8ba1\u9002\u7528\u4e8e\u4efb\u4f55\u7684\u5e73\u53f0\u548c\u64cd\u4f5c\u7cfb\u7edf\u3002<strong>DMI<\/strong>\u5145\u5f53\u4e86\u7ba1\u7406\u5de5\u5177\u548c\u7cfb\u7edf\u5c42\u4e4b\u95f4\u63a5\u53e3\u7684\u89d2\u8272\u3002\u5b83\u5efa\u7acb\u4e86\u6807\u51c6\u7684\u53ef\u7ba1\u7406\u7cfb\u7edf\u66f4\u52a0\u65b9\u4fbf\u4e86\u7535\u8111\u5382\u5546\u548c\u7528\u6237\u5bf9\u7cfb\u7edf\u7684\u4e86\u89e3\u3002<strong>DMI<\/strong>\u7684\u4e3b\u8981\u7ec4\u6210\u90e8\u5206\u662f<strong>Management Information Format<\/strong> (<strong>MIF<\/strong>)\u6570\u636e\u5e93\u3002\u8fd9\u4e2a\u6570\u636e\u5e93\u5305\u62ec\u4e86\u6240\u6709\u6709\u5173\u7535\u8111\u7cfb\u7edf\u548c\u914d\u4ef6\u7684\u4fe1\u606f\u3002\u901a\u8fc7<strong>DMI<\/strong>\uff0c\u7528\u6237\u53ef\u4ee5\u83b7\u53d6\u5e8f\u5217\u53f7\u3001\u7535\u8111\u5382\u5546\u3001\u4e32\u53e3\u4fe1\u606f\u4ee5\u53ca\u5176\u5b83\u7cfb\u7edf\u914d\u4ef6\u4fe1\u606f\u3002<\/p>\n<pre><code class=\"line-numbers\">Usage: dmidecode [OPTIONS]\nOptions are:\n-d, --dev-mem FILE Read memory from device FILE (default: \/dev\/mem)\n#\u4ece\u8bbe\u5907\u6587\u4ef6\u8bfb\u4fe1\u606f\uff0c\u8f93\u51fa\u5185\u5bb9\u4e0e\u4e0d\u52a0\u53c2\u6570\u6807\u51c6\u8f93\u51fa\u76f8\u540c\n-h, --help Display this help text and exit\n#\u663e\u793a\u5e2e\u52a9\u4fe1\u606f\n-q, --quiet Less verbose output\n#\u663e\u793a\u66f4\u5c11\u7684\u7b80\u5316\u4fe1\u606f\n-s, --string KEYWORD Only display the value of the given DMI string\n#\u53ea\u663e\u793a\u6307\u5b9aDMI\u5b57\u7b26\u4e32\u7684\u4fe1\u606f\n-t, --type TYPE Only display the entries of given type\n#\u53ea\u663e\u793a\u6307\u5b9a\u6761\u76ee\u7684\u4fe1\u606f\n-u, --dump Do not decode the entries\n#\u663e\u793a\u672a\u89e3\u7801\u7684\u539f\u59cb\u6761\u76ee\u5185\u5bb9\n--dump-bin FILE Dump the DMI data to a binary file\n--from-dump FILE Read the DMI data from a binary file\n-V, --version Display the version and exit\n#\u663e\u793a\u7248\u672c\u4fe1\u606f\n<\/code><\/pre>\n<pre><code class=\"language-shell line-numbers\">~]# dmidecode -t system          \/\/\u67e5\u770b\u670d\u52a1\u5668\u76f8\u5173\u4fe1\u606f, \u6216\u8005\u7528\u547d\u4ee4\uff1admidecode --type system\n~]# dmidecode -t processor      \/\/\u67e5\u770b\u5904\u7406\u5668\u4fe1\u606f\uff0c\u6216\u8005\u7528\u547d\u4ee4\uff1admidecode --type processor\n~]# dmidecode -t memory         \/\/\u67e5\u770b\u5185\u5b58\u4fe1\u606f\n~]# dmidecode -t bios           \/\/\u67e5\u770bBIOS\u5668\u4fe1\u606f\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_91872e709ef9dff875b5aa33ff909e05.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_91872e709ef9dff875b5aa33ff909e05.jpg\" alt=\"\" \/><\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_%E4%B8%8E%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%9E%8B%E5%8F%B7%E7%9B%B8%E5%85%B3%E7%9A%84%E5%8F%82%E6%95%B0\"><\/span>3. \u4e0e\u670d\u52a1\u5668\u578b\u53f7\u76f8\u5173\u7684\u53c2\u6570<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"31_%E6%9F%A5%E7%9C%8B%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%9E%8B%E5%8F%B7\"><\/span>3.1. \u67e5\u770b\u670d\u52a1\u5668\u578b\u53f7<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]#  dmidecode | grep \"Product Name\"\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_0f174e3be0b0737b9e123426d3a682e2.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_0f174e3be0b0737b9e123426d3a682e2.jpg\" alt=\"\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"32_%E6%9F%A5%E7%9C%8B%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%88%B6%E9%80%A0%E5%95%86%E3%80%81%E5%9E%8B%E5%8F%B7%E3%80%81%E5%BA%8F%E5%88%97%E5%8F%B7\"><\/span>3.2. \u67e5\u770b\u670d\u52a1\u5668\u5236\u9020\u5546\u3001\u578b\u53f7\u3001\u5e8f\u5217\u53f7<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# dmidecode|grep \"System Information\" -A9|egrep  \"Manufacturer|Product|Serial\"\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_2c8ced8ad28ceb8e840013db69a66941.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_2c8ced8ad28ceb8e840013db69a66941.jpg\" alt=\"\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"33_%E6%9F%A5%E7%9C%8B%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%BB%E6%9D%BF%E5%9E%8B%E5%8F%B7\"><\/span>3.3. \u67e5\u770b\u670d\u52a1\u5668\u4e3b\u677f\u578b\u53f7<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# dmidecode |grep -A16 \"System Information$\"\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_9825f4043abcd9c51d7bfea29f1f7c3f.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_9825f4043abcd9c51d7bfea29f1f7c3f.jpg\" alt=\"\" \/><\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"4_%E4%B8%8E%E5%86%85%E5%AD%98%E7%9B%B8%E5%85%B3%E7%9A%84%E5%8F%82%E6%95%B0\"><\/span>4. \u4e0e\u5185\u5b58\u76f8\u5173\u7684\u53c2\u6570<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"41_%E6%9F%A5%E7%9C%8B%E5%86%85%E5%AD%98%E6%A6%82%E8%A6%81%E4%BF%A1%E6%81%AF\"><\/span>4.1. \u67e5\u770b\u5185\u5b58\u6982\u8981\u4fe1\u606f<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# dmidecode -t 16     \/\/\u7b80\u5355\u597d\u8bb0\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_fff70aaba7d363c28a8bbc89c298c02f.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_fff70aaba7d363c28a8bbc89c298c02f.jpg\" alt=\"\" \/><\/a><\/p>\n<p>\u8be5\u670d\u52a1\u5668\u5e94\u8be5\u6709\u4e24\u7ec4\u5185\u5b58\u63d2\u69fd\uff0c\u6bcf\u7ec412\u4e2a\u63d2\u69fd\uff0c\u6700\u5927\u652f\u6301768G\u5185\u5b58\u3002<\/p>\n<h4><span class=\"ez-toc-section\" id=\"42_%E6%9F%A5%E7%9C%8B%E5%86%85%E5%AD%98%E5%9E%8B%E5%8F%B7\"><\/span>4.2. \u67e5\u770b\u5185\u5b58\u578b\u53f7<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# dmidecode |grep -A16 \"Memory Device$\"\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_faa697a2a11cd2684024908dff7ca9df.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_faa697a2a11cd2684024908dff7ca9df.jpg\" alt=\"\" \/><\/a><\/p>\n<p>\u8be5\u5185\u5b58\u6761\u4e3a\u4e09\u661f\u5236\u9020\uff0c\u9891\u7387\u4e3a2400MHz\uff0c\u7c7b\u578b\u4e3aDDR4\uff0c\u5355\u6761\u5185\u5b58\u5927\u5c0f\u4e3a32G<\/p>\n<h4><span class=\"ez-toc-section\" id=\"43_%E6%9F%A5%E7%9C%8B%E5%86%85%E5%AD%98%E6%8F%92%E6%A7%BD%E6%95%B0\"><\/span>4.3. \u67e5\u770b\u5185\u5b58\u63d2\u69fd\u6570<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# dmidecode|grep -A5 \"Memory Device\"|grep Size|grep -v Range\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_50027761459a8098d4b8901a3f7fb2df.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_50027761459a8098d4b8901a3f7fb2df.jpg\" alt=\"\" \/><\/a><\/p>\n<p>\u8be5\u670d\u52a1\u5668\u5171\u670924\u4e2a\u5185\u5b58\u63d2\u69fd\uff0c\u73b0\u4f7f\u75288\u4e2a\u63d2\u69fd\uff0c\u6bcf\u63d2\u69fd\u5185\u5b58\u5927\u5c0f\u4e3a32G\uff0c\u5408\u8ba1\u5171\u8ba18*32\uff1d256GB<\/p>\n<h3><span class=\"ez-toc-section\" id=\"5_%E4%B8%8ECPU%E7%9B%B8%E5%85%B3%E7%9A%84%E5%8F%82%E6%95%B0\"><\/span>5. \u4e0eCPU\u76f8\u5173\u7684\u53c2\u6570<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"51_%E6%9F%A5%E7%9C%8BCPU%E6%A6%82%E8%A6%81%E4%BF%A1%E6%81%AF\"><\/span>5.1. \u67e5\u770bCPU\u6982\u8981\u4fe1\u606f<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# dmidecode -t 4             \/\/\u7b80\u5355\u597d\u8bb0\n<\/code><\/pre>\n<p>\u663e\u793a\u7684\u4fe1\u606f\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"line-numbers\"># dmidecode 2.12\nSMBIOS 2.8 present.\n\nHandle 0x005C, DMI type 4, 42 bytes\nProcessor Information\n    Socket Designation: P0\n    Type: Central Processor\n    Family: Xeon\n    Manufacturer: Intel\n    ID: F1 06 04 00 FF FB EB BF\n    Signature: Type 0, Family 6, Model 79, Stepping 1\n    Flags:\n        FPU (Floating-point unit on-chip)\n        VME (Virtual mode extension)\n        DE (Debugging extension)\n        PSE (Page size extension)\n        TSC (Time stamp counter)\n        MSR (Model specific registers)\n        PAE (Physical address extension)\n        MCE (Machine check exception)\n        CX8 (CMPXCHG8 instruction supported)\n        APIC (On-chip APIC hardware supported)\n        SEP (Fast system call)\n        MTRR (Memory type range registers)\n        PGE (Page global enable)\n        MCA (Machine check architecture)\n        CMOV (Conditional move instruction supported)\n        PAT (Page attribute table)\n        PSE-36 (36-bit page size extension)\n        CLFSH (CLFLUSH instruction supported)\n        DS (Debug store)\n        ACPI (ACPI supported)\n        MMX (MMX technology supported)\n        FXSR (FXSAVE and FXSTOR instructions supported)\n        SSE (Streaming SIMD extensions)\n        SSE2 (Streaming SIMD extensions 2)\n        SS (Self-snoop)\n        HTT (Multi-threading)\n        TM (Thermal monitor supported)\n        PBE (Pending break enabled)\n    Version: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz\n    Voltage: 1.8 V\n    External Clock: 100 MHz\n    Max Speed: 4000 MHz\n    Current Speed: 2200 MHz\n    Status: Populated, Enabled\n    Upgrade: Socket LGA2011-3\n    L1 Cache Handle: 0x0059\n    L2 Cache Handle: 0x005A\n    L3 Cache Handle: 0x005B\n    Serial Number: Not Specified\n    Asset Tag: Not Specified\n    Part Number: 060F\n    Core Count: 10\n    Core Enabled: 10\n    Thread Count: 20\n    Characteristics:\n        64-bit capable\n        Multi-Core\n        Hardware Thread\n        Execute Protection\n        Enhanced Virtualization\n        Power\/Performance Control\n\nHandle 0x0060, DMI type 4, 42 bytes\nProcessor Information\n    Socket Designation: P1\n    Type: Central Processor\n    Family: Xeon\n    Manufacturer: Intel\n    ID: F1 06 04 00 FF FB EB BF\n    Signature: Type 0, Family 6, Model 79, Stepping 1\n    Flags:\n        FPU (Floating-point unit on-chip)\n        VME (Virtual mode extension)\n        DE (Debugging extension)\n        PSE (Page size extension)\n        TSC (Time stamp counter)\n        MSR (Model specific registers)\n        PAE (Physical address extension)\n        MCE (Machine check exception)\n        CX8 (CMPXCHG8 instruction supported)\n        APIC (On-chip APIC hardware supported)\n        SEP (Fast system call)\n        MTRR (Memory type range registers)\n        PGE (Page global enable)\n        MCA (Machine check architecture)\n        CMOV (Conditional move instruction supported)\n        PAT (Page attribute table)\n        PSE-36 (36-bit page size extension)\n        CLFSH (CLFLUSH instruction supported)\n        DS (Debug store)\n        ACPI (ACPI supported)\n        MMX (MMX technology supported)\n        FXSR (FXSAVE and FXSTOR instructions supported)\n        SSE (Streaming SIMD extensions)\n        SSE2 (Streaming SIMD extensions 2)\n        SS (Self-snoop)\n        HTT (Multi-threading)\n        TM (Thermal monitor supported)\n        PBE (Pending break enabled)\n    Version: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz\n    Voltage: 1.8 V\n    External Clock: 100 MHz\n    Max Speed: 4000 MHz\n    Current Speed: 2200 MHz\n    Status: Populated, Enabled\n    Upgrade: Socket LGA2011-3\n    L1 Cache Handle: 0x005D\n    L2 Cache Handle: 0x005E\n    L3 Cache Handle: 0x005F\n    Serial Number: Not Specified\n    Asset Tag: Not Specified\n    Part Number: 060F\n    Core Count: 10\n    Core Enabled: 10\n    Thread Count: 20\n    Characteristics:\n        64-bit capable\n        Multi-Core\n        Hardware Thread\n        Execute Protection\n        Enhanced Virtualization\n        Power\/Performance Control\n<\/code><\/pre>\n<p><span style='color:red'> CPU\u4fe1\u606f\uff1a\u4e3b\u8981\u67e5\u770b \/proc\/cpuinfo \u6587\u4ef6 <\/span><\/p>\n<pre><code class=\"line-numbers\"> \u603b\u6838\u6570 = \u7269\u7406CPU\u4e2a\u6570 X \u6bcf\u9897\u7269\u7406CPU\u7684\u6838\u6570\n \u603b\u903b\u8f91CPU\u6570 = \u7269\u7406CPU\u4e2a\u6570 X \u6bcf\u9897\u7269\u7406CPU\u7684\u6838\u6570 X \u8d85\u7ebf\u7a0b\u6570\n<\/code><\/pre>\n<p>\u8d85\u7ebf\u7a0b\u6280\u672f\u5c31\u662f\u5229\u7528\u7279\u6b8a\u7684\u786c\u4ef6\u6307\u4ee4\uff0c\u628a\u4e24\u4e2a\u903b\u8f91\u5185\u6838\u6a21\u62df\u6210\u4e24\u4e2a\u7269\u7406\u82af\u7247\uff0c\u8ba9\u5355\u4e2a\u5904\u7406\u5668\u90fd\u80fd\u4f7f\u7528\u7ebf\u7a0b\u7ea7\u5e76\u884c\u8ba1\u7b97\uff0c\u8fdb\u800c\u517c\u5bb9\u591a\u7ebf\u7a0b\u64cd\u4f5c\u7cfb\u7edf\u548c\u8f6f\u4ef6\uff0c\u51cf\u5c11\u4e86CPU\u7684\u95f2\u7f6e\u65f6\u95f4\uff0c\u63d0\u9ad8\u7684CPU\u7684\u8fd0\u884c\u6548\u7387\u3002<br \/>\n\u8d85\u7ebf\u7a0b\u6280\u672f\u662f\u5728\u4e00\u9897CPU\u540c\u65f6\u6267\u884c\u591a\u4e2a\u7a0b\u5e8f\u800c\u5171\u540c\u5206\u4eab\u4e00\u9897CPU\u5185\u7684\u8d44\u6e90\uff0c\u7406\u8bba\u4e0a\u8981\u50cf\u4e24\u9897CPU\u4e00\u6837\u5728\u540c\u4e00\u65f6\u95f4\u6267\u884c\u4e24\u4e2a\u7ebf\u7a0b\uff0c\u867d\u7136\u91c7\u7528\u8d85\u7ebf\u7a0b\u6280\u672f\u80fd\u540c\u65f6\u6267\u884c\u4e24\u4e2a\u7ebf\u7a0b\uff0c\u4f46\u5b83\u5e76\u4e0d\u8c61\u4e24\u4e2a\u771f\u6b63\u7684CPU\u90a3\u6837\uff0c\u6bcf\u4e2aCPU\u90fd\u5177\u6709\u72ec\u7acb\u7684\u8d44\u6e90\u3002\u5f53\u4e24\u4e2a\u7ebf\u7a0b\u90fd\u540c\u65f6\u9700\u8981\u67d0\u4e00\u4e2a\u8d44\u6e90\u65f6\uff0c\u5176\u4e2d\u4e00\u4e2a\u8981\u6682\u65f6\u505c\u6b62\uff0c\u5e76\u8ba9\u51fa\u8d44\u6e90\uff0c\u76f4\u5230\u8fd9\u4e9b\u8d44\u6e90\u95f2\u7f6e\u540e\u624d\u80fd\u7ee7\u7eed\u3002\u56e0\u6b64\u8d85\u7ebf\u7a0b\u7684\u6027\u80fd\u5e76\u4e0d\u7b49\u4e8e\u4e24\u9897CPU\u7684\u6027\u80fd\u3002<\/p>\n<p><span style='color:red'>\u5224\u65ad\u8d85\u7ebf\u7a0b\u662f\u5426\u6253\u5f00\uff1a\u5982\u679c\u6709\u4e24\u4e2a\u903b\u8f91CPU\u5177\u6709\u76f8\u540c\u7684\u201dcore id\u201d\uff0c\u90a3\u4e48\u8d85\u7ebf\u7a0b\u662f\u6253\u5f00\u7684\u3002<\/span><\/p>\n<h4><span class=\"ez-toc-section\" id=\"52_%E6%9F%A5%E7%9C%8BCPU%E5%9E%8B%E5%8F%B7\"><\/span>5.2. \u67e5\u770bCPU\u578b\u53f7<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# dmidecode -s processor-version\nOR\uff1a\n~]# cat \/proc\/cpuinfo | grep name | cut -f2 -d: | uniq -c\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_9fd5dd2749056d235da2a4e06c978cde.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_9fd5dd2749056d235da2a4e06c978cde.jpg\" alt=\"\" \/><\/a><br \/>\n\u8bf4\u660e\uff1a\u8be5\u670d\u52a1\u5668\u670940\u4e2a\u903b\u8f91CPU\uff0cCPU\u578b\u53f7\u4e3a<code>Intel\u00ae Xeon\u00ae E5\uff0d2630 V4<\/code>\uff0c\u4e3b\u9891\u4e3a<code>2.20GHz<\/code><\/p>\n<h4><span class=\"ez-toc-section\" id=\"53_%E6%9F%A5%E7%9C%8B%E7%89%A9%E7%90%86CPU%E4%B8%AA%E6%95%B0\"><\/span>5.3. \u67e5\u770b\u7269\u7406CPU\u4e2a\u6570<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# cat \/proc\/cpuinfo| grep \"physical id\"| sort| uniq| wc -l\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_f91ea68cd63aa1fb4388cc0a3558da49.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_f91ea68cd63aa1fb4388cc0a3558da49.jpg\" alt=\"\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"54_%E6%9F%A5%E7%9C%8B%E6%AF%8F%E4%B8%AA%E7%89%A9%E7%90%86CPU%E4%B8%ADcore%E7%9A%84%E4%B8%AA%E6%95%B0%E5%8D%B3%E6%A0%B8%E6%95%B0\"><\/span>5.4. \u67e5\u770b\u6bcf\u4e2a\u7269\u7406CPU\u4e2dcore\u7684\u4e2a\u6570(\u5373\u6838\u6570)<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# cat \/proc\/cpuinfo| grep \"cpu cores\"| uniq\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_1df7f4ecb311e306faede3d56787b9a7.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_1df7f4ecb311e306faede3d56787b9a7.jpg\" alt=\"\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"55_%E6%9F%A5%E7%9C%8B%E9%80%BB%E8%BE%91CPU%E7%9A%84%E4%B8%AA%E6%95%B0\"><\/span>5.5. \u67e5\u770b\u903b\u8f91CPU\u7684\u4e2a\u6570<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# cat \/proc\/cpuinfo| grep \"processor\"| wc -l\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_85f88b3f6b4025586f131fac38d5870d.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_85f88b3f6b4025586f131fac38d5870d.jpg\" alt=\"\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"56_%E6%9F%A5%E7%9C%8BCPU%E6%98%AF%E5%90%A6%E5%90%AF%E7%94%A8%E8%B6%85%E7%BA%BF%E7%A8%8B\"><\/span>5.6. \u67e5\u770bCPU\u662f\u5426\u542f\u7528\u8d85\u7ebf\u7a0b<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# cat \/proc\/cpuinfo | grep 'physical id' | uniq -c\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_61b1f913682e98951998657bab075f13.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_61b1f913682e98951998657bab075f13.jpg\" alt=\"\" \/><\/a><\/p>\n<pre><code class=\"language-shell line-numbers\">~]# cat \/proc\/cpuinfo | grep -e  \"cpu cores\"  -e \"siblings\" | sort | uniq\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_2bc11fd45314220b391bc6a491fd0e9b.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_2bc11fd45314220b391bc6a491fd0e9b.jpg\" alt=\"\" \/><\/a><\/p>\n<p>NOTE\uff1asiblings\u533a\u522b\u51fa\u4e86\u8d85\u7ebf\u7a0bCPU\u4e2d\u7684\u903b\u8f91CPU\u6838\u5fc3\u3002\u4e00\u9897\u8d85\u7ebf\u7a0bCPU\uff0c\u5176physical id\u662f\u4e00\u6837\u7684\uff0c\u4f46\u662fsiblings\u662f\u4e0d\u540c\u7684\u3002<\/p>\n<h4><span class=\"ez-toc-section\" id=\"57_%E6%9F%A5%E7%9C%8B%E5%BD%93%E5%89%8DCPU%E8%BF%90%E8%A1%8C%E6%A8%A1%E5%BC%8F%E6%98%AF32%E4%BD%8D%E8%BF%98%E6%98%AF64%E4%BD%8D\"><\/span>5.7. \u67e5\u770b\u5f53\u524dCPU\u8fd0\u884c\u6a21\u5f0f\u662f32\u4f4d\u8fd8\u662f64\u4f4d<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]#  getconf LONG_BIT\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_cb87df2539b18d7fc79375ff01b0d4d1.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_cb87df2539b18d7fc79375ff01b0d4d1.jpg\" alt=\"\" \/><\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"6_%E4%B8%8E%E7%A1%AC%E7%9B%98%E7%9B%B8%E5%85%B3%E7%9A%84%E5%8F%82%E6%95%B0\"><\/span>6. \u4e0e\u786c\u76d8\u76f8\u5173\u7684\u53c2\u6570<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"61_%E6%9F%A5%E7%9C%8B%E7%A1%AC%E7%9B%98%E7%9B%B8%E5%85%B3%E7%9A%84%E5%8F%82%E6%95%B0\"><\/span>6.1. \u67e5\u770b\u786c\u76d8\u76f8\u5173\u7684\u53c2\u6570<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# cat \/proc\/scsi\/scsi\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_6b78055785f40bf2db241da83d0c06d6.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_6b78055785f40bf2db241da83d0c06d6.jpg\" alt=\"\" \/><\/a><br \/>\n\u5bf9\u4e8e\u4f7f\u7528\u4e86<strong>LSI MegaRAID<\/strong>\u5361\u642d\u5efa<strong>RAID<\/strong>\u7684, \u901a\u8fc7<strong>LSI<\/strong>\u516c\u53f8\u63d0\u4f9b\u7684<strong>MegaCli<\/strong>\u5de5\u5177, \u5c31\u53ef\u4ee5\u5b9e\u73b0\u5bf9<strong>RAID<\/strong>\u5361\u548c\u786c\u76d8\u7684\u76d1\u63a7\u3002<br \/>\n\u6ce8: DELL PERC5\/6(PowerEdge RAID ControllerPERC)\u9635\u5217\u5361\u5b9e\u9645\u4e0a\u4e5f\u5c31\u662fLSI MegaRAID SAS controllers.<br \/>\nNOTE\uff1aODA\u9ed8\u8ba4\u5df2\u7ecf\u5b89\u88c5\u4e86\u3002<\/p>\n<pre><code class=\"language-shell line-numbers\">~]# rpm -ivh Lib_Utils-1.00-09.noarch.rpm\n~]# rpm -ivh MegaCli-8.02.21-1.noarch.rpm   \/\/\u5b89\u88c5MegaCli\u5de5\u5177\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_620dffe7b6874a081dbf9b6804505050.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_620dffe7b6874a081dbf9b6804505050.jpg\" alt=\"\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"62_%E6%9F%A5%E7%9C%8B%E6%89%80%E6%9C%89%E9%80%BB%E8%BE%91%E7%A3%81%E7%9B%98%E7%BB%84%E4%BF%A1%E6%81%AF\"><\/span>6.2. \u67e5\u770b\u6240\u6709\u903b\u8f91\u78c1\u76d8\u7ec4\u4fe1\u606f<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]#  \/opt\/MegaRAID\/MegaCli\/MegaCli64 -LDInfo -Lall -aALL\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_d024cfe8fc1524ea9c952d3c2dc150b9.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_d024cfe8fc1524ea9c952d3c2dc150b9.jpg\" alt=\"\" \/><\/a><\/p>\n<p>RAID\u7ea7\u522b\u5982\u4f55\u67e5\u770b\uff1f\uff1f RAID\u578b\u53f7\u5bf9\u5e94\u8868\u4fe1\u606f\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"line-numbers\">['Primary-0, Secondary-0, RAID Level Qualifier-0'] = RAID-0\n['Primary-1, Secondary-0, RAID Level Qualifier-0'] = RAID-1\n['Primary-5, Secondary-0, RAID Level Qualifier-3'] = RAID-5\n['Primary-6, Secondary-0, RAID Level Qualifier-3'] = RAID-6\n['Primary-1, Secondary-3, RAID Level Qualifier-0'] = RAID-10\n<\/code><\/pre>\n<ul>\n<li>State : Optimal  \/\/\u8fd9\u662f\u6b63\u5e38\u7684\u72b6\u6001\u3002<\/li>\n<li>Strip Size : 1.0MB<\/li>\n<li>Number Of Drives per span:2  \/\/\u8868\u793a\u6bcf2\u4e2a\u7269\u7406\u76d8\u505a\u6210\u4e00\u4e2aRAID1\u76d8\u7ec4<\/li>\n<li>Span Depth : 1  \/\/\u6df1\u5ea6\u82e5\u662f1\uff0c\u8bf4\u660e\u5b9e\u9645\u53ea\u662fRAID 1\u30022\u8868\u793a\u53ef\u4ee5\u662fRAID 10<\/li>\n<\/ul>\n<h4><span class=\"ez-toc-section\" id=\"63_%E6%9F%A5%E7%9C%8BRaid%E5%8D%A1%E5%9E%8B%E5%8F%B7%EF%BC%8CRaid%E8%AE%BE%E7%BD%AE%EF%BC%8CDisk%E7%9B%B8%E5%85%B3%E4%BF%A1%E6%81%AF\"><\/span>6.3. \u67e5\u770bRaid\u5361\u578b\u53f7\uff0cRaid\u8bbe\u7f6e\uff0cDisk\u76f8\u5173\u4fe1\u606f<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# \/opt\/MegaRAID\/MegaCli\/MegaCli64  -cfgdsply -aAll\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_4537c0d633a8fe007083435313ec1156.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_4537c0d633a8fe007083435313ec1156.jpg\" alt=\"\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"64_%E6%9F%A5%E7%9C%8BRAID%E5%8D%A1%E4%BF%A1%E6%81%AF\"><\/span>6.4. \u67e5\u770bRAID\u5361\u4fe1\u606f<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]#  \/opt\/MegaRAID\/MegaCli\/MegaCli64 -ADPallInfo -aALL\n<\/code><\/pre>\n<h4><span class=\"ez-toc-section\" id=\"65_%E6%9F%A5%E7%9C%8BRAID%E4%B8%AD%E7%9A%84%E7%A1%AC%E7%9B%98%E4%BF%A1%E6%81%AF\"><\/span>6.5. \u67e5\u770bRAID\u4e2d\u7684\u786c\u76d8\u4fe1\u606f<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]#  \/opt\/MegaRAID\/MegaCli\/MegaCli64 -pdlist -aALL\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u662f\u663e\u793a\u4fe1\u606f:<\/p>\n<pre><code class=\"line-numbers\">Adapter #0\n\nEnclosure Device ID: 252\nSlot Number: 0\nDrive's position: DiskGroup: 0, Span: 0, Arm: 0\nEnclosure position: N\/A\nDevice Id: 8\nWWN: 5002538c40304fa1\nSequence Number: 2\nMedia Error Count: 0\nOther Error Count: 0\nPredictive Failure Count: 0\nLast Predictive Failure Event Seq Number: 0\nPD Type: SATA\n\nRaw Size: 447.130 GB [0x37e436b0 Sectors]\nNon Coerced Size: 446.630 GB [0x37d436b0 Sectors]\nCoerced Size: 446.102 GB [0x37c34800 Sectors]\nSector Size:  512\nLogical Sector Size:  512\nPhysical Sector Size:  512\nFirmware state: Online, Spun Up\nCommissioned Spare : No\nEmergency Spare : No\nDevice Firmware Level: 0R3Q\nShield Counter: 0\nSuccessful diagnostics completion on :  N\/A\nSAS Address(0): 0x4433221100000000\nConnected Port Number: 0(path0)\nInquiry Data: S2UBNX0H600389      MS4SC2JH2ORA480G                        GXM10R3Q\nFDE Capable: Not Capable\nFDE Enable: Disable\nSecured: Unsecured\nLocked: Unlocked\nNeeds EKM Attention: No\nForeign State: None\nDevice Speed: 6.0Gb\/s\nLink Speed: 6.0Gb\/s\nMedia Type: Solid State Device\nDrive:  Not Certified\nDrive Temperature :34C (93.20 F)\nPI Eligibility:  No\nDrive is formatted for PI information:  No\nPI: No PI\nPort-0 :\nPort status: Active\nPort's Linkspeed: 6.0Gb\/s\nDrive has flagged a S.M.A.R.T alert : No\n\nEnclosure Device ID: 252\nSlot Number: 1\nDrive's position: DiskGroup: 0, Span: 0, Arm: 1\nEnclosure position: N\/A\nDevice Id: 9\nWWN: 5002538c40304fa2\nSequence Number: 2\nMedia Error Count: 0\nOther Error Count: 0\nPredictive Failure Count: 0\nLast Predictive Failure Event Seq Number: 0\nPD Type: SATA\n\nRaw Size: 447.130 GB [0x37e436b0 Sectors]\nNon Coerced Size: 446.630 GB [0x37d436b0 Sectors]\nCoerced Size: 446.102 GB [0x37c34800 Sectors]\nSector Size:  512\nLogical Sector Size:  512\nPhysical Sector Size:  512\nFirmware state: Online, Spun Up\nCommissioned Spare : No\nEmergency Spare : No\nDevice Firmware Level: 0R3Q\nShield Counter: 0\nSuccessful diagnostics completion on :  N\/A\nSAS Address(0): 0x4433221101000000\nConnected Port Number: 1(path0) \nInquiry Data: S2UBNX0H600390      MS4SC2JH2ORA480G                        GXM10R3Q\nFDE Capable: Not Capable\nFDE Enable: Disable\nSecured: Unsecured\nLocked: Unlocked\nNeeds EKM Attention: No\nForeign State: None\nDevice Speed: 6.0Gb\/s\nLink Speed: 6.0Gb\/s\nMedia Type: Solid State Device\nDrive:  Not Certified\nDrive Temperature :35C (95.00 F)\nPI Eligibility:  No\nDrive is formatted for PI information:  No\nPI: No PI\nPort-0 :\nPort status: Active\nPort's Linkspeed: 6.0Gb\/s\nDrive has flagged a S.M.A.R.T alert : No\n\nExit Code: 0x00\n<\/code><\/pre>\n<h4><span class=\"ez-toc-section\" id=\"66_%E6%9F%A5%E7%9C%8B%E7%A1%AC%E7%9B%98%E5%8F%8A%E5%88%86%E5%8C%BA\"><\/span>6.6. \u67e5\u770b\u786c\u76d8\u53ca\u5206\u533a<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# lsblk\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_1901d86585011b250e31432f580ce4a7.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_1901d86585011b250e31432f580ce4a7.jpg\" alt=\"\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"67_%E6%9F%A5%E7%9C%8B%E5%90%84%E5%88%86%E5%8C%BA%E4%BD%BF%E7%94%A8%E6%83%85%E5%86%B5\"><\/span>6.7. \u67e5\u770b\u5404\u5206\u533a\u4f7f\u7528\u60c5\u51b5<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# df -lhT\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_d3b59521082357887e3e48c704bfcbd6.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_d3b59521082357887e3e48c704bfcbd6.jpg\" alt=\"\" \/><\/a><\/p>\n<p>ASM\u96c6\u7fa4\u6587\u4ef6\u7cfb\u7edfACFS\uff08ASM Cluster File System\uff09<br \/>\nhttp:\/\/blog.csdn.net\/laoshangxyc\/article\/details\/12645889<br \/>\nhttp:\/\/www.cnblogs.com\/riskyer\/archive\/2013\/08\/18\/3266515.html<br \/>\nhttp:\/\/www.kgc.cn\/bbs\/post\/30858.shtml<br \/>\nhttp:\/\/blog.chinaunix.net\/uid-20785090-id-4047193.html<br \/>\nhttp:\/\/www.oracle.com\/technetwork\/cn\/database\/database-technologies\/cloud-storage\/index.html \u5b98\u7f51<\/p>\n<pre><code class=\"language-shell line-numbers\">~]# time dd if=\/dev\/zero of=\/data\/test bs=8k count=1000000  \/\/\u6d4b\u8bd5\u78c1\u76d8\u7eaf\u5199\u901f\u5ea6\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_d8ddf8fa65e9b515ccfab90ce36bee2c.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_d8ddf8fa65e9b515ccfab90ce36bee2c.jpg\" alt=\"\" \/><\/a><\/p>\n<pre><code class=\"language-shell line-numbers\">~]# time dd if=\/data\/test of=\/dev\/null bs=8k count=1000000    \/\/\u6d4b\u8bd5\u78c1\u76d8\u7eaf\u8bfb\u901f\u5ea6\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_35b80571bd188eef2c9f90227543b524.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_35b80571bd188eef2c9f90227543b524.jpg\" alt=\"\" \/><\/a><\/p>\n<pre><code class=\"language-shell line-numbers\">~]# hdparm -tT \/dev\/sda1               \/\/\u4f7f\u7528hdparm\u547d\u4ee4\u6d4b\u8bd5\u78c1\u76d8\u8bfb\u5199\u901f\u5ea6\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_af59860758f8f3b36b34b4961ecaa67c.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_af59860758f8f3b36b34b4961ecaa67c.jpg\" alt=\"\" \/><\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"7_%E4%B8%8E%E7%BD%91%E5%8D%A1%E7%9B%B8%E5%85%B3%E7%9A%84%E5%8F%82%E6%95%B0\"><\/span>7. \u4e0e\u7f51\u5361\u76f8\u5173\u7684\u53c2\u6570<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"71_%E6%9F%A5%E7%9C%8B%E7%BD%91%E5%8D%A1%E5%9E%8B%E5%8F%B7\"><\/span>7.1. \u67e5\u770b\u7f51\u5361\u578b\u53f7<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell line-numbers\">~]# lspci | grep Eth\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_605e1a3d29a1448cdfe78c737528f081.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_605e1a3d29a1448cdfe78c737528f081.jpg\" alt=\"\" \/><\/a><\/p>\n<pre><code class=\"language-shell line-numbers\">~]# dmesg | grep -i eth\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_5a3f7d3be8f8a0f360a8225c823e12c4.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_5a3f7d3be8f8a0f360a8225c823e12c4.jpg\" alt=\"\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"72_Linux_bonding\"><\/span>7.2. Linux bonding<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><strong>Linux bonding<\/strong>\u9a71\u52a8\u63d0\u4f9b\u4e86\u4e00\u79cd\u65b9\u6cd5\uff0c\u7528\u4ee5\u628a\u591a\u4e2a\u7f51\u7edc\u63a5\u53e3\uff08<strong>network interface<\/strong>\uff09\u7ec4\u5408\u6210\u4e00\u4e2a\u903b\u8f91\u7684\"<strong>bonded<\/strong>\"\u63a5\u53e3\u3002<strong>Bonded<\/strong>\u63a5\u53e3\u7684\u5de5\u4f5c\u65b9\u5f0f\u53d6\u51b3\u4e8e\u9a71\u52a8\u7684\u6a21\u5f0f\uff1a\u4e0d\u540c\u7684\u6a21\u5f0f\u63d0\u4f9b\u4e86\u70ed\u5907\u4efd\u6216\u8d1f\u8f7d\u5747\u8861\u7b49\u4e0d\u540c\u7684\u670d\u52a1\u3002\u6b64\u5916\uff0c\u9a71\u52a8\u8fd8\u4f1a\u76d1\u63a7\u94fe\u8def\u7684\u53ef\u7528\u6027\u3002<br \/>\n<strong>Bonding<\/strong>\u9a71\u52a8\u6700\u65e9\u6765\u81ea<strong>Donald Becker<\/strong>\u9488\u5bf9Linux 2.0\u5185\u6838\u7684beowulf\u8865\u4e01\u3002\u73b0\u5728\u5df2\u7ecf\u6709\u4e86\u5f88\u591a\u7684\u53d8\u5316\uff0c\u6700\u65e9\u7684\u6765\u81eabeowulf\u7f51\u7ad9\u7684\u5de5\u5177\u5df2\u7ecf\u4e0d\u80fd\u548c\u73b0\u5728\u7684\u9a71\u52a8\u4e00\u8d77\u4f7f\u7528\u3002<br \/>\n\u67e5\u770b\u7f51\u53e3\u7ed1\u5b9a\u60c5\u51b5<\/p>\n<pre><code class=\"language-shell line-numbers\">~]# cat \/proc\/net\/bonding\/btbond1\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_2943676aa6531d5b4eec214cf6b046b5.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_2943676aa6531d5b4eec214cf6b046b5.jpg\" alt=\"\" \/><\/a><\/p>\n<p>\u5207\u6362\u4e3b\u7f51\u5361<\/p>\n<pre><code class=\"language-shell line-numbers\">~]# ifenslave -c btbond1 em2\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_25139c5747c3352c4cd9e27769e12fc2.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_25139c5747c3352c4cd9e27769e12fc2.jpg\" alt=\"\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"73_Ethtool_%E5%B7%A5%E5%85%B7\"><\/span>7.3. Ethtool \u5de5\u5177<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><strong>ethtool<\/strong> \u662f\u7528\u4e8e\u67e5\u8be2\u53ca\u8bbe\u7f6e\u7f51\u5361\u53c2\u6570\u7684\u547d\u4ee4\u3002<br \/>\n\u4f7f\u7528\u6982\u8981\uff1a<\/p>\n<pre><code class=\"line-numbers\">ethtool ethx \/\/\u67e5\u8be2ethx\u7f51\u53e3\u57fa\u672c\u8bbe\u7f6e\uff0c\u5176\u4e2d x \u662f\u5bf9\u5e94\u7f51\u5361\u7684\u7f16\u53f7\uff0c\u5982eth0\u3001eth1\u7b49\u7b49 \nethtool \u2013h \/\/\u663e\u793aethtool\u7684\u547d\u4ee4\u5e2e\u52a9(help) \nethtool \u2013i ethX \/\/\u67e5\u8be2ethX\u7f51\u53e3\u7684\u76f8\u5173\u4fe1\u606f \nethtool \u2013d ethX \/\/\u67e5\u8be2ethX\u7f51\u53e3\u6ce8\u518c\u6027\u4fe1\u606f \nethtool \u2013r ethX \/\/\u91cd\u7f6eethX\u7f51\u53e3\u5230\u81ea\u9002\u5e94\u6a21\u5f0f \nethtool \u2013S ethX \/\/\u67e5\u8be2ethX\u7f51\u53e3\u6536\u53d1\u5305\u7edf\u8ba1 \nethtool \u2013s ethX [speed 10|100|1000] [duplex half|full] [autoneg on|off] \/\/\u8bbe\u7f6e\u7f51\u53e3\u901f\u738710\/100\/1000M\u3001\u8bbe\u7f6e\u7f51\u53e3\u534a\/\u5168\u53cc\u5de5\u3001\u8bbe\u7f6e\u7f51\u53e3\u662f\u5426\u81ea\u534f\u5546\n[root@linux \/]# ethtool eth1 \/\/\u67e5\u770b\u7f51\u53611\u4fe1\u606f\n[root@linux \/]# ethtool -i eth1 \/\/\u67e5\u770b\u7f51\u5361\u578b\u53f7\u7b49 \n[root@linux \/]# ethtool -S eth1 \/\/\u67e5\u770b\u6570\u636e\u7387\u7b49\n[root@linux \/]# ethtool -s eth1 autoneg off speed 100 duplex full\/\/\u5f3a\u5236\u4fee\u6539\u7f51\u5361\u901f\u7387\uff0c\u914d\u7f6e\u6210\u767e\u5146\u7f51\u5361\uff0cautoneg off\u662f\u4e00\u5b9a\u8981\u7528\uff0c\u5982\u679c\u662fon\u7684\u8bdd\u5c31\u662f\u81ea\u9002\u5e94\u914d\u7f6e\uff0c\u81ea\u52a8\u6839\u636e\u673a\u5668\u7b49\u8fdb\u884c\u914d\u7f6e\u3002\n<\/code><\/pre>\n<p>\u793a\u4f8b\uff1a<\/p>\n<pre><code class=\"language-shell line-numbers\">~]# ethtool em1\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_eef22052e366b61f9438e6896bd5eff0.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_eef22052e366b61f9438e6896bd5eff0.jpg\" alt=\"\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"74_mii-tool%E5%B7%A5%E5%85%B7\"><\/span>7.4. mii-tool\u5de5\u5177<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>mii-tool \u5728\u66f4\u6539\u7f51\u7edc\u8bbe\u5907\u901a\u4fe1\u534f\u5546\u65b9\u5f0f\u7684\u65b9\u6cd5\u6bd4\u8f83\u7b80\u5355\uff0c\u7528 -v \u53c2\u6570\u6765\u67e5\u770b\u7f51\u7edc\u63a5\u53e3\u7684\u72b6\u6001\uff1b\u770b\u4e0b\u9762\u7684\u4f8b\u5b50\uff1b<br \/>\nmii-tool \u66f4\u6539\u7f51\u7edc\u63a5\u53e3\u534f\u5546\u7684\u65b9\u6cd5\uff1b<\/p>\n<pre><code class=\"line-numbers\">~]# mii-tool --help\nusage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...]\n-V, --version display version information \n-v, --verbose more verbose output \u6ce8\uff1a\u663e\u793a\u7f51\u7edc\u63a5\u53e3\u7684\u4fe1\u606f\uff1b \n-R, --reset reset MII to poweron state \u6ce8\uff1a\u91cd\u8bbeMII\u5230\u5f00\u542f\u72b6\u6001\uff1b \n-r, --restart restart autonegotiation \u6ce8\uff1a\u91cd\u542f\u81ea\u52a8\u534f\u5546\u6a21\u5f0f\uff1b \n-w, --watch monitor for link status changes \u6ce8\uff1a\u67e5\u770b\u7f51\u7edc\u63a5\u53e3\u8fde\u63a5\u7684\u72b6\u6001\u53d8\u5316\uff1b \n-l, --log with -w, write events to syslog \u6ce8\uff1a\u5199\u5165\u4e8b\u4ef6\u5230\u7cfb\u7edf\u65e5\u5fd7\uff1b \n-A, --advertise=media,... advertise only specified media \u6ce8\uff1a\u6307\u4ee4\u7279\u5b9a\u7684\u7f51\u7edc\u63a5\u53e3\uff1b \n-F, --force=media force specified media technology \u6ce8\uff1a\u66f4\u6539\u7f51\u7edc\u63a5\u53e3\u534f\u5546\u65b9\u5f0f\uff1b \nmedia: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD, \n(to advertise both HD and FD) 100baseTx, 10baseT\n\u66f4\u6539\u7f51\u7edc\u63a5\u53e3\u7684\u534f\u5546\u65b9\u5f0f\uff0c\u6211\u4eec\u8981\u7528\u5230\uff0dF\u9009\u9879\uff0c\u540e\u9762\u53ef\u4ee5\u63a5 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD\u7b49\u53c2\u6570\uff1b\n<\/code><\/pre>\n<p>\u5982\u679c\u6211\u4eec\u60f3\u628a\u7f51\u7edc\u63a5\u53e3eth0\u6539\u4e3a 1000Mb\/s\u5168\u53cc\u5de5\u7684\u6a21\u5f0f\u5e94\u8be5\u600e\u4e48\u529e\u5462\uff1f<\/p>\n<pre><code class=\"language-shell line-numbers\">~]# mii-tool -F 100baseTx-FD\n~]#mii-tool -v eth0\n<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_b57cf00b73b04032871b5a063cdf361d.jpg\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2021\/09\/wp_editor_md_b57cf00b73b04032871b5a063cdf361d.jpg\" alt=\"\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"75_%E7%BD%91%E5%8D%A1%E7%9A%84%E8%B4%9F%E8%BD%BD%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7\"><\/span>7.5. \u7f51\u5361\u7684\u8d1f\u8f7d\u6d4b\u8bd5\u5de5\u5177<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Tcpdump \u5de5\u5177<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u786c\u4ef6\u73af\u5883 1.1. \u786c\u4ef6\u56fe\u7247 1.2. \u64cd\u4f5c&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,24],"tags":[102,16,103],"class_list":["post-685","post","type-post","status-publish","format-standard","hentry","category-oracle","category-24","tag-appliance","tag-oracle","tag-x6-2m"],"_links":{"self":[{"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=\/wp\/v2\/posts\/685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=685"}],"version-history":[{"count":5,"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=\/wp\/v2\/posts\/685\/revisions"}],"predecessor-version":[{"id":690,"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=\/wp\/v2\/posts\/685\/revisions\/690"}],"wp:attachment":[{"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=685"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}