{"id":13294,"date":"2026-02-27T10:09:57","date_gmt":"2026-02-27T02:09:57","guid":{"rendered":"https:\/\/www.gbase8.cn\/?p=13294"},"modified":"2026-02-28T16:03:27","modified_gmt":"2026-02-28T08:03:27","slug":"gdom%e6%96%b0%e5%a2%9epostgresql%e4%bd%9c%e4%b8%ba%e8%b5%84%e6%ba%90%e5%ba%93%e7%9a%84%e5%ae%89%e8%a3%85%e6%96%b9%e6%a1%88","status":"publish","type":"post","link":"https:\/\/www.gbase8.cn\/en\/13294","title":{"rendered":"GDOM New Installation Scheme with PostgreSQL as Repository"},"content":{"rendered":"<p>GDOM\uff08GBase Database Operation Manager\uff09\u662f\u5357\u5927\u901a\u7528GBase 8a MPP\u6570\u636e\u5e93\u8fd0\u7ef4\u7ba1\u7406\u7cfb\u7edf\u3002\u4eceGDOM3.7.0\u7248\u672c\u5f00\u59cb\uff0c\u5728\u539f\u6709\u652f\u6301mysql 8\u4f5c\u4e3a\u8d44\u6e90\u5e93\u7684\u57fa\u7840\u4e0a\uff0c\u65b0\u589e\u652f\u6301postgresql\u3002\u672c\u6587\u4ecb\u7ecdGDOM\u81ea\u52a8\u90e8\u7f72postgresql\u4f5c\u4e3a\u8d44\u6e90\u5e93\u7684\u5b89\u88c5\u65b9\u6848\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-6a2a9d714b768\" 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-6a2a9d714b768\"  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\/13294\/#%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6\" >\u914d\u7f6e\u6587\u4ef6<\/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\/13294\/#%E5%AE%89%E8%A3%85%E8%BF%87%E7%A8%8B\" >\u5b89\u88c5\u8fc7\u7a0b<\/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\/13294\/#%E5%88%9B%E5%BB%BA%E4%BA%92%E4%BF%A1\" >\u521b\u5efa\u4e92\u4fe1<\/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\/13294\/#%E5%AE%89%E8%A3%85%E6%9C%8D%E5%8A%A1\" >\u5b89\u88c5\u670d\u52a1<\/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\/13294\/#%E5%90%AF%E5%8A%A8%E6%9C%8D%E5%8A%A1\" >\u542f\u52a8\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\/13294\/#%E5%AE%A2%E6%88%B7%E7%AB%AF%E8%AE%BF%E9%97%AEpostgresql%E6%95%B0%E6%8D%AE%E5%BA%93\" >\u5ba2\u6237\u7aef\u8bbf\u95eepostgresql\u6570\u636e\u5e93<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.gbase8.cn\/en\/13294\/#%E6%80%BB%E7%BB%93\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6\"><\/span>\u914d\u7f6e\u6587\u4ef6<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>GDOM\u5b89\u88c5\u5305\u89e3\u538b\u7f29\u540e\u76ee\u5f55\u4e0b\u7684demp.options\u91cc\uff0c\u9ed8\u8ba4\u662fmysql\u4f5c\u4e3a\u8d44\u6e90\u5e93\u7684\u914d\u7f6e\u3002\u5982\u4e0b\u90e8\u5206\u662f\u6539\u4e3apostgresql\u7684\u914d\u7f6e\u9879\u3002gdom\u5b89\u88c5\u7a0b\u5e8f\u4f1a\u81ea\u52a8\u5b89\u88c5postgresql,\u521b\u5efa\u7528\u6237\uff0c\u5e76\u521d\u59cb\u5316\u3002<\/p>\n\n\n\n<p><span class=\"has-inline-color has-luminous-vivid-orange-color\"><strong>\u63d0\u9192\uff1a\u5b89\u88c5\u6210\u529f\u540e\uff0cdemo.options\u91cc\u7684\u5bc6\u7801\u5c31\u65e0\u7528\u4e86\uff0c\u51fa\u4e8e\u5b89\u5168\u8003\u8651\uff0c\u8bf7\u6e05\u7406\u6389\uff0c\u907f\u514d\u88ab\u626b\u63cf\u7a0b\u5e8f\u68c0\u6d4b\u5230\u3002<\/strong><\/span>\u5b89\u88c5\u540e\u7684\u7a0b\u5e8f\u7528\u5230\u7684\u914d\u7f6e\u6587\u4ef6\u91cc\u7684\u5bc6\u7801\u5df2\u7ecf\u52a0\u5bc6\u5904\u7406\u4e86\u3002<\/p>\n\n\n\n<p>\u7531\u4e8e\u5b89\u88c5\u53ef\u80fd\u591a\u6b21\uff0c\u6bd4\u5982\u7b2c\u4e00\u6b21\u5b89\u88c5\u9009\u62e9\u9519\u4e86\uff0c\u6216\u8005\u8981\u5b89\u88c5\u591a\u5957\uff0c\u53ef\u4ee5\u66f4\u6539\u914d\u7f6e\u540e\u518d\u6b21\u5b89\u88c5\uff0c\u6240\u4ee5\u6682\u65f6\u4e0d\u80fd\u81ea\u52a8\u5c06\u5bc6\u7801\u5220\u9664\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>gdomDb=10.0.2.151\ngdomDbPort=5432\ngdomDbUser=gdom\ngdomDbPwd=111111\ngdomDbDriver=org.postgresql.Driver\ngdomDbUrl=<\/code><\/pre>\n\n\n\n<p>pg\u7684\u5b89\u88c5\u76ee\u5f55\u5728GDOM\u5b89\u88c5\u76ee\u5f55\/install\/postgresql\/postgresql-17.6-redhat8-x86_64\/\uff0c\u8def\u5f84\u6839\u636e\u7248\u672c\u4e0d\u540c\u6709\u5dee\u5f02\u3002<\/p>\n\n\n\n<p>\u5b8c\u6574\u7684\u4ee510.0.2.151\u5355\u8282\u70b9\u6765\u5b89\u88c5GDOM\u7684demo.options\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code># \u5b89\u88c5\u76ee\u5f55\uff0c\u5728\u521b\u5efa\u4e92\u4fe1\u65f6\u4f1a\u5c1d\u8bd5\u521b\u5efa\u5e76\u66f4\u6539\u5c5e\u4e3b\ngdomRoot=\/opt\/gdom\n\n# \u5bf9\u5916\u670d\u52a1IP\ngdomService=10.0.2.151\n\n# \u5bf9\u5916\u670d\u52a1\u7684\u7aef\u53e3\uff0c\u540e\u53f0\u7531nginx\u63d0\u4f9b\ngdomServicePort=8080\n\n# \u5b89\u88c5\u5230\u8fd9\u4e2a\u64cd\u4f5c\u7cfb\u7edf\u7528\u6237\u4e0b\uff0c\u521b\u5efa\u4e92\u4fe1\u65f6\u4f1a\u5c1d\u8bd5\u521b\u5efa\u8be5\u7528\u6237\u3002\nuser=gdom\n\n# \u8d44\u6e90\u5e93IP, \u672c\u4f8b\u4e3a\u672c\u673a\u3002 \u5982\u679c\u91c7\u7528\u5916\u90e8\u6570\u636e\u6e90\uff0c\u5219\u7559\u7a7a\u5373\u53ef\u3002\u672c\u4f8b\u4e2d\u7684gdom\u7248\u672c\u5c1a\u4e0d\u652f\u6301pg\u4e3b\u5907\u3002\u53ea\u80fd\u51991\u4e2aIP\u3002\ngdomDb=10.0.2.151\ngdomDbPort=5432\ngdomDbUser=gdom\ngdomDbPwd=111111\n\n# \u6b64\u5904\u7528\u7684pg\u9a71\u52a8\uff0c\u8868\u793a\u81ea\u52a8\u90e8\u7f72postgersql\u6570\u636e\u5e93\u4f5c\u4e3a\u8d44\u6e90\u5e93\ngdomDbDriver=org.postgresql.Driver\n\n# \u548cgdomDb \u4e8c\u9009\u4e00\uff0c\u5982\u914d\u7f6e\u4e86\u6b64\u53c2\u6570\u5219\u81ea\u52a8\u5ffd\u7565\u6389gdomDb\u7684\u914d\u7f6e\uff0c\u5e76\u4f7f\u7528\u6b64\u53c2\u6570\u4f5c\u4e3a\u8d44\u6e90\u5e93\u7684\u6570\u636e\u6e90\u3002\ngdomDbUrl=\n\n# postgresql \u3002\u672c\u4f8b\u4e2d\u7684gdom\u7248\u672c\u5c1a\u4e0d\u652f\u6301pg\u4e3b\u5907\u9ad8\u53ef\u7528\uff0c\u7559\u7a7a\u3002\ngdomDbHa=\ngdomDbHaPort=3307\ngdomDbHaMonitorPort=8811\ngdomDbHaMonitorAdmin=admin\ngdomDbHaMonitorPwd=admin\n\ngdomGBaseDb=10.0.2.151\ngdomGBaseDbPort=5268\ngdomGBaseDbUser=gbase\ngdomGBaseDbPwd=gbase\ngdomGBaseDbUrl=\n\ngdomNginx=10.0.2.151\ngdomNginxPort=8810\ngdomNginxUrl=\n\ngdomRedis=10.0.2.151\ngdomRedisPort=7481\ngdomRedisDb=0\ngdomRedisUrl=\n\ngdomMq=10.0.2.151\ngdomMqPort=9876\ngdomDashBoardPort=9898\ngdomMqUrl=<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%AE%89%E8%A3%85%E8%BF%87%E7%A8%8B\"><\/span>\u5b89\u88c5\u8fc7\u7a0b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u5b89\u88c5\u8981\u5728\u64cd\u4f5c\u7cfb\u7edfroot\u4e0b\u8fd0\u884c\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%88%9B%E5%BB%BA%E4%BA%92%E4%BF%A1\"><\/span>\u521b\u5efa\u4e92\u4fe1<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u9700\u8981\u8f93\u5165\u64cd\u4f5c\u7cfb\u7edfroot\u5bc6\u7801\u548cgdom\u5bc6\u7801\u3002\u4f1a\u5c1d\u8bd5\u521b\u5efagdom\u7528\u6237\u3002\u5982\u679c\u5b89\u88c5\u76ee\u5f55\u4e0d\u5b58\u5728\uff0c\u4f1a\u81ea\u52a8\u521b\u5efa\uff0c\u5e76\u5c06\u5c5e\u4e3b\u6539\u6210\u5b89\u88c5\u7528\u6237gdom<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&#91;root@vm151 GDOM-v3.7.0-build3-redhat8-x86_64]# .\/gdomMutualTrust.sh -a\n\n                ____ ____   ___  __  __   _____ _____\n               \/ ___|  _ \\ \/ _ \\|  \\\/  | |___ \/|___  |\n              | |  _| | | | | | | |\\\/| |   |_ \\   \/ \/\n              | |_| | |_| | |_| | |  | |  ___) | \/ \/\n               \\____|____\/ \\___\/|_|  |_| |____(_)_\/\n\n                \u7248\u672c: GDOM-v3.7.0-build3\n\n########################################################################\n                        \u521b\u5efagdom\u7528\u6237\n########################################################################\n\n\u8bf7\u8f93\u5165gdom\u7528\u6237\u5bc6\u7801:\n\u8bf7\u8f93\u5165root\u7528\u6237\u5bc6\u7801:\n10.0.2.151 root \u7528\u6237\u5bc6\u7801\u9a8c\u8bc1\u901a\u8fc7\n\n10.0.2.151 gdom \u7528\u6237\u521b\u5efa\u66f4\u65b0\u5b8c\u6210\n########################################################################\n                          \u4e92\u4fe1\u4fe1\u606f\u751f\u6210\n########################################################################\n\n10.0.2.151 gdom \u7528\u6237\u4e92\u4fe1\u6210\u529f\n########################################################################\n                          \u4e92\u4fe1\u4fe1\u606f\u9a8c\u8bc1\n########################################################################\n\n10.0.2.151 gdom \u7528\u6237\u4e92\u4fe1\u9a8c\u8bc1\u901a\u8fc7\n\ngdom\u7528\u6237\u4e92\u4fe1\u5b8c\u6210\n&#91;root@vm151 GDOM-v3.7.0-build3-redhat8-x86_64]# ll \/home\ntotal 4\ndrwx------ 21 gbase gbase 4096 Feb 26 09:45 gbase\ndrwx------  6 gdom  gdom   133 Feb 26 09:56 gdom\n&#91;root@vm151 GDOM-v3.7.0-build3-redhat8-x86_64]#<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%AE%89%E8%A3%85%E6%9C%8D%E5%8A%A1\"><\/span>\u5b89\u88c5\u670d\u52a1<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u4eceroot\u7528\u6237\uff0c\u5207\u6362\u5230\u76ee\u6807\u7528\u6237gdom\u4e0b\u6267\u884c<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&#91;root@vm151 GDOM-v3.7.0-build3-redhat8-x86_64]# su gdom\n&#91;gdom@vm151 GDOM-v3.7.0-build3-redhat8-x86_64]$ .\/gdomInstall.sh  -a\n\n                ____ ____   ___  __  __   _____ _____\n               \/ ___|  _ \\ \/ _ \\|  \\\/  | |___ \/|___  |\n              | |  _| | | | | | | |\\\/| |   |_ \\   \/ \/\n              | |_| | |_| | |_| | |  | |  ___) | \/ \/\n               \\____|____\/ \\___\/|_|  |_| |____(_)_\/\n\n                \u7248\u672c: GDOM-v3.7.0-build3\n\n\n########################################################################\n                        GDOM \u5b89\u88c5\u90e8\u7f72\n########################################################################\n\n10.0.2.151 \u8fde\u63a5\u6d4b\u8bd5\u6210\u529f\n\n10.0.2.151 \/opt\/gdom \u521d\u59cb\u5316\u6210\u529f\n\n########################################################################\n                          \u73af\u5883\u68c0\u67e5\n########################################################################\n\n10.0.2.151 \u68c0\u67e5\u5b8c\u6bd5\n########################################################################\n                          \u65f6\u95f4\u68c0\u67e5\n########################################################################\n\n10.0.2.151 2026-02-26 10:39:51 \u901a\u8fc7\n\n########################################################################\n                          \u7aef\u53e3\u68c0\u67e5\n########################################################################\n\n------------------------GDOM-Service------------------------------------\n10.0.2.151 GDOM Service 8080 \u53ef\u7528\n--------------------------GDOM-DB---------------------------------------\n10.0.2.151 GDOM DB 5432 \u53ef\u7528\n--------------------------HaProxy---------------------------------------\n\u8df3\u8fc7\uff0c\u4e0d\u4f7f\u7528HaProxy\n--------------------------GBase-----------------------------------------\n10.0.2.151 GBase 5268 \u53ef\u7528\n--------------------------Nginx-----------------------------------------\n10.0.2.151 Nginx 8810 \u53ef\u7528\n--------------------------Redis-----------------------------------------\n10.0.2.151 Redis 7481 \u53ef\u7528\n------------------------RocketMQ----------------------------------------\n10.0.2.151 Redis 9876 \u53ef\u7528\n\n########################################################################\n                        GDOM \u7ec4\u4ef6\u5206\u53d1\n########################################################################\n\n------------------------GDOM-Service------------------------------------\n========================10.0.2.151======================================\ngdom-service-3.7.0.tar.gz                                                                                                          100%  219MB 140.0MB\/s   00:01\njdk-17.0.16_linux-x86_64.tar.gz                                                                                                    100%  135MB  71.4MB\/s   00:01\ngdom_init.sql                                                                                                                      100%   80KB   3.4MB\/s   00:00\ngdom_init_8c.sql                                                                                                                   100%   94KB  29.0MB\/s   00:00\ngdom_init_analysis.sql                                                                                                             100%   30KB  25.9MB\/s   00:00\ngdom_init_proc.sql                                                                                                                 100%  862KB 157.6MB\/s   00:00\nquartz_init.sql                                                                                                                    100%   12KB   8.4MB\/s   00:00\ngdom_init_8c_data.sql                                                                                                              100%  586KB  99.6MB\/s   00:00\ngdom_init_data.sql                                                                                                                 100%  605KB 139.1MB\/s   00:00\ngdom_init_pg.sql                                                                                                                   100%  120KB  62.2MB\/s   00:00\ngdom_init_pg_data.sql                                                                                                              100%  604KB 104.6MB\/s   00:00\ngdom_init_analysis_GDOM_UPGRADE.sql                                                                                                100%   30KB  28.9MB\/s   00:00\ngdom_init_data_GDOM_UPGRADE.sql                                                                                                    100%  635KB 141.4MB\/s   00:00\ngdom_init_pg_data_GDOM_UPGRADE.sql                                                                                                 100%  634KB 101.2MB\/s   00:00\ngdom_init_pg_GDOM_UPGRADE.sql                                                                                                      100%  132KB  34.8MB\/s   00:00\ngdom_init_GDOM_UPGRADE.sql                                                                                                         100%   81KB  50.7MB\/s   00:00\napplication.properties                                                                                                             100% 3741   312.1KB\/s   00:00\ngbase-agent.tar.gz                                                                                                                 100%  147MB  41.1MB\/s   00:03\njdk-17.0.16_linux-aarch64.tar.gz                                                                                                   100%  133MB  24.8MB\/s   00:05\nVERSION                                                                                                                            100%   80    43.1KB\/s   00:00\njdk-17.0.16_linux-x86_64.tar.gz                                                                                                    100%  135MB  77.3MB\/s   00:01\nhelp.pdf                                                                                                                           100% 7980KB 149.0MB\/s   00:00\nGDOM-TRAP-MIB.mib                                                                                                                  100% 3907   326.0KB\/s   00:00\n--------------------------GDOM-DB---------------------------------------\n========================10.0.2.151======================================\npostgresql-17.6-redhat8-x86_64.tar.gz                                                                                              100%   37MB  59.8MB\/s   00:00\ngdom_init.sql                                                                                                                      100%   80KB 617.5KB\/s   00:00\ngdom_init_8c.sql                                                                                                                   100%   94KB  21.1MB\/s   00:00\ngdom_init_analysis.sql                                                                                                             100%   30KB  10.6MB\/s   00:00\ngdom_init_proc.sql                                                                                                                 100%  862KB 110.8MB\/s   00:00\nquartz_init.sql                                                                                                                    100%   12KB   7.2MB\/s   00:00\ngdom_init_8c_data.sql                                                                                                              100%  586KB  91.3MB\/s   00:00\ngdom_init_data.sql                                                                                                                 100%  605KB 114.8MB\/s   00:00\ngdom_init_pg.sql                                                                                                                   100%  120KB  78.6MB\/s   00:00\ngdom_init_pg_data.sql                                                                                                              100%  604KB 145.9MB\/s   00:00\ngdom_init_analysis_GDOM_UPGRADE.sql                                                                                                100%   30KB  15.7MB\/s   00:00\ngdom_init_data_GDOM_UPGRADE.sql                                                                                                    100%  635KB   8.7MB\/s   00:00\ngdom_init_pg_data_GDOM_UPGRADE.sql                                                                                                 100%  634KB   4.4MB\/s   00:00\ngdom_init_pg_GDOM_UPGRADE.sql                                                                                                      100%  132KB   1.7MB\/s   00:00\ngdom_init_GDOM_UPGRADE.sql                                                                                                         100%   81KB  39.0MB\/s   00:00\n--------------------------HaProxy---------------------------------------\n\u8df3\u8fc7\uff0c\u4e0d\u4f7f\u7528HaProxy\n--------------------------GBase-----------------------------------------\n========================10.0.2.151======================================\nGBase8a-NoLicense-9.5.3.28.11-redhat8-x86_64.tar.gz                                                                                100%   72MB 186.3MB\/s   00:00\ngdom_init.sql                                                                                                                      100%   80KB  51.6MB\/s   00:00\ngdom_init_8c.sql                                                                                                                   100%   94KB  60.9MB\/s   00:00\ngdom_init_analysis.sql                                                                                                             100%   30KB  36.5MB\/s   00:00\ngdom_init_proc.sql                                                                                                                 100%  862KB  43.0MB\/s   00:00\nquartz_init.sql                                                                                                                    100%   12KB  10.0MB\/s   00:00\ngdom_init_8c_data.sql                                                                                                              100%  586KB 118.9MB\/s   00:00\ngdom_init_data.sql                                                                                                                 100%  605KB 130.1MB\/s   00:00\ngdom_init_pg.sql                                                                                                                   100%  120KB 112.6MB\/s   00:00\ngdom_init_pg_data.sql                                                                                                              100%  604KB 168.7MB\/s   00:00\ngdom_init_analysis_GDOM_UPGRADE.sql                                                                                                100%   30KB  33.2MB\/s   00:00\ngdom_init_data_GDOM_UPGRADE.sql                                                                                                    100%  635KB 176.2MB\/s   00:00\ngdom_init_pg_data_GDOM_UPGRADE.sql                                                                                                 100%  634KB 201.4MB\/s   00:00\ngdom_init_pg_GDOM_UPGRADE.sql                                                                                                      100%  132KB 107.9MB\/s   00:00\ngdom_init_GDOM_UPGRADE.sql                                                                                                         100%   81KB  86.5MB\/s   00:00\n--------------------------Nginx-----------------------------------------\n========================10.0.2.151======================================\nnginx-1.27.0-x86_64.tar.gz                                                                                                         100% 2356KB 115.8MB\/s   00:00\ndist.tar.gz                                                                                                                        100% 1708KB  99.6MB\/s   00:00\n--------------------------Redis-----------------------------------------\n========================10.0.2.151======================================\nredis-6.2.19-x86_64.tar.gz                                                                                                         100% 2745KB 114.3MB\/s   00:00\n------------------------RocketMQ----------------------------------------\n========================10.0.2.151======================================\nrocketmq-all-5.3.2-bin-release.tar.gz                                                                                              100%  168MB  55.7MB\/s   00:03\njdk-17.0.16_linux-x86_64.tar.gz                                                                                                    100%  135MB 180.8MB\/s   00:00\n\n########################################################################\n                        GDOM \u7ec4\u4ef6\u89e3\u538b\n########################################################################\n\n------------------------GDOM-Service------------------------------------\n10.0.2.151 GDOM Service \u89e3\u538b\u6210\u529f\n10.0.2.151 JDK \u89e3\u538b\u6210\u529f\n10.0.2.151 GDOM Agent aarch64 \u91cd\u5efa\u6210\u529f\n10.0.2.151 GDOM Agent x86_64 \u91cd\u5efa\u6210\u529f\n--------------------------GDOM-DB---------------------------------------\n10.0.2.151 PostgreSQL \u89e3\u538b\u6210\u529f\n--------------------------HaProxy---------------------------------------\n\u8df3\u8fc7\uff0c\u4e0d\u4f7f\u7528HaProxy\n--------------------------GBase-----------------------------------------\n10.0.2.151 GBase8a \u89e3\u538b\u6210\u529f\n--------------------------Nginx-----------------------------------------\n10.0.2.151 Nginx \u89e3\u538b\u6210\u529f\n10.0.2.151 GDOM UI \u89e3\u538b\u6210\u529f\n--------------------------Redis-----------------------------------------\n10.0.2.151 Redis \u89e3\u538b\u6210\u529f\n------------------------RocketMQ----------------------------------------\n10.0.2.151 RocketMQ \u89e3\u538b\u6210\u529f\n10.0.2.151 RocketMQ JDK \u89e3\u538b\u6210\u529f\n\n########################################################################\n                        GDOM \u7ec4\u4ef6\u914d\u7f6e\n########################################################################\n\n--------------------------GDOM-DB---------------------------------------\n========================10.0.2.151======================================\nPostgreSQL \u8bbe\u7f6e\u6210\u529f\n--------------------------HaProxy---------------------------------------\n\u8df3\u8fc7\uff0c\u672a\u4f7f\u7528\u9ad8\u53ef\u7528\u7b56\u7565\n--------------------------GBase-----------------------------------------\n========================10.0.2.151======================================\nGBase8a \u8bbe\u7f6e\u6210\u529f\n--------------------------Redis-----------------------------------------\n========================10.0.2.151======================================\nredis.conf set bind=0.0.0.0\nredis.conf set port=7481\nredis.conf set pidfile=\/opt\/gdom\/install\/redis\/redis-6.2.19-x86_64\/redis.pid\nredis.conf set logfile=\/opt\/gdom\/install\/redis\/redis-6.2.19-x86_64\/redis.log\nredis.conf set dir=\/opt\/gdom\/install\/redis\/redis-6.2.19-x86_64\nredis.conf set requirepass=gdom2023\nRedis \u8bbe\u7f6e\u6210\u529f\n------------------------RocketMQ----------------------------------------\n========================10.0.2.151======================================\nnamesrv.conf set listenPort=9876\nnamesrv.conf set bindAdress=10.0.2.151\nbroker.conf set brokerRole=SYNC_MASTER\nbroker.conf set brokerClusterName=GDOMCluster\nbroker.conf set namesrvAddr=10.0.2.151:9876\nbroker.conf set brokerName=broker-1\nbroker.conf set brokerId=1\nbroker.conf set brokerIP1=10.0.2.151\nbroker.conf set flushDiskType=SYNC_FLUSH\nbroker.conf set storePathRootDir=\/opt\/gdom\/install\/rocketmq\/rocketmq-all-5.3.2-bin-release\/store\/broker-1\nbroker.conf set storePathCommitLog=\/opt\/gdom\/install\/rocketmq\/rocketmq-all-5.3.2-bin-release\/store\/broker-1\/commitlog\ndashboard.prop set server.port=9898\ndashboard.prop set rocketmq.config.namesrvAddr=10.0.2.151:9876\nRocketMQ \u8bbe\u7f6e\u6210\u529f\n--------------------------Nginx-----------------------------------------\n========================10.0.2.151======================================\nnginx.conf set gdom-user=gdom\nnginx.conf set gdom-client=\/opt\/gdom\/install\/dist\nnginx.conf set nginx-port=8810\nnginx.conf set gdom-services=server 10.0.2.151:8080;\nnginx.conf set gdom-user=gdom\nnginx.conf set gdom-client=\/opt\/gdom\/install\/dist\nnginx.conf set nginx-port=8810 ssl\nnginx.conf set gdom-services=server 10.0.2.151:8080;\nNginx \u8bbe\u7f6e\u6210\u529f\n------------------------GDOM-Service------------------------------------\n========================10.0.2.151======================================\nAPP set server.port=8080\nAPP set gdom-service.profile=\/opt\/gdom\nAPP set gdom-service.version=v3.7.0-build3\nAPP set gdom-service.serverId=1\nAPP set gdom-service.serverIp=10.0.2.151\nAPP set logging.config=\/opt\/gdom\/install\/gdom-service\/config\/log4j2-spring.xml\nLOG set gdomLogs=\/opt\/gdom\/install\/gdom-service\/logs\nAPP set analysis.enable=true\nAPP set analysis.range=10\nAPP set gdom.datasource.druid.master.driver=org.postgresql.Driver\nAPP set gdom.datasource.druid.master.dbType=PostgreSQL\nAPP set gdom.datasource.druid.master.url=jdbc:postgresql:\/\/10.0.2.151:5432\/gdom?useUnicode=true&amp;characterEncoding=utf8\nAPP set gdom.datasource.druid.master.username=gdom\nAPP set gdom.datasource.druid.master.password=dVFIIHIxM5KGmDHjW4VKgQ==\nAPP set gdom.datasource.druid.analysis.url=jdbc:gbase:\/\/10.0.2.151:5268\/gdom_real?useOldAliasMetadataBehavior=true&amp;characterEncoding=UTF-8&amp;useUnicode=true&amp;characterSetResults=UTF-8&amp;gclusterId=gdom1&amp;failoverEnable=true&amp;hostList=10.0.2.151\nAPP set gdom.datasource.druid.analysis.username=gbase\nAPP set gdom.datasource.druid.analysis.password=CRMSD4emUVT5HCD5H8Eotg==\nAPP set gdom.datasource.druid.analysis-history.url=jdbc:gbase:\/\/10.0.2.151:5268\/gdom_history?useOldAliasMetadataBehavior=true&amp;characterEncoding=UTF-8&amp;useUnicode=true&amp;characterSetResults=UTF-8&amp;gclusterId=gdom1&amp;failoverEnable=true&amp;hostList=10.0.2.151\nAPP set gdom.datasource.druid.analysis-history.username=gbase\nAPP set gdom.datasource.druid.analysis-history.password=CRMSD4emUVT5HCD5H8Eotg==\nAPP set spring.data.redis.host=10.0.2.151\nAPP set spring.data.redis.port=7481\nAPP set spring.data.redis.database=0\nAPP set spring.data.redis.password=lMKTy8cmcLqD5BJ9snl3qw==\nAPP set rocketmq.name-server=10.0.2.151:9876\nGDOM Service \u8bbe\u7f6e\u6210\u529f\n\n########################################################################\n                        Redis\u96c6\u7fa4\u521d\u59cb\u5316\n########################################################################\n\n\u8df3\u8fc7\uff0cRedis\u8282\u70b9\u6570\u91cf\u4e0d\u8db399\u4e2a,\u8df3\u8fc7\u521d\u59cb\u5316\n########################################################################\n                          \u8d44\u6e90\u5e93\u521d\u59cb\u5316\n########################################################################\n\n========================10.0.2.151======================================\n\u6570\u636e\u76ee\u5f55\u521d\u59cb\u5316\u6210\u529f\n\u914d\u7f6e\u521d\u59cb\u5316\u6210\u529f\n\n\u542f\u52a8PostgreSQL...\nPostgreSQL\u670d\u52a1\u542f\u52a8\u6210\u529f\ngdom \u7528\u6237\u521b\u5efa\u5b8c\u6210\ngdom \u7528\u6237\u6388\u6743\u5b8c\u6210\n\u505c\u6b62PostgreSQL...\nPostgreSQL\u670d\u52a1\u505c\u6b62\u6210\u529f\n\nPostgreSQL \u521d\u59cb\u5316\u6210\u529f\n10.0.2.151 PostgreSQL \u521d\u59cb\u5316\u6210\u529f\n########################################################################\n                          \u5206\u6790\u5e93\u521d\u59cb\u5316\n########################################################################\n\n========================10.0.2.151======================================\n\u6e05\u7406\u5b89\u88c5\u76ee\u5f55\n\/opt\/gdom\/install\/gbase\/GBase\u4e0d\u5b58\u5728,\u8df3\u8fc7\u5378\u8f7d\u6b65\u9aa4\n\u5b89\u88c5\u76ee\u5f55\u6e05\u7406\u5b8c\u6210\n\u521d\u59cb\u5316\u5f00\u59cb\ngbase_8a_gbase8a.cnf set port=5268\ngbase_8a_gbase8a.cnf set socket=\/opt\/gdom\/install\/gbase\/GBase\/server\/bin\/gbase_8a_5268.sock\ngbase_8a_gbase8a.cnf set bind_address=0.0.0.0\n\u521d\u59cb\u5316\u5b8c\u6210\nGBase8a\u542f\u52a8...\nGBase8a\u542f\u52a8\u6210\u529f\nTable   Op      Msg_type        Msg_text\ngbase.user      repair  status  OK\ngbase \u8fdc\u7a0b\u8bbf\u95ee\u3001\u7528\u6237\u5bc6\u7801\u8bbe\u7f6e \u6210\u529f\nGBase8a \u8bbe\u7f6e\u6210\u529f\n########################################################################\n                        GDOM \u6570\u636e\u521d\u59cb\u5316\n########################################################################\n\n--------------------------GDOM-DB---------------------------------------\n10.0.2.151 PostgreSQL \u6b63\u5728\u542f\u52a8,\u8bf7\u7b49\u5f85 ...\n10.0.2.151 gdom\u6570\u636e\u5e93\u3010\u8868\u7ed3\u6784\u3011\u521d\u59cb\u5316\u6210\u529f\n10.0.2.151 gdom\u6570\u636e\u5e93\u3010\u6570\u636e\u3011\u521d\u59cb\u5316\u6210\u529f\n10.0.2.151 PostgreSQL \u5df2\u505c\u6b62\n\u8d44\u6e90\u5e93 gdom \u521d\u59cb\u5316\u5b8c\u6210\n\n--------------------------GBase-----------------------------------------\n10.0.2.151 GBase \u6b63\u5728\u542f\u52a8,\u8bf7\u7b49\u5f85 ...\n10.0.2.151 gdom_real\u6570\u636e\u5e93\u3010\u8868\u7ed3\u6784\u3011\u521d\u59cb\u5316\u6210\u529f\n10.0.2.151 gdom_history\u6570\u636e\u5e93\u3010\u8868\u7ed3\u6784\u3011\u521d\u59cb\u5316\u6210\u529f\n10.0.2.151 gdom_real\u6570\u636e\u5e93\u3010\u5b58\u50a8\u8fc7\u7a0b\u3011\u521d\u59cb\u5316\u6210\u529f\n10.0.2.151 gdom_history\u6570\u636e\u5e93\u3010\u5b58\u50a8\u8fc7\u7a0b\u3011\u521d\u59cb\u5316\u6210\u529f\n10.0.2.151 GBase \u5df2\u505c\u6b62\n\u5206\u6790\u5e93 gdom_real\u3001gdom_history \u521d\u59cb\u5316\u5b8c\u6210\n\n########################################################################\n                        GDOM \u5b89\u88c5\u90e8\u7f72\u5b8c\u6210\n########################################################################\n\n&#91;gdom@vm151 GDOM-v3.7.0-build3-redhat8-x86_64]$ <\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%90%AF%E5%8A%A8%E6%9C%8D%E5%8A%A1\"><\/span>\u542f\u52a8\u670d\u52a1<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&#91;gdom@vm151 GDOM-v3.7.0-build3-redhat8-x86_64]$ .\/gdomStart.sh  -a\n\n                ____ ____   ___  __  __   _____ _____\n               \/ ___|  _ \\ \/ _ \\|  \\\/  | |___ \/|___  |\n              | |  _| | | | | | | |\\\/| |   |_ \\   \/ \/\n              | |_| | |_| | |_| | |  | |  ___) | \/ \/\n               \\____|____\/ \\___\/|_|  |_| |____(_)_\/\n\n                \u7248\u672c: GDOM-v3.7.0-build3\n\n\n########################################################################\n                        GDOM \u73af\u5883\u68c0\u67e5\n########################################################################\n\n10.0.2.151 \u8fde\u63a5\u6d4b\u8bd5\u6210\u529f\n\n########################################################################\n                        GDOM \u670d\u52a1\u542f\u52a8\u5f00\u59cb\n########################################################################\n\n--------------------------GDOM-DB---------------------------------------\n10.0.2.151 PostgreSQL \u6b63\u5728\u542f\u52a8,\u8bf7\u7b49\u5f85 ...\n\n10.0.2.151 PostgreSQL \u8fde\u63a5\u6210\u529f\n\nPostgreSQL\u670d\u52a1\u542f\u52a8\u6210\u529f\n\n--------------------------HaProxy---------------------------------------\n\u8df3\u8fc7\uff0c\u672a\u4f7f\u7528\u9ad8\u53ef\u7528\u7b56\u7565\n\n--------------------------GBase-----------------------------------------\n10.0.2.151 GBase \u6b63\u5728\u542f\u52a8,\u8bf7\u7b49\u5f85 ...\n\n10.0.2.151 GBase \u8fde\u63a5\u6210\u529f\n\nGBase\u670d\u52a1\u542f\u52a8\u6210\u529f\n\n--------------------------Redis-----------------------------------------\n10.0.2.151 Redis \u6b63\u5728\u542f\u52a8,\u8bf7\u7b49\u5f85 ...\n\n10.0.2.151 Redis \u8fde\u63a5\u6210\u529f\n\nRedis\u670d\u52a1\u542f\u52a8\u6210\u529f\n\n--------------------------Nginx-----------------------------------------\n10.0.2.151 Nginx \u6b63\u5728\u542f\u52a8,\u8bf7\u7b49\u5f85 ...\n\n10.0.2.151 Nginx \u8fde\u63a5\u6210\u529f\n\nNginx\u670d\u52a1\u542f\u52a8\u6210\u529f\n\n------------------------RocketMQ----------------------------------------\n10.0.2.151 RocketMQ \u6b63\u5728\u542f\u52a8,\u8bf7\u7b49\u5f85 ...\n\n10.0.2.151 RocketMQ \u8fde\u63a5\u6210\u529f\n\nRocketMQ\u670d\u52a1\u542f\u52a8\u6210\u529f\n\n------------------------GDOM-Service------------------------------------\n10.0.2.151 GDOM Service \u6b63\u5728\u542f\u52a8,\u8bf7\u7b49\u5f85 ...\n\n10.0.2.151 GDOM Service \u8fde\u63a5\u6210\u529f\n\nGDOM\u540e\u7aef\u670d\u52a1\u542f\u52a8\u6210\u529f\n\n########################################################################\n                        GDOM \u670d\u52a1\u542f\u52a8\u5b8c\u6210\n########################################################################\n\n\u8bbf\u95ee\u5730\u5740 https:\/\/10.0.2.151:8810\n\n&#91;gdom@vm151 GDOM-v3.7.0-build3-redhat8-x86_64]$<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%AE%A2%E6%88%B7%E7%AB%AF%E8%AE%BF%E9%97%AEpostgresql%E6%95%B0%E6%8D%AE%E5%BA%93\"><\/span>\u5ba2\u6237\u7aef\u8bbf\u95eepostgresql\u6570\u636e\u5e93<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u5982\u679c\u9700\u8981\u76f4\u63a5\u8bbf\u95eePG\u6570\u636e\u5e93\uff0c\u53ef\u4ee5\u5207\u6362\u5230\u5b89\u88c5\u76ee\u5f55\u4e0b<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>\u5b89\u88c5\u76ee\u5f55\/install\/postgresql\/postgresql-17.6-redhat8-x86_64<\/code><\/pre>\n\n\n\n<p>\u7136\u540e\u8fd0\u884c\u5176\u4e2d\u7684psql.sh\u811a\u672c\uff0c\u6837\u4f8b\u5982\u4e0b<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&#91;gdom@vm151 postgresql-17.6-redhat8-x86_64]$ .\/psql.sh 10.0.2.151 5432 gdom gdom\nPassword for user gdom:\npsql (17.6)\nType \"help\" for help.\n\ngdom=#\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>\u7b2c\u4e00\u4e2a\u53c2\u6570\u662fIP<\/li><li>\u7b2c\u4e8c\u4e2a\u53c2\u6570\u662f\u7aef\u53e3<\/li><li>\u7b2c\u4e09\u4e2a\u53c2\u6570\u662f\u6570\u636e\u5e93\u7528\u6237<\/li><li>\u7b2c\u56db\u4e2a\u53c2\u6570\u662f\u8981\u8bbf\u95ee\u7684\u6570\u636e\u5e93<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%80%BB%E7%BB%93\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>gdom \u4ece3.7.0-build3\u7248\u672c\u5f00\u59cb\u652f\u6301postgresql\u81ea\u52a8\u90e8\u7f72\uff0c\u5bf9\u4e8e\u67d0\u4e9bmysql\u654f\u611f\u7684\u5ba2\u6237\uff0c\u53ef\u4ee5\u9009\u62e9postgresql\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>GDOM (GBase Database Operation Manager) is the Nanjing General Technology GBase 8a MPP database operation and maintenance management system. Starting from version GDOM 3.7.0, in addition to supporting MySQL 8 as a resource repository, it now also supports PostgreSQL. This article introduces the installation solution for GDOM's automatic deployment of PostgreSQL as a resource repository.<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[125],"class_list":["post-13294","post","type-post","status-publish","format-standard","hentry","category-gbase8a","tag-gdom"],"_links":{"self":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/13294","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=13294"}],"version-history":[{"count":9,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/13294\/revisions"}],"predecessor-version":[{"id":13325,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/13294\/revisions\/13325"}],"wp:attachment":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/media?parent=13294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/categories?post=13294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/tags?post=13294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}