Skip to content

how-to: document how to scale with TiUP#2645

Merged
yikeke merged 32 commits into
pingcap:masterfrom
wyuchen007:master
Apr 9, 2020
Merged

how-to: document how to scale with TiUP#2645
yikeke merged 32 commits into
pingcap:masterfrom
wyuchen007:master

Conversation

@wyuchen007
Copy link
Copy Markdown
Contributor

@wyuchen007 wyuchen007 commented Apr 7, 2020

What is changed, added or deleted? (Required)

Which TiDB version(s) do your changes apply to? (Required)

  • master (the latest development version)
  • v4.0 (TiDB 4.0 versions)
  • v3.1 (TiDB 3.1 versions)
  • v3.0 (TiDB 3.0 versions)
  • v2.1 (TiDB 2.1 versions)

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)?

  • This PR is translated from:
  • Other reference link(s):

@sre-bot sre-bot added the contribution This PR is from a community contributor. label Apr 7, 2020
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 7, 2020

CLA assistant check
All committers have signed the CLA.

@TomShawn TomShawn requested a review from yikeke April 7, 2020 12:45
@yikeke yikeke requested a review from superlzs0476 April 7, 2020 13:13
@yikeke yikeke changed the title how-to:scale with tiup how-to: document how to scale with TiUP Apr 7, 2020
@TomShawn TomShawn added the translation/doing This PR’s assignee is translating this PR. label Apr 9, 2020
@ran-huang ran-huang assigned ran-huang and unassigned yikeke Apr 9, 2020
Comment thread how-to/scale/with-tiup.md Outdated
Comment thread how-to/scale/with-tiup.md Outdated
Comment thread how-to/scale/with-tiup.md Outdated
Comment thread how-to/scale/with-tiup.md Outdated
Comment thread how-to/scale/with-tiup.md Outdated
yikeke and others added 7 commits April 9, 2020 17:42
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: Keke Yi <40977455+yikeke@users.noreply.github.com>
Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>
Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>
Comment thread how-to/scale/with-tiup.md
Comment thread how-to/scale/with-tiup.md Outdated
yikeke and others added 3 commits April 9, 2020 18:50
Co-Authored-By: kissmydb <likun@pingcap.com>
Copy link
Copy Markdown
Contributor

@yikeke yikeke left a comment

Choose a reason for hiding this comment

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

LGTM

wyuchen007 and others added 3 commits April 9, 2020 21:56
Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@ilovesoup ilovesoup left a comment

Choose a reason for hiding this comment

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

lgtm

@yikeke
Copy link
Copy Markdown
Contributor

yikeke commented Apr 9, 2020

/merge

@sre-bot sre-bot added the status/can-merge Indicates a PR has been approved by a committer. label Apr 9, 2020
@sre-bot
Copy link
Copy Markdown
Contributor

sre-bot commented Apr 9, 2020

/run-all-tests

@yikeke yikeke merged commit 245911a into pingcap:master Apr 9, 2020
sre-bot added a commit to sre-bot/docs-cn that referenced this pull request Apr 9, 2020
* Create scale.md

create scale.md

* Rename scale.md to scale-by-tiup.md

Rename file

* refine content and format

* refine content

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Add scaling out and in TiFlash part

* fix typos

* Update how-to/scale/with-tiup.md

Co-Authored-By: kissmydb <likun@pingcap.com>

* fix links

* Update how-to/scale/with-tiup.md

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update with-tiup.md

* Update how-to/scale/with-tiup.md

Co-Authored-By: kissmydb <likun@pingcap.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: kissmydb <likun@pingcap.com>

* Apply suggestions from code review

* fix ci

* Update how-to/scale/with-tiup.md

* Update with-tiup.md

* minor edits

* Update with-tiup.md

* Update with-tiup.md

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* refine format

Co-authored-by: yikeke <yikeke@pingcap.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: kissmydb <likun@pingcap.com>
Co-authored-by: Soup <maxiaoyu@pingcap.com>
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Copy Markdown
Contributor

sre-bot commented Apr 9, 2020

cherry pick to release-4.0 in PR #2694

yikeke added a commit that referenced this pull request Apr 9, 2020
* Create scale.md

create scale.md

* Rename scale.md to scale-by-tiup.md

Rename file

* refine content and format

* refine content

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Add scaling out and in TiFlash part

* fix typos

* Update how-to/scale/with-tiup.md

Co-Authored-By: kissmydb <likun@pingcap.com>

* fix links

* Update how-to/scale/with-tiup.md

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update with-tiup.md

* Update how-to/scale/with-tiup.md

Co-Authored-By: kissmydb <likun@pingcap.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: kissmydb <likun@pingcap.com>

* Apply suggestions from code review

* fix ci

* Update how-to/scale/with-tiup.md

* Update with-tiup.md

* minor edits

* Update with-tiup.md

* Update with-tiup.md

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* refine format

Co-authored-by: yikeke <yikeke@pingcap.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: kissmydb <likun@pingcap.com>
Co-authored-by: Soup <maxiaoyu@pingcap.com>
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>

Co-authored-by: wyuchen007 <56300360+wyuchen007@users.noreply.github.com>
Co-authored-by: yikeke <yikeke@pingcap.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: kissmydb <likun@pingcap.com>
Co-authored-by: Soup <maxiaoyu@pingcap.com>
@ran-huang ran-huang removed the contribution This PR is from a community contributor. label Apr 10, 2020
Comment thread how-to/scale/with-tiup.md
Comment thread how-to/scale/with-tiup.md

其中 `--node` 参数为需要下线节点的 ID。

预期输出 Scaled cluster `<cluster-name>` in successfully 信息,表示扩容操作成功。
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
预期输出 Scaled cluster `<cluster-name>` in successfully 信息,表示扩容操作成功
预期输出 Scaled cluster `<cluster-name>` in successfully 信息,表示缩容操作成功

Comment thread how-to/scale/with-tiup.md
tiup cluster scale-out <cluster-name> scale-out.yaml
```

预期输出 Scaled cluster `<cluster-name>` in successfully 信息,表示扩容操作成功。
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
预期输出 Scaled cluster `<cluster-name>` in successfully 信息,表示扩容操作成功。
预期输出 Scaled cluster `<cluster-name>` out successfully 信息,表示扩容操作成功。

Comment thread how-to/scale/with-tiup.md
| 10.0.1.1 | TiKV  |
| 10.0.1.2 | TiKV  |

打开浏览器访问监控平台 <http://10.0.1.5:3200>,监控整个集群和新增节点的状态。
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think there is no new node after the scaling-in operation

Suggested change
打开浏览器访问监控平台 <http://10.0.1.5:3200>监控整个集群和新增节点的状态
打开浏览器访问监控平台 <http://10.0.1.5:3200>监控整个集群的状态

@ran-huang ran-huang added translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. and removed translation/doing This PR’s assignee is translating this PR. labels Apr 16, 2020
rleungx pushed a commit to rleungx/docs-cn that referenced this pull request May 22, 2020
* Create scale.md

create scale.md

* Rename scale.md to scale-by-tiup.md

Rename file

* refine content and format

* refine content

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Add scaling out and in TiFlash part

* fix typos

* Update how-to/scale/with-tiup.md

Co-Authored-By: kissmydb <likun@pingcap.com>

* fix links

* Update how-to/scale/with-tiup.md

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* Update with-tiup.md

* Update how-to/scale/with-tiup.md

Co-Authored-By: kissmydb <likun@pingcap.com>

* Update how-to/scale/with-tiup.md

Co-Authored-By: kissmydb <likun@pingcap.com>

* Apply suggestions from code review

* fix ci

* Update how-to/scale/with-tiup.md

* Update with-tiup.md

* minor edits

* Update with-tiup.md

* Update with-tiup.md

* Update how-to/scale/with-tiup.md

Co-Authored-By: Keke Yi <40977455+yikeke@users.noreply.github.com>

* refine format

Co-authored-by: yikeke <yikeke@pingcap.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: kissmydb <likun@pingcap.com>
Co-authored-by: Soup <maxiaoyu@pingcap.com>
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/can-merge Indicates a PR has been approved by a committer. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants