{"id":703,"date":"2020-07-30T09:42:18","date_gmt":"2020-07-30T01:42:18","guid":{"rendered":"http:\/\/www.gbase8.cn\/?p=703"},"modified":"2023-05-15T10:32:28","modified_gmt":"2023-05-15T02:32:28","slug":"gbase-8a%e6%95%b0%e6%8d%ae%e5%ba%93%e9%9b%86%e7%be%a4v95%e7%89%88%e6%9c%ac%e5%90%af%e5%8a%a8%e5%92%8c%e5%81%9c%e6%ad%a2vc%e5%86%85%e7%9a%84%e6%89%80%e6%9c%89%e6%95%b0%e6%8d%ae%e8%8a%82%e7%82%b9","status":"publish","type":"post","link":"https:\/\/www.gbase8.cn\/en\/703","title":{"rendered":"\u5357\u5927\u901a\u7528GBase 8a\u6570\u636e\u5e93\u96c6\u7fa4V95\u7248\u672c\u542f\u52a8\u548c\u505c\u6b62VC\u5185\u7684\u6240\u6709\u6570\u636e\u8282\u70b9\u670d\u52a1"},"content":{"rendered":"<p>GBase 8a\u6570\u636e\u5e93\u96c6\u7fa4\u57289.5\u7248\u91cc\uff0c\u63d0\u4f9b\u4e86\u542f\u52a8\uff0c\u505c\u6b62\u6240\u6709\u6570\u636e\u8282\u70b9\u7684\u529f\u80fd\u3002\u4e00\u822c\u6570\u636e\u8282\u70b9\u90fd\u5f88\u591a\uff0c\u51e0\u5341\u5230\u4e0a\u767e\u4e2a\uff0c\u8be5\u529f\u80fd\u53ef\u4ee5\u5feb\u901f\u7684\u505c\u6b62\u6307\u5b9aVC\u6216\u8005\u9ed8\u8ba4\u6240\u6709\u6570\u636e\u8282\u70b9\u7684\u670d\u52a1\u3002\u5f53\u7136\u5bf9\u7ba1\u7406\u8282\u70b9\u662f\u4e0d\u751f\u6548\u7684\u3002<\/p>\n\n\n\n<p>gcadmin stopvc VCNAME dba_user dba_pwd<\/p>\n\n\n\n<p>gcadmin startvc VCNAME dba_user dba_pwd<br>\u5176\u4e2dvcname \u5982\u679c\u662f\u81ea\u5efa\u4e86vc\uff0c\u90a3\u4e48\u7528vcname, \u5982\u679c\u662f\u4ece86\u5347\u7ea7\u7684\uff0c\u6216\u8005\u9ed8\u8ba4\u5b89\u88c5\u6ca1\u6709\u521b\u5efavc,\u90a3\u4e48\u9ed8\u8ba4\u7684vc\u662f vcname000001<\/p>\n\n\n\n<p>vcname\u652f\u6301\u4e00\u6b21\u542f\u505c\u591a\u4e2a\uff0c\u7528\u9017\u53f7\u5206\u5272\u3002<\/p>\n\n\n\n<p>dba_user\u662f\u6570\u636e\u5e93\u7684\u64cd\u4f5c\u7cfb\u7edf\u7528\u6237<\/p>\n\n\n\n<p>dba_user\u662f\u6570\u636e\u5e93\u7684\u64cd\u4f5c\u7cfb\u7edf\u7528\u6237\u5bc6\u7801<br>\u6bd4\u5982<\/p>\n\n\n\n<p><code>gcadmin stopvc vcname000001 gbase gbase1234<\/code><\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&#91;gbase@gbase_rh7_001 gcinstall]$ gcadmin startvc vc1 vc2 gbase gbase1234\r\ngcadmin startvc ...\r\ngcadmin startvc check vc exist\r\ngcadmin startvc get vc node list\r\ngcadmin start virtual cluster successful\r\n&#91;gbase@gbase_rh7_001 gcinstall]$\n\n\n&#91;gbase@gbase_rh7_001 gcinstall]$ gcadmin stopvc vc1 vc2 gbase gbase1234\r\ngcadmin stopvc ...\r\ngcadmin stopvc check vc exist\r\ngcadmin stopvc get vc node list\r\ngcadmin stop virtual cluster successful\r\n&#91;gbase@gbase_rh7_001 gcinstall]$ gcadmin showcluster vc vc1\r\nCLUSTER STATE:         ACTIVE\r\nVIRTUAL CLUSTER MODE:  NORMAL\r\n\r\n=============================================\r\n|     GBASE VIRTUAL CLUSTER INFORMATION     |\r\n=============================================\r\n|    VcName    | DistributionId |  comment  |\r\n---------------------------------------------\r\n|     vc1      |      1,4       | vc_101    |\r\n---------------------------------------------\r\n=========================================================================================================\r\n|                                 VIRTUAL CLUSTER DATA NODE INFORMATION                                 |\r\n=========================================================================================================\r\n| NodeName |                IpAddress                 | DistributionId | gnode | syncserver | DataState |\r\n---------------------------------------------------------------------------------------------------------\r\n|  node1   |                10.0.2.101                |      1,4       | CLOSE |   CLOSE    |     0     |\r\n---------------------------------------------------------------------------------------------------------\r\n|  node2   |                10.0.2.102                |      1,4       | CLOSE |   CLOSE    |     0     |\r\n---------------------------------------------------------------------------------------------------------\r\n\r\n2 data node\r\n\r\n&#91;gbase@gbase_rh7_001 gcinstall]$ gcadmin showcluster vc vc2\r\nCLUSTER STATE:         ACTIVE\r\nVIRTUAL CLUSTER MODE:  NORMAL\r\n\r\n=============================================\r\n|     GBASE VIRTUAL CLUSTER INFORMATION     |\r\n=============================================\r\n|    VcName    | DistributionId |  comment  |\r\n---------------------------------------------\r\n|     vc2      |      2,3       | vc_102    |\r\n---------------------------------------------\r\n=========================================================================================================\r\n|                                 VIRTUAL CLUSTER DATA NODE INFORMATION                                 |\r\n=========================================================================================================\r\n| NodeName |                IpAddress                 | DistributionId | gnode | syncserver | DataState |\r\n---------------------------------------------------------------------------------------------------------\r\n|  node1   |                10.0.2.115                |      2,3       | CLOSE |   CLOSE    |     0     |\r\n---------------------------------------------------------------------------------------------------------\r\n\r\n1 data node\r\n\r\n&#91;gbase@gbase_rh7_001 gcinstall]$\r\n<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p><span style=\"color:#ff0000\" class=\"has-inline-color\">\u5907\u6ce8\uff1a\u76ee\u524d\uff0c\u6ca1\u6709\u4e00\u4e2a\u547d\u4ee4\u505c\u6b62\u6240\u6709\u7ba1\u7406\u8282\u70b9\u7684\u529f\u80fd\u3002<\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>\u5357\u5927\u901a\u7528GBase 8a\u6570\u636e\u5e93\u96c6\u7fa4\u57289.5\u7248\u91cc\uff0c\u63d0\u4f9b\u4e86\u542f\u52a8\uff0c\u505c\u6b62\u6240\u6709\u6570\u636e\u8282\u70b9\u7684\u529f\u80fd\u3002\u4e00\u822c\u6570\u636e\u8282\u70b9\u90fd\u5f88\u591a\uff0c\u51e0\u5341\u5230\u4e0a\u767e\u4e2a\uff0c\u8be5\u529f\u80fd\u53ef\u4ee5\u5feb\u901f\u7684\u505c\u6b62\u6307\u5b9aVC\u6216\u8005\u9ed8\u8ba4\u6240\u6709\u6570\u636e\u8282\u70b9\u7684\u670d\u52a1\u3002\u5f53\u7136\u5bf9\u7ba1\u7406\u8282\u70b9\u662f\u4e0d\u751f\u6548\u7684\u3002<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[60],"class_list":["post-703","post","type-post","status-publish","format-standard","hentry","category-gbase8a","tag-v95"],"_links":{"self":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/703","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=703"}],"version-history":[{"count":8,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/703\/revisions"}],"predecessor-version":[{"id":11873,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/703\/revisions\/11873"}],"wp:attachment":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/media?parent=703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/categories?post=703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/tags?post=703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}