Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么zookeeper上running节点中的运行节点地址始终是172.17.0.1 #3329

Closed
Marxss opened this issue Jan 21, 2021 · 2 comments
Closed

Comments

@Marxss
Copy link

Marxss commented Jan 21, 2021

Question

如题,即使发生了故障转移,节点还是显示该实例运行在172.17.0.1 上。

@lanmaodage
Copy link

重启多次或删除conf里面对应的文件夹就会在另外的节点启动起来

@Marxss
Copy link
Author

Marxss commented Jan 28, 2021

找到问题的原因了,在配置的时候要加上canal.register.ip = 10.1.1.134 (docker容器所在物理机IP地址),也可以在docker容器启动的时候添加环境变量。

@Marxss Marxss closed this as completed Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants