Skip to content

Commit

Permalink
Merge pull request #1369 from FederatedAI/feature-1.4.0-deploy-doc
Browse files Browse the repository at this point in the history
Feature 1.4.0 deploy doc
  • Loading branch information
dylan-fan authored May 14, 2020
2 parents 99510e6 + 3e0ed82 commit d64c73f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
20 changes: 12 additions & 8 deletions cluster-deploy/doc/Fate-allinone_deployment_guide_install_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,11 @@ tar xzf fate-cluster-install-1.4.0-release-c7-u18.tar.gz

**在目标服务器(192.168.0.1)app用户下执行**

进入到fate-cluster-install/allInone/conf目录下,修改配置文件setup.conf.
修改配置文件fate-cluster-install/allInone/conf/setup.conf.

```
vi fate-cluster-install/allInone/conf/setup.conf
```

配置文件setup.conf说明:

Expand All @@ -269,6 +273,7 @@ tar xzf fate-cluster-install-1.4.0-release-c7-u18.tar.gz
| roles | 默认:"host" "guest" | 部署的角色,有HOST端、GUEST端 |
| version | 默认:1.4.0 | Fate 版本号 |
| pbase | 默认: /data/projects | 项目根目录 |
| lbase | 默认:/data/logs | 保持默认不要修改 |
| ssh_user | 默认:app | ssh连接目标机器的用户,也是部署后文件的属主 |
| ssh_group | 默认:apps | ssh连接目标的用户的属组,也是部署后文件的属组 |
| ssh_port | 默认:22,根据实际情况修改 | ssh连接端口,部署前确认好端口,不然会报连接错误 |
Expand Down Expand Up @@ -406,19 +411,18 @@ basemodules=( "base" "java" "python" "eggroll" "fate" )
按照上述配置含义修改setup.conf文件对应的配置项后,然后在fate-cluster-install/allInone目录下执行部署脚本:

```
cd fate-cluster-install\allInone
cd fate-cluster-install/allInone
nohup sh ./deploy.sh > logs/boot.log 2>&1 &
```

部署日志输出在fate-cluster-install/allInone/logs目录下,实时查看是否有报错:

```
cd logs
tail -f boot.log (这个有报错信息才会输出,部署结束,查看一下即可)
tail -f deploy-guest.log (实时打印GUEST端的部署情况)
tail -f deploy-mysql-guest.log (实时打印GUEST端mysql的部署情况)
tail -f deploy-host.log (实时打印HOST端的部署情况)
tail -f deploy-mysql-host.log (实时打印HOST端mysql的部署情况)
tail -f ./logs/boot.log (这个有报错信息才会输出,部署结束,查看一下即可)
tail -f ./logs/deploy-guest.log (实时打印GUEST端的部署情况)
tail -f ./logs/deploy-mysql-guest.log (实时打印GUEST端mysql的部署情况)
tail -f ./logs/deploy-host.log (实时打印HOST端的部署情况)
tail -f ./logs/deploy-mysql-host.log (实时打印HOST端mysql的部署情况)
```

## 5.4 问题定位
Expand Down
4 changes: 2 additions & 2 deletions cluster-deploy/doc/Fate-exchange_deployment_guide_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ fi
```
cd /data/projects/install
wget https://webank-ai-1251170195.cos.ap-guangzhou.myqcloud.com/jdk-8u192-linux-x64.tar.gz
wget https://webank-ai-1251170195.cos.ap-guangzhou.myqcloud.com/FATE_install_1.4.0-rc4.tar.gz
wget https://webank-ai-1251170195.cos.ap-guangzhou.myqcloud.com/FATE_install_1.4.0-release.tar.gz
```

## 5.2 部署jdk
Expand All @@ -169,7 +169,7 @@ mv jdk1.8.0_192 jdk-8u192
#部署软件
#在目标服务器(192.168.0.1)app用户下执行:
cd /data/projects/install
tar xf FATE_install_1.4.0-rc4.tar.gz
tar xf FATE_install_1.4.0-release.tar.gz
cd FATE_install_1.4*
tar xvf eggroll.tar.gz -C /data/projects/fate
Expand Down

0 comments on commit d64c73f

Please sign in to comment.