Skip to content

Commit db4a343

Browse files
ireneonthewayTomShawn
andauthoredSep 24, 2020
Update deploy-tidb-lightning.md (pingcap#3963)
* Update deploy-tidb-lightning.md * Apply suggestions from code review Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
1 parent 55ecb13 commit db4a343

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎tidb-lightning/deploy-tidb-lightning.md

+6
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ You can deploy TiDB Lightning using TiDB Ansible together with the [deployment o
127127
# Sets the directory for temporarily storing the sorted key-value pairs.
128128
# The target directory must be empty.
129129
"sorted-kv-dir" = "/mnt/ssd/sorted-kv-dir"
130+
131+
[tidb]
132+
# An address of pd-server.
133+
pd-addr = "172.16.31.4:2379
130134
```
131135
132136
6. Log in to the `tidb-lightning` server, and manually run the following command to start Lightning and import the data into the TiDB cluster.
@@ -184,6 +188,8 @@ Refer to the [TiDB enterprise tools download page](/download-ecosystem-tools.md#
184188
password = ""
185189
# Table schema information is fetched from TiDB via this status-port.
186190
status-port = 10080
191+
# An address of pd-server.
192+
pd-addr = "172.16.31.4:2379"
187193
```
188194
189195
The above only shows the essential settings.

0 commit comments

Comments
 (0)
Please sign in to comment.