Skip to content

Commit

Permalink
modify server.ini and deploy.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bai-charisu authored and YunhuiChen committed Aug 31, 2020
1 parent 3e5cb8e commit b1b7845
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions curve-ansible/server.ini
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ curve_ops_tool_config=/etc/curve/tools.conf
snap_tool_config_path=/etc/curve/snapshot_tools.conf
need_update_config=true
wait_service_timeout=20
sudo_user=nbs
deploy_dir=/home/nbs
sudo_user=curve
deploy_dir=/home/curve
s3_ak=""
s3_sk=""
s3_nos_address=""
Expand Down
5 changes: 4 additions & 1 deletion docs/cn/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ ansible是一款自动化运维工具,curve-ansible 是基于 ansible playbook
$ pip install --upgrade pip
$ pip install --upgrade setuptools
```
4. 确保源里面有以下几个包:net-tools, openssl>=1.1.1, perf, perl-podlators, make

##### Debian9环境准备具体步骤
1. root用户登录机器,创建curve用户
Expand All @@ -88,6 +89,7 @@ ansible是一款自动化运维工具,curve-ansible 是基于 ansible playbook
$ pip install --upgrade pip
$ pip install --upgrade setuptools
```
4. 确保源里面有以下几个包:net-tools, openssl>=1.1.1, perf, perl-podlators, make

#### 实施部署

Expand Down Expand Up @@ -199,7 +201,7 @@ ansible是一款自动化运维工具,curve-ansible 是基于 ansible playbook
$ su curve # 切换到curve用户
$ sudo ls # 测试sudo是否正确配置
```
3. 检查其他依赖,未安装的需要手动安装:net-tools, openssl-1.1.1, perf, perl-podlators, make, gcc6.1, libstdc++.so.6.22
3. 确保源里面有以下几个包:net-tools, openssl>=1.1.1, perf, perl-podlators, make

下面的步骤只需要在中控机上执行:
1. curve用户下配置ssh登陆到所有机器(包括自己),假设三台机器的ip分别为10.192.100.1,10.192.100.2,10.192.100.3
Expand All @@ -219,6 +221,7 @@ ansible是一款自动化运维工具,curve-ansible 是基于 ansible playbook
$ ansible-playbook # 如果没有报错的话说明安装成功,报错的话执行下面两步
$ pip install --upgrade pip
$ pip install --upgrade setuptools
3. 确保源里面有以下几个包:net-tools, openssl>=1.1.1, perf, perl-podlators, make

#### Debian9环境准备步骤
下面这些步骤要三台机器都操作:
Expand Down
2 changes: 1 addition & 1 deletion docs/cn/k8s_csi_interface.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
目前,curve可以通过CSI插件的方式对接Kubernetes。本文给出的是CSI插件开发指导说明。内部使用的Curve CSI插件目前在联调测试中,后续会开源出来
目前,curve可以通过CSI插件的方式对接Kubernetes。本文给出的是CSI插件开发指导说明。curve csi插件源码请见[curve-csi](https://github.com/opencurve/curve-csi)

## Curve Interface

Expand Down

0 comments on commit b1b7845

Please sign in to comment.