Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a TiUP note to production deployment #19943

Merged
merged 3 commits into from
Mar 3, 2025
Merged
Changes from 2 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
10 changes: 7 additions & 3 deletions production-deployment-using-tiup.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ TiUP 还支持部署 TiDB、TiFlash、TiCDC 以及监控系统。本指南介绍

### 在线部署

> **注意:**
>
> 如果 TiUP 环境会转变为离线,请参考[离线部署](#离线部署)方式进行配置,否则无法正常使用 TiUP。

以普通用户身份登录中控机。以 `tidb` 用户为例,后续安装 TiUP 及集群管理操作均通过该用户完成:

1. 执行如下命令安装 TiUP 工具:
Expand Down Expand Up @@ -79,7 +83,7 @@ TiUP 还支持部署 TiDB、TiFlash、TiCDC 以及监控系统。本指南介绍

方式二:使用 `tiup mirror clone` 命令手动打包离线组件包。步骤如下:

1. 在在线环境中安装 TiUP 包管理器工具
1. 在在线环境中安装 TiUP 包管理器工具

1. 执行如下命令安装 TiUP 工具:

Expand All @@ -99,7 +103,7 @@ TiUP 还支持部署 TiDB、TiFlash、TiCDC 以及监控系统。本指南介绍
which tiup
```

2. 使用 TiUP 制作离线镜像
2. 使用 TiUP 制作离线镜像

1. 在一台和外网相通的机器上拉取需要的组件:

Expand All @@ -117,7 +121,7 @@ TiUP 还支持部署 TiDB、TiFlash、TiCDC 以及监控系统。本指南介绍

此时,`tidb-community-server-${version}-linux-amd64.tar.gz` 就是一个独立的离线环境包。

3. 自定义制作的离线镜像,或调整已有离线镜像中的内容
3. 自定义制作的离线镜像,或调整已有离线镜像中的内容

如果从官网下载的离线镜像不满足你的具体需求,或者希望对已有的离线镜像内容进行调整,例如增加某个组件的新版本等,可以采取以下步骤进行操作:

Expand Down