Can pump or drainer be taken offline using the tiup command?

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

Original topic: pump或者drainer是否可以利用tiup命令下线

| username: danghuagood

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.

| username: hey-hoho | Original post link

First, use binlogctl to stop the service, then use tiup scale-in to remove the node information from the cluster.

| username: songxuecheng | Original post link

You can scale-in -N xxxx:xxx under the condition of ensuring safety.

| username: Raymond | Original post link

Can’t we use tiup stop to stop pump and drainer? What are the benefits of using binlogctl to stop them?

| username: hey-hoho | Original post link

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
| username: system | Original post link

This topic will be automatically closed 60 days after the last reply. No new replies are allowed.