how-to/deploy: add TiFlash to TiUP deployment#2662
Merged
Conversation
added 10 commits
October 1, 2019 19:16
Contributor
Author
|
@lilin90 @ilovesoup @cocoyi17 PTAL |
| > 无需手动创建 tidb 用户,TiUP cluster 组件会在部署主机上自动创建该用户。可以自定义用户,也可以和中控机的用户保持一致。 | ||
| > - 无需手动创建 tidb 用户,TiUP cluster 组件会在部署主机上自动创建该用户。可以自定义用户,也可以和中控机的用户保持一致。 | ||
| > | ||
| > - [部署 Tiflash](https://pingcap.com/docs-cn/dev/reference/tiflash/deploy/) 需要开启 `replication.enable-placement-rules` ,以开启 PD 的 [Placement Rules](https://pingcap.com/docs-cn/dev/how-to/configure/placement-rules/) 功能。 |
Contributor
There was a problem hiding this comment.
同一个文档内部链接是不是用 /reference/tiflash/deploy 就可以了?
Contributor
There was a problem hiding this comment.
是的,内链统一用相对链接哈,方便 cherry-pick: @superlzs0476
- https://pingcap.com/docs-cn/dev/reference/tiflash/deploy/ -> /reference/tiflash/deploy.md
- https://pingcap.com/docs-cn/dev/how-to/configure/placement-rules/ -> /how-to/configure/placement-rules.md
Contributor
Author
There was a problem hiding this comment.
没明白,你来提一个 suggestion 我来点赞吧
| - host: 10.0.1.3 | ||
| tiflash_servers: | ||
| - host: 10.0.1.10 | ||
| # data_dir: /data1/tiflash/data,/data2/tiflash/data |
Contributor
There was a problem hiding this comment.
其他组件的配置的注释好像都是从 https://github.com/pingcap-incubator/tiup-cluster/blob/master/topology.example.yaml 拷贝过来
tiflash是不是也可以拷贝过来?
# ssh_port: 22
# tcp_port: 9000
# http_port: 8123
# flash_service_port: 3930
# flash_proxy_port: 20170
# flash_proxy_status_port: 20292
# metrics_port: 8234
# deploy_dir: deploy/tiflash-9000
# data_dir: deploy/tiflash-9000/data
# log_dir: deploy/tiflash-9000/log
# numa_node: "0,1"
# # Config is used to overwrite the `server_configs.tiflash` values
# config:
# logger:
# level: "info"
# learner_config:
# log-level: "info"
Contributor
Author
There was a problem hiding this comment.
提供一般参数介绍吧,这么多参数,Tiflash 的部署文档里面都没有。
yikeke
reviewed
Apr 9, 2020
Co-Authored-By: Liangliang Gu <marsishandsome@gmail.com>
Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>
Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>
Co-Authored-By: Liangliang Gu <marsishandsome@gmail.com>
Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>
Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>
yikeke
reviewed
Apr 9, 2020
yikeke
reviewed
Apr 9, 2020
yikeke
reviewed
Apr 9, 2020
| > | ||
| > - tiflash_servers 实例级别配置 `"-host"` 目前只支持 IP,不支持域名。 | ||
| > | ||
| > - Tiflash 具体的参数配置介绍请见[常见部署问题 Tiflash 参数配置](#常见部署问题)。 |
Contributor
There was a problem hiding this comment.
Suggested change
| > - Tiflash 具体的参数配置介绍请见[常见部署问题 Tiflash 参数配置](#常见部署问题)。 | |
| > - Tiflash 具体的参数配置介绍请见[常见部署问题 Tiflash 参数配置](#tiflash-参数)。 |
| > | ||
| > - tiflash_servers 实例级别配置 `"-host"` 目前只支持 ip,不支持域名。 | ||
| > | ||
| > - Tiflash 具体的参数配置介绍请见[常见部署问题 Tiflash 参数配置](#常见部署问题)。 |
Contributor
There was a problem hiding this comment.
Suggested change
| > - Tiflash 具体的参数配置介绍请见[常见部署问题 Tiflash 参数配置](#常见部署问题)。 | |
| > - Tiflash 具体的参数配置介绍请见[常见部署问题 Tiflash 参数配置](#tiflash-参数)。 |
| > | ||
| > - tiflash_servers 实例级别配置 `"-host"` 目前只支持 IP,不支持域名。 | ||
| > | ||
| > - Tiflash 具体的参数配置介绍请见[常见部署问题 Tiflash 参数配置](#常见部署问题)。 |
Contributor
There was a problem hiding this comment.
Suggested change
| > - Tiflash 具体的参数配置介绍请见[常见部署问题 Tiflash 参数配置](#常见部署问题)。 | |
| > - Tiflash 具体的参数配置介绍请见[常见部署问题 Tiflash 参数配置](#tiflash-参数)。 |
yikeke
reviewed
Apr 9, 2020
| | 实例 | data_dir | 继承 global 配置 | 数据目录 | | ||
| | 实例 | log_dir | 继承 global 配置 | 日志目录 | | ||
|
|
||
|
|
Contributor
There was a problem hiding this comment.
Suggested change
Multiple blanks will fail the CI.
sre-bot
pushed a commit
to sre-bot/docs-cn
that referenced
this pull request
Apr 9, 2020
* add module of deploy topology configuration for Tiflash * fix typo: tomestone -> tombstone * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Liangliang Gu <marsishandsome@gmail.com> * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Liangliang Gu <marsishandsome@gmail.com> * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com> * Revert "fix typo: tomestone -> tombstone" This reverts commit 0460005. * Update how-to/deploy/orchestrated/tiup.md * FIX CI * add module of deploy topology configuration for Tiflash * add module of deploy topology configuration for Tiflash * refine format and content Co-authored-by: yikeke <yikeke@pingcap.com> Co-authored-by: Liangliang Gu <marsishandsome@gmail.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com>
5 tasks
Contributor
|
cherry pick to release-4.0 in PR #2673 |
yikeke
added a commit
that referenced
this pull request
Apr 9, 2020
* add module of deploy topology configuration for Tiflash * fix typo: tomestone -> tombstone * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Liangliang Gu <marsishandsome@gmail.com> * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Liangliang Gu <marsishandsome@gmail.com> * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com> * Revert "fix typo: tomestone -> tombstone" This reverts commit 0460005. * Update how-to/deploy/orchestrated/tiup.md * FIX CI * add module of deploy topology configuration for Tiflash * add module of deploy topology configuration for Tiflash * refine format and content Co-authored-by: yikeke <yikeke@pingcap.com> Co-authored-by: Liangliang Gu <marsishandsome@gmail.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: lzs <43946384+superlzs0476@users.noreply.github.com> Co-authored-by: yikeke <yikeke@pingcap.com> Co-authored-by: Liangliang Gu <marsishandsome@gmail.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com>
rleungx
pushed a commit
to rleungx/docs-cn
that referenced
this pull request
May 22, 2020
* add module of deploy topology configuration for Tiflash * fix typo: tomestone -> tombstone * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Liangliang Gu <marsishandsome@gmail.com> * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Liangliang Gu <marsishandsome@gmail.com> * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update how-to/deploy/orchestrated/tiup.md Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com> * Revert "fix typo: tomestone -> tombstone" This reverts commit 0460005. * Update how-to/deploy/orchestrated/tiup.md * FIX CI * add module of deploy topology configuration for Tiflash * add module of deploy topology configuration for Tiflash * refine format and content Co-authored-by: yikeke <yikeke@pingcap.com> Co-authored-by: Liangliang Gu <marsishandsome@gmail.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is changed, added or deleted? (Required)
Which TiDB version(s) do your changes apply to? (Required)
If you select two or more versions from above, to trigger the bot to cherry-pick this PR to your desired release version branch(es), you must add corresponding labels such as needs-cherry-pick-4.0, needs-cherry-pick-3.1, needs-cherry-pick-3.0, and needs-cherry-pick-2.1.
What is the related PR or file link(s)?