{"id":358,"date":"2010-10-05T14:31:23","date_gmt":"2010-10-05T06:31:23","guid":{"rendered":"http:\/\/blog.infinity.idv.tw\/index.php\/2010\/10\/05\/esxi-4-1-%e8%a8%ad%e5%ae%9a%e6%aa%94%e9%87%8d%e9%96%8b%e6%a9%9f%e5%be%8c%e8%87%aa%e5%8b%95%e5%be%a9%e5%8e%9f%e5%88%9d%e5%a7%8b%e5%80%bc%e7%84%a1%e6%b3%95%e4%bf%ae%e6%94%b9%e8%a8%ad%e5%ae%9a%e6%aa%94\/"},"modified":"2011-03-22T16:06:46","modified_gmt":"2011-03-22T08:06:46","slug":"esxi-4-1-%e8%a8%ad%e5%ae%9a%e6%aa%94%e9%87%8d%e9%96%8b%e6%a9%9f%e5%be%8c%e8%87%aa%e5%8b%95%e5%be%a9%e5%8e%9f%e5%88%9d%e5%a7%8b%e5%80%bc%e7%84%a1%e6%b3%95%e4%bf%ae%e6%94%b9%e8%a8%ad%e5%ae%9a%e6%aa%94","status":"publish","type":"post","link":"http:\/\/blog.infinity.idv.tw\/?p=358","title":{"rendered":"ESXi 4.1 \u8a2d\u5b9a\u6a94\u91cd\u958b\u6a5f\u5f8c\u81ea\u52d5\u5fa9\u539f\u521d\u59cb\u503c?\u7121\u6cd5\u4fee\u6539\u8a2d\u5b9a\u6a94"},"content":{"rendered":"<p>\u4eca\u5929\u60f3\u4fee\u6539ESXi 4.1 \u81ea\u52d5\u958b\u555fSSH \u8207\u95dc\u9589LOADING IPMI\u529f\u80fd\uff0c\u4fee\u6539\u8a2d\u5b9a\u6a94\u7121\u6cd5\u4f5c\u7528\uff0c\u91cd\u958b\u6a5f\u5f8c\u5fa9\u539f\u8a2d\u5b9a\u503c?\u5ee0\u5546\u771f\u662f\u8cbc\u5fc3\u2026\u2026\u2026<\/p>\n<p>IPMI\u529f\u80fd\u70ba\u4f55\u95dc\u9589\u5982\u4e0b:   <br \/><a title=\"http:\/\/ithelp.ithome.com.tw\/question\/10051917\" href=\"http:\/\/ithelp.ithome.com.tw\/question\/10051917\">http:\/\/ithelp.ithome.com.tw\/question\/10051917<\/a><\/p>\n<p>==================================================================================<\/p>\n<p>\u767c\u554f\u6587\u7ae0:<a title=\"http:\/\/ithelp.ithome.com.tw\/question\/10052113\" href=\"http:\/\/ithelp.ithome.com.tw\/question\/10052113\">http:\/\/ithelp.ithome.com.tw\/question\/10052113<\/a><\/p>\n<p>\u5c0f\u5f1f\u53c8\u4f86\u4e86,\u6e2c\u8a66\u4e86 ESXi \u958b\u555fssh \u8207 \u95dc\u9589IPMI\u529f\u80fd\u7684\u65b9\u5f0f,\u4fee\u6539\u8a2d\u5b9a\u6a94,\u4f46\u662f\u53ea\u8981\u91cd\u958b\u6a5f\u5c31\u6703\u56de\u5fa9\u9810\u8a2d\u503c,\u4f8b\u5982\u6211\u958b\u4e86 SSH :<\/p>\n<p>&#160;<\/p>\n<ol>\n<li>1\u3001\u5728\u63a7\u5236\u53f0\u4e0b\uff0c\u6309 ALT+F1 \u9032\u5165\u63a7\u5236\u53f0\u754c\u9762&#160;&#160; <\/li>\n<li>2\u3001\u8f38\u5165 unsupported \u7136\u5f8c\u6309 enter&#160; \uff08\u8f38\u5165\u7684\u6642\u5019\u662f\u770b\u4e0d\u5230\u4f60\u8f38\u5165\u7684\uff0c\u6240\u4ee5\u4e00\u5b9a\u8981\u6ce8\u610f\uff09&#160;&#160; <\/li>\n<li>3\u3001\u5982\u679c\u8f38\u5165\u7684 unsupported \u6b63\u78ba\uff0c\u60a8\u5c07\u770b\u5230\u652f\u6301\u6a21\u5f0f\u548c\u5bc6\u78bc\u63d0\u793a\uff0c\u7136\u5f8c\u8f38\u5165 root \u5bc6\u78bc\u9032\u884c\u767b\u9304&#160;&#160; <\/li>\n<li>4\u3001\u767b\u9304\u540e\uff0c\u4fee\u6539\u8a2d\u5b9a\u6a94&#160;&#160;&#160; <\/li>\n<li>&#160;&#160;&#160;&#160; # vi \/etc\/inetd.conf <\/li>\n<li>5\u3001\u641c\u7d22&#160; #SSH&#160; \u9019\u4e00\u9805\u540e\uff0c\u628a\u524d\u9762\u7684 # \u53bb\u6389&#160;&#160;&#160;&#160;&#160;&#160; <\/li>\n<li>6\u3001\u7136\u5f8c\u4fdd\u5b58\u9000\u51fa&#160; <\/li>\n<\/ol>\n<pre>1\u3001\u5728\u63a7\u5236\u53f0\u4e0b\uff0c\u6309 ALT+F1 \u9032\u5165\u63a7\u5236\u53f0\u754c\u9762\n2\u3001\u8f38\u5165 unsupported \u7136\u5f8c\u6309 enter  \uff08\u8f38\u5165\u7684\u6642\u5019\u662f\u770b\u4e0d\u5230\u4f60\u8f38\u5165\u7684\uff0c\u6240\u4ee5\u4e00\u5b9a\u8981\u6ce8\u610f\uff09\n3\u3001\u5982\u679c\u8f38\u5165\u7684 unsupported \u6b63\u78ba\uff0c\u60a8\u5c07\u770b\u5230\u652f\u6301\u6a21\u5f0f\u548c\u5bc6\u78bc\u63d0\u793a\uff0c\u7136\u5f8c\u8f38\u5165 root \u5bc6\u78bc\u9032\u884c\u767b\u9304\n4\u3001\u767b\u9304\u540e\uff0c\u4fee\u6539\u8a2d\u5b9a\u6a94 \n     # vi \/etc\/inetd.conf\n5\u3001\u641c\u7d22  #SSH  \u9019\u4e00\u9805\u540e\uff0c\u628a\u524d\u9762\u7684 # \u53bb\u6389    \n6\u3001\u7136\u5f8c\u4fdd\u5b58\u9000\u51fa<\/pre>\n<p>\u4f46\u662f\u91cd\u958b\u6a5f\u5f8c,\u9032\u53bb\u770b\u53c8\u88ab#\u865f\u8d77\u4f86,\u5fc5\u9700\u624b\u52d5\u5728\u555f\u52d5\u4e00\u6b21&#8230;&#8230;&#8230;IPMI\u4fee\u6539\u8a2d\u5b9a\u6a94\u7684\u60c5\u5f62\u4e5f\u662f\u9019\u6a23,\u67e5\u4e86\u95dc\u9375\u5b57\u90fd\u6c92\u770b\u5230\u6709\u4eba\u9047\u5230\u76f8\u540c\u554f\u984c,\u8acb\u554f\u6709\u4eba\u77e5\u9053\u539f\u56e0\u8207\u89e3\u6cd5\u55ce?<br \/>\n  <br \/>ESXi 4.1\u662f\u5b89\u88dd\u5728USB\u7576\u958b\u6a5f\u7cfb\u7d71.\u61f7\u7591\u662f\u56e0\u70ba\u958b\u6a5f\u53ea\u5f9eUSB\u8b80\u5165?\u4fee\u6539\u662f\u4fee\u6539\u8a18\u61b6\u9ad4\u5167\u7684\u8a2d\u5b9a\u6a94,\u6240\u4ee5\u958b\u6a5f\u5f9eUSB\u8b80\u5165\u53c8\u56de\u5fa9\u539f\u72c0?\u5982\u679c\u771f\u662f\u9019\u6a23,\u90a3\u8981\u5982\u4f55\u624d\u80fd\u6539\u5230\u6b63\u78ba\u7684\u8a2d\u5b9a\u6a94?<\/p>\n<p>==================================================================================<\/p>\n<p><font color=\"#ff0000\">\u81ea\u5df1\u627e\u5230\u7684\u53e6\u985e\u89e3\u6cd5:<\/font><\/p>\n<p><font color=\"#ff0000\">==================================================================================<\/font><\/p>\n<p><font color=\"#0000ff\">\u95dc\u9589IPMI\u529f\u80fd:<\/font><\/p>\n<p>\u5b89\u88dd\u5b8c\u5f8c\uff0c\u5230SERVER\u4e0a\u958b\u555fSSH\u529f\u80fd(\u53c3\u8003\u7cfb\u7d71\u5b89\u88dd\u7bc7)\uff0c\u4f7f\u7528SSH\u9023\u5165:<\/p>\n<p>\u4fee\u6539<\/p>\n<p>vi \/etc\/vmware\/init\/init.d\/72.ipmi<\/p>\n<p>\u52a0\u5165\u7d05\u5b57<\/p>\n<p>return ${SUCCESS} # disable IPMI<\/p>\n<p>Exec esxcfg-init -I || {<\/p>\n<p>return ${NON_CRITICAL_FAILURE}<\/p>\n<p>}<\/p>\n<p>\u6309wq! \u2018\u5f37\u5236\u5b58\u6a94\u9000\u51fa<\/p>\n<p>######\u82e5\u91cd\u958b\u6a5f\u525b\u525b\u6539\u7684\u8a2d\u5b9a\u6a94\u56de\u5fa9\u521d\u59cb\u503c\uff0c\u8acb\u4f7f\u7528 VMware vSphere Client \u9023\u5165 \u7528 VMware vSphere Client\u4ecb\u9762\u4fee\u6539\u3002<\/p>\n<p>\u628a\u52fe\u52fe\u62ff\u6389\u5373\u53ef\u3002<\/p>\n<p><a href=\"http:\/\/blog.infinity.idv.tw\/blog-img\/ESXi4.1_CC05\/clip_image002.jpg\"><img loading=\"lazy\" style=\"border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px\" title=\"clip_image002\" border=\"0\" alt=\"clip_image002\" src=\"http:\/\/blog.infinity.idv.tw\/blog-img\/ESXi4.1_CC05\/clip_image002_thumb.jpg\" width=\"872\" height=\"675\" \/><\/a><\/p>\n<p><font color=\"#ff0000\">==================================================================================<\/font><\/p>\n<p><font color=\"#0000ff\">\u958b\u555fSSH\u81ea\u52d5\u555f\u52d5\u529f\u80fd:<\/font><\/p>\n<p>ESX4.1\u4ed8\u8cbb\u7248\u65b9\u5f0f<\/p>\n<p>\u6211\u5011\u53ef\u4ee5\u6839\u64da\u4ee5\u4e0b\u6b65\u9a5f\u958b\u555f <\/p>\n<p>1. \u5728ESX Server\u4f3a\u670d\u5668\u4e0a\uff0c\u4f9d\u756b\u9762\u6307\u793a\u6309\u4e0b\u300cAlt+F1\u300d\uff0c\u767b\u5165Service Console\u3002<\/p>\n<p>2. \u5207\u63db\u5230ssh\u76ee\u9304\u4e0b\uff0c\u4e26\u7de8\u8f2f\u300csshd_config\u300d\uff0c\u9019\u500b\u6a94\u6848\u3002\u6307\u4ee4\u5982\u4e0b\uff1a<br \/>\n  <br \/>cd etc\/ssh <\/p>\n<p>vi sshd_config <\/p>\n<p>3. \u5728\u300csshd_config\u300d\u4e2d\u627e\u5230\u300cPermitRootLogin\u300d\u9019\u4e00\u884c\uff0c\u4e26\u5c07\u5f8c\u9762\u7684\u300cno\u300d\u6539\u6210\u300cyes\u300d<br \/>\n  <br \/>\u4fee\u6539\u5f8c\u518d\u6309\u4e0b\u300cShift+q\u300d\u5207\u63db\u5230\u300c\uff1a\u300d\u547d\u4ee4\u6a21\u5f0f\uff0c\u4e4b\u5f8c\u5728\uff1a\u8f38\u5165\u300cwq\u300d\uff0c\u8868\u793a\u5132\u5b58\u4fee\u6539\u4e26\u96e2\u958bvi\u7de8\u8f2f\u7a0b\u5f0f\u3002<\/p>\n<p>4. \u56de\u5230Service Console\u5f8c\uff0c\u91cd\u65b0\u555f\u52d5sshd\u670d\u52d9\uff0c\u6307\u4ee4\u662f\uff1a<br \/>\n  <br \/>service sshd restart<\/p>\n<p>\u514d\u8cbb\u7248ESXi 4.1\u65b9\u5f0f:<\/p>\n<p>1\u3001\u5728\u63a7\u5236\u53f0\u4e0b\uff0c\u6309 ALT+F1 \u9032\u5165\u63a7\u5236\u53f0\u754c\u9762<\/p>\n<p>2\u3001\u8f38\u5165 <b>unsupported <\/b>\u7136\u5f8c\u6309 enter&#160; \uff08\u8f38\u5165\u7684\u6642\u5019\u662f\u770b\u4e0d\u5230\u4f60\u8f38\u5165\u7684\uff0c\u6240\u4ee5\u4e00\u5b9a\u8981\u6ce8\u610f\uff09<\/p>\n<p>3\u3001\u5982\u679c\u8f38\u5165\u7684 <b>unsupported <\/b>\u6b63\u78ba\uff0c\u60a8\u5c07\u770b\u5230\u652f\u6301\u6a21\u5f0f\u548c\u5bc6\u78bc\u63d0\u793a\uff0c\u7136\u5f8c\u8f38\u5165 root \u5bc6\u78bc\u9032\u884c\u767b\u9304<\/p>\n<p>4\u3001\u767b\u9304\u540e\uff0c\u4fee\u6539\u8a2d\u5b9a\u6a94<br \/>\n  <br \/>&#160;&#160;&#160;&#160; # vi \/etc\/inetd.conf<\/p>\n<p>5\u3001\u641c\u7d22&#160; #SSH&#160; \u9019\u4e00\u9805\u540e\uff0c\u628a\u524d\u9762\u7684 # \u53bb\u6389<\/p>\n<p>6\u3001\u7136\u5f8c\u4fdd\u5b58\u9000\u51fa<\/p>\n<ul>\n<li>From the console press ALT-F1<\/li>\n<li>Type unsupported and press ENTER<\/li>\n<li>Enter the root password<\/li>\n<li>Enter the following command vi \/etc\/inetd.conf<\/li>\n<li>Search for the #SSH settings<\/li>\n<li>Remove the # from the SSH row<\/li>\n<li>Save the config by using :wq!<\/li>\n<li>Type ps | grep inetd on the console<\/li>\n<li>Send a hangup signal by using the following command kill -s HUP<\/li>\n<\/ul>\n<p>######\u82e5\u91cd\u958b\u6a5f\u525b\u525b\u6539\u7684\u8a2d\u5b9a\u6a94\u56de\u5fa9\u521d\u59cb\u503c\uff0c\u8acb\u4f7f\u7528 VMware vSphere Client \u9023\u5165 \u7528 VMware vSphere Client\u4ecb\u9762\u4fee\u6539\u3002<\/p>\n<p><a href=\"http:\/\/blog.infinity.idv.tw\/blog-img\/ESXi4.1_CC05\/clip_image001.jpg\"><img loading=\"lazy\" style=\"border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px\" title=\"clip_image001\" border=\"0\" alt=\"clip_image001\" src=\"http:\/\/blog.infinity.idv.tw\/blog-img\/ESXi4.1_CC05\/clip_image001_thumb.jpg\" width=\"543\" height=\"475\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.infinity.idv.tw\/blog-img\/ESXi4.1_CC05\/clip_image0025.jpg\"><img loading=\"lazy\" style=\"border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px\" title=\"clip_image002[5]\" border=\"0\" alt=\"clip_image002[5]\" src=\"http:\/\/blog.infinity.idv.tw\/blog-img\/ESXi4.1_CC05\/clip_image0025_thumb.jpg\" width=\"783\" height=\"473\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5929\u60f3\u4fee\u6539ESXi 4.1 \u81ea\u52d5\u958b\u555fSSH \u8207\u95dc\u9589LOADING IPMI\u529f\u80fd\uff0c\u4fee\u6539\u8a2d\u5b9a\u6a94\u7121\u6cd5\u4f5c\u7528\uff0c\u91cd\u958b\u6a5f\u5f8c\u5fa9\u539f\u8a2d\u5b9a\u503c?\u5ee0\u5546\u771f\u662f\u8cbc\u5fc3\u2026\u2026\u2026<\/p>\n<p>IPMI\u529f\u80fd\u70ba\u4f55\u95dc\u9589\u5982\u4e0b:   http:\/\/ithelp.ithome.com.tw\/question\/10051917<\/p>\n<p>==================================================================================<\/p>\n<p>\u767c\u554f\u6587\u7ae0:http:\/\/ithelp.ithome.com.tw\/question\/10052113<\/p>\n<p>\u5c0f\u5f1f\u53c8\u4f86\u4e86,\u6e2c\u8a66\u4e86 ESXi \u958b\u555fssh \u8207 \u95dc\u9589IPMI\u529f\u80fd\u7684\u65b9\u5f0f,\u4fee\u6539\u8a2d\u5b9a\u6a94,\u4f46\u662f\u53ea\u8981\u91cd\u958b\u6a5f\u5c31\u6703\u56de\u5fa9\u9810\u8a2d\u503c,\u4f8b\u5982\u6211\u958b\u4e86 SSH :<\/p>\n<p>&#160;<\/p>\n<p>1\u3001\u5728\u63a7\u5236\u53f0\u4e0b\uff0c\u6309 ALT+F1 \u9032\u5165\u63a7\u5236\u53f0\u754c\u9762&#160;&#160;<br \/>\n2\u3001\u8f38\u5165 unsupported \u7136\u5f8c\u6309 enter&#160; \uff08\u8f38\u5165\u7684\u6642\u5019\u662f\u770b\u4e0d\u5230\u4f60\u8f38\u5165\u7684\uff0c\u6240\u4ee5\u4e00\u5b9a\u8981\u6ce8\u610f\uff09&#160;&#160;<br \/>\n3\u3001\u5982\u679c\u8f38\u5165\u7684 unsupported \u6b63\u78ba\uff0c\u60a8\u5c07\u770b\u5230\u652f\u6301\u6a21\u5f0f\u548c\u5bc6\u78bc\u63d0\u793a\uff0c\u7136\u5f8c\u8f38\u5165 root \u5bc6\u78bc\u9032\u884c\u767b\u9304&#160;&#160;<br \/>\n4\u3001\u767b\u9304\u540e\uff0c\u4fee\u6539\u8a2d\u5b9a\u6a94&#160;&#160;&#160;<br \/>\n&#160;&#160;&#160;&#160; # vi \/etc\/inetd.conf<br \/>\n5\u3001\u641c\u7d22&#160; #SSH&#160; \u9019\u4e00\u9805\u540e\uff0c\u628a\u524d\u9762\u7684 # \u53bb\u6389&#160;&#160;&#160;&#160;&#160;&#160;<br \/>\n6\u3001\u7136\u5f8c\u4fdd\u5b58\u9000\u51fa&#160; <\/p>\n<p>1\u3001\u5728\u63a7\u5236\u53f0\u4e0b\uff0c\u6309 ALT+F1 \u9032\u5165\u63a7\u5236\u53f0\u754c\u9762<br \/>\n2\u3001\u8f38\u5165 unsupported \u7136\u5f8c\u6309 enter  \uff08\u8f38\u5165\u7684\u6642\u5019\u662f\u770b\u4e0d\u5230\u4f60\u8f38\u5165\u7684\uff0c\u6240\u4ee5\u4e00\u5b9a\u8981\u6ce8\u610f\uff09<br \/>\n3\u3001\u5982\u679c\u8f38\u5165\u7684 unsupported \u6b63\u78ba\uff0c\u60a8\u5c07\u770b\u5230\u652f\u6301\u6a21\u5f0f\u548c\u5bc6\u78bc\u63d0\u793a\uff0c\u7136\u5f8c\u8f38\u5165 root \u5bc6\u78bc\u9032\u884c\u767b\u9304<br \/>\n4\u3001\u767b\u9304\u540e\uff0c\u4fee\u6539\u8a2d\u5b9a\u6a94<br \/>\n     # [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[46],"tags":[335],"_links":{"self":[{"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/358"}],"collection":[{"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=358"}],"version-history":[{"count":1,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/358\/revisions"}],"predecessor-version":[{"id":437,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/358\/revisions\/437"}],"wp:attachment":[{"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=358"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.infinity.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}