Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: TiUP无法更改monitoring_servers配置
【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】
- tiup cluster edit-config
- 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.