{"id":12494,"date":"2024-01-18T13:49:43","date_gmt":"2024-01-18T05:49:43","guid":{"rendered":"https:\/\/www.gbase8.cn\/?p=12494"},"modified":"2024-01-18T13:51:07","modified_gmt":"2024-01-18T05:51:07","slug":"gbase-8a%e5%9c%a8%e6%9c%89%e8%8a%82%e7%82%b9%e7%a6%bb%e7%ba%bf%e6%97%b6%ef%bc%8c%e4%b8%8d%e5%8f%af%e4%bb%a5%e6%89%a9%e5%ae%b9","status":"publish","type":"post","link":"https:\/\/www.gbase8.cn\/en\/12494","title":{"rendered":"\u5357\u5927\u901a\u7528GBase 8a\u5728\u6709\u8282\u70b9\u79bb\u7ebfOFFLINE\u65f6\uff0c\u4e0d\u53ef\u4ee5\u6269\u5bb9"},"content":{"rendered":"<p>GBase 8a\u5728\u8fdb\u884c\u6269\u5bb9\u64cd\u4f5c\u65f6\uff0c\u4f1a\u68c0\u67e5\u6240\u6709\u8282\u70b9\u7684\u72b6\u6001\uff0c\u5982\u679c\u8282\u70b9\u79bb\u7ebf(OFFLINE)\uff0c\u56e0\u65e0\u6cd5\u767b\u5f55\uff0c\u4f1a\u6709Check login \u7c7b\u9519\u8bef\uff0c\u65e0\u6cd5\u8fdb\u884c\u6269\u5bb9\u64cd\u4f5c\u3002<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Directory Navigation<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a2ad79518eb5\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a2ad79518eb5\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.gbase8.cn\/en\/12494\/#%E7%8E%AF%E5%A2%83\" >\u73af\u5883<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.gbase8.cn\/en\/12494\/#%E6%8A%A5%E9%94%99%E6%A0%B7%E4%BE%8B\" >\u62a5\u9519\u6837\u4f8b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.gbase8.cn\/en\/12494\/#%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88\" >Solution<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E7%8E%AF%E5%A2%83\"><\/span>\u73af\u5883<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>2\u8282\u70b9\u96c6\u7fa4\uff0c\u5176\u4e2d1\u4e2a\u8282\u70b9\u51fa\u73b0\u4e0d\u53ef\u6062\u590d\u6545\u969c\uff0c\u5df2\u7ecf\u79bb\u7ebf\u3002 \u7f51\u7edc\u4e5fping\u4e0d\u901a\u4e86\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&#91;gbase@localhost gcinstall]$ gcadmin\r\nCLUSTER STATE:  ACTIVE\r\nCLUSTER MODE:   NORMAL\r\n\r\n=================================================================\r\n|             GBASE COORDINATOR CLUSTER INFORMATION             |\r\n=================================================================\r\n|   NodeName   |     IpAddress     |gcware |gcluster |DataState |\r\n-----------------------------------------------------------------\r\n| coordinator1 |    10.0.2.201     | OPEN  |  OPEN   |    0     |\r\n-----------------------------------------------------------------\r\n====================================================================\r\n|                  GBASE DATA CLUSTER INFORMATION                  |\r\n====================================================================\r\n|NodeName |     IpAddress     |    gnode    |syncserver |DataState |\r\n--------------------------------------------------------------------\r\n|  node1  |    10.0.2.201     |    OPEN     |   OPEN    |    0     |\r\n--------------------------------------------------------------------\r\n|  node2  |    10.0.2.202     | OFFLINE     |          |\r\n--------------------------------------------------------------------\r\n&#91;gbase@localhost gcinstall]$\r\n\r\n&#91;gbase@localhost gcinstall_8624335.5p4]$ ping 10.0.2.202\r\nPING 10.0.2.202 (10.0.2.202) 56(84) bytes of data.\r\nFrom 10.0.2.201 icmp_seq=4 Destination Host Unreachable\r\nFrom 10.0.2.201 icmp_seq=5 Destination Host Unreachable\r\nFrom 10.0.2.201 icmp_seq=6 Destination Host Unreachable\r\nFrom 10.0.2.201 icmp_seq=7 Destination Host Unreachable\r\n^C\r\n--- 10.0.2.202 ping statistics ---\r\n8 packets transmitted, 0 received, +4 errors, 100% packet loss, time 7545ms\r\npipe 4\r\n&#91;gbase@localhost gcinstall_8624335.5p4<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%8A%A5%E9%94%99%E6%A0%B7%E4%BE%8B\"><\/span>\u62a5\u9519\u6837\u4f8b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>Check loginUser:root password failed,nodes are:10.0.2.202<\/code><\/pre>\n\n\n\n<p>\u4ee5\u53ca<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Check root password failed,nodes are:10.0.2.202<\/code><\/pre>\n\n\n\n<p>\u770b\u540e\u53f0\u65e5\u5fd7 gcinstall.log<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>fail to login root@10.0.2.202,err:ssh: connect to host 10.0.2.202 port 22: No route to host<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88\"><\/span>Solution<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u5148\u6062\u590d\u6545\u969c\u8282\u70b9\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u786e\u4fddIP\u80fd\u8fde\u901a\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u786e\u5b9e\u8282\u70b9\u65e0\u6cd5\u4fee\u590d\uff0c\u53ef\u4ee5\u8054\u7cfbGBase 8a\u652f\u6301\u4eba\u5458\uff0c\u4e34\u65f6\u8c03\u6574\u4ee3\u7801\uff0c\u53bb\u6389\u5bf9\u6545\u969c\u8282\u70b9\u65e0\u6cd5\u767b\u5f55\u7684\u68c0\u6d4b\uff0c\u5f3a\u884c\u505a\u6269\u5bb9\u64cd\u4f5c\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u5357\u5927\u901a\u7528GBase 8a\u5728\u8fdb\u884c\u6269\u5bb9\u64cd\u4f5c\u65f6\uff0c\u4f1a\u68c0\u67e5\u6240\u6709\u8282\u70b9\u7684\u72b6\u6001\uff0c\u5982\u679c\u8282\u70b9\u79bb\u7ebf\uff0c\u56e0\u65e0\u6cd5\u767b\u5f55\uff0c\u4f1a\u6709Check login \u7c7b\u9519\u8bef\uff0c\u65e0\u6cd5\u8fdb\u884c\u6269\u5bb9\u64cd\u4f5c\u3002<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[88],"class_list":["post-12494","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\/12494","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=12494"}],"version-history":[{"count":3,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/12494\/revisions"}],"predecessor-version":[{"id":12497,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/12494\/revisions\/12497"}],"wp:attachment":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/media?parent=12494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/categories?post=12494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/tags?post=12494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}