mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 10:06:14 +00:00
feat(doc): Add instructions for yum deployment under arm architecture
commit message Signed-off-by: Reliey <616318745@qq.com>
This commit is contained in:
parent
dbeab8ddbb
commit
65bd5eb51f
@ -8,10 +8,14 @@
|
||||
|
||||
::: tip 提示
|
||||
集群通过 ansible 托管,请确保 ansible 已经部署。
|
||||
ansible 安装命令:pip3 install ansible
|
||||
:::
|
||||
|
||||
``` bash
|
||||
# x86 version
|
||||
$ yum install https://ocs-cn-north1.heytapcs.com/cubefs/rpm/3.3.2/cfs-install-3.3.2-el7.x86_64.rpm
|
||||
# arm version
|
||||
$ yum install https://ocs-cn-north1.heytapcs.com/cubefs/rpm/3.3.2/arm/cfs-install-3.3.2-el7.aarch64.rpm
|
||||
$ cd /cfs/install
|
||||
$ tree -L 3
|
||||
.
|
||||
@ -32,6 +36,10 @@ $ tree -L 3
|
||||
└── objectnode.json.j2
|
||||
```
|
||||
|
||||
::: warning 注意
|
||||
arm 版本部署要求 Glibc 版本为 2.32 及以上
|
||||
:::
|
||||
|
||||
## 配置说明
|
||||
|
||||
可根据实际环境,在 **iplist** 文件中修改CubeFS集群的参数.
|
||||
@ -55,7 +63,7 @@ $ tree -L 3
|
||||
| master_exporterPort | 整型 | prometheus获取监控数据端口 | 否 |
|
||||
| master_metaNodeReservedMem | 字符串 | 元数据节点预留内存大小,如果剩余内存小于该值,MetaNode变为只读。单位:字节, 默认值:1073741824 | 否 |
|
||||
|
||||
>更多配置介绍请参考[Master配置说明](../ops/configs/master.md)
|
||||
>更多配置介绍请参考 [Master配置说明](../ops/configs/master.md)
|
||||
|
||||
### datanode config 模块
|
||||
|
||||
@ -153,7 +161,7 @@ metanode_totalMem = "28589934592"
|
||||
```
|
||||
|
||||
::: tip 提示
|
||||
CubeFS 支持混部。如果采取混部的方式,注意修改各个模块的端口配置**避免端口冲突**。
|
||||
CubeFS 支持混部。如果采取混部的方式,注意修改各个模块的端口配置**避免端口冲突**。datanode_disks 对应的路径先需要手动创建才能启动 datanode。
|
||||
:::
|
||||
|
||||
## 启动集群
|
||||
@ -172,4 +180,8 @@ $ bash install.sh -r client
|
||||
```
|
||||
|
||||
全部角色启动后,可以登录到 **client** 角色所在节点验证挂载点
|
||||
**/cfs/mountpoint** 是否已经挂载 CubeFS 文件系统。
|
||||
**/cfs/mountpoint** 是否已经挂载 CubeFS 文件系统。
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -8,10 +8,14 @@ The RPM dependencies of this tool can be installed with the following command:
|
||||
|
||||
::: tip Note
|
||||
The cluster is managed through Ansible, please make sure that Ansible has been deployed.
|
||||
ansible installation command :pip3 install ansible
|
||||
:::
|
||||
|
||||
``` bash
|
||||
# x86 version
|
||||
$ yum install https://ocs-cn-north1.heytapcs.com/cubefs/rpm/3.3.2/cfs-install-3.3.2-el7.x86_64.rpm
|
||||
# arm version
|
||||
$ yum install https://ocs-cn-north1.heytapcs.com/cubefs/rpm/3.3.2/arm/cfs-install-3.3.2-el7.aarch64.rpm
|
||||
$ cd /cfs/install
|
||||
$ tree -L 3
|
||||
.
|
||||
@ -32,6 +36,10 @@ $ tree -L 3
|
||||
└── objectnode.json.j2
|
||||
```
|
||||
|
||||
::: warning Note
|
||||
The arm version deployment requires Glibc version 2.32 and above
|
||||
:::
|
||||
|
||||
## Configuration Instructions
|
||||
|
||||
You can modify the parameters of the CubeFS cluster in the **iplist** file according to the actual environment.
|
||||
@ -56,7 +64,7 @@ Defines the startup parameters of each Master node.
|
||||
| master_exporterPort | int | Port for prometheus to obtain monitoring data | No |
|
||||
| master_metaNodeReservedMem | string | Reserved memory size for metadata nodes. If the remaining memory is less than this value, the MetaNode becomes read-only. Unit: bytes, default value: 1073741824 | No |
|
||||
|
||||
> For more configuration information, please refer to [Master Configuration Instructions](../ops/configs/master.md).
|
||||
> For more configuration information, please refer to[Master Configuration Instructions](../ops/configs/master.md).
|
||||
|
||||
### DataNode Config
|
||||
|
||||
@ -155,6 +163,7 @@ metanode_totalMem = "28589934592"
|
||||
|
||||
::: tip Note
|
||||
CubeFS supports mixed deployment. If mixed deployment is adopted, pay attention to modifying the port configuration of each module to avoid port conflicts.
|
||||
the path corresponding to the datanode_disks configuration needs to be manually created before the datanode can be started
|
||||
:::
|
||||
|
||||
## Start the Cluster
|
||||
@ -173,4 +182,7 @@ $ bash install.sh -r createvol
|
||||
$ bash install.sh -r client
|
||||
```
|
||||
|
||||
After all roles are started, you can log in to the node where the **client** role is located to verify whether the mount point **/cfs/mountpoint** has been mounted to the CubeFS file system.
|
||||
After all roles are started, you can log in to the node where the **client** role is located to verify whether the mount point **/cfs/mountpoint** has been mounted to the CubeFS file system.
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user