当前位置: 首页 > news >正文

做产品网站WordPress前台用户发布

做产品网站,WordPress前台用户发布,汽车设计网站大全,做网站和app那个花销大注#xff1a;目前社区版对 4.0 升级 bp1至 bp2也未有完善的文档#xff0c;本次升级中也是遇到不少坑#xff0c;写本文也希望对OB感兴趣的可以尝试少些遇坑。 也希望对升级有更好方式建议方式的朋友一起切磋交流#xff0c;以便再进一步完善升级方案。 第一次做OB的升级目前社区版对 4.0 升级 bp1至 bp2也未有完善的文档本次升级中也是遇到不少坑写本文也希望对OB感兴趣的可以尝试少些遇坑。 也希望对升级有更好方式建议方式的朋友一起切磋交流以便再进一步完善升级方案。 第一次做OB的升级限于自身技术难免有纰漏还望对此熟悉的大牛多多指正。 一、概述 OceanBase 数据库和Oracle等数据库类似在修复某一版本较多的BUG后会发布一个修复已知漏洞的新版本。Oracle数据库会采用RU或PSU的方式发布一些补丁OceanBase 是以BPXXX的方式发布。 本次安装OceanBase 4.0 集群最初采用的是 beta_bp1版本在2022年12月15日OB社区发布了新版的beta_bp2版本本次尝试采用离线方式通过obd来升级beta_bp1至beta_bp2版本。 本次升级也曾尝试使用obd update方式但升级遇到问题最后通过下载最新版的all-in-one(beta_bp2)版本通过install.sh脚本一步步完成升级。 在升级过程中特别要注意如果创建了多租户在设置primary_zone时一定要谨慎如果这块设置不慎可能会升级中途失败导致入坑。 另外根据OB官网介绍在升级obproxy时可能会因为一些参数的设置导致升级失败这点也要特别的注意本次因为BP1到BP2,obproxy版本未发生改变可以不进行升级本文也是教大家如果真要升级obproxy该如何操作。 二、升级流程 2.1、离线升级OBD 2.1 .1 查看当前obd版本 --登陆中控机服务器查看当前obd版本信息 [adminobproxy-node ~]$ obd --version OceanBase Deploy: 1.6.1 REVISION: 87611f942a25880a15d6b2d638044a7d84ddc488 BUILD_BRANCH: HEAD BUILD_TIME: Nov 18 2022 16:07:36OURCE Copyright (C) 2021 OceanBase License GPLv3: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.2.1.2 下载最新oceanbase-all-in-one包 登陆 https://open.oceanbase.com/softwareCenter/community 下载最新版本 4.0.0_beta_bp2包 并上传至中控机服务器 admin用户下。 2.1.3 执行install.sh -- admin用户中控机服务器操作 -- 主要如下几步操作 1) 解压oceanbase-all-in-one安装包 2执行source 3) 执行obd demo 4) 查看obd 版本-- 解压oceanbase-all-in-one最新安装包 [adminobproxy-node ~]$ cd soft/ [adminobproxy-node soft]$ tar -zxf oceanbase-all-in-one-4.0.0.0-beta-100120221214162701.el7.x86_64.tar.gz [adminobproxy-node soft]$ cd oceanbase-all-in-one/bin -- 执行install.sh脚本 [adminobproxy-node bin]$ ./install.sh name: grafana version: 7.5.17 release:1 arch: x86_64 md5: 1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 add /home/admin/soft/oceanbase-all-in-one/rpms/grafana-7.5.17-1.el7.x86_64.rpm to local mirror name: obagent version: 1.2.0 release:4.el7 arch: x86_64 md5: 0e8f5ee68c337ea28514c9f3f820ea546227fa7e add /home/admin/soft/oceanbase-all-in-one/rpms/obagent-1.2.0-4.el7.x86_64.rpm to local mirror name: obproxy-ce version: 4.0.0 release:5.el7 arch: x86_64 md5: de53232a951184fad75b15884458d85e31d2f6c3 add /home/admin/soft/oceanbase-all-in-one/rpms/obproxy-ce-4.0.0-5.el7.x86_64.rpm to local mirror name: oceanbase-ce version: 4.0.0.0 release:102000032022120718.el7 arch: x86_64 md5: e1c71a4cb252e51f210aae129cee0f09613d42bb add /home/admin/soft/oceanbase-all-in-one/rpms/oceanbase-ce-4.0.0.0-102000032022120718.el7.x86_64.rpm to local mirror name: oceanbase-ce-libs version: 4.0.0.0 release:102000032022120718.el7 arch: x86_64 md5: ae630e9c53aeee1f6a542d9bdee6beefdc9af3ad add /home/admin/soft/oceanbase-all-in-one/rpms/oceanbase-ce-libs-4.0.0.0-102000032022120718.el7.x86_64.rpm to local mirror name: prometheus version: 2.37.1 release:10000102022110211.el7 arch: x86_64 md5: 58913c7606f05feb01bc1c6410346e5fc31cf263 add /home/admin/soft/oceanbase-all-in-one/rpms/prometheus-2.37.1-10000102022110211.el7.x86_64.rpm to local mirror Disable remote okadd auto set env logic to profile: /home/admin/.bash_profile#####################################################################Install Finished Setup Environment: source ~/.oceanbase-all-in-one/bin/env.sh Quick Start: obd demo More Details: obd -h -- 然后执行 source [adminobproxy-node ~]$ source /home/admin/.oceanbase-all-in-one/bin/env.sh-- 执行obd demo [adminobproxy-node bin]$ obd demo Found a higher version name: oceanbase-ce version: 4.0.0.0 release:102000032022120718.el7 arch: x86_64 md5: e1c71a4cb252e51f210aae129cee0f09613d42bb Do you want to use it? [y/n]: y Package oceanbase-ce-4.0.0.0-102000032022120718.el7 is available. install grafana-7.5.17 for local ok install oceanbase-ce-4.0.0.0 for local ok install obagent-1.2.0 for local ok install prometheus-2.37.1 for local ok install obproxy-ce-4.0.0 for local ok Cluster param config check ok Open ssh connection ok Generate grafana configuration ok Generate observer configuration ok Generate obagent configuration ok Generate prometheus configuration ok Generate obproxy configuration ok install grafana-7.5.17 for local ok install oceanbase-ce-4.0.0.0 for local ok install obagent-1.2.0 for local ok install prometheus-2.37.1 for local ok install obproxy-ce-4.0.0 for local ok -------------------------------------------------------------------------------------------- | Packages | ----------------------------------------------------------------------------------------- | Repository | Version | Release | Md5 | ----------------------------------------------------------------------------------------- | grafana | 7.5.17 | 1 | 1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 | | oceanbase-ce | 4.0.0.0 | 102000032022120718.el7 | e1c71a4cb252e51f210aae129cee0f09613d42bb | | obagent | 1.2.0 | 4.el7 | 0e8f5ee68c337ea28514c9f3f820ea546227fa7e | | prometheus | 2.37.1 | 10000102022110211.el7 | 58913c7606f05feb01bc1c6410346e5fc31cf263 | | obproxy-ce | 4.0.0 | 5.el7 | de53232a951184fad75b15884458d85e31d2f6c3 | ----------------------------------------------------------------------------------------- Repository integrity check ok Parameter check ok Open ssh connection ok Cluster status check ok [ERROR] Some of the servers in the cluster have been started 127.0.0.1 grafana is started 127.0.0.1 prometheus is started See https://www.oceanbase.com/product/ob-deployer/error-codes .-- 查看obd当前版本 [adminobproxy-node ~]$ obd --version OceanBase Deploy: 1.6.2 REVISION: 188385cf71729311c33df8cfa2d9b059ade337fd BUILD_BRANCH: HEAD BUILD_TIME: Dec 14 2022 11:34:49OURCE Copyright (C) 2021 OceanBase License GPLv3: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.2.2 升级OceanBase 2.2.1 禁用远程镜像 -- admin用户中控机服务器操作 [adminobproxy-node ~]$ obd mirror disable remote Disable remote ok2.2.2 拷贝新版本oceanbase-ce包 -- admin用户中控机服务器操作 [adminobproxy-node ~]$ obd mirror clone /home/admin/soft/oceanbase-all-in-one/rpms/oceanbase-ce-4.0.0.0-102000032022120718.el7.x86_64.rpm mirror oceanbase-ce-4.0.0.0-102000032022120718.el7.x86_64.rpm existed. Do you want to overwrite? [y/n]: y name: oceanbase-ce version: 4.0.0.0 release:102000032022120718.el7 arch: x86_64 md5: e1c71a4cb252e51f210aae129cee0f09613d42bb add /home/admin/soft/oceanbase-all-in-one/rpms/oceanbase-ce-4.0.0.0-102000032022120718.el7.x86_64.rpm to local mirror-- 查看md5值 [adminobproxy-node ~]$ obd mirror list local ---------------------------------------------------------------------------------------------------------- | local Package List | ------------------------------------------------------------------------------------------------------ | name | version | release | arch | md5 | ------------------------------------------------------------------------------------------------------ | oceanbase-ce | 4.0.0.0 | 100000282022112511.el7 | x86_64 | 75ec57ebe42718b386901357cef1e5d3864748ee | | oceanbase-ce-libs | 4.0.0.0 | 100000282022112511.el7 | x86_64 | c5f1e971cc335efe36233cae291a170a0f518e19 | | ob-deploy | 1.6.2 | 10.el7 | x86_64 | 4542035d1b1af411c93cfe9f1dd78327c2ea05d4 | | grafana | 7.5.17 | 1 | x86_64 | 1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 | | obagent | 1.2.0 | 4.el7 | x86_64 | 0e8f5ee68c337ea28514c9f3f820ea546227fa7e | | obproxy-ce | 4.0.0 | 5.el7 | x86_64 | de53232a951184fad75b15884458d85e31d2f6c3 | | oceanbase-ce-libs | 4.0.0.0 | 102000032022120718.el7 | x86_64 | ae630e9c53aeee1f6a542d9bdee6beefdc9af3ad | | prometheus | 2.37.1 | 10000102022110211.el7 | x86_64 | 58913c7606f05feb01bc1c6410346e5fc31cf263 | | oceanbase-ce | 4.0.0.0 | 102000032022120718.el7 | x86_64 | e1c71a4cb252e51f210aae129cee0f09613d42bb | ------------------------------------------------------------------------------------------------------2.2.3 为租户设置primary_zone [adminobproxy-node ~]$ obclient -h 10.110.3.152 -urootsys#obcluster -pobPasswd -P2883 -c -A oceanbase Welcome to the OceanBase. Commands end with ; or \g. Your OceanBase connection id is 50 Server version: OceanBase_CE 4.0.0.0 (r102000032022120718-58fdb0ef1a9b589ef05e56c1ede65e951986d996) (Built Dec 7 2022 18:32:31)Copyright (c) 2000, 2018, OceanBase and/or its affiliates. All rights reserved.Type help; or \h for help. Type \c to clear the current input statement.obclient [oceanbase] ALTER TENANT obuser PRIMARY_ZONE zone2; Query OK, 0 rows affected (0.249 sec)obclient [oceanbase] ALTER TENANT obuser PRIMARY_ZONE zone1;zone2;zone3; Query OK, 0 rows affected (0.095 sec)2.2.4 升级OceanBase [adminobproxy-node ~]$ obd cluster upgrade obcluster -c oceanbase-ce -V 4.0.0.0 --usable e1c71a4cb252e51f210aae129cee0f09613d42bb Get local repositories and plugins ok Open ssh connection ok Remote oceanbase-ce-4.0.0.0-102000032022120718.el7-e1c71a4cb252e51f210aae129cee0f09613d42bb repository install ok Remote oceanbase-ce-4.0.0.0-102000032022120718.el7-e1c71a4cb252e51f210aae129cee0f09613d42bb repository lib check ok Start observer ok observer program health check ok Connect to observer ok Exec upgrade_checker.py ok Enable upgrade mode ok Exec upgrade_pre.py ok Rotation upgrade ok upgrade zone zone1Remote oceanbase-ce-4.0.0.0-102000032022120718.el7-e1c71a4cb252e51f210aae129cee0f09613d42bb repository lib check ok Stop observer ok Start observer ok observer program health check ok Connect to observer ok upgrade zone zone2 Remote oceanbase-ce-4.0.0.0-102000032022120718.el7-e1c71a4cb252e51f210aae129cee0f09613d42bb repository install ok Remote oceanbase-ce-4.0.0.0-102000032022120718.el7-e1c71a4cb252e51f210aae129cee0f09613d42bb repository lib check ok Stop observer ok Start observer ok observer program health check ok Connect to observer ok upgrade zone zone3 Remote oceanbase-ce-4.0.0.0-102000032022120718.el7-e1c71a4cb252e51f210aae129cee0f09613d42bb repository install ok Remote oceanbase-ce-4.0.0.0-102000032022120718.el7-e1c71a4cb252e51f210aae129cee0f09613d42bb repository lib check ok Stop observer ok Start observer ok observer program health check ok Connect to observer ok Exec upgrade_post.py ok Disable upgrade mode ok Root inspection ok Exec upgrade_post_checker.py ok Wait for observer init ok ------------------------------------------------ | observer | -------------------------------------------- | ip | version | port | zone | status | -------------------------------------------- | 10.110.3.152 | 4.0.0.0 | 2881 | zone1 | ACTIVE | | 10.110.3.153 | 4.0.0.0 | 2881 | zone2 | ACTIVE | | 10.110.3.154 | 4.0.0.0 | 2881 | zone3 | ACTIVE | -------------------------------------------- obclient -h10.110.3.152 -P2881 -uroot -pobPasswd -Doceanbase -A2.3 升级obproxy -- admin用户中控机服务器操作 -- 查询当前md5值 [adminobproxy-node ~]$ obd mirror list local ---------------------------------------------------------------------------------------------------------- | local Package List | ------------------------------------------------------------------------------------------------------ | name | version | release | arch | md5 | ------------------------------------------------------------------------------------------------------ | oceanbase-ce | 4.0.0.0 | 100000282022112511.el7 | x86_64 | 75ec57ebe42718b386901357cef1e5d3864748ee | | oceanbase-ce-libs | 4.0.0.0 | 100000282022112511.el7 | x86_64 | c5f1e971cc335efe36233cae291a170a0f518e19 | | ob-deploy | 1.6.2 | 10.el7 | x86_64 | 4542035d1b1af411c93cfe9f1dd78327c2ea05d4 | | grafana | 7.5.17 | 1 | x86_64 | 1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 | | obagent | 1.2.0 | 4.el7 | x86_64 | 0e8f5ee68c337ea28514c9f3f820ea546227fa7e | | oceanbase-ce-libs | 4.0.0.0 | 102000032022120718.el7 | x86_64 | ae630e9c53aeee1f6a542d9bdee6beefdc9af3ad | | prometheus | 2.37.1 | 10000102022110211.el7 | x86_64 | 58913c7606f05feb01bc1c6410346e5fc31cf263 | | oceanbase-ce | 4.0.0.0 | 102000032022120718.el7 | x86_64 | e1c71a4cb252e51f210aae129cee0f09613d42bb | | obproxy-ce | 4.0.0 | 5.el7 | x86_64 | de53232a951184fad75b15884458d85e31d2f6c3 | -------------------------------------------------------------------------------------------------------- 升级obproxy [adminobproxy-node ~]$ obd cluster upgrade obcluster -c obproxy-ce -V 4.0.0 --usable de53232a951184fad75b15884458d85e31d2f6c3 Get local repositories and plugins ok ------------------------------------------------------------------------------------ | Search obproxy-ce 4.0.0 Result | -------------------------------------------------------------------------------- | name | version | release | arch | md5 | -------------------------------------------------------------------------------- | obproxy-ce | 4.0.0 | 5.el7 | x86_64 | de53232a951184fad75b15884458d85e31d2f6c3 | -------------------------------------------------------------------------------- install obproxy-ce-4.0.0 for local ok The current version is already obproxy-ce-4.0.0-5.el7-de53232a951184fad75b15884458d85e31d2f6c3. Noting to do. See https://www.oceanbase.com/product/ob-deployer/error-codes .根据OceanBase开源社区开发人员反馈BP1到BP2,obproxy没新版本,可以不用升级,本次只是展示如需升级obproxy该如何升级。 三、附录 在升级过程中也遇到一些问题因为有些官网资料也没有说明要靠自己摸索加上在OB开源社区群里不断的请教在升级过程中主要遇到如下一些故障。 3.1 obd update提示需root用户 -- admin用户中控机服务器操作 [adminobproxy-node ~]$ obd update [ERROR] To update OBD, you must be a root user. -- 提示需要使用 root用户-- 当尝试使用root用户执行时报 OBD upgrade plugin not found [rootobproxy-node ~]# /home/admin/oceanbase-all-in-one/obd/usr/bin/obd update [ERROR] OBD upgrade plugin not found因为在安装obd时使用的是admin普通用户安装未使用root用户但在执行obd update升级时提示需要root用户但切换到root用户又提示没有发现obd 升级插件,即便我将admin用户通过sudo方式也同样报错。 最后根据OB社区人员建议改用下载最新的all-in-one BP2版本安装包使用里面自带install.sh方式进行升级 3.2 未设置primary_zone导致升级失败 在升级oceanBase前未给多租户用户设置PRIMARY_ZONE当执行升级时执行到Exec upgrade_checker.py 该步骤报错导致执行 obd cluster upgrade obcluster 失败执行过程及报错信息如下。 如下 [adminobproxy-node ~]$ obd mirror disable remote Disable remote ok [adminobproxy-node ~]$ obd mirror clone /home/admin/soft/oceanbase-all-in-one/rpms/oceanbase-ce-4.0.0.0-102000032022120718.el7.x86_64.rpm mirror oceanbase-ce-4.0.0.0-102000032022120718.el7.x86_64.rpm existed. Do you want to overwrite? [y/n]: y name: oceanbase-ce version: 4.0.0.0 release:102000032022120718.el7 arch: x86_64 md5: e1c71a4cb252e51f210aae129cee0f09613d42bb add /home/admin/soft/oceanbase-all-in-one/rpms/oceanbase-ce-4.0.0.0-102000032022120718.el7.x86_64.rpm to local mirror [adminobproxy-node ~]$ [adminobproxy-node ~]$ obd mirror list local ±--------------------------------------------------------------------------------------------------------- | local Package List | ±------------------±--------±-----------------------±-------±----------------------------------------- | name | version | release | arch | md5 | ±------------------±--------±-----------------------±-------±----------------------------------------- | oceanbase-ce | 4.0.0.0 | 100000282022112511.el7 | x86_64 | 75ec57ebe42718b386901357cef1e5d3864748ee | | oceanbase-ce-libs | 4.0.0.0 | 100000282022112511.el7 | x86_64 | c5f1e971cc335efe36233cae291a170a0f518e19 | | ob-deploy | 1.6.2 | 10.el7 | x86_64 | 4542035d1b1af411c93cfe9f1dd78327c2ea05d4 | | grafana | 7.5.17 | 1 | x86_64 | 1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 | | obagent | 1.2.0 | 4.el7 | x86_64 | 0e8f5ee68c337ea28514c9f3f820ea546227fa7e | | obproxy-ce | 4.0.0 | 5.el7 | x86_64 | de53232a951184fad75b15884458d85e31d2f6c3 | | oceanbase-ce-libs | 4.0.0.0 | 102000032022120718.el7 | x86_64 | ae630e9c53aeee1f6a542d9bdee6beefdc9af3ad | | prometheus | 2.37.1 | 10000102022110211.el7 | x86_64 | 58913c7606f05feb01bc1c6410346e5fc31cf263 | | oceanbase-ce | 4.0.0.0 | 102000032022120718.el7 | x86_64 | e1c71a4cb252e51f210aae129cee0f09613d42bb | ±------------------±--------±-----------------------±-------±-----------------------------------------[adminobproxy-node ~]$ obd cluster upgrade obcluster -c oceanbase-ce -V 4.0.0.0 --usable e1c71a4cb252e51f210aae129cee0f09613d42bb Get local repositories and plugins ok ±---------------------------------------------------------------------------------------------------- | Search oceanbase-ce 4.0.0.0 Result | ±-------------±--------±-----------------------±-------±----------------------------------------- | name | version | release | arch | md5 | ±-------------±--------±-----------------------±-------±----------------------------------------- | oceanbase-ce | 4.0.0.0 | 100000282022112511.el7 | x86_64 | 75ec57ebe42718b386901357cef1e5d3864748ee | | oceanbase-ce | 4.0.0.0 | 102000032022120718.el7 | x86_64 | e1c71a4cb252e51f210aae129cee0f09613d42bb | ±-------------±--------±-----------------------±-------±----------------------------------------- install oceanbase-ce-4.0.0.0 for local ok Open ssh connection ok Connect to observer ok ±------------------------------------------------------------------------------------------------------------ | Packages Will Be Used | ±-------------±--------±-----------------------±-------±-----------------------------------------±------ | name | version | release | arch | md5 | mark | ±-------------±--------±-----------------------±-------±-----------------------------------------±------ | oceanbase-ce | 4.0.0.0 | 100000282022112511.el7 | x86_64 | 75ec57ebe42718b386901357cef1e5d3864748ee | start | | oceanbase-ce | 4.0.0.0 | 102000032022120718.el7 | x86_64 | e1c71a4cb252e51f210aae129cee0f09613d42bb | dest | ±-------------±--------±-----------------------±-------±-----------------------------------------±------ If you use a non-official release, we cannot guarantee a successful upgrade or technical support when you fail. Make sure that you want to use the above package to upgrade. [y/n]: y Remote oceanbase-ce-4.0.0.0-102000032022120718.el7-e1c71a4cb252e51f210aae129cee0f09613d42bb repository install ok Remote oceanbase-ce-4.0.0.0-102000032022120718.el7-e1c71a4cb252e51f210aae129cee0f09613d42bb repository lib check ok Start observer ok observer program health check ok Connect to observer ok Exec upgrade_checker.py x See https://www.oceanbase.com/product/ob-deployer/error-codes .-- 报错日志信息如下 [adminobproxy-node ~]$ more upgrade_checker.log [2022-12-28 16:49:13] INFO init.py:1611 parameters from cmd: host“10.110.3.152”, port2881, user“root”, password“obPasswd”, log-file“upgrade_checker.log” [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select distinct value from GV$OB_PARAMETERS where name‘min_observer_version’, rowcount 1 [2022-12-28 16:49:14] INFO init.py:1611 check observer version success, version 4.0.0.0 [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select count(1) as unsync_cnt from GV$OB_LOG_STAT where in_sync ‘NO’, rowcount 1 [2022-12-28 16:49:14] INFO init.py:1611 check paxos replica success [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select count(1) as cnt from DBA_OB_TENANT_JOBS where job_status‘INPROGRESS’ and result_code is null, rowcount 1 [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select count(1) as rebalance_task_cnt from CDB_OB_LS_REPLICA_TASKS, rowcount 1 [2022-12-28 16:49:14] INFO init.py:1611 check rebalance task success [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select count(1) from CDB_OB_MAJOR_COMPACTION where STATUS ! ‘IDLE’, rowcount 1 [2022-12-28 16:49:14] INFO init.py:1611 check cluster status success [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select count(*) as count from DBA_OB_TENANTS where status ! ‘NORMAL’, rowcount 1 [2022-12-28 16:49:14] INFO init.py:1611 check tenant status success [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select count(1) from CDB_OB_RESTORE_PROGRESS, rowcount 1 [2022-12-28 16:49:14] INFO init.py:1611 check restore job success [2022-12-28 16:49:14] INFO init.py:1611 succeed to execute query: select tenant_name,primary_zone from DBA_OB_TENANTS where tenant_id ! 1, rowcount 2 [2022-12-28 16:49:14] INFO init.py:1611 check tenant primary zone success [2022-12-28 16:49:14] ERROR init.py:1585 run error Traceback (most recent call last): File “/tmp/10.110.3.152:2882_10.110.3.153:2882_10.110.3.154:2882/e1c71a4cb252e51f210aae129cee0f09613d42bb/upgrade_checker.py”, line 406, in do_check check_fail_list() File “/tmp/10.110.3.152:2882_10.110.3.153:2882_10.110.3.154:2882/e1c71a4cb252e51f210aae129cee0f09613d42bb/upgrade_checker.py”, line 383, in check_fail_list raise MyError(error_msg) MyError: upgrade checker failed with 2 reasons: [META$1002 tenant primary zone random before update not allowed] , [obuser tenant primary zone random before update not allowed] ’ [2022-12-28 16:49:14] ERROR init.py:1585 normal error Traceback (most recent call last): File “/tmp/10.110.3.152:2882_10.110.3.153:2882_10.110.3.154:2882/e1c71a4cb252e51f210aae129cee0f09613d42bb/upgrade_checker.py”, line 410, in do_check raise e MyError: upgrade checker failed with 2 reasons: [META$1002 tenant primary zone random before update not allowed] , [obuser tenant primary zone random before update not allowed] ’ [2022-12-28 16:49:14] ERROR init.py:1585 normal error Traceback (most recent call last): File “/tmp/10.110.3.152:2882_10.110.3.153:2882_10.110.3.154:2882/e1c71a4cb252e51f210aae129cee0f09613d42bb/upgrade_checker.py”, line 440, in do_check(host, port, user, password, upgrade_params) File “/tmp/10.110.3.152:2882_10.110.3.153:2882_10.110.3.154:2882/e1c71a4cb252e51f210aae129cee0f09613d42bb/upgrade_checker.py”, line 419, in do_check raise e MyError: upgrade checker failed with 2 reasons: [META$1002 tenant primary zone random before update not allowed] , [obuser tenant primary zone random before update not allowed] ’ 根据OB社区开发人员解释在升级前需要为多租户设置primary_zone如果有多个租户就要为每个租户设置primary_zone。而且设置primary_zone时要至少设置两个primary_zone以防止无法进行切换。 当为多租户修改了primary_zone后再根据 2.2.4 升级OceanBase中的步骤重新执行 obd cluster upgrade obcluster 就可以了。 3.3 其它注意事项 除了以上几点另外就是在执行命令时一些细节比如执行命令里的一些参数比如usable以及rpm包的md5值还有所对应的版本号比如4.0.0 就不能写成 4.0.0.0否则升级过程中也会报错。
http://www.pierceye.com/news/680254/

相关文章:

  • 设计参考网站有哪些陕西省西安市事业单位招聘网
  • 月编程做网站wordpress需要调用缩略图
  • 做一份网站动态图多少钱网站托管服务公司
  • 宣传式网站营销型网站套餐
  • 建设网站如何优化关键词江门排名优化公司
  • 做教学的视频网站wordpress小工具推荐
  • 唯品会专门做特卖的网站保险行业网站模板
  • 电商类公司网站应该怎么搭建广州做网站公司哪家比较好
  • 企业网站实名认证时间怎样开通微信公众号
  • 怎么才能在百度上搜到自己的网站如何优化网站
  • 酒泉网站建设价格福清市建设局网站
  • 网站建设有几种厦门网站的建设
  • 沈阳网站外包通过法人姓名查企业
  • 建设网站的多少钱红色风格网站
  • 公司网站运营维护单位温州h5建站
  • 做网站想注册商标是哪一类网站上线具体流程
  • 如何让网站自适应屏幕北京做网站哪个公司好
  • 个人网站建设简历网站路径怎么做
  • 学做面包到什么网站企业网站都没的百度快照咋办
  • 手机网站建设视频教程安徽建站之星
  • 做网站专题页的字大小是多少购物商城排名
  • 门窗东莞网站建设技术支持海口快速建站模板
  • 公司网站制作第三方网站浮窗制作
  • 网站需要服务器吗?万州网站建设
  • 网站关键词可以修改吗做响应式网站字体需要响应么
  • 公司网站设计怎么做农家乐联盟网站
  • 普通网站报价多少扬中论坛网
  • 提供邢台做wap网站网站开发怎么进行数据库连接
  • 足球网站网站建设东莞网上销售网站建设
  • 响应式网站手机蓝翔老师做的网站