Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
45684cd
change the file name
Joyinqin Nov 12, 2020
63d66fb
Merge remote-tracking branch 'upstream/master'
Joyinqin Nov 12, 2020
2e89c94
Merge remote-tracking branch 'upstream/master'
Joyinqin Nov 13, 2020
831ba14
Merge remote-tracking branch 'upstream/master'
Joyinqin Nov 20, 2020
6c698ea
Merge remote-tracking branch 'upstream/master'
Joyinqin Nov 23, 2020
60ce13d
Merge remote-tracking branch 'upstream/master'
Joyinqin Nov 23, 2020
28a1847
Merge remote-tracking branch 'upstream/master'
Joyinqin Nov 25, 2020
537134c
Merge remote-tracking branch 'upstream/master'
Joyinqin Nov 26, 2020
ee108ab
Merge remote-tracking branch 'upstream/master'
Joyinqin Nov 27, 2020
8747019
Merge remote-tracking branch 'upstream/master'
Joyinqin Nov 30, 2020
75067d9
Delete tidb-trace-viewer-2.png
Joyinqin Nov 30, 2020
764edfd
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 1, 2020
818c64c
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 2, 2020
4e3b164
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 4, 2020
2760f59
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 7, 2020
92983ee
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 7, 2020
aa90d35
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 8, 2020
542faaa
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 9, 2020
e390fa8
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 10, 2020
25bc16c
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 10, 2020
7cd53d8
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 14, 2020
29c7399
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 14, 2020
c2b3dd9
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 16, 2020
64b1cd5
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 18, 2020
ea2e66f
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 21, 2020
3242098
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 22, 2020
8a8649e
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 22, 2020
bbf294a
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 24, 2020
a957d26
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 25, 2020
a5fca79
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 28, 2020
79237e0
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 29, 2020
abf4951
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 30, 2020
8a97037
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 30, 2020
5302e6d
Merge remote-tracking branch 'upstream/master'
Joyinqin Dec 30, 2020
6e4cbcb
Merge remote-tracking branch 'upstream/master'
Joyinqin Jan 4, 2021
84d69e9
Merge remote-tracking branch 'upstream/master'
Joyinqin Jan 6, 2021
f7c981c
Merge remote-tracking branch 'upstream/master'
Joyinqin Jan 11, 2021
b4cce5d
Merge remote-tracking branch 'upstream/master'
Joyinqin Jan 18, 2021
d5274f7
Merge remote-tracking branch 'upstream/master'
Joyinqin Jan 19, 2021
2f8effe
Merge remote-tracking branch 'upstream/master'
Joyinqin Jan 19, 2021
05c5087
Merge remote-tracking branch 'upstream/master'
Joyinqin Jan 21, 2021
3a255dd
Merge remote-tracking branch 'upstream/master'
Joyinqin Jan 25, 2021
a87e382
Update tiup-overview.md
Joyinqin Jan 25, 2021
d501a95
Merge remote-tracking branch 'upstream/master'
Joyinqin Jan 27, 2021
113b593
Merge remote-tracking branch 'upstream/master'
Joyinqin Jan 28, 2021
a37a0ea
Merge remote-tracking branch 'upstream/master'
Joyinqin Jan 29, 2021
1fb2628
Merge remote-tracking branch 'upstream/master'
Joyinqin Feb 1, 2021
9493329
Merge remote-tracking branch 'upstream/master'
Joyinqin Feb 4, 2021
98c5b4e
Merge remote-tracking branch 'upstream/master'
Joyinqin Feb 18, 2021
bd893b8
Merge remote-tracking branch 'upstream/master'
Joyinqin Feb 19, 2021
7d4cd2a
Merge remote-tracking branch 'upstream/master'
Joyinqin Feb 19, 2021
fad2ad9
Merge remote-tracking branch 'upstream/master'
Joyinqin Feb 23, 2021
7fc8fa4
Merge remote-tracking branch 'upstream/master'
Joyinqin Feb 23, 2021
ffd0903
Merge remote-tracking branch 'upstream/master'
Joyinqin Feb 23, 2021
9be6ae2
Merge remote-tracking branch 'upstream/master'
Joyinqin Feb 23, 2021
4ada314
Merge remote-tracking branch 'upstream/master'
Joyinqin Feb 23, 2021
6137069
Merge remote-tracking branch 'upstream/master'
Joyinqin Feb 24, 2021
561d6a7
Merge remote-tracking branch 'upstream/master'
Joyinqin Feb 25, 2021
51b922b
Merge remote-tracking branch 'upstream/master'
Joyinqin Feb 26, 2021
25d5601
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 1, 2021
8c0e93d
Merge branch 'master' of https://github.com/Joyinqin/docs
Joyinqin Mar 1, 2021
3045d71
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 1, 2021
319f161
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 1, 2021
a3f0e19
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 1, 2021
0c6e3b8
Merge branch 'master' of https://github.com/Joyinqin/docs
Joyinqin Mar 1, 2021
aba5298
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 2, 2021
1a066a3
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 3, 2021
3f73dca
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 4, 2021
534d50e
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 5, 2021
e7c002f
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 10, 2021
e68a821
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 12, 2021
56297e9
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 12, 2021
f3aea9c
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 15, 2021
7fb2f31
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 16, 2021
5227705
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 18, 2021
e59caa2
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 22, 2021
3ea737c
Delete sql-statement-alter-index.md
Joyinqin Mar 22, 2021
05538c7
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 23, 2021
f7214cb
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 23, 2021
a95826b
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 25, 2021
b0e6bac
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 25, 2021
c25fb0b
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 25, 2021
40d16e6
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 26, 2021
0f2cc2c
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 29, 2021
5d37e98
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 30, 2021
38d061c
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 30, 2021
de26f1b
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 30, 2021
1fa691a
Merge remote-tracking branch 'upstream/master'
Joyinqin Mar 31, 2021
da31ce5
Merge remote-tracking branch 'upstream/master'
Joyinqin Apr 1, 2021
c514917
Merge remote-tracking branch 'upstream/master'
Joyinqin Apr 1, 2021
aca2c26
Merge remote-tracking branch 'upstream/master'
Joyinqin Apr 2, 2021
4d33311
Merge remote-tracking branch 'upstream/master'
Joyinqin Apr 5, 2021
5ef0e0a
Merge remote-tracking branch 'upstream/master'
Joyinqin Apr 6, 2021
83e1a2a
Merge remote-tracking branch 'upstream/master'
Joyinqin Apr 6, 2021
16cd892
Merge remote-tracking branch 'upstream/master'
Joyinqin Apr 7, 2021
2cb0ac7
Merge remote-tracking branch 'upstream/master'
Joyinqin Apr 7, 2021
9b48a2b
Merge remote-tracking branch 'upstream/master'
Joyinqin Apr 7, 2021
dce720a
Merge remote-tracking branch 'upstream/master'
Joyinqin Apr 8, 2021
20501b0
Merge remote-tracking branch 'upstream/master'
Joyinqin Apr 9, 2021
61029a2
Merge remote-tracking branch 'upstream/master'
Joyinqin Apr 9, 2021
9bf2006
add 4 docs
Joyinqin Apr 9, 2021
9153c8e
Merge branch 'master' into tiup-joyin8
Joyinqin Apr 11, 2021
c8a127f
Revert "Merge branch 'master' into tiup-joyin8"
Joyinqin Apr 11, 2021
4f68462
Update tiup-component-dm-edit-config.md
Joyinqin Apr 11, 2021
06c01ff
refine the docs
Joyinqin Apr 12, 2021
3c11465
Apply suggestions from code review
Joyinqin Apr 12, 2021
63ac7de
Apply suggestions from code review
Joyinqin Apr 13, 2021
bfe4e98
Merge remote-tracking branch 'upstream/master' into tiup-joyin8
Joyinqin Apr 15, 2021
22707ed
hide links
Joyinqin Apr 15, 2021
13fcbe2
Update tiup-component-dm-scale-out.md
Joyinqin Apr 15, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tiup/tiup-command-help.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The TiUP command-line interface provides users with a wealth of help information

## Syntax

```sh
```shell
tiup help [command]
```

Expand Down
4 changes: 2 additions & 2 deletions tiup/tiup-component-cluster-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ tiup cluster deploy <cluster-name> <version> <topology.yaml> [flags]

- Specifies the key file used to connect to the target machine.
- Data type: `STRING`
- Default: `~/.ssh/id_rsa`
- If this option is not specified in the command, the `~/.ssh/id_rsa` file is used to connect to the target machine by default.

### -p, --password

- Specifies the password used to connect to the target machine. Do not use it with `-i/--identity_file` at the same time.
- Specifies the password used to connect to the target machine. Do not use this option with `-i/--identity_file` at the same time.
- Data type: `BOOLEAN`
- Default: false

Expand Down
2 changes: 1 addition & 1 deletion tiup/tiup-component-cluster-destroy.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ After an application goes offline, if you want to release the machines occupied

## Syntax

```sh
```shell
tiup cluster destroy <cluster-name> [flags]
```

Expand Down
2 changes: 1 addition & 1 deletion tiup/tiup-component-cluster-edit-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you need to modify the cluster configuration after the cluster is deployed, y

## Syntax

```sh
```shell
tiup cluster edit-config <cluster-name> [flags]
```

Expand Down
33 changes: 33 additions & 0 deletions tiup/tiup-component-dm-edit-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: tiup dm edit-config
---

# tiup dm edit-config

If you need to modify the cluster service configuration after the cluster is deployed, you can use the `tiup dm edit-config` command that starts an editor for you to modify the [topology file]<!-- (/tiup/tiup-dm-topology-reference.md) -->. of the specified cluster. This editor is specified in the `$EDITOR` environment variable by default. If the `$EDITOR` environment variable does not exist, the `vi` editor is used.

> **Note:**
>
> + When you modify the configuration, you cannot add or delete machines. For how to add machines, see [Scale out a cluster](/tiup/tiup-component-dm-scale-out.md). For how to delete machines, see [Scale in a cluster](/tiup/tiup-component-dm-scale-in.md).
> + After you execute the `tiup dm edit-config` command, the configuration is modified only on the control machine. Then you need to execute the `tiup dm relaod` command to reload the configuration.

## Syntax

```shell
tiup dm edit-config <cluster-name> [flags]
```

`<cluster-name>`: the cluster to operate on.

## Option

### -h, --help

- Prints the help information.
- Data type: `BOOLEAN`
- Default: false

## Output

- Normally, no output.
- If you have mistakenly modified the fields that cannot be modified, when you save the file, an error is reported, reminding you to edit the file again. For the fields that cannot be modified, see [the topology file]<!-- (/tiup/tiup-dm-topology-reference.md)-->.
25 changes: 25 additions & 0 deletions tiup/tiup-component-dm-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: tiup dm help
---

# tiup dm help

tiup-dm command-line interface provides users with a wealth of help information. You can view it via the `help` command or the `--help` option. Basically, `tiup dm help <command>` is equivalent to `tiup dm <command> --help`.

## Syntax

```shell
tiup dm help [command] [flags]
```

`[command]` is used to specify the help information of which command that users need to view. If it is not specified, the help information of `tiup-dm` is viewed.

### -h, --help

- Prints the help information.
- Data type: `BOOLEAN`
- Default: false

## Output

The help information of `[command]` or `tiup-dm`.
39 changes: 39 additions & 0 deletions tiup/tiup-component-dm-scale-in.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: tiup dm scale-in
---

# tiup dm scale-in

The `tiup dm scale-in` command is used to scale in the cluster. Scaling in the cluster means taking the service offline, which eventually removes the specified node from the cluster and deletes the remaining related files.

## Syntax

```shell
tiup dm scale-in <cluster-name> [flags]
```

`<cluster-name>`: the name of the cluster to operate on. If you forget the cluster name, you can check it with the [cluster list]<!--(/tiup/tiup-component-dm-list.md) --> command.

## Options

### -N, --node

- Specifies the nodes to be scaled in. If you need to scale in multiple nodes, split them by commas.
- Data type: `Strings`
- Default: no. This option is mandatory and the value must be not null.

### --force

- In some cases, some scale-in nodes in the cluster have been down, making it impossible to connect to the node through SSH for operation. At this time, you can use the `--force` option to remove these nodes from the cluster.
- Data type: `BOOLEAN`
- Default: false. If this option is not specified in the command, the specified nodes are not forcibly removed.

### -h, --help

- Prints the help information.
- Data type: `BOOLEAN`
- Default: false

## Output

The log of scaling in.
47 changes: 47 additions & 0 deletions tiup/tiup-component-dm-scale-out.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
title: tiup dm scale-out
---

# tiup dm scale-out

The `tiup dm scale-out` command is used for scaling out the cluster. The internal logic of scaling out the cluster is similar to the cluster deployment. The `tiup-dm` components first establish an SSH connection to the new node, create the necessary directories on the target node, then perform the deployment and start the service.

## Syntax

```shell
tiup dm scale-out <cluster-name> <topology.yaml> [flags]
```

`<cluster-name>`: the name of the cluster to operate on. If you forget the cluster name, you can check it with the [cluster list]<!--(/tiup/tiup-component-dm-list.md) command-->.

`<topology.yaml>`: the prepared [topology file]<!--(/tiup/tiup-dm-topology-reference.md)-->. This topology file should only contain the new nodes that are to be added to the current cluster.

## Options

### -u, --user

- Specifies the user name used to connect to the target machine. This user must have the secret-free sudo root permission on the target machine.
- Data type: `STRING`
- Default: the current user who executes the command.

### -i, --identity_file

- Specifies the key file used to connect to the target machine.
- Data type: `STRING`
- If this option is not specified in the command, the `~/.ssh/id_rsa` file is used to connect to the target machine by default.

### -p, --password

- Specifies the password used to connect to the target machine. Do not use this option and `-i/--identity_file` at the same time.
- Data type: `BOOLEAN`
- Default: false

### -h, --help

- Prints the help information.
- Data type: `BOOLEAN`
- Default: false

## Output

The log of scaling out.