Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

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 ?

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Tekijä

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 25
508
2
marrask. 17
5604
2
marrask. 24
1665
1
lokak. 24
11175
2
marrask. 22
9651