日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

OceanBase 社区版 3.1.3 Docker镜像尝鲜,能错过?不存在的

發布時間:2023/12/16 编程问答 44 豆豆
生活随笔 收集整理的這篇文章主要介紹了 OceanBase 社区版 3.1.3 Docker镜像尝鲜,能错过?不存在的 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

社區群里的小伙伴在貧困線上掙扎,僅有的內存都分給OceanBase Docker了,還是啟動不起來??別擔心,OceanBase 社區版 3.1.3 Docker鏡像發布了,支持2C8G絲滑啟動,快來嘗嘗鮮!!!

獲取鏈接:https://hub.docker.com/search?q=oceanbase&sort=updated_at&order=desc

誰會是第四個下載的人?加快腳步了。。。。

Show The Code~

1.拉取鏡像

$ docker pull oceanbase/oceanbase-ce-standalone:v3.1.3

2.運行容器

$ docker run -p 2881:2881 --name obce-standalone -d oceanbase/oceanbase-ce-standalone:v3.1.3

3.登錄容器系統

$ docker exec -it obce-standalone bash

4.連一把OB看看

[root@9dd754253d85 ob]# obclient -h localhost -S /root/ob/run/mysql.sock -uroot@sys -P2881 -c -A oceanbase Welcome to the OceanBase. Commands end with ; or \g. Your MySQL connection id is 3221487736 Server version: 5.7.25 OceanBase 3.1.2 (r10000392021123010-d4ace121deae5b81d8f0b40afbc4c02705b7fc1d) (Built Dec 30 2021 02:47:29)Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.MySQL [oceanbase]> show databases; +--------------------+ | Database | +--------------------+ | oceanbase | | information_schema | | mysql | | SYS | | LBACSYS | | ORAAUDITOR | | test | +--------------------+ 7 rows in set (0.002 sec)

5.再見

MySQL [oceanbase]> exit Bye

6.放個容器啟動日志給大家看看吧

$ docker logs obce-standalone generate boot.yaml ... create boot dirs and deploy ob cluster ... Package oceanbase-ce-3.1.2 is available. install oceanbase-ce-3.1.2 for local ok Cluster param config check ok Open ssh connection ok Generate observer configuration x [ERROR] (127.0.0.1) / not enough disk space. (Avail: 32.8G, Need: 74.0G). Use `redo_dir` to set other disk for clogSee https://open.oceanbase.com/docs/obd-cn/V1.2.0/10000000000017237. generate boot.yaml ... create boot dirs and deploy ob cluster ... oceanbase-ce-3.1.2 already installed. Cluster param config check ok Open ssh connection ok Generate observer configuration ok oceanbase-ce-3.1.2 already installed. +-------------------------------------------------------------------------------------------+ | Packages | +--------------+---------+-----------------------+------------------------------------------+ | Repository | Version | Release | Md5 | +--------------+---------+-----------------------+------------------------------------------+ | oceanbase-ce | 3.1.2 | 10000392021123010.el7 | 7fafba0fac1e90cbd1b5b7ae5fa129b64dc63aed | +--------------+---------+-----------------------+------------------------------------------+ Repository integrity check ok Parameter check ok Open ssh connection ok Remote oceanbase-ce-3.1.2-7fafba0fac1e90cbd1b5b7ae5fa129b64dc63aed repository install ok Remote oceanbase-ce-3.1.2-7fafba0fac1e90cbd1b5b7ae5fa129b64dc63aed repository lib check !! [WARN] 127.0.0.1 oceanbase-ce-3.1.2-7fafba0fac1e90cbd1b5b7ae5fa129b64dc63aed require: libmariadb.so.3Try to get lib-repository Package oceanbase-ce-libs-3.1.2 is available. install oceanbase-ce-libs-3.1.2 for local ok Use oceanbase-ce-libs-3.1.2-94fff0ab31de053051dba66039e3185fa390cad5 for oceanbase-ce-3.1.2-7fafba0fac1e90cbd1b5b7ae5fa129b64dc63aed Remote oceanbase-ce-libs-3.1.2-94fff0ab31de053051dba66039e3185fa390cad5 repository install ok Remote oceanbase-ce-3.1.2-7fafba0fac1e90cbd1b5b7ae5fa129b64dc63aed repository lib check ok Cluster status check ok Initializes observer work home ok obcluster deployed Get local repositories and plugins ok Open ssh connection ok Load cluster param plugin ok Check before start observer ok [WARN] (127.0.0.1) clog and data use the same disk (/)Start observer ok observer program health check ok Connect to observer ok Initialize cluster Cluster bootstrap ok Wait for observer init ok +---------------------------------------------+ | observer | +-----------+---------+------+-------+--------+ | ip | version | port | zone | status | +-----------+---------+------+-------+--------+ | 127.0.0.1 | 3.1.2 | 2881 | zone1 | active | +-----------+---------+------+-------+--------+obcluster running Get local repositories and plugins ok Open ssh connection ok Connect to observer ok Create tenant test ok start ob cluster ... Get local repositories and plugins ok Open ssh connection ok Load cluster param plugin ok Cluster status check ok Deploy "obcluster" is running boot success!

最后,真的要再見了,我文章水的這么容易,大家還不趕快點贊關注嗎?

總結

以上是生活随笔為你收集整理的OceanBase 社区版 3.1.3 Docker镜像尝鲜,能错过?不存在的的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。