Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4668 Lượt xem

Hi there,

Is it possible to have 0 down time with single or multiple instances and if it is possible, what is the best way to apply it ?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

From the point of view of Odoo, I have zero downtime on my production instances. From the point of view of the underlying servers thats another story, but that is not Odoo-related. So what exactly is your issue?

Update:

I do not change python code in my production instances :-)

But of course you are right: https://www.odoo.com/forum/help-1/how-to-update-module-without-restarting-server-114114

If you really need absolute zero downtime, you may think about loadbalancing: This can give you an idea: https://serverfault.com/questions/389301/amazon-ec2-elastic-load-balancing-strategy-for-zero-downtime-server-restart

Ảnh đại diện
Huỷ bỏ
Tác giả

As you know that, you have to restart odoo service to get all your changes done in the orm layer like creating new models etc.. So if you made changes in non-static binaries like .py files you have to restart your service. So how can you have zere down time ? is'nt it impossible to have zero down time while you have to restart service ?

See my amended answer.

Thank you for sharing this, I don't know why you were downvoted, at least now it is a zero :)

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
525
2
thg 11 17
5622
2
thg 11 24
1688
1
thg 10 24
11185
2
thg 11 22
9661