Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.82 KB

minimal-deployment-topology.md

File metadata and controls

30 lines (22 loc) · 1.82 KB
title summary aliases
Minimal Deployment Topology
Learn the minimal deployment topology of TiDB clusters.
/docs/dev/minimal-deployment-topology/

Minimal Deployment Topology

This document describes the minimal deployment topology of TiDB clusters.

Topology information

Instance Count Physical machine configuration IP Configuration
TiDB 2 16 VCore 32 GiB
100 GiB for storage
10.0.1.1
10.0.1.2
Default port
Global directory configuration
PD 3 4 VCore 8 GiB
100 GiB for storage
10.0.1.4
10.0.1.5
10.0.1.6
Default port
Global directory configuration
TiKV 3 16 VCore 32 GiB
2 TiB (NVMe SSD) for storage
10.0.1.7
10.0.1.8
10.0.1.9
Default port
Global directory configuration
Monitoring & Grafana 1 4 VCore 8 GiB
500 GiB (SSD) for storage
10.0.1.10 Default port
Global directory configuration

Topology templates

For detailed descriptions of the configuration items in the above TiDB cluster topology file, see Topology Configuration File for Deploying TiDB Using TiUP.

Note:

  • You do not need to manually create the tidb user in the configuration file. The TiUP cluster component automatically creates the tidb user on the target machines. You can customize the user, or keep the user consistent with the control machine.
  • If you configure the deployment directory as a relative path, the cluster will be deployed in the home directory of the user.