{"id":8285,"date":"2020-07-18T20:51:51","date_gmt":"2020-07-18T12:51:51","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8285"},"modified":"2020-07-18T20:51:52","modified_gmt":"2020-07-18T12:51:52","slug":"gluster","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/gluster","title":{"rendered":"gluster\u547d\u4ee4 – Gluster\u63a7\u5236\u53f0\u7ba1\u7406\u5de5\u5177"},"content":{"rendered":"\n

gluster\u662f\u4e00\u4e2a\u514d\u8d39\u7684\u5f00\u6e90\u8f6f\u4ef6\u53ef\u6269\u5c55\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf\uff0cGluster Console Manager\u662f\u4e00\u4e2a\u7528\u4e8e\u5f39\u6027\u5377\u7ba1\u7406\u7684\u547d\u4ee4\u884c\u5b9e\u7528\u7a0b\u5e8f\u3002\u60a8\u53ef\u4ee5\u5728\u4efb\u4f55\u51fa\u53e3\u670d\u52a1\u5668\u4e0a\u8fd0\u884cgluster\u547d\u4ee4\u3002\u8be5\u547d\u4ee4\u4f7f\u7ba1\u7406\u5458\u80fd\u591f\u6267\u884c\u4e91\u64cd\u4f5c\uff0c\u5982\u521b\u5efa\u3001\u6269\u5c55\u3001\u6536\u7f29\u3001\u91cd\u65b0\u5e73\u8861\u548c\u8fc1\u79fb\u5377\uff0c\u800c\u65e0\u9700\u5b89\u6392\u670d\u52a1\u5668\u505c\u673a\u3002<\/p>\n\n\n\n

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

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

peer probe \u8282\u70b9<\/td>\u6dfb\u52a0\u8282\u70b9<\/td><\/tr>
peer detach \u8282\u70b9<\/td>\u5220\u9664\u8282\u70b9<\/td><\/tr>
peer status \u8282\u70b9<\/td>\u8282\u70b9\u72b6\u6001<\/td><\/tr>
volume start \u5377\u540d<\/td>\u542f\u52a8\u5377<\/td><\/tr>
volume stop \u5377\u540d<\/td>\u505c\u6b62\u5377<\/td><\/tr>
volume delete \u5377\u540d<\/td>\u5220\u9664\u5377<\/td><\/tr>
volume list<\/td>\u5217\u51fa\u5377<\/td><\/tr>
volume info<\/td>\u67e5\u770b\u5377\u4fe1\u606f<\/td><\/tr>
volume status<\/td>\u67e5\u770b\u5377\u72b6\u6001<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u67e5\u770b\u6240\u6709\u8282\u70b9\u7684\u57fa\u672c\u72b6\u6001\uff08\u663e\u793a\u7684\u65f6\u5019\u4e0d\u5305\u62ec\u672c\u8282\u70b9\uff09\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# gluster peer status<\/pre>\n\n\n\n

\u5217\u51fa\u96c6\u7fa4\u4e2d\u7684\u6240\u6709\u5377\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# gluster volume list<\/pre>\n\n\n\n

\u67e5\u770b\u96c6\u7fa4\u4e2d\u7684\u5377\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# gluster volume info<\/pre>\n\n\n\n

\u67e5\u770b\u96c6\u7fa4\u4e2d\u7684\u5377\u72b6\u6001\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# gluster volume status<\/pre>\n","protected":false},"excerpt":{"rendered":"

gluster\u662f\u4e00\u4e2a\u514d\u8d39\u7684\u5f00\u6e90\u8f6f\u4ef6\u53ef\u6269\u5c55\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf\uff0cGluster Console Manager\u662f\u4e00\u4e2a\u7528\u4e8e […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8285"}],"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=8285"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8285\/revisions"}],"predecessor-version":[{"id":8290,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8285\/revisions\/8290"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}