{"id":8386,"date":"2021-12-06T10:48:37","date_gmt":"2021-12-06T02:48:37","guid":{"rendered":"https:\/\/www.gbase8.cn\/?p=8386"},"modified":"2021-12-06T10:48:38","modified_gmt":"2021-12-06T02:48:38","slug":"gbase-8a-v95%e7%89%88%e6%9c%ac%e5%bc%80%e6%9c%ba%e8%87%aa%e5%90%af%e5%8a%a8%e6%9c%8d%e5%8a%a1%e7%9a%84%e5%87%a0%e4%b8%aa%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.gbase8.cn\/en\/8386","title":{"rendered":"\u5357\u5927\u901a\u7528GBase 8a V95\u7248\u672c\u5f00\u673a\u81ea\u542f\u52a8\u670d\u52a1\u7684\u51e0\u4e2a\u65b9\u6cd5"},"content":{"rendered":"<p>GBase 8a\u7684V95\u7248\u672c\uff0c\u4e0d\u518d\u4f9d\u8d56\u64cd\u4f5c\u7cfb\u7edfroot\u7528\u6237\u8fd0\u884c\uff0c\u589e\u5f3a\u4e86\u7cfb\u7edf\u7684\u5b89\u5168\u6027\uff0c\u4f46\u540c\u65f6\u4e00\u4e9b\u529f\u80fd\u4e5f\u7f3a\u5931\u4e86\uff0c\u6bd4\u5982\u5f00\u673a\u81ea\u542f\u52a8\u3002\u672c\u6587\u63d0\u4f9b\u51e0\u79cd\u7528\u6237\u9700\u8981\u8fbe\u5230\u5f00\u673a\u81ea\u542f\u52a8\u7684\u51e0\u4e2a\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p>\u6240\u6709\u65b9\u6cd5\uff0c\u90fd\u9700\u8981\u76f4\u63a5\u6216\u95f4\u63a5\u7684\u4f9d\u8d56\u64cd\u4f5c\u7cfb\u7edfroot\u7528\u6237\u6743\u9650\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-6a2aea33e7606\" 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-6a2aea33e7606\"  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\/8386\/#etcrclocal\" >\/etc\/rc.local<\/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\/8386\/#etcinitd_%E5%90%AF%E5%8A%A8%E6%9C%8D%E5%8A%A1\" >\/etc\/init.d \u542f\u52a8\u670d\u52a1<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.gbase8.cn\/en\/8386\/#%E4%B8%80%E3%80%81%E7%BC%96%E5%86%99%E6%9C%8D%E5%8A%A1%E6%96%87%E4%BB%B6%EF%BC%8C%E5%B9%B6%E6%94%BE%E5%88%B0etcinitd%E7%9B%AE%E5%BD%95%E4%B8%8B\" >\u4e00\u3001\u7f16\u5199\u670d\u52a1\u6587\u4ef6\uff0c\u5e76\u653e\u5230\/etc\/init.d\u76ee\u5f55\u4e0b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.gbase8.cn\/en\/8386\/#2%E3%80%81%E5%8A%A0%E5%85%A5%E8%87%AA%E5%90%AF%E5%8A%A8\" >2\u3001\u52a0\u5165\u81ea\u542f\u52a8<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.gbase8.cn\/en\/8386\/#monit%E7%AD%89%E7%9C%8B%E9%97%A8%E7%8B%97%E6%9C%8D%E5%8A%A1\" >monit\u7b49\u770b\u95e8\u72d7\u670d\u52a1<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.gbase8.cn\/en\/8386\/#etcmonitdmonit_gbaseconf\" >\/etc\/monit.d\/monit_gbase.conf<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.gbase8.cn\/en\/8386\/#%E7%AC%AC%E4%B8%89%E6%96%B9%E7%9C%8B%E9%97%A8%E7%8B%97\" >\u7b2c\u4e09\u65b9\u770b\u95e8\u72d7<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"etcrclocal\"><\/span>\/etc\/rc.local <span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u8be5\u65b9\u6848\u6700\u7b80\u5355\uff0c\u5c06\u542f\u52a8\u6570\u636e\u5e93\u670d\u52a1\u7684\u547d\u4ee4\u653e\u5230\u8fd9\u91cc\uff0c\u5b9e\u73b0\u5f00\u673a\u81ea\u542f\u52a8\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>su - gbase -c 'gcluster_services all start'<\/code><\/pre>\n\n\n\n<p>\u5982\u4e0b\u662f\u624b\u5de5\u8fd0\u884c\u8be5\u547d\u4ee4\u7684\u6548\u679c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@gbase_rh7_001 ~]# su - gbase -c'gcluster_services all start'\r\nStarting gcware :                                          &#91;  OK  ]\r\nStarting gcluster :                                        &#91;  OK  ]\r\nStarting gcrecover :                                       &#91;  OK  ]\r\nStarting gbase :                                           &#91;  OK  ]\r\nStarting syncserver :                                      &#91;  OK  ]\r\nStarting GCMonit success!\r\n&#91;root@gbase_rh7_001 ~]# ps -ef|grep gbase\r\navahi      601     1  0 09:57 ?        00:00:00 avahi-daemon: running &#91;gbaserh7001.local]\r\ngbase     3020     1  3 10:00 ?        00:00:00 \/opt\/gbase\/gcware\/sbin\/gcware\r\ngbase     3025     1 24 10:00 ?        00:00:01 \/opt\/gbase\/gcluster\/server\/bin\/gclusterd\r\ngbase     3048     1 11 10:00 ?        00:00:00 \/opt\/gbase\/gcluster\/server\/bin\/gcrecover\r\ngbase     3071     1 22 10:00 ?        00:00:01 \/opt\/gbase\/gnode\/server\/bin\/gbased\r\ngbase     3614     1  0 10:00 ?        00:00:00 \/opt\/gbase\/gnode\/server\/bin\/gc_sync_server\r\ngbase     3623     1  1 10:00 ?        00:00:00 \/opt\/gbase\/gcluster\/server\/bin\/gcmonit --start\r\ngbase     3625     1  0 10:00 ?        00:00:00 \/opt\/gbase\/gcluster\/server\/bin\/gcmmonit --start\r\nroot      3640  2911  0 10:00 pts\/0    00:00:00 grep --color=auto gbase\r\n&#91;root@gbase_rh7_001 ~]#\r\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"etcinitd_%E5%90%AF%E5%8A%A8%E6%9C%8D%E5%8A%A1\"><\/span>\/etc\/init.d \u542f\u52a8\u670d\u52a1<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u5b8c\u5168\u53c2\u8003GBase V8\u7684\u7248\u672c\u5b9e\u73b0V9\u7684\u670d\u52a1\u542f\u52a8<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E4%B8%80%E3%80%81%E7%BC%96%E5%86%99%E6%9C%8D%E5%8A%A1%E6%96%87%E4%BB%B6%EF%BC%8C%E5%B9%B6%E6%94%BE%E5%88%B0etcinitd%E7%9B%AE%E5%BD%95%E4%B8%8B\"><\/span>\u4e00\u3001\u7f16\u5199\u670d\u52a1\u6587\u4ef6\uff0c\u5e76\u653e\u5230\/etc\/init.d\u76ee\u5f55\u4e0b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u6ce8\u610f\u6587\u4ef6\u52a0\u4e0a\u53ef\u6267\u884c\u6743\u9650\uff0c\u6bd4\u5982chmod a+x GBaseBoot<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@localhost system]# cat \/etc\/init.d\/GBaseBoot\r\n#!\/bin\/sh\r\n#\r\n### BEGIN INIT INFO\r\n# Provides:                    GBase\r\n# Required-Start:       $network\r\n# Should-Start:         $syslog\r\n# Required-Stop:        $network\r\n# Default-Start:                2 3 4 5\r\n# Default-Stop:                 0 1 6\r\n# Short-Description:    GBase 8a Cluster MPP.\r\n# Description:          Provide MPP Database service\r\n### END INIT INFO\r\n#\r\n\r\nfunction is_OK()\r\n{\r\n  if &#91; $RETVAL -eq 0 ] ;then\r\n    echo \"OK\"\r\n  else\r\n    echo \"FAIL\"\r\n  fi\r\n}\r\n\r\nRETVAL=0\r\n\r\n# See how we were called.\r\ncase \"$1\" in\r\n  start)\r\n                date >> \/var\/log\/GBaseBoot.log\r\n                echo -n \"Starting gbase: \"\r\n                su - gbase -c\"gcluster_services all start\" >> \/var\/log\/GBaseBoot.log\r\n                RETVAL=$?\r\n                echo `is_OK`\r\n                ;;\r\n  stop)\r\n                date  >> \/var\/log\/GBaseBoot.log\r\n                echo -n \"Stopping gbase: \"\r\n                su - gbase -c\"gcluster_services all stop\"  >> \/var\/log\/GBaseBoot.log\r\n                RETVAL=$?\r\n                echo `is_OK`\r\n                ;;\r\n  restart)\r\n        date  >> \/var\/log\/GBaseBoot.log\r\n         echo -n \"Restarting gbase: \"\r\n        su - gbase -c\"gcluster_services all restart\"  >> \/var\/log\/GBaseBoot.log\r\n        RETVAL=$?\r\n        echo `is_OK`\r\n        ;;\r\n  status)\r\n        su - gbase -c\"gcluster_services all info\"\r\n        RETVAL=$?\r\n        ;;\r\n  *)\r\n        echo \"Usage: $0 {start|stop|restart|status}\"\r\n        exit 1\r\nesac\r\n\r\nexit $RETVAL<\/code><\/pre>\n\n\n\n<p>\u901a\u8fc7\u5982\u4e0b\u547d\u4ee4\uff0c\u770b\u670d\u52a1\u662f\u5426\u6b63\u5e38<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@gbase_rh7_001 init.d]# service GBaseBoot status\r\ngcware is stopped\r\ngcluster is stopped\r\ngcrecover is stopped\r\ngbase is stopped\r\nsyncserver is stopped<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2%E3%80%81%E5%8A%A0%E5%85%A5%E8%87%AA%E5%90%AF%E5%8A%A8\"><\/span>2\u3001\u52a0\u5165\u81ea\u542f\u52a8<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>chkconfig --add GBaseBoot\r\n\r\n\u68c0\u67e5\r\n&#91;root@localhost system]# chkconfig --list| grep GBaseBoot\r\n\r\nGBaseBoot       0:off   1:off   2:on    3:on    4:on    5:on    6:off<\/code><\/pre>\n\n\n\n<p>3\u3001\u91cd\u542f\u6d4b\u8bd5<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>     \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\r\n     \u2502                        \u2022 MobaXterm 10.4 \u2022                          \u2502\r\n     \u2502            (SSH client, X-server and networking tools)             \u2502\r\n     \u2502                                                                    \u2502\r\n     \u2502 \u27a4 SSH session to root@192.168.56.1                                 \u2502\r\n     \u2502   \u2022 SSH compression : \u2714                                            \u2502\r\n     \u2502   \u2022 SSH-browser     : \u2714                                            \u2502\r\n     \u2502   \u2022 X11-forwarding  : \u2714  (remote display is forwarded through SSH) \u2502\r\n     \u2502   \u2022 DISPLAY         : \u2714  (automatically set on remote server)      \u2502\r\n     \u2502                                                                    \u2502\r\n     \u2502 \u27a4 For more info, ctrl+click on help or visit our website           \u2502\r\n     \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\r\n\r\nLast login: Mon Dec  6 10:10:11 2021 from 192.168.56.1\r\n&#91;root@gbase_rh7_001 ~]# ps -ef|grep gbase\r\navahi      557     1  0 10:19 ?        00:00:00 avahi-daemon: running &#91;gbaserh7001.local]\r\ngbase     1539     1  0 10:19 ?        00:00:00 \/opt\/gbase\/gcware\/sbin\/gcware\r\ngbase     2143     1 17 10:19 ?        00:00:22 \/opt\/gbase\/gcluster\/server\/bin\/gclusterd\r\ngbase     2249     1 18 10:19 ?        00:00:23 \/opt\/gbase\/gcluster\/server\/bin\/gcrecover\r\ngbase     2374     1  0 10:19 ?        00:00:00 \/opt\/gbase\/gnode\/server\/bin\/gbased\r\ngbase     2417     1  0 10:19 ?        00:00:00 \/opt\/gbase\/gnode\/server\/bin\/gc_sync_server\r\ngbase     3061     1  0 10:19 ?        00:00:01 \/opt\/gbase\/gcluster\/server\/bin\/gcmonit --start\r\ngbase     3065     1  0 10:19 ?        00:00:00 \/opt\/gbase\/gcluster\/server\/bin\/gcmmonit --start\r\nroot      3508  3466  0 10:21 pts\/0    00:00:00 grep --color=auto gbase\r\n&#91;root@gbase_rh7_001 ~]#<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"monit%E7%AD%89%E7%9C%8B%E9%97%A8%E7%8B%97%E6%9C%8D%E5%8A%A1\"><\/span>monit\u7b49\u770b\u95e8\u72d7\u670d\u52a1<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u524d\u9762\u7684\u51e0\u4e2a\u65b9\u6848\uff0c\u5982\u679c\u51fa\u73b0\u542f\u52a8\u5931\u8d25\uff0c\u4e0d\u4f1a\u81ea\u52a8\u91cd\u8bd5\uff0c\u7279\u522b\u662f\u7f51\u7edc\u6302\u8f7d\u6570\u636e\u76d8\u7684\u60c5\u51b5\uff0c\u5168\u90e8\u7269\u7406\u7ea7\u672c\u5730\u786c\u4ef6\u7684\u6ca1\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n\n\n\n<p>\u6b64\u65f6\u90e8\u7f72\u4e00\u4e2a\u770b\u95e8\u72d7\u5c31\u6709\u5fc5\u8981\u4e86\u3002\u76d1\u63a7\u6838\u5fc3\u8fdb\u7a0b\uff0c\u5982\u679c\u8d85\u8fc7\u9650\u5236\uff0c\u5219\u5c1d\u8bd5\u62c9\u8d77\u3002\u5f53\u7136\uff0c\u5982\u679c\u505c\u670d\u52a1\uff0c\u8981\u8bb0\u5f97\u505c\u4e0bmonit\uff0c\u5426\u5219\u4e5f\u4f1a\u88ab\u5176\u62c9\u8d77\uff0c\u7740\u4e5f\u7b97\u4e2a\u3010\u6ce8\u610f\u4e8b\u9879\u3011<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"etcmonitdmonit_gbaseconf\"><\/span>\/etc\/monit.d\/monit_gbase.conf<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u91cc\u9762\u68c0\u6d4b\u7684\u662fgcmmonit\u8fdb\u7a0b, \u8be5\u8fdb\u7a0b\u662f\u6570\u636e\u5e93\u5185\u7f6e\u7684\u770b\u95e8\u72d7\u7a0b\u5e8f\uff0c\u5176\u5982\u679c\u53d1\u73b0\u5176\u5b83\u8fdb\u7a0b\u6d88\u5931\uff0c\u6216\u81ea\u52a8\u62c9\u8d77\u7684\uff0c\u6240\u4ee5\u5916\u9762\u7684\u8fdb\u7a0b\uff0c\u53ea\u9700\u8981\u68c0\u6d4b\u8fd9\u4e2a\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n\n\n\n<p>\u62c9\u8d77\u670d\u52a1\u7684\u90e8\u5206\u662f\u5168\u90e8\uff0c\u6ca1\u6709\u5355\u72ec\u62c9\u8d77gcmmonit.<\/p>\n\n\n\n<p>\u68c0\u6d4b\u548c\u62c9\u8d77\u5468\u671f\uff0c\u8bf7\u81ea\u884c\u4fee\u6539\uff0c\u5efa\u8bae\u4e0d\u8981\u62c9\u8d77\u592a\u4e45\u65f6\u95f4\uff0c\u9664\u975e\u7528\u6237\u5e0c\u671b\u8fd9\u6837\u3002<\/p>\n\n\n\n<p>\u8be5\u6587\u4ef6\u683c\u5f0f\uff0c\u53c2\u8003\u7684GBase V8\u7684\u6837\u4f8b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>###############################################################################\n## gcluster Services\n###############################################################################\ncheck process gcmmonit with pidfile \/tmp\/fake.pid\nstart program = \"\/bin\/su - gbase -c 'gcluster_services all start'\"\nif does not exist then start\n# cycles means how many intervals which is set in monitrc(set daemon  5)\nif 1000 restarts within 60000 cycles then timeout\ngroup gcluster\n<\/code><\/pre>\n\n\n\n<p>\u8be5\u529f\u80fd\u7531monit\u63d0\u4f9b\uff0c\u6240\u4ee5\u9700\u8981\u786e\u4fddmonit\u662f\u5f00\u673a\u81ea\u542f\u52a8\u72b6\u6001\u5373\u53ef\u3002<\/p>\n\n\n\n<p>\u8fd0\u884c\u6837\u4f8b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@gbase_rh7_001 monit.d]# su - gbase -c\"gcluster_services all info\"\r\ngcware is stopped\r\ngcluster is stopped\r\ngcrecover is stopped\r\ngbase is stopped\r\nsyncserver is stopped\r\r\n&#91;root@gbase_rh7_001 monit.d]#\r\n&#91;root@gbase_rh7_001 monit.d]# service monit status\r\nmonit is stopped\r\n&#91;root@gbase_rh7_001 monit.d]# ps -ef|grep gbase\r\navahi      557     1  0 10:19 ?        00:00:00 avahi-daemon: running &#91;gbaserh7001.local]\r\nroot      5805  3466  0 10:45 pts\/0    00:00:00 grep --color=auto gbase\r\n&#91;root@gbase_rh7_001 monit.d]# service monit start\r\nStarting monit: Starting monit daemon with http interface at &#91;localhost:2812]\r\n\r\n&#91;root@gbase_rh7_001 monit.d]# ps -ef|grep gbase\r\navahi      557     1  0 10:19 ?        00:00:00 avahi-daemon: running &#91;gbaserh7001.local]\r\nroot      5832     1  0 10:45 ?        00:00:00 \/bin\/su - gbase -c gcluster_services all start\r\ngbase     5833  5832  0 10:45 ?        00:00:00 \/bin\/bash \/opt\/gbase\/gcluster\/server\/bin\/gcluster_services all start\r\ngbase     5853     1  6 10:45 ?        00:00:00 \/opt\/gbase\/gcware\/sbin\/gcware\r\ngbase     5858  5833 34 10:45 ?        00:00:00 \/opt\/gbase\/gcluster\/server\/bin\/gclusterd\r\ngbase     5882  5833 11 10:45 ?        00:00:00 \/opt\/gbase\/gcluster\/server\/bin\/gcrecover\r\ngbase     5904  5833  0 10:45 ?        00:00:00 \/opt\/gbase\/gnode\/server\/bin\/gbased\r\ngbase     5905  5833  0 10:45 ?        00:00:00 sleep 1\r\nroot      6443  3466  0 10:45 pts\/0    00:00:00 grep --color=auto gbase\r\n&#91;root@gbase_rh7_001 monit.d]# ps -ef|grep gbase\r\navahi      557     1  0 10:19 ?        00:00:00 avahi-daemon: running &#91;gbaserh7001.local]\r\ngbase     5853     1  1 10:45 ?        00:00:00 \/opt\/gbase\/gcware\/sbin\/gcware\r\ngbase     5858     1 16 10:45 ?        00:00:02 \/opt\/gbase\/gcluster\/server\/bin\/gclusterd\r\ngbase     5882     1 16 10:45 ?        00:00:02 \/opt\/gbase\/gcluster\/server\/bin\/gcrecover\r\ngbase     5904     1  5 10:45 ?        00:00:00 \/opt\/gbase\/gnode\/server\/bin\/gbased\r\ngbase     6449     1  0 10:45 ?        00:00:00 \/opt\/gbase\/gnode\/server\/bin\/gc_sync_server\r\ngbase     6454     1  0 10:45 ?        00:00:00 \/opt\/gbase\/gcluster\/server\/bin\/gcmonit --start\r\ngbase     6456     1  0 10:45 ?        00:00:00 \/opt\/gbase\/gcluster\/server\/bin\/gcmmonit --start\r\nroot      6473  3466  0 10:46 pts\/0    00:00:00 grep --color=auto gbase\r\n&#91;root@gbase_rh7_001 monit.d]# ps -ef|grep gbase\r\navahi      557     1  0 10:19 ?        00:00:00 avahi-daemon: running &#91;gbaserh7001.local]\r\ngbase     5853     1  0 10:45 ?        00:00:00 \/opt\/gbase\/gcware\/sbin\/gcware\r\ngbase     5858     1 14 10:45 ?        00:00:03 \/opt\/gbase\/gcluster\/server\/bin\/gclusterd\r\ngbase     5882     1 14 10:45 ?        00:00:02 \/opt\/gbase\/gcluster\/server\/bin\/gcrecover\r\ngbase     5904     1  4 10:45 ?        00:00:00 \/opt\/gbase\/gnode\/server\/bin\/gbased\r\ngbase     6449     1  0 10:45 ?        00:00:00 \/opt\/gbase\/gnode\/server\/bin\/gc_sync_server\r\ngbase     6454     1  1 10:45 ?        00:00:00 \/opt\/gbase\/gcluster\/server\/bin\/gcmonit --start\r\ngbase     6456     1  0 10:45 ?        00:00:00 \/opt\/gbase\/gcluster\/server\/bin\/gcmmonit --start\r\nroot      6483  3466  0 10:46 pts\/0    00:00:00 grep --color=auto gbase\r\n&#91;root@gbase_rh7_001 monit.d]#\r\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E7%AC%AC%E4%B8%89%E6%96%B9%E7%9C%8B%E9%97%A8%E7%8B%97\"><\/span>\u7b2c\u4e09\u65b9\u770b\u95e8\u72d7<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u5e94\u7528\u5f00\u53d1\u5546\u7684\u4e1a\u52a1\u7cfb\u7edf\uff0c\u4e00\u822c\u90fd\u6709\u81ea\u5df1\u7684\u770b\u95e8\u72d7\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u90e8\u7f72\u5230\u6570\u636e\u5e93\u4e0a\uff0c\u5b9e\u73b0\u7684\u6570\u636e\u5e93\u670d\u52a1\u7684\u5f00\u542f\u542f\u52a8\u548c\u670d\u52a1\u8fdb\u7a0b\u76d1\u63a7\u3002<\/p>\n\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>\u5357\u5927\u901a\u7528GBase 8a\u7684V95\u7248\u672c\uff0c\u4e0d\u518d\u4f9d\u8d56\u64cd\u4f5c\u7cfb\u7edfroot\u7528\u6237\u8fd0\u884c\uff0c\u589e\u5f3a\u4e86\u7cfb\u7edf\u7684\u5b89\u5168\u6027\uff0c\u4f46\u540c\u65f6\u4e00\u4e9b\u529f\u80fd\u4e5f\u7f3a\u5931\u4e86\uff0c\u6bd4\u5982\u5f00\u673a\u81ea\u542f\u52a8\u3002\u672c\u6587\u63d0\u4f9b\u51e0\u79cd\u7528\u6237\u9700\u8981\u8fbe\u5230\u5f00\u673a\u81ea\u542f\u52a8\u7684\u51e0\u4e2a\u65b9\u6cd5\u3002<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-8386","post","type-post","status-publish","format-standard","hentry","category-gbase8a"],"_links":{"self":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/8386","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=8386"}],"version-history":[{"count":20,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/8386\/revisions"}],"predecessor-version":[{"id":8408,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/8386\/revisions\/8408"}],"wp:attachment":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/media?parent=8386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/categories?post=8386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/tags?post=8386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}