{"id":7746,"date":"2020-05-23T18:45:16","date_gmt":"2020-05-23T10:45:16","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7746"},"modified":"2020-05-23T18:45:17","modified_gmt":"2020-05-23T10:45:17","slug":"esxcli","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/esxcli","title":{"rendered":"esxcli\u547d\u4ee4 – \u67e5\u8be2\u865a\u62df\u673a\u4fe1\u606f"},"content":{"rendered":"\n

esxcli\u547d\u4ee4\u7528\u9014\u5e7f\u6cdb\uff0c\u6211\u4eec\u4e0d\u80fd\u7b80\u5355\u5730\u5c06\u5176\u5f52\u4e3a\u5355\u4e2a\u547d\u4ee4\u3002esxcli\u5305\u62ec\u8bb8\u591a\u4e0d\u540c\u7684\u547d\u540d\u7a7a\u95f4\uff0c\u5141\u8bb8\u4f60\u63a7\u5236ESXi\u63d0\u4f9b\u7684\u51e0\u4e4e\u6240\u6709\u8bbe\u5907\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>esxcli [\u547d\u540d\u7a7a\u95f4] [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570:<\/strong><\/p>\n\n\n\n

hardware<\/td>\u67e5\u8be2\u865a\u62df\u673a\u6240\u5bf9\u5e94\u7684\u786c\u4ef6\u4fe1\u606f<\/td><\/tr>
software<\/td>\u67e5\u8be2\u865a\u62df\u673a\u6240\u5bf9\u5e94\u7684\u8f6f\u4ef6\u4fe1\u606f<\/td><\/tr>
iscsi<\/td>\u76d1\u63a7\u5e76\u7ba1\u7406\u786c\u4ef6iSCSI\u53ca\u8f6f\u4ef6iSCSI\u8bbe\u7f6e<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u83b7\u53d6CPU\u4fe1\u606f\uff08\u7cfb\u5217\u3001\u578b\u53f7\u4ee5\u53ca\u7f13\u5b58\uff09\uff1a<\/p>\n\n\n\n

root@linuxcool:~# esxcli hardware cpu list<\/pre>\n\n\n\n

\u83b7\u53d6\u5185\u5b58\u4fe1\u606f\uff08\u53ef\u7528\u5185\u5b58\u4ee5\u53ca\u975e\u4e00\u81f4\u5185\u5b58\u8bbf\u95ee\uff09:<\/p>\n\n\n\n

root@linuxcool:~# esxcli hardware memory get <\/pre>\n\n\n\n

\u7528\u4e8e\u542f\u7528\/\u7981\u7528\u8f6f\u4ef6iSCSI initiator\uff1a<\/p>\n\n\n\n

root@linuxcool:~# esxcli iscsi software<\/pre>\n\n\n\n

\u7528\u4e8e\u8bbe\u7f6e\u8f6f\u786c\u4ef6iSCSI\u9002\u914d\u5668\u7684\u53d1\u73b0\u3001CHAP\u4ee5\u53ca\u5176\u4ed6\u8bbe\u7f6e\uff1a<\/p>\n\n\n\n

root@linuxcool:~# esxcli iscsi adapter<\/pre>\n\n\n\n

\u5217\u51fa\u5e76\u4fee\u6539\u7f51\u5361\u4fe1\u606f\uff0c\u6bd4\u5982\u540d\u5b57\u3001\u5524\u9192\u7f51\u5361\u4ee5\u53ca\u901f\u5ea6\uff1a<\/p>\n\n\n\n

root@linuxcool:~# esxcli network nic<\/pre>\n","protected":false},"excerpt":{"rendered":"

esxcli\u547d\u4ee4\u7528\u9014\u5e7f\u6cdb\uff0c\u6211\u4eec\u4e0d\u80fd\u7b80\u5355\u5730\u5c06\u5176\u5f52\u4e3a\u5355\u4e2a\u547d\u4ee4\u3002esxcli\u5305\u62ec\u8bb8\u591a\u4e0d\u540c\u7684\u547d\u540d\u7a7a\u95f4\uff0c\u5141\u8bb8\u4f60\u63a7\u5236ESX […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7746"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=7746"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7746\/revisions"}],"predecessor-version":[{"id":7751,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7746\/revisions\/7751"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}