Skip to content

Commit

Permalink
tikv, op-guide: refine TiKV Ansible deployment steps and update IPs (#…
Browse files Browse the repository at this point in the history
…559)

* tikv, op-guide: refine TiKV Ansible deployment steps and update IPs

Via: #508, #531, ...

* op-guide, tikv: address comments
  • Loading branch information
lilin90 authored Aug 3, 2018
1 parent c3ea60d commit cb1e83d
Show file tree
Hide file tree
Showing 2 changed files with 273 additions and 43 deletions.
18 changes: 8 additions & 10 deletions op-guide/ansible-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ You can use the TiDB-Ansible configuration file to set up the cluster topology a
- [Clean up data of the TiDB cluster](ansible-operation.md#clean-up-cluster-data)
- [Destroy the TiDB cluster](ansible-operation.md#destroy-a-cluster)

## Prerequisites
## Prepare

Before you start, make sure you have:

1. Several target machines that meet the following requirements:

- 4 or more machines

A standard TiDB cluster contains 6 machines. You can use 4 machines for testing.
A standard TiDB cluster contains 6 machines. You can use 4 machines for testing. For more details, see [Software and Hardware Requirements](recommendation.md).

- CentOS 7.3 (64 bit) or later, x86_64 architecture (AMD64)
- Network between machines
Expand Down Expand Up @@ -171,14 +171,12 @@ Make sure you have logged in to the Control Machine using the `tidb` user accoun
$ cd /home/tidb/tidb-ansible
$ vi hosts.ini
[servers]
192.168.0.2
192.168.0.3
192.168.0.4
192.168.0.5
192.168.0.6
192.168.0.7
192.168.0.8
192.168.0.10
172.16.10.1
172.16.10.2
172.16.10.3
172.16.10.4
172.16.10.5
172.16.10.6
[all:vars]
username = tidb
Expand Down
Loading

0 comments on commit cb1e83d

Please sign in to comment.