{"id":2645,"date":"2020-12-30T15:07:56","date_gmt":"2020-12-30T07:07:56","guid":{"rendered":"https:\/\/www.gbase8.cn\/?p=2645"},"modified":"2021-05-06T13:03:18","modified_gmt":"2021-05-06T05:03:18","slug":"gbase-8a%e7%9a%84v9-5%e7%89%88%e6%9c%acgcware%e6%9c%8d%e5%8a%a1%e5%90%af%e5%8a%a8%e6%a3%80%e6%b5%8b%e5%92%8c%e5%81%9c%e6%ad%a2%e7%9a%84%e9%83%a8%e5%88%86%e6%97%a5%e5%bf%97","status":"publish","type":"post","link":"https:\/\/www.gbase8.cn\/en\/2645","title":{"rendered":"\u5357\u5927\u901a\u7528GBase 8a\u7684V9.5\u7248\u672cgcware\u670d\u52a1\u542f\u52a8\u68c0\u6d4b\u548c\u505c\u6b62\u7684\u90e8\u5206\u65e5\u5fd7"},"content":{"rendered":"<p>\u672c\u6587\u4ecb\u7ecdGBase 8a V9.5\u7248\u672c\u7684gcware\u670d\u52a1\u542f\u52a8\u548c\u505c\u6b62\u7684\u65e5\u5fd7\uff0c\u5176\u4e2d\u6709\u4e9b\u6807\u5fd7\u8868\u793a\u670d\u52a1\u53ef\u7528\u6216\u5df2\u7ecf\u505c\u6b62\u3002\u672c\u6587\u4e5f\u63d0\u4f9b\u4e86\u4e00\u79cd\u624b\u6bb5\uff0c\u5faa\u73af\u68c0\u6d4bgcadmin\u547d\u4ee4\uff0c\u76f4\u5230\u6709\u8282\u70b9\u53ef\u4ee5\u5bf9\u5916\u63d0\u4f9b\u670d\u52a1\u4e86\u624d\u8fd4\u56de\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-6a2b1f1cae018\" 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-6a2b1f1cae018\"  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\/2645\/#%E5%90%AF%E5%8A%A8\" >\u542f\u52a8<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.gbase8.cn\/en\/2645\/#%E5%BC%80%E5%A7%8B%E6%A0%87%E8%AE%B0\" >\u5f00\u59cb\u6807\u8bb0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.gbase8.cn\/en\/2645\/#%E5%8F%AF%E6%8F%90%E4%BE%9B%E6%9C%8D%E5%8A%A1%E6%A0%87%E8%AE%B0\" >\u53ef\u63d0\u4f9b\u670d\u52a1\u6807\u8bb0<\/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\/2645\/#%E5%AE%8C%E6%95%B4%E5%90%AF%E5%8A%A8%E6%97%A5%E5%BF%97\" >\u5b8c\u6574\u542f\u52a8\u65e5\u5fd7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.gbase8.cn\/en\/2645\/#%E5%A6%82%E4%BD%95%E5%88%A4%E6%96%ADgcware%E6%9C%8D%E5%8A%A1%E6%98%AF%E5%90%A6%E5%B7%B2%E7%BB%8F%E5%8F%AF%E6%9C%8D%E5%8A%A1\" >\u5982\u4f55\u5224\u65adgcware\u670d\u52a1\u662f\u5426\u5df2\u7ecf\u53ef\u670d\u52a1<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.gbase8.cn\/en\/2645\/#%E5%81%9C%E6%AD%A2\" >\u505c\u6b62<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.gbase8.cn\/en\/2645\/#%E5%BC%80%E5%A7%8B%E5%81%9C%E6%AD%A2%E6%A0%87%E8%AE%B0\" >\u5f00\u59cb\u505c\u6b62\u6807\u8bb0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.gbase8.cn\/en\/2645\/#%E5%81%9C%E6%AD%A2%E5%AE%8C%E6%88%90%E6%A0%87%E8%AE%B0\" >\u505c\u6b62\u5b8c\u6210\u6807\u8bb0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.gbase8.cn\/en\/2645\/#%E5%AE%8C%E6%95%B4%E5%81%9C%E6%AD%A2%E6%97%A5%E5%BF%97\" >\u5b8c\u6574\u505c\u6b62\u65e5\u5fd7<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%90%AF%E5%8A%A8\"><\/span>\u542f\u52a8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%BC%80%E5%A7%8B%E6%A0%87%E8%AE%B0\"><\/span>\u5f00\u59cb\u6807\u8bb0<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>Cluster Consist Service Engine 9.5.121227: started and ready to provide service.\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%8F%AF%E6%8F%90%E4%BE%9B%E6%9C%8D%E5%8A%A1%E6%A0%87%E8%AE%B0\"><\/span>\u53ef\u63d0\u4f9b\u670d\u52a1\u6807\u8bb0<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>statemachine sync with leader change from 0 to 1\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%AE%8C%E6%95%B4%E5%90%AF%E5%8A%A8%E6%97%A5%E5%BF%97\"><\/span>\u5b8c\u6574\u542f\u52a8\u65e5\u5fd7<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>Dec 30 14:26:37.975666 WARN  &#91;MAIN  ] Could not set SCHED_RR at priority 99: Operation not permitted (1)\nDec 30 14:26:37.975750 WARN  &#91;MAIN  ] Could not lock memory of service to avoid page faults: Cannot allocate memory (12)\nDec 30 14:26:37.975754 NOTIC &#91;MAIN  ] Cluster Consist Service Engine 9.5.121227: started and ready to provide service.\nDec 30 14:26:37.975759 INFO  &#91;MAIN  ] Corosync built-in features:\nDec 30 14:26:37.975762 NOTIC &#91;MAIN  ] Successfully configured gcw services to load\nDec 30 14:26:37.975766 NOTIC &#91;MAIN  ] Successfully read main configuration file '\/opt\/gbase\/gcware\/config\/gcware.conf'.\nDec 30 14:26:37.975769 WARN  &#91;GCWARE] Warning: the to_file config paramater has been obsoleted. See corosync.conf man page to_logfile directive.\nDec 30 14:26:38.173917 INFO  &#91;MAIN  ] file check succeed.\nDec 30 14:26:38.173939 NOTIC &#91;MAIN  ] GBCCS parameters:\nDec 30 14:26:38.173943 NOTIC &#91;MAIN  ] leader heart beat:200\nDec 30 14:26:38.173946 NOTIC &#91;MAIN  ] election timeout:2000\nDec 30 14:26:38.173949 NOTIC &#91;MAIN  ] session timeout:40000\nDec 30 14:26:38.173952 NOTIC &#91;MAIN  ] client port:5919\nDec 30 14:26:38.173955 NOTIC &#91;MAIN  ] server port:5918\nDec 30 14:26:38.173958 NOTIC &#91;MAIN  ] max message size:1048576\nDec 30 14:26:38.173961 NOTIC &#91;MAIN  ] max redolog size:536870912\nDec 30 14:26:38.173965 NOTIC &#91;MAIN  ] data dir:\/opt\/gbase\/gcware\/data\/gcware\nDec 30 14:26:38.173968 NOTIC &#91;MAIN  ] redo log dir:\/opt\/gbase\/gcware\/data\/gcware\nDec 30 14:26:38.173971 NOTIC &#91;MAIN  ] local nodeid:1\nDec 30 14:26:38.173974 NOTIC &#91;MAIN  ] bind addr:gbase_rh7_001\nDec 30 14:26:38.173977 INFO  &#91;MAIN  ] add config member gbase_rh7_001 with groupid 0 nodeid 1\nDec 30 14:26:38.173980 NOTIC &#91;LCK   ] &#91;DEBUG]: lck_exec_init_fn\nDec 30 14:26:38.173983 INFO  &#91;GCWARE] begin init raft root instance\nDec 30 14:26:38.173986 INFO  &#91;GCWARE] init raft root instance successfully\nDec 30 14:26:38.173989 INFO  &#91;LCK   ] &#91;INFO]: init_lck_default_info local_nodeid = 1\nDec 30 14:26:39.183445 INFO  &#91;LCK   ] &#91;DEBUG]: lck_exec_init_fn &#91;LEAVE]\nDec 30 14:26:39.183467 NOTIC &#91;SERV  ] Service engine loaded: gcw distributed locking service A.01.01\nDec 30 14:26:39.183473 NOTIC &#91;CRM   ] &#91;DEBUG]: crm_exec_init_fn &#91;ENTER]\nDec 30 14:26:39.183477 INFO  &#91;CRM   ] rlim_cur: 65535  rlim_max: 65535\nDec 30 14:26:39.183481 INFO  &#91;GCWARE] begin init raft root instance\nDec 30 14:26:39.183485 INFO  &#91;GCWARE] init raft root instance successfully\nDec 30 14:26:39.183489 INFO  &#91;CRM   ] Reading configuration\nDec 30 14:26:39.183492 INFO  &#91;CRM   ] Reading coordinator\nDec 30 14:26:39.183496 INFO  &#91;CRM   ] Reading member\nDec 30 14:26:39.183500 INFO  &#91;CRM   ] Reading memberaddr\nDec 30 14:26:39.183504 INFO  &#91;CRM   ] ipaddr = gbase_rh7_001\nDec 30 14:26:39.183508 INFO  &#91;CRM   ] nodeName = coordinator1\nDec 30 14:26:39.183512 INFO  &#91;CRM   ] Reading nodeid\nDec 30 14:26:39.183516 INFO  &#91;CRM   ] nodeid = 1\nDec 30 14:26:39.183520 NOTIC &#91;CRM   ] &#91;DEBUG]: crm_exec_init_fn &#91;LEAVE]\nDec 30 14:26:39.183524 NOTIC &#91;SERV  ] Service engine loaded: gcw crm service 1.0.0\nDec 30 14:26:39.183532 NOTIC &#91;CLM   ] &#91;DEBUG]: clm_exec_init_fn &#91;ENTER]\nDec 30 14:26:39.183536 INFO  &#91;CLM   ] Reading configuration\nDec 30 14:26:39.183539 INFO  &#91;CLM   ] check_interval = 30\nDec 30 14:26:39.183542 INFO  &#91;CLM   ] cfg_whole_check_interval_num = 20\nDec 30 14:26:39.183545 INFO  &#91;CLM   ] cfg_check_tcp_only = 1\nDec 30 14:26:39.183548 INFO  &#91;CLM   ] cfg_check_times_judge_failure = 3\nDec 30 14:26:39.183551 INFO  &#91;CLM   ] cfg_connect_timeout = 5000\nDec 30 14:26:39.183554 INFO  &#91;CLM   ] gcluster_port = 5258\nDec 30 14:26:39.183557 INFO  &#91;CLM   ] gnode_port = 5050\nDec 30 14:26:39.183560 INFO  &#91;CLM   ] syncserver_port = 5288\nDec 30 14:26:39.183563 INFO  &#91;CLM   ] node_ssh_port = 22\nDec 30 14:26:39.183571 INFO  &#91;CLM   ] check_coordinator_thread_num = 1\nDec 30 14:26:39.183575 INFO  &#91;CLM   ] check_dataserver_thread_num = 10\nDec 30 14:26:39.183578 INFO  &#91;GCWARE] begin init raft root instance\nDec 30 14:26:39.183581 INFO  &#91;GCWARE] init raft root instance successfully\nDec 30 14:26:39.183584 INFO  &#91;CLM   ] &#91;INFO]: local_nodeid = 1\nDec 30 14:26:40.186270 INFO  &#91;CLM   ] &#91;DEBUG]: clm_exec_init_fn &#91;LEAVE]\nDec 30 14:26:40.186288 NOTIC &#91;SERV  ] Service engine loaded: gcw cluster membership service A.01.01\nDec 30 14:26:40.186334 NOTIC &#91;SERV  ] Service engine loaded: corosync extended virtual synchrony service\nDec 30 14:26:40.186344 NOTIC &#91;SERV  ] Service engine loaded: corosync configuration service\nDec 30 14:26:40.186347 NOTIC &#91;SERV  ] Service engine loaded: corosync cluster closed process group service v1.01\nDec 30 14:26:40.186351 NOTIC &#91;SERV  ] Service engine loaded: corosync cluster config database access v1.01\nDec 30 14:26:40.186354 NOTIC &#91;SERV  ] Service engine loaded: corosync profile loading service\nDec 30 14:26:40.186357 NOTIC &#91;SERV  ] Service engine loaded: corosync cluster quorum service v0.1\nDec 30 14:26:40.186360 NOTIC &#91;GCWARE] begin load snapshot index:886 term:69\nDec 30 14:26:40.186363 INFO  &#91;GCWARE] session manager load session begin\nDec 30 14:26:40.186366 INFO  &#91;GCWARE] session manager load session finish\nDec 30 14:26:40.186369 INFO  &#91;LCK   ] load lck snapshort begin\nDec 30 14:26:40.186372 INFO  &#91;LCK   ] &#91;INFO]: init_lck_default_info local_nodeid = 1\nDec 30 14:26:41.197905 INFO  &#91;LCK   ] load all lock from file \/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine begin\nDec 30 14:26:41.197931 INFO  &#91;LCK   ] load all lock from file \/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/QUEUE_RESOURCE end\nDec 30 14:26:41.197935 INFO  &#91;LCK   ] load commit list from file \/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine begin\nDec 30 14:26:41.197939 INFO  &#91;LCK   ] load commit list from file \/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/FAILOVER end\nDec 30 14:26:41.197942 INFO  &#91;LCK   ] load recover regist from file \/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine begin\nDec 30 14:26:41.197946 INFO  &#91;LCK   ] load recover regist from file \/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/RECOVER_REGIST end\nDec 30 14:26:41.197949 INFO  &#91;LCK   ] load common regist list from file \/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine begin\nDec 30 14:26:41.197952 INFO  &#91;LCK   ] load common regist list from file \/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/COMMON_REGIST end\nDec 30 14:26:41.197955 INFO  &#91;LCK   ] load commit takeover list from file \/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine begin\nDec 30 14:26:41.197958 INFO  &#91;LCK   ] load commit takeover list from file \/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/TAKEOVER_REGIST end\nDec 30 14:26:41.197961 INFO  &#91;LCK   ] load lck snapshort end\nDec 30 14:26:41.197965 INFO  &#91;CRM   ] crm load snapshot begin!\nDec 30 14:26:41.197968 INFO  &#91;CRM   ] begin load public info snapshot path:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\nDec 30 14:26:41.197971 INFO  &#91;CRM   ] scn file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/SCN\nDec 30 14:26:41.197974 INFO  &#91;CRM   ] tableid file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/TABLEID\nDec 30 14:26:41.197977 INFO  &#91;CRM   ] gcware_mode file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/GCWARE_MODE\nDec 30 14:26:41.197981 INFO  &#91;CRM   ] taskid file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/TASKID\nDec 30 14:26:41.197984 INFO  &#91;CRM   ] vcid file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/VCID\nDec 30 14:26:41.197987 INFO  &#91;CRM   ] vcmirrorid file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/VCMIRRORID\nDec 30 14:26:41.197990 INFO  &#91;CRM   ] nodeid file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/NODEID\nDec 30 14:26:41.197993 INFO  &#91;CRM   ] commitid file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/COMMITID\nDec 30 14:26:41.198002 INFO  &#91;CRM   ] distributionid file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/DISTRIBUTIONID\nDec 30 14:26:41.198005 INFO  &#91;CRM   ] freedataservernodes file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/FREEDATASERVER\nDec 30 14:26:41.198008 INFO  &#91;CRM   ] freedataclusterstates file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/DATACLUSTERSTATE\nDec 30 14:26:41.198011 INFO  &#91;CRM   ] coordinatorclusterstate file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/COORDINATORSTATE\nDec 30 14:26:41.198015 INFO  &#91;CRM   ] feventlog file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/FEVENTLOG\nDec 30 14:26:41.198018 INFO  &#91;CRM   ] incomplete ddlfevent file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/INCOMPLETE_DDLFEVENT\nDec 30 14:26:41.198021 INFO  &#91;CRM   ] incomplete dmlfevent file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/INCOMPLETE_DMLFEVENT\nDec 30 14:26:41.198024 INFO  &#91;CRM   ] vcmirrorlist file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/VCMIRROR\nDec 30 14:26:41.198027 INFO  &#91;CRM   ] distributiontovc file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/DISTRIBUTION2VC\nDec 30 14:26:41.198030 INFO  &#91;CRM   ] rcvc file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/RCVC\nDec 30 14:26:41.198033 INFO  &#91;CRM   ] KV store file name:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\/KVSTORE\nDec 30 14:26:41.198036 INFO  &#91;CRM   ] finish load public info snapshot path:\/opt\/gbase\/gcware\/data\/gcware\/SNAPSHOT.69.886\/statemachine\nDec 30 14:26:41.198039 ERROR &#91;CRM   ] nodeid(1) is repeated! ip is gbase_rh7_001\nDec 30 14:26:41.198043 INFO  &#91;CRM   ] crm load snapshot end success!\nDec 30 14:26:41.198046 INFO  &#91;GCWARE] session manager switch\nDec 30 14:26:41.198049 INFO  &#91;GCWARE] session manager clear begin\nDec 30 14:26:41.198052 INFO  &#91;GCWARE] session manager clear end\nDec 30 14:26:41.198055 INFO  &#91;GCWARE] session manager switch finish\nDec 30 14:26:41.198058 INFO  &#91;CRM   ] crm switch snapshot begin!\nDec 30 14:26:41.198061 NOTIC &#91;LCK   ] &#91;INFO]: lck_sync_data_abort\nDec 30 14:26:41.198064 NOTIC &#91;LCK   ] &#91;INFO]: lck_sync_data_abort end\nDec 30 14:26:41.198067 INFO  &#91;CRM   ] crm switch snapshot end!\nDec 30 14:26:41.198070 NOTIC &#91;GCWARE] begin load CCS meta\nDec 30 14:26:41.198073 NOTIC &#91;GCWARE] finish load raft meta with term: 86, voteFor:1\nDec 30 14:26:41.198076 INFO  &#91;GCWARE] open raft log file \/opt\/gbase\/gcware\/data\/gcware\/REDOLOG.84 for load success, fd:11\nDec 30 14:26:41.198080 INFO  &#91;GCWARE] close raft log \/opt\/gbase\/gcware\/data\/gcware\/REDOLOG.84, fd:11\nDec 30 14:26:41.198083 INFO  &#91;GCWARE] open raft log file \/opt\/gbase\/gcware\/data\/gcware\/REDOLOG.114 for load success, fd:11\nDec 30 14:26:41.198086 INFO  &#91;GCWARE] close raft log \/opt\/gbase\/gcware\/data\/gcware\/REDOLOG.114, fd:11\nDec 30 14:26:41.198089 INFO  &#91;GCWARE] open raft log file \/opt\/gbase\/gcware\/data\/gcware\/REDOLOG.888 for load success, fd:11\nDec 30 14:26:41.247864 INFO  &#91;GCWARE] close raft log \/opt\/gbase\/gcware\/data\/gcware\/REDOLOG.888, fd:11\nDec 30 14:26:41.247883 INFO  &#91;GCWARE] Showy: PN5GBCCS9TcpClientE::CreateEventWithNodeid start, ip gbase_rh7_001 port 5918 nodeid 1\nDec 30 14:26:41.247887 INFO  &#91;GCWARE] Showy: PN5GBCCS9TcpClientE::CreateEventWithNodeid ok, ip gbase_rh7_001 port 5918 nodeid 1\nDec 30 14:26:41.247890 INFO  &#91;GCWARE] node 1 switch to follower with term:86 leader:0\nDec 30 14:26:41.247893 NOTIC &#91;GCWARE] client server begin provide service\nDec 30 14:26:41.258494 NOTIC &#91;GCWARE] client server event loop start\nDec 30 14:26:41.258806 INFO  &#91;GCWARE] open raft log file \/opt\/gbase\/gcware\/data\/gcware\/REDOLOG.888 for append success, fd:22\nDec 30 14:26:41.259015 WARN  &#91;GCWARE] Imp: PN5GBCCS11TcpAcceptorE::run start accept...\nDec 30 14:26:41.259031 INFO  &#91;GCWARE] Showy: PN5GBCCS11TcpAcceptorE::run accepted!, fd 23 ip  port 0\nDec 30 14:26:41.259275 NOTIC &#91;GCWARE] client server acceptor begin\nDec 30 14:26:44.886762 INFO  &#91;GCWARE] node 1 switch to candidate\nDec 30 14:26:44.886921 INFO  &#91;GCWARE] vote req from 1, term:87, candidate:1, term:86,index:8849,mine term:86 index:8849, previous vote:0, current vote :1 grant:1\nDec 30 14:26:44.891330 INFO  &#91;GCWARE] finish save raft meta with term: 87, voteFor:0\nDec 30 14:26:44.896039 INFO  &#91;GCWARE] finish save raft meta with term: 87, voteFor:1\nDec 30 14:26:44.896394 INFO  &#91;GCWARE] dealVoteRpcRes node 1 grant me with term 87\nDec 30 14:26:44.896547 INFO  &#91;GCWARE] node 1 switch to leader with term:87\nDec 30 14:26:44.896555 NOTIC &#91;GCWARE] broadcast node state 1 1\nDec 30 14:26:44.896558 INFO  &#91;GCWARE] statemachine sync with leader change from 0 to 1\nDec 30 14:26:44.911619 INFO  &#91;GCWARE] CCS destroy session 859\nDec 30 14:26:44.911645 INFO  &#91;LCK   ] lck destroy session:859\nDec 30 14:26:44.911649 INFO  &#91;CRM   ] CrmDestroySession,SessionID is:859!\nDec 30 14:26:44.911652 ERROR &#91;GCWARE] server force to close session with session ID:845\nDec 30 14:26:44.911656 INFO  &#91;GCWARE] CCS destroy session 845\nDec 30 14:26:44.911659 INFO  &#91;LCK   ] lck destroy session:845\nDec 30 14:26:44.911662 INFO  &#91;CRM   ] CrmDestroySession,SessionID is:845!\nDec 30 14:26:44.911665 INFO  &#91;GCWARE] CCS destroy session 490\nDec 30 14:26:44.911668 INFO  &#91;LCK   ] lck destroy session:490\nDec 30 14:26:44.911671 NOTIC &#91;LCK   ] during session destroy commit take over delete regist info nodeid: 1 session:490\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%A6%82%E4%BD%95%E5%88%A4%E6%96%ADgcware%E6%9C%8D%E5%8A%A1%E6%98%AF%E5%90%A6%E5%B7%B2%E7%BB%8F%E5%8F%AF%E6%9C%8D%E5%8A%A1\"><\/span>\u5982\u4f55\u5224\u65adgcware\u670d\u52a1\u662f\u5426\u5df2\u7ecf\u53ef\u670d\u52a1<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u76ee\u524d\u6570\u636e\u5e93\u7248\u672c\u7684gcware\u670d\u52a1\u542f\u52a8\uff0c\u53ea\u662f\u62c9\u8d77\u4e86\u8fdb\u7a0b\uff0c\u5e76\u4e0d\u5224\u65ad\u8fdb\u7a0b\u662f\u5426\u53ef\u63d0\u4f9b\u670d\u52a1\u4e86\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;gbase@gbase_rh7_001 ~]$ gcluster_services all start\nStarting gcware :                                          &#91;  OK  ]\nStarting gcluster :                                        &#91;  OK  ]\nStarting gcrecover :                                       &#91;  OK  ]\nStarting gbase :                                           &#91;  OK  ]\nStarting syncserver :                                      &#91;  OK  ]\nStarting GCMonit success!\n&#91;gbase@gbase_rh7_001 ~]$ g<\/code><\/pre>\n\n\n\n<p>\u800cgcware\u670d\u52a1\u65f6\uff0c\u662f\u6709\u4e00\u4e9b\u6570\u636e\u8981\u5904\u7406\u7684\uff0c\u5305\u62ec\u4e0e\u5176\u5b83\u6b63\u5e38\u8282\u70b9\u7684\u540c\u6b65\uff0c\u5904\u7406event\u4fe1\u606f\u7b49\u3002\u5982\u679c\u5728\u6ca1\u6709\u5904\u7406\u5b8c\u6210\u524d\uff0c\u8bbf\u95ee\u5c06\u4e0d\u80fd\u63d0\u4f9b\u670d\u52a1\u3002<\/p>\n\n\n\n<p>\u5f53\u524d\u7248\u672c\uff0c\u5efa\u8bae\u7528\u5faa\u73af\u7684\u65b9\u5f0f\uff0c\u8fdb\u884c\u5224\u65ad\uff0c\u6bd4\u5982\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;gbase@gbase_rh7_001 ~]$ cat checkGcware.sh\nfor((i=1;i&lt;=10;i++));\ndo\n  gcadmin # &gt; \/dev\/null 2&gt;&amp;1\n  rtn=$?\n  echo $rtn\n  if &#91; $rtn -eq 0 ];\n  then\n    break\n  fi\n  sleep 10;\ndone\n<\/code><\/pre>\n\n\n\n<p>\u5f53\u67e5\u8be2\u5931\u8d25\u65f6\uff0c\u8fdb\u884c\u7b49\u5f8510\u79d2\uff0c\u7136\u540e\u518d\u6b21\u6267\u884c\u3002 \u6700\u591a\u6267\u884c10\u6b21\u3002 \u901a\u8fc7\u8c03\u6574\u53c2\u6570\u53ef\u4ee5\u505a\u5230gcware\u670d\u52a1\u6b63\u5e38\u4e86\u624d\u8fd4\u56de\u7684\u6548\u679c\u3002<\/p>\n\n\n\n<p>\u5176\u4e2d\u5f53\u670d\u52a1\u8fdb\u7a0b\u4e0d\u5b58\u5728\u65f6\u7684\u8fd4\u56de\u7801\u662f255<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;gbase@gbase_rh7_001 ~]$ sh checkGcware.sh\n&#91;gcadmin] Could not initialize CRM instance error: &#91;122]-&gt;&#91;can not connect to any server]\n255\n&#91;gcadmin] Could not initialize CRM instance error: &#91;122]-&gt;&#91;can not connect to any server]\n255\n^C\n<\/code><\/pre>\n\n\n\n<p>\u6240\u4ee5\u4e5f\u53ef\u4ee5\u5c06\u5224\u65ad\u6539\u6210<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\n#\u5faa\u73af\u6b21\u6570\uff0c\u548c\u540e\u9762\u7684\u7b49\u5f85\u79d2\u6570\u51b3\u5b9a\u4e86\u6700\u957f\u7b49\u5f85\u65f6\u95f4\r\nfor((i=1;i&lt;=10;i++));\r\ndo\r\n  # timeout\u907f\u514dV952\u7684\u8d85\u957f\u65f6\u95f4\u4e0d\u8fd4\u56de\r\n  timeout 30 gcadmin # > \/dev\/null 2>&amp;1\r\n  rtn=$?\r\n  echo $rtn\r\n  # \u5224\u65ad\u8fd4\u56de\u503c\u4e0d\u7b49\u4e8e0\r\n  # if &#91; $rtn -eq 0 ];\r\n\r\n  # \u5224\u65ad\u8fd4\u56de\u4e0d\u662f255\uff0c can not connect to any server\r\n  if &#91; $rtn -ne 255 ];\r\n  then\r\n    break\r\n  fi\r\n\r\n  #\u7b49\u5f85\u79d2\u6570\r\n  sleep 10;\r\ndone\r\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%81%9C%E6%AD%A2\"><\/span>\u505c\u6b62<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%BC%80%E5%A7%8B%E5%81%9C%E6%AD%A2%E6%A0%87%E8%AE%B0\"><\/span>\u5f00\u59cb\u505c\u6b62\u6807\u8bb0<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>Cluster Consist Service Engine begin stop with terminate command\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%81%9C%E6%AD%A2%E5%AE%8C%E6%88%90%E6%A0%87%E8%AE%B0\"><\/span>\u505c\u6b62\u5b8c\u6210\u6807\u8bb0<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>Cluster Consist Service Engine exiting with status 0 at main.c:2381.\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%AE%8C%E6%95%B4%E5%81%9C%E6%AD%A2%E6%97%A5%E5%BF%97\"><\/span>\u5b8c\u6574\u505c\u6b62\u65e5\u5fd7<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u6ce8\u610f\uff0c\u672c\u6587\u662f\u5728\u6ca1\u6709\u4efb\u4f55\u8fde\u63a5\u65f6\u7684\u65e5\u5fd7\uff0c\u6240\u4ee5\u8fd9\u90e8\u5206\u65e5\u5fd7\u5f88\u5e72\u51c0\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Dec 30 14:19:30.994880 NOTIC &#91;MAIN  ] Cluster Consist Service Engine begin stop with terminate command\nDec 30 14:19:31.137853 WARN  &#91;GCWARE] Imp: PN5GBCCS7UDPRecvE::run UDPRecv &#91;END]\nDec 30 14:19:31.400630 WARN  &#91;GCWARE] Imp: PN5GBCCS7UDPSendE::run UDPSend &#91;END]\nDec 30 14:19:31.638575 WARN  &#91;GCWARE] Imp: PN5GBCCS11TcpAcceptorE::run TCP.Acceptor &#91;END]\nDec 30 14:19:32.532543 WARN  &#91;GCWARE] Imp: PN5GBCCS9EventLoopE::StartLoop TCP.EventLoop &#91;END]\nDec 30 14:19:32.533104 WARN  &#91;GCWARE] Imp: PN5GBCCS11TcpIOThreadE::Stop TcpIOThread &#91;END]\nDec 30 14:19:32.537528 WARN  &#91;GCWARE] Imp: PN5GBCCS6IOLoopE::run CCS thread &#91;End]\nDec 30 14:19:33.487502 INFO  &#91;GCWARE] raft log checksum thread stop\nDec 30 14:19:33.487574 INFO  &#91;GCWARE] raft log thread stop\nDec 30 14:19:34.401835 CRIT  &#91;GCWARE] async worker begin stop\nDec 30 14:19:34.401920 CRIT  &#91;GCWARE] async worker stop\nDec 30 14:19:34.767074 INFO  &#91;GCWARE] client server acceptor end\nDec 30 14:19:35.203327 INFO  &#91;GCWARE] client server event loop end\nDec 30 14:19:35.204539 NOTIC &#91;LCK   ] &#91;DEBUG]: lck_exec_exit_fn\nDec 30 14:19:35.204590 NOTIC &#91;CRM   ] &#91;DEBUG]: crm_exec_exit_fn &#91;ENTER]\nDec 30 14:19:35.204605 INFO  &#91;CRM   ] crm switch snapshot begin!\nDec 30 14:19:35.204994 NOTIC &#91;LCK   ] &#91;INFO]: lck_sync_data_abort\nDec 30 14:19:35.205035 NOTIC &#91;LCK   ] &#91;INFO]: lck_sync_data_abort end\nDec 30 14:19:35.205053 INFO  &#91;CRM   ] crm switch snapshot end!\nDec 30 14:19:35.205066 NOTIC &#91;CRM   ] &#91;DEBUG]: crm_exec_exit_fn &#91;LEAVE]\nDec 30 14:19:35.205078 NOTIC &#91;MAIN  ] Cluster Consist Service Engine exiting with status 0 at main.c:2381.\n<\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u4ecb\u7ecdGBase 8a V9.5\u7248\u672c\u7684gcware\u670d\u52a1\u542f\u52a8\u548c\u505c\u6b62\u7684\u65e5\u5fd7\uff0c\u5176\u4e2d\u6709\u4e9b\u6807\u5fd7\u8868\u793a\u670d\u52a1\u53ef\u7528\u6216\u5df2\u7ecf\u505c\u6b62\u3002\u672c\u6587\u4e5f\u63d0\u4f9b\u4e86\u4e00\u79cd\u624b\u6bb5\uff0c\u5faa\u73af\u68c0\u6d4bgcadmin\u547d\u4ee4\uff0c\u76f4\u5230\u6709\u8282\u70b9\u53ef\u4ee5\u5bf9\u5916\u63d0\u4f9b\u670d\u52a1\u4e86\u624d\u8fd4\u56de\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":[99,60],"class_list":["post-2645","post","type-post","status-publish","format-standard","hentry","category-gbase8a","tag-gcware","tag-v95"],"_links":{"self":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/2645","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=2645"}],"version-history":[{"count":6,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/2645\/revisions"}],"predecessor-version":[{"id":2652,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/2645\/revisions\/2652"}],"wp:attachment":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/media?parent=2645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/categories?post=2645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/tags?post=2645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}