TiUP Cannot Change monitoring_servers Configuration

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

Original topic: TiUP无法更改monitoring_servers配置

| username: TiDBer_58fsCDmZ

【TiDB Usage Environment】Production Environment or Test Environment or POC
【TiDB Version】TiDB-v5.2.1 tiup-1.5.6
【Encountered Problem】Unable to change host and port in monitoring_servers
【Reproduction Path】

  1. tiup cluster edit-config
  2. Change the monitoring_servers.host and port configuration

【Problem Phenomenon and Impact】
The error “New topology could not be saved: immutable field changed: Monitors.0.Host changed from ‘x.x.x.x’ to ‘x.x.x.x’” appears. The relevant configuration documentation states that some fields in monitoring_servers cannot be modified after deployment, including host and port. There is a similar question in the community at 如何更改TiKV設定檔案路徑 via TiUP edit-config (immutable field changed ... Nothing changed) - TiDB 的问答社区. Is there any other way to change the host and port configuration?
【Attachments】

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

| username: HACK | Original post link

If it doesn’t work, just delete the monitor component and recreate it. It won’t affect the cluster operation anyway.

| username: caiyfc | Original post link

Refer to this document:

| username: system | Original post link

This topic was automatically closed 1 minute after the last reply. No new replies are allowed.