TiDB PD Expansion: Logs Indicate Success, but Instance Fails to Start

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tidb扩容pd, 日志显示成功,但是实例未成功启动

| username: TiDBer_an

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version] v5.2.3
[Encountered Problem]
[Reproduction Path] What operations were performed to encounter the problem
[Problem Phenomenon and Impact]
tiup version: v1.9.3
tidb version: v5.2.3

After writing the pd expansion document, execute tiup cluster scale-out xxx.yaml

The result is as shown in the picture

There are no other error prompts,
tiup cluster display does not show the new node, and there is no pd node in the corresponding instance,
How should this be investigated?

[Attachment]

Please provide the version information of each component, such as cdc/tikv, which can be obtained by executing cdc version/tikv-server --version.

| username: songxuecheng | Original post link

Send it over.

| username: gary | Original post link

  1. Check the configuration file.
  2. Check if there are multiple clusters and if it has expanded to other clusters.
  3. Check the logs.
| username: TiDBer_an | Original post link

The document is as follows:

pd_servers:

  • host: xxx
    ssh_port: 22
    name: pd-xxx-2379-1
    client_port: 2379
    peer_port: 2380
    deploy_dir: /data1/tidb/tidb-deploy/pd-2379
    data_dir: /data1/tidb/tidb-data/pd-2379
    log_dir: /data1/tidb/tidb-deploy/pd-2379/log
    arch: amd64
    os: linux
| username: TiDBer_an | Original post link

There is no expansion to other clusters. Which log should I check? There is no prompt now.

| username: gary | Original post link

Check the PD logs for outputs related to successful scaling and other relevant logs.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.