Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions deploy-monitoring-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ summary: 本文适用于手动部署 TiDB 监控报警系统的用户。假设 T
{{< copyable "shell-regular" >}}

```bash
wget https://download.pingcap.org/prometheus-2.27.1.linux-amd64.tar.gz
wget https://download.pingcap.org/node_exporter-v1.3.1-linux-amd64.tar.gz
wget https://download.pingcap.org/grafana-7.5.11.linux-amd64.tar.gz
wget https://download.pingcap.com/prometheus-2.27.1.linux-amd64.tar.gz
wget https://download.pingcap.com/node_exporter-v1.3.1-linux-amd64.tar.gz
wget https://download.pingcap.com/grafana-7.5.11.linux-amd64.tar.gz
```

解压二进制包:
Expand Down
2 changes: 1 addition & 1 deletion dm/dm-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ if the DDL is not needed, you can use a filter rule with \"*\" schema-pattern to
- 方法一:使用 `tiup update --self && tiup update dm` 升级 TiUP 到更新版本,随后先缩容再扩容集群中的 grafana 节点,重建 grafana 服务。
- 方法二:
1. 备份 `deploy/grafana-$port/bin/public` 文件夹。
2. 下载 [TiUP DM 离线镜像包](https://download.pingcap.org/tidb-dm-v2.0.1-linux-amd64.tar.gz),并进行解压,将其中的 grafana-v4.0.3-**.tar.gz 文件解压后,用解压出的 public/ 文件夹替换前面所描述的文件夹,运行 `tiup dm restart $cluster_name -R grafana` 重启 grafana 服务监控。
2. 下载 [TiUP DM 离线镜像包](https://download.pingcap.com/tidb-dm-v2.0.1-linux-amd64.tar.gz),并进行解压,将其中的 grafana-v4.0.3-**.tar.gz 文件解压后,用解压出的 public/ 文件夹替换前面所描述的文件夹,运行 `tiup dm restart $cluster_name -R grafana` 重启 grafana 服务监控。

## 在 DM v2.0 中,同时开启 relay 与 gtid 同步 MySQL 时,运行 `query-status` 发现 syncer checkpoint 中 GTID 不连续

Expand Down
2 changes: 1 addition & 1 deletion dm/quick-start-create-task.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ docker run --rm --name mysql-3307 -p 3307:3307 -e MYSQL_ALLOW_EMPTY_PASSWORD=tru
{{< copyable "shell-regular" >}}

```bash
wget https://download.pingcap.org/tidb-community-server-v{{{ .tidb-version }}}-linux-amd64.tar.gz
wget https://download.pingcap.com/tidb-community-server-v{{{ .tidb-version }}}-linux-amd64.tar.gz
tar -xzvf tidb-latest-linux-amd64.tar.gz
mv tidb-latest-linux-amd64/bin/tidb-server ./
./tidb-server -P 4000 --store mocktikv --log-file "./tidb.log" &
Expand Down
6 changes: 3 additions & 3 deletions pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ PD Control 是 PD 的命令行工具,用于获取集群状态信息和调整

| 安装包 | 操作系统 | 架构 | SHA256 校验和 |
| :------------------------------------------------------------------------ | :------- | :---- | :--------------------------------------------------------------- |
| `https://download.pingcap.org/tidb-community-server-{version}-linux-amd64.tar.gz` (pd-ctl) | Linux | amd64 | `https://download.pingcap.org/tidb-community-server-{version}-linux-amd64.tar.gz.sha256` |
| `https://download.pingcap.org/tidb-community-server-{version}-linux-arm64.tar.gz` (pd-ctl) | Linux | arm64 | `https://download.pingcap.org/tidb-community-server-{version}-linux-arm64.tar.gz.sha256` |
| `https://download.pingcap.com/tidb-community-server-{version}-linux-amd64.tar.gz` (pd-ctl) | Linux | amd64 | `https://download.pingcap.com/tidb-community-server-{version}-linux-amd64.tar.gz.sha256` |
| `https://download.pingcap.com/tidb-community-server-{version}-linux-arm64.tar.gz` (pd-ctl) | Linux | arm64 | `https://download.pingcap.com/tidb-community-server-{version}-linux-arm64.tar.gz.sha256` |

> **注意:**
>
> 下载链接中的 `{version}` 为 TiDB 的版本号。例如,amd64 架构的 `v{{{ .tidb-version }}}` 版本的下载链接为 `https://download.pingcap.org/tidb-community-server-v{{{ .tidb-version }}}-linux-amd64.tar.gz`。
> 下载链接中的 `{version}` 为 TiDB 的版本号。例如,amd64 架构的 `v{{{ .tidb-version }}}` 版本的下载链接为 `https://download.pingcap.com/tidb-community-server-v{{{ .tidb-version }}}-linux-amd64.tar.gz`。

### 源码编译

Expand Down
2 changes: 1 addition & 1 deletion tidb-binlog/get-started-with-tidb-binlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ sudo yum install -y mariadb-server
{{< copyable "shell-regular" >}}

```bash
curl -LO https://download.pingcap.org/tidb-community-server-v{{{ .tidb-version }}}-linux-amd64.tar.gz | tar xzf - &&
curl -LO https://download.pingcap.com/tidb-community-server-v{{{ .tidb-version }}}-linux-amd64.tar.gz | tar xzf - &&
cd tidb-latest-linux-amd64
```

Expand Down
Loading