Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


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