Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: pump或者drainer是否可以利用tiup命令下线
Can the tiup command be used to take pump and drainer offline?
The official documentation says to use the specialized binlogctl tool for taking them offline, but it’s unclear whether the tiup cluster scale-in command can be used to take pump and drainer offline.
First, use binlogctl to stop the service, then use tiup scale-in to remove the node information from the cluster.
You can scale-in -N xxxx:xxx under the condition of ensuring safety.
Can’t we use tiup stop to stop pump and drainer? What are the benefits of using binlogctl to stop them?
Refer to the startup and shutdown process of pump and drainer:
Key points:
- Pump will only be taken offline when using the offline-pump command of binlogctl
- Drainer will only be taken offline when using the offline-drainer command of binlogctl
This topic will be automatically closed 60 days after the last reply. No new replies are allowed.