-
Notifications
You must be signed in to change notification settings - Fork 441
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
Restore OVN DB from apiserver resources #1805
Comments
如果只删除 ovnnb_db.db 文件,保留 ovnsb_db.db 文件,在重建 ovn-central pod之后,在完成 NB DB的恢复之后,SB DB数据也能恢复正常。 |
在 ovs 健康检查中,加入 ovn-controller 对 OVN SB DB 写入的检查,不能正常写入时,就执行 sb-cluster-state-reset 命令,恢复写入控制。 |
https://confluence.alauda.cn/pages/viewpage.action?pageId=130548145 经过讨论,确认 OVN SB DB的恢复,由 ovs-ovn的健康检查,自动执行 sb-cluster-state-reset 命令实现。 |
Feature request
When the majority of ovn db crash, we should have a way to rescue the cluster from apiserver with no data loss.
If it can be achieved, we can just remove the data and restart ovn-central to recover from an incident, and we no longer need the ha of ovn db.
The text was updated successfully, but these errors were encountered: