obd离线部署OceanBase报错[ERROR] The machine's minimum memory cannot be less than min_value (6G)

obd离线部署OceanBase报错;


[admin@localhost ~]$ obd cluster deploy -i
Enter the IP (Default: 127.0.0.1): 192.168.40.110
Enter the current user password:
get system config ok
No need to change system parameters
Do you want to modify the parameters above? [y/n] [Default: y]:
get system config ok
No need to change system parameters
Enter the cluster name (Default: myoceanbase; allowed characters: letters, numbers, and underscores):
+-----------------------------------------------------------------------------------------------------+
|                                         Available Oceanbase                                         |
+--------------+---------+------------------------+--------+------------------------------------------+
| name         | version | release                | arch   | md5                                      |
+--------------+---------+------------------------+--------+------------------------------------------+
| oceanbase-ce | 4.3.5.3 | 103000092025080818.el7 | x86_64 | 8120a146d35cd47a9289d91990c8b44a8c21675d |
+--------------+---------+------------------------+--------+------------------------------------------+
Enter the OB SQL port (Default: 2881):
Enter the OB RPC port (Default: 2882):
Enter the obshell port (Default: 2886):
Enter the OB root password (Default: 7VgTKmtayeLXZonzJ3MY):
Enter the OB cpu count (Default: 2):
The cpu_count cannot be less than 8. It will be set to 8 automatically.
[ERROR] The machine's minimum memory cannot be less than min_value (6G). Please try again.
See https://www.oceanbase.com/product/ob-deployer/error-codes .
Trace ID: ea45a458-8d30-11f0-8df1-000c29e13c26
If you want to view detailed obd logs, please run: obd display-trace ea45a458-8d30-11f0-8df1-000c29e13c26
[admin@localhost ~]$ free -g
              total        used        free      shared  buff/cache   available
Mem:              7           0           4           0           2           3
Swap:             1           0           1
查看结果显示的内存不满足部署 OceanBase 数据库的内存要求,执行如下命令清空 Linux 缓存:PageCache、dentries 和 inodes。
sudo sysctl -w vm.drop_caches=3
#或
sudo echo 3 > /proc/sys/vm/drop_caches
再次安装依然报错:[ERROR] The machine's minimum memory cannot be less than min_value (6G). Please try again.
[admin@localhost ~]$ free -g
              total        used        free      shared  buff/cache   available
Mem:              7           0           7           0           0           4
Swap:             1           0           1

1 个赞

明显就是内存不足,你这配置有点低啊,怎么也得16G内存以上吧

单点官方文档写的低配2C6G就可以

而且就只部署OBD和OceanBase

那是ob的集群最小需求,你应该是操作系统总共6G。这是肯定不够的


官方文档这个地方是不是就不准确了,感觉得改成可用内存最低要求6G,个人感觉容易引起混淆

好的 这边反馈一下

1 个赞