Skip to content

Commit

Permalink
cherry pick pingcap#5435 to release-4.0
Browse files Browse the repository at this point in the history
Signed-off-by: ti-srebot <[email protected]>
  • Loading branch information
Joyinqin authored and ti-srebot committed Apr 26, 2021
1 parent 3d14f2a commit d2f6501
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ As a command line tool of PD, PD Control obtains the state information of the cl

## Install PD Control

> **Note:**
>
> It is recommended that the version of the Control tool you use is consistent with the version of the cluster.
### Use TiUP command

To use PD Control, execute the `tiup ctl pd -u http://<pd_ip>:<pd_port> [-i]` command.
Expand Down
4 changes: 4 additions & 0 deletions tidb-binlog/binlog-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ The following are its usage scenarios:

## Download `binlogctl`

> **Note:**
>
> It is recommended that the version of the Control tool you use is consistent with the version of the cluster.
{{< copyable "shell-regular" >}}

```bash
Expand Down
4 changes: 4 additions & 0 deletions tidb-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ TiDB Control is a command-line tool of TiDB, usually used to obtain the status i

You can get TiDB Control by installing it using TiUP or by compiling it from source code.

> **Note:**
>
> It is recommended that the version of the Control tool you use is consistent with the version of the cluster.
### Install TiDB Control using TiUP

After installing TiUP, you can use `tiup ctl tidb` command to get and execute TiDB Control.
Expand Down
8 changes: 8 additions & 0 deletions tikv-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ TiKV Control (`tikv-ctl`) is a command line tool of TiKV, used to manage the clu
* If the cluster is deployed using TiUP, `tikv-ctl` directory is in the in `~/.tiup/components/ctl/{VERSION}/` directory.

## Use TiKV Control in TiUP
<<<<<<< HEAD

=======

> **Note:**
>
> It is recommended that the version of the Control tool you use is consistent with the version of the cluster.
>>>>>>> 70a6d90f... ctl: add a note for all ctl docs (#5435)
`tikv-ctl` is also integrated in the `tiup` command. Execute the following command to call the `tikv-ctl` tool:

{{< copyable "shell-regular" >}}
Expand Down

0 comments on commit d2f6501

Please sign in to comment.