{"id":593,"date":"2020-07-23T20:32:33","date_gmt":"2020-07-23T12:32:33","guid":{"rendered":"http:\/\/www.gbase8.cn\/?p=593"},"modified":"2021-04-25T08:19:49","modified_gmt":"2021-04-25T00:19:49","slug":"gbase-8a%e9%9b%86%e7%be%a4%e6%89%a9%e5%ae%b9%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a1%b9","status":"publish","type":"post","link":"https:\/\/www.gbase8.cn\/en\/593","title":{"rendered":"Nanda General GBase 8a Cluster Expansion Considerations"},"content":{"rendered":"<p>1\u3001\u65b0\u8282\u70b9\u8981\u5173\u95ed\u5b89\u5168\u52a0\u56fa\uff0c\u6062\u590d\u6700\u539f\u59cb\u7684\u64cd\u4f5c\u7cfb\u7edf\u72b6\u6001\uff1b\u5173\u95ed\u9632\u706b\u5899\u548cselinux\u7b49\u5b89\u5168\u914d\u7f6e\uff1broot\u5bc6\u7801\u548c\u8001\u7cfb\u7edf\u4fdd\u6301\u4e00\u81f4\uff1b<\/p>\n\n\n\n<p>2\u3001\u8001\u96c6\u7fa4\u7684\u64cd\u4f5c\u7cfb\u7edfroot\u5bc6\u7801\u5982\u679c\u975e\u5e38\u590d\u6742\uff0c\u6216\u8005\u6bcf\u4e2a\u8282\u70b9\u4e0d\u540c\uff0c\u5efa\u8bae\u4e34\u65f6\u6539\u6210\u7edf\u4e00\u7b80\u5355\u7684\u5bc6\u7801\uff0c\u5f53\u7136\u4e5f\u5305\u62ec\u65b0\u8282\u70b9\u3002 \u6269\u5bb9\u5b8c\u6210\u540e\uff0c\u518d\u8fd8\u539f\u56de\u53bb\uff1b<\/p>\n\n\n\n<p>3\u3001\u8001\u96c6\u7fa4\u64cd\u4f5c\u7cfb\u7edfgbase\u7528\u6237\u5bc6\u7801\uff0c\u5982\u679c\u5b89\u88c5\u540e\u505a\u8fc7\u53d8\u52a8\uff0c\u5219\u9700\u8981\u6062\u590d\u5230\u6700\u539f\u59cb\u5b89\u88c5\u65f6\u7684\u5bc6\u7801\u3002 \u5982\u679c\u5fd8\u8bb0\u4e86\uff0c\u53ef\u4ee5\u901a\u8fc7\u5982\u4e0b\u7684\u73af\u5883\u53d8\u91cf\u83b7\u5f97\uff1a<br>\/home\/gbase\/.gbase_profile \u6587\u4ef6\u4e2d SSH_GBASE_PASSWD\u7684\u90e8\u5206\uff0c\u662f\u4e00\u4e2a\u957f\u4e32\u7684\u6570\u5b57\uff0c\u53ef\u4ee5\u901a\u8fc7\u5982\u4e0b\u7684\u52a0\u5bc6\u7b97\u6cd5\u8fdb\u884c\u52a0\u5bc6\u548c\u89e3\u5bc6\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;gbase@node1 ~]$ python\nPython 2.6.6 (r266:84292, Sep 12 2011, 14:03:14) \n&#91;GCC 4.4.5 20110214 (Red Hat 4.4.5-6)] on linux2\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n>>> import base64\n>>> base64.b16encode(\"gbase\")\n'6762617365'\n>>> base64.b16decode('6762617365');\r\n'gbase'\r\n>>><\/code><\/pre>\n\n\n\n<p>\u5bf9\u5e94\u7684b16decode\u662f\u89e3\u5bc6\u3002 \u5982\u679c\u8981\u6539\u5bc6\u7801\uff0c\u8bf7\u5c06\u65b0\u5bc6\u7801\u52a0\u5bc6\u540e\uff0c\u4fee\u6539\u3010\u6bcf\u4e2a\u3011\u7ba1\u7406\u8282\u70b9\u7684\u5982\u4e0a\/home\/gbase\/.gbase_profile\u6587\u4ef6\u4e2d\u7684SSH_GBASE_PASSWD\u7684\u90e8\u5206\u3002\u786e\u4fdd\u6240\u6709\u8282\u70b9gbase\u64cd\u4f5c\u7cfb\u7edf\u7528\u6237\u7684\u5bc6\u7801\u4e00\u81f4\uff0c\u4e14\u548c\u73af\u5883\u53d8\u91cf\u91cc\u7684\u53c2\u6570\u4e00\u81f4\u3002<\/p>\n\n\n\n<p>4 \u3001\u6570\u636e\u5e93gcluster\u548cgnode\u7684\u5404\u81eagbase\u6570\u636e\u5e93\u4e0b\u7684\u6587\u4ef6\uff0c\u4e00\u822c\u5bf9\u5e94<br>\/opt\/gcluster\/userdata\/gcluster\/gbase<br>\/opt\/gnode\/userdata\/gbase\/gbase<br>\u8fd92\u4e2a\u76ee\u5f55\u7684\u6587\u4ef6\u603b\u91cf\uff0c\u5982\u679c\u8d85\u8fc7\u767e\u5146\uff0c\u8bf7\u786e\u8ba4\u5404\u4e2a\u8868\u7684\u6570\u636e\u662f\u5426\u6b63\u786e\uff0c\u7279\u522b\u662f\u4e00\u4e9b\u65e5\u5fd7\u6587\u4ef6\uff0c\u6bd4\u5982audit_log,generl_log\u7b49\uff0c\u63d0\u524d\u8fdb\u884c\u6e05\u7406\u3002 \u907f\u514d\u5728\u6269\u5bb9\u64cd\u4f5c\u65f6\uff0c\u5982\u679c\u53d1\u751f\u3010\u5907\u4efd\u3011\u64cd\u4f5c\uff0c\u800c\u5bfc\u81f4\u64cd\u4f5c\u65f6\u95f4\u6781\u5927\u5ef6\u957f\u3002<\/p>\n\n\n\n<p>5\u3001\u6269\u5bb9\u7ba1\u7406\u8282\u70b9\u65f6\uff0c\u56e0\u4e3a\u8981\u590d\u5236\u5b8c\u6574\u7684\u5143\u6570\u636e\u5230\u65b0\u8282\u70b9\uff0c\u5176\u8017\u65f6\u5c06\u6839\u636e\/opt\/gcluster\/userdata\/gcluster\/\u6240\u6709\u6587\u4ef6\u7684\u5927\u5c0f\u51b3\u5b9a\u3002\u5728\u67d0\u4e9b\u5b58\u5728\u51e0\u5341\u4e07\uff0c\u51e0\u767e\u5916\u8868\u7684\u65f6\u5019\uff0c\u5176\u590d\u5236\u65f6\u95f4\u53ef\u80fd\u5728\u51e0\u4e2a\u5c0f\u65f6\u6216\u8005\u66f4\u591a\u3002 <\/p>\n\n\n\n<p>\u6240\u4ee5\uff0c\u5982\u679c\u4f60\u7684\u7ba1\u7406\u8282\u70b9\u5df2\u7ecf\u8d85\u8fc77\u4e2a\uff0c\u6216\u8005\u4f60\u5224\u65ad\u5df2\u7ecf\u53ef\u4ee5\u63a5\u53d7\u7684\u6570\u91cf\uff0c\u90a3\u4e48\u5efa\u8bae\u3010\u53ea\u6269\u5bb9\u6570\u636e\u8282\u70b9\u3011\u3002<\/p>\n\n\n\n<p>6\u3001<span class=\"has-inline-color has-luminous-vivid-orange-color\">\u3010\u4e25\u91cd\u8b66\u544a\u3011<\/span>\u6269\u5bb9\u64cd\u4f5c\u65f6\u7684\u8001\u96c6\u7fa4\u7ba1\u7406\u8282\u70b9\uff0c\u8bf7\u6ce8\u610f\u5176timeout\u65f6\u95f4\uff0c\u907f\u514d\u5728\u6269\u5bb9\u64cd\u4f5c\u8fc7\u7a0b\u4e2d\u8fde\u63a5\u65ad\u5f00\u4e86\u3002 <\/p>\n\n\n\n<p>7\u3001\u5982\u679c\u6269\u5bb9\u8fc7\u7a0b\u4e2d\u53d1\u751f\u4e86\u610f\u5916\uff0c\u6bd4\u5982\u6b7b\u673a\uff0c\u65ad\u7535\u3002\u9700\u8981\u6e05\u7406\u6216\u8fd8\u539f\u73af\u5883\u65f6\uff0c\u8bf7\u6ce8\u610f\u5404\u4e2a\u8282\u70b9\u662f\u5426\u5b58\u5728\u6b63\u5728\u8dd1\u7684\u4e00\u4e9b\u8fdb\u7a0b\u3002 \u5305\u62ec tar\u6253\u5305\uff0c gcadmin cp_coorXXXX.py \u8c03\u5ea6\u7b49\u3002\u8fd9\u4e9b\u8fdb\u7a0b\u9700\u8981\u624b\u5de5kill\u6389\u3002\u6700\u7ec8\u53ef\u4ee5\u7528\u5982\u4e0b\u7684\u547d\u4ee4\u68c0\u6d4b<br>ps -ef|grep gc<br>ps -ef|grep gb<br>\u67e5\u770b\u5b58\u5728\u7684\u8fdb\u7a0b\u662f\u5426\u6b63\u5e38\uff0c\u5982\u6709\u6269\u5bb9\u6709\u5173\u7684\u6253\u5305\uff0c\u5907\u4efd\u7b49\u7b49\uff0c\u90fd\u624b\u5de5\u7ec8\u6b62\u6389\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u6269\u5bb9\u7684\u8be6\u7ec6\u6b65\u9aa4\u6837\u4f8b\u8bf7\u53c2\u8003 <a href=\"http:\/\/www.gbase8.cn\/wp-admin\/post.php?post=1133&amp;action=edit\">GBase 8a \u6269\u5bb9\u64cd\u4f5c\u8be6\u7ec6\u5b9e\u4f8b<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Nanda General GBase 8a Cluster Expansion Considerations<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[88],"class_list":["post-593","post","type-post","status-publish","format-standard","hentry","category-gbase8a","tag-88"],"_links":{"self":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/593","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/comments?post=593"}],"version-history":[{"count":6,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/593\/revisions"}],"predecessor-version":[{"id":5467,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/593\/revisions\/5467"}],"wp:attachment":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/media?parent=593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/categories?post=593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/tags?post=593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}