{"id":7818,"date":"2020-05-26T09:50:17","date_gmt":"2020-05-26T01:50:17","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7818"},"modified":"2020-05-26T09:50:18","modified_gmt":"2020-05-26T01:50:18","slug":"vsish","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/vsish","title":{"rendered":"vsish\u547d\u4ee4 – vsan\u547d\u4ee4\u884c"},"content":{"rendered":"\n

\u4e0evsish\u8fdb\u884c\u4ea4\u4e92\u7684\u65b9\u5f0f\u6709\u4e24\u79cd\uff0c\u60a8\u53ef\u4ee5\u4ea4\u4e92\u5f0f\u5730\u767b\u5f55\u5230VSI shell\u5e76\u6267\u884cls\uff0c\u83b7\u53d6\u6216\u8bbe\u7f6e\u64cd\u4f5c\uff0c\u6216\u8005\u901a\u8fc7\u975e\u4ea4\u4e92\u6a21\u5f0f\u6267\u884c\u76f8\u540c\u7684\u64cd\u4f5c\uff0c\u662f\u4ee3\u66ffProcfs\u7684\u5f3a\u5927\u547d\u4ee4\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>vsish [\u53c2\u6570]<\/p>\n\n\n\n

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

ls<\/td>\u663e\u793a\u6240\u6709\u7684\u8282\u70b9\u4fe1\u606f<\/td><\/tr>
set<\/td>\u8bbe\u7f6evc\u914d\u7f6e<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u83b7\u53d6\u5185\u5b58\u6620\u5c04\u8868\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vsish -e ls \/userworld\/cartel\/%pid\/mem\/mmaps<\/pre>\n\n\n\n

\u542f\u7528Procfs\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vsish -e set \/config\/User\/intOpts\/UserProcEnable 1<\/pre>\n\n\n\n

\u89e6\u53d1ESXi\u7d2b\u5c4f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]#vsish -e set \/reliability\/crashMe\/Panic<\/pre>\n\n\n\n

\u4fee\u6539vsan \u5e76\u53d1\u6570\u636e\u540c\u6b65\u8fdb\u7a0b\u6570\u91cf\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vsish -e set \/vmkModules\/vsan\/dom\/MaxNumResyncCopyInFlight 30<\/pre>\n\n\n\n

\u9a8c\u8bc1vsan \u5e76\u53d1\u6570\u636e\u540c\u6b65\u8fdb\u7a0b\u6570\u91cf\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vsish -e get \/vmkModules\/vsan\/dom\/MaxNumResyncCopyInFlight<\/pre>\n","protected":false},"excerpt":{"rendered":"

\u4e0evsish\u8fdb\u884c\u4ea4\u4e92\u7684\u65b9\u5f0f\u6709\u4e24\u79cd\uff0c\u60a8\u53ef\u4ee5\u4ea4\u4e92\u5f0f\u5730\u767b\u5f55\u5230VSI shell\u5e76\u6267\u884cls\uff0c\u83b7\u53d6\u6216\u8bbe\u7f6e\u64cd\u4f5c\uff0c\u6216\u8005\u901a\u8fc7\u975e […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7818"}],"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=7818"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7818\/revisions"}],"predecessor-version":[{"id":7846,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7818\/revisions\/7846"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}