在部署 OceanBase 数据库时,如果遇到 Large System Extensions (LSE) not supported by host, observer cannot be deployed 的错误,通常是因为主机不支持 LSE(Large System Extensions),而 OceanBase 数据库的 ARM 版本默认开启了 LSE 支持。
关于 LSE 的更多介绍,请参考文档 部署 FAQ。
解决方法
检查 CPU 是否支持 LSE 。
可以通过以下命令检查 CPU 是否支持 LSE。
lscpu | grep atomics如果没有输出,则表示不支持。
选择对应的安装包。
如果 CPU 不支持 LSE,则需要使用关闭 LSE 的 OceanBase 数据库安装包。OceanBase 提供了关闭 LSE 的 RPM 包,文件名通常包含 nonlse 字样。例如:
- 对于 ARM_64 平台,使用
oceanbase-x.x.x.x-xxxxxxxxxxxxxxxxxx.nonlse.el7.aarch64.rpm。
- 对于 ARM_64 平台,使用
重新部署 OceanBase 数据库。
使用不支持 LSE 的安装包重新部署 OceanBase 数据库。
适用版本
oceanbase 数据库所有版本。