软件OceanBaseOBD(软件在线离线中控葫芦)

OBD 全称是 OceanBase Deployer,是 OceanBase 社区版的命令行下自动化部署软件
根据中控机器能否连接公网,提供两个安装方法:离线和在线
二选一
通过obd进行自动部署时,选择一台服务器作为中控机进行部署obd软件,obd软件支持离线部署和在线部署两种方式,下面分别介绍:obd服务器没有特殊的资源需求,我的obd服务器配置为内存16G/磁盘40G空间
离线部署笔记本提前下载好 OBD 、 OBSERVER 和 OBPROXY 相关软件包
后上传到admin用户家目录下的soft文件夹下载连接https://mirrors.aliyun.com/oceanbase/community/stable/el/7/x86_64/ 根据不同的操作系统选择不动的软件包[admin@obd soft]$ lslibobclient-2.0.0-2.el7.x86_64.rpm ob-deploy-1.2.1-9.el7.x86_64.rpm oceanbase-ce-3.1.2-10000392021123010.el7.x86_64.rpmobclient-2.0.0-2.el7.x86_64.rpm obproxy-3.1.0-1.el7.x86_64.rpm oceanbase-ce-libs-3.1.2-10000392021123010.el7.x86_64.rpm#安装ob-deploy软件[admin@obd soft]$ sudo rpm -ivh ob-deploy-1.2.1-9.el7.x86_64.rpmWe trust you have received the usual lecture from the local SystemAdministrator. It usually boils down to these three things:#1) Respect the privacy of others.#2) Think before you type.#3) With great power comes great responsibility.[sudo] password for admin:warning: ob-deploy-1.2.1-9.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID e9b4a7aa: NOKEYPreparing... ################################# [100%]Updating / installing...1:ob-deploy-1.2.1-9.el7 ################################# [100%]Installation of obd finished successfullyPlease source /etc/profile.d/obd.sh to enable it[admin@obd soft]$ id adminuid=1001(admin) gid=1001(admin) groups=1001(admin),10(wheel)[admin@obd soft]$ which obd/bin/obd[admin@obd soft]$ source /etc/profile.d/obd.sh[admin@obd soft]$ which obd/bin/obd[admin@obd soft]$软件复制到本地仓库[admin@obd ~]$ obd mirror clone soft/.rpmname: libobclientversion: 2.0.0release:2.el7arch: x86_64md5: f73cae67e2ff5be0682ac2803aba33a7ed26430eadd soft/libobclient-2.0.0-2.el7.x86_64.rpm to local mirrorname: obclientversion: 2.0.0release:2.el7arch: x86_64md5: 1d2c3ee31f40b9d2fbf97f653f549d896b7e7060add soft/obclient-2.0.0-2.el7.x86_64.rpm to local mirrorname: ob-deployversion: 1.2.1release:9.el7arch: x86_64md5: 219823e1119d37f59ce2c906b44e45605acfd3f3add soft/ob-deploy-1.2.1-9.el7.x86_64.rpm to local mirrorname: obproxyversion: 3.1.0release:1.el7arch: x86_64md5: 0b17cf0459a3b53c5a2febb6572894d183154c64add soft/obproxy-3.1.0-1.el7.x86_64.rpm to local mirrorname: oceanbase-ceversion: 3.1.2release:10000392021123010.el7arch: x86_64md5: 7fafba0fac1e90cbd1b5b7ae5fa129b64dc63aedadd soft/oceanbase-ce-3.1.2-10000392021123010.el7.x86_64.rpm to local mirrorname: oceanbase-ce-libsversion: 3.1.2release:10000392021123010.el7arch: x86_64md5: 94fff0ab31de053051dba66039e3185fa390cad5add soft/oceanbase-ce-libs-3.1.2-10000392021123010.el7.x86_64.rpm to local mirror[admin@obd ~]$ obd mirror list local 查看本地仓库软件在线安装首先在中控机上部署 OBD 软件
如果中控机能上网,则可以直接添加 OceanBase 的仓库,使用 YUM 安装
yum install -y yum-utilsyum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repoyum install -y ob-deploy
软件OceanBaseOBD(软件在线离线中控葫芦)
(图片来源网络,侵删)

联系我们

在线咨询:点击这里给我发消息