Skip to content

Commit 0781f03

Browse files
lilin90CaitinChen
authored andcommitted
op-guide: update TiDB download links (pingcap#640)
* op-guide: update TiDB download links Via: pingcap/docs-cn#899 * op-guide: address comments
1 parent e8a6f65 commit 0781f03

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

op-guide/ansible-deployment-rolling-update.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,22 @@ When you perform a rolling update for a TiDB cluster, the service is shut down s
2020

2121
1. Edit the value of the `tidb_version` parameter in the `/home/tidb/tidb-ansible/inventory.ini` file, and specify the version number you need to upgrade to.
2222

23-
For example, to upgrade from `v2.0.2` to `v2.0.3`:
23+
For example, to upgrade from `v2.0.6` to `v2.0.7`:
2424

2525
```
26-
tidb_version = v2.0.3
26+
tidb_version = v2.0.7
2727
```
2828
29+
> **Note:** If you use `tidb-ansible` of the master branch, you can keep `tidb_version = latest`. The installation package of the latest TiDB version is updated each day.
30+
2931
2. Delete the existing `downloads` directory `/home/tidb/tidb-ansible/downloads/`.
3032
3133
```
3234
$ cd /home/tidb/tidb-ansible
3335
$ rm -rf downloads
3436
```
3537
36-
3. Use `playbook` to download the TiDB `v2.0.3` binary and replace the existing binary in `/home/tidb/tidb-ansible/resource/bin/` with it automatically.
38+
3. Use `playbook` to download the TiDB binary and replace the existing binary in `/home/tidb/tidb-ansible/resource/bin/` with it automatically.
3739
3840
```
3941
$ ansible-playbook local_prepare.yml
@@ -44,11 +46,17 @@ When you perform a rolling update for a TiDB cluster, the service is shut down s
4446
You can also download the binary manually. Use `wget` to download the binary and replace the existing binary in `/home/tidb/tidb-ansible/resource/bin/` with it manually.
4547
4648
```
47-
wget http://download.pingcap.org/tidb-v2.0.3-linux-amd64-unportable.tar.gz
49+
wget http://download.pingcap.org/tidb-v2.0.7-linux-amd64.tar.gz
4850
```
4951
5052
> **Note:** Remember to replace the version number in the download link with the one you need.
5153
54+
If you use `tidb-ansible` of the master branch, download the binary using the following command:
55+
56+
```
57+
$ wget http://download.pingcap.org/tidb-latest-linux-amd64.tar.gz
58+
```
59+
5260
### Perform a rolling update using Ansible
5361
5462
- Apply a rolling update to the PD node (only upgrade the PD service)

0 commit comments

Comments
 (0)