تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4637 أدوات العرض

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 ?

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
الكاتب

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 :)

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 25
462
2
نوفمبر 17
5575
2
نوفمبر 24
1614
1
أكتوبر 24
11145
2
نوفمبر 22
9627