Skip to Content
Odoo เมนู
  • ลงชื่อเข้าใช้
  • ทดลองใช้ฟรี
  • แอป
    การเงิน
    • ระบบบัญชี
    • ระบบการออกใบแจ้งหนี้
    • ระบบบัญชีรายจ่าย
    • ระบบการจัดการข้อมูลผ่านสเปรดชีต (BI)
    • เอกสาร
    • ระบบลงลายเซ็น
    การขาย
    • ลูกค้าสัมพันธ์
    • การขาย
    • POS ร้านค้า
    • POS ร้านอาหาร
    • ระบบสมัครสมาชิก
    • การเช่า
    การจัดการเว็บไซต์
    • เครื่องมือสร้างเว็บไซต์
    • ระบบการขายออนไลน์
    • บล็อก
    • ฟอรั่ม
    • ไลฟ์แชท
    • ระบบการอบรมออนไลน์
    ซัพพลายเชน
    • คลังสินค้า
    • ระบบการผลิต
    • PLM
    • ระบบการจัดซื้อ
    • การซ่อมบำรุง
    • ระบบจัดการคุณภาพ
    ทรัพยากรบุคคล
    • ข้อมูลพนักงาน
    • ระบบสรรหาบุคลากร
    • ระบบการลา
    • การประเมิน
    • ระบบการแนะนำพนักงาน
    • ระบบจัดการยานพาหนะ
    การตลาด
    • โซเชียลมาร์เก็ตติ้ง
    • การตลาดผ่านอีเมล
    • ระบบการตลาดผ่าน SMS
    • ระบบการจัดงานอีเวนต์
    • การตลาดแบบอัตโนมัติ
    • ระบบแบบสำรวจ
    การบริการ
    • โปรเจกต์
    • ระบบบันทึกเวลา
    • ระบบการจัดการบริการภาคสนาม
    • ระบบดูแลช่วยเหลือ
    • การวางแผน
    • การนัดหมาย
    ประสิทธิผล
    • ระบบแสดงความคิดเห็น
    • ระบบการอนุมัติ
    • ไอโอที
    • VoIP
    • คลังข้อมูล
    • WhatsApp
    แอปพลิเคชันของบุคคลที่สาม Odoo สตูดิโอ แพลตฟอร์มคลาวด์ของ Odoo
  • อุตสาหกรรม
    การค้าปลีก
    • ร้านขายหนังสือ
    • ร้านขายเสื้อผ้า
    • ร้านขายเฟอร์นิเจอร์
    • ร้านขายของชำ
    • ร้านขายฮาร์ดแวร์
    • ร้านขายของเล่น
    Food & Hospitality
    • บาร์และผับ
    • ร้านอาหาร
    • อาหารฟาสต์ฟู้ด
    • Guest House
    • ตัวแทนจำหน่ายเครื่องดื่ม
    • Hotel
    อสังหาริมทรัพย์
    • Real Estate Agency
    • บริษัทสถาปัตยกรรม
    • บริษัทรับเหมา
    • การจัดการอสังหาริมทรัพย์
    • การจัดสวน
    • สมาคมเจ้าของอสังหาริมทรัพย์
    ปรึกษา
    • สำนักงานบัญชี
    • Odoo พาร์ทเนอร์
    • เอเจนซี่การตลาด
    • สำนักงานกฎหมาย
    • บริการสรรหาบุคลากร
    • การตรวจสอบและการรับรอง
    ระบบการผลิต
    • Textile
    • เหล็ก
    • เฟอร์นิเจอร์
    • อาหาร
    • Brewery
    • ของขวัญขององค์กร
    สุขภาพ & ฟิตเนส
    • ชมรมกีฬา
    • ร้านขายแว่นตา
    • ฟิตเนส
    • ผู้ประกอบวิชาชีพด้านสุขภาพ
    • ร้านขายยา
    • ร้านทำผม
    Trades
    • ช่างซ่อม
    • ฮาร์ดแวร์และการสนับสนุนด้านไอที
    • ระบบพลังงานแสงอาทิตย์
    • ช่างทำรองเท้า
    • บริการทำความสะอาด
    • HVAC Services
    อื่น ๆ
    • Nonprofit Organization
    • สำนักงานสิ่งแวดล้อม
    • ร้านเช่าป้ายโฆษณา
    • การถ่ายภาพ
    • ร้านเช่าจักรยาน
    • ตัวแทนจำหน่ายซอฟต์แวร์
    Browse all Industries
  • คอมมูนิตี้
    ศึกษา
    • บทเรียน
    • เอกสารกำกับโปรแกรม
    • การรับรอง
    • การฝึกอบรม
    • บล็อก
    • พอดแคสต์
    เพิ่มศักยภาพให้กับการศึกษา
    • โปรแกรมการศึกษา
    • Scale Up! Business Game
    • เยี่ยมชม Odoo
    รับซอฟต์แวร์
    • ดาวน์โหลด
    • เปรียบเทียบรุ่น
    • เผยแพร่
    ทำงานร่วมกัน
    • Github
    • ฟอรั่ม
    • ระบบการจัดงานอีเวนต์
    • การแปล
    • ร่วมเป็นพาร์ทเนอร์
    • Services for Partners
    • ลงทะเบียนเพื่อสร้างบัญชีบริษัทของคุณ
    รับบริการ
    • ค้นหาพาร์ทเนอร์
    • ค้นหานักบัญชี
    • พบกับที่ปรึกษา
    • บริการติดตั้งระบบเพื่อใช้งาน
    • ข้อมูลอ้างอิงลูกค้า
    • การสนับสนุน
    • อัปเกรด
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    รับการสาธิต
  • ราคา
  • ช่วยเหลือ

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • ลูกค้าสัมพันธ์
  • e-Commerce
  • ระบบบัญชี
  • สินค้าคงคลัง
  • PoS
  • โปรเจกต์
  • MRP
All apps
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
All Posts คน เหรียญรางวัล
แท็ก (View all)
odoo accounting v14 pos v15
เกี่ยวกับฟอรั่มนี้
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
All Posts คน เหรียญรางวัล
แท็ก (View all)
odoo accounting v14 pos v15
เกี่ยวกับฟอรั่มนี้
ช่วยเหลือ

Deployment of Odoo in High Availability

ติดตาม

รับการแจ้งเตือนเมื่อมีกิจกรรมในโพสต์นี้

คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
179 มุมมอง
อวตาร
Omar Khallouf

Hi community.


How to deploy Odoo 19 enterprise on a cloud server with multiple application servers and multiple database severs ?


Appreciate your help.

0
อวตาร
ละทิ้ง
Mark Levandovsky

Hi,
I might be able to help, but could you clarify what setup you actually mean? When you mention “multiple application servers and multiple database servers”, are you referring to one of these scenarios:

A. Multiple independent Odoo instances? For example: 3–4 separate Odoo deployments on the same cloud server provider:
1. company1.example.com → uses company1_db
2. company2.example.com → uses company2_db
3. etc.

or

B. A single Odoo 19 Enterprise instance with high availability / load balancing? For example: one Odoo service for one company, but scaled horizontally:
1. several Odoo application servers behind a load balancer
2. a PostgreSQL cluster with replication/failover

These two architectures are very different, so understanding which one you need will determine the correct deployment strategy.

Could you specify which one matches your expectations?

Omar Khallouf
ผู้เขียน

Hello Mark.

Thank you for your response.

I mean B: a single Odoo instance for a single company with high availability.

The idea here is that I want to deploy Odoo enterprise on a cloud server, Google Cloud for example, and I need the system to be highly available in case of any disaster happening. Yes, I was thinking of having multiple application servers behind a load balancer.

I need the application and the database servers to be highly available.

Is it possible to separate postgres from the application in Odoo, having an "application" server that has the modules, the logic, the custom code, etc, and a "database" server that only has postgres ?


In the case of postgres, is it applicable to have a managed postgres service from the cloud provider, or I will strictly have to manage postgres manually ?


Also, the question of license is critical. How does the enterprise license play with multiple application servers ?

Thank you in advance. I appreciate it.

Codesphere Tech

Yes, it is possible to run PostgreSQL as a separate database server. I’ve implemented this using AWS RDS, which works very well for separating the application and database layers.
You can also set up disaster recovery using a Master–Slave (Primary–Replica) PostgreSQL configuration. In this setup, if the primary instance fails, the secondary (replica) instance is automatically promoted, ensuring high availability and minimal downtime.

Codesphere Tech

I don’t have much experience with managing enterprise licenses across multiple servers, and for the application server I used VPC Peering in AWS. Currently, the blog I wrote is not accessible due to a server issue. I will provide here blog link once it is available.

Omar Khallouf
ผู้เขียน

Hi Lakhan,

Please tell us more details about the application server. Did you deploy two of them ?

How did you manage the enterprise license between multiple servers ?

Omar Khallouf
ผู้เขียน

Thank you so much Mark.

The customer is sensitive about the odoo sh backup replicas being hosted outside of the production branch's location.

For the database, yes, we will deploy one write node, and multiple read nodes.

In that case and as I understand, we can have 2 Odoo app servers, 1 write DB node, 3-4 read only nodes, and shared NFS storage for files.

I greatly appreciate your help and time.

Mark Levandovsky

Well, in that case it’s actually very straightforward. Odoo supports only a single db_replica_host - you can’t define multiple replicas directly in odoo.conf.

So in your configuration file (odoo.conf), you сan specify:
- db_host = IPv4 of the primary database
- db_replica_host = IPv4 of the load-balanced replicas

Your load balancer will handle the 3–4 replica nodes.

Good luck with your implementation! For testing, you may find this link helpful:
https://www.odoo.com/documentation/19.0/developer/reference/cli.html#database

อวตาร
Mark Levandovsky
คำตอบที่ดีที่สุด

Honestly, what you're describing is basically a Kubernetes-style Odoo deployment, even if you don’t say “Kubernetes” out loud. Multiple app servers, multiple DB servers, HA, load balancers… that is the architecture.

Odoo is stateless, so you can run as many replicas as you want. The only real requirement: every single instance needs the exact same database config. Like: db_host, db_port, db_user, db_password, db_name.

More here: https://www.odoo.com/documentation/19.0/administration/on_premise/deploy.html#id4

You said you want multiple database servers - not just a backup. As I understood it:
- one write node
- several read replicas
- automatic failover
- maybe even a virtual IP / HA endpoint

Typical ways people do this:
- Patroni (the classic Postgres HA solution in Kubernetes)
- CrunchyData operator (also very popular)
- Google Cloud SQL (if you want HA without babysitting your cluster)

Google Cloud SQL is the simplest: you get a primary, read replicas, backups, and failover without touching replication configs. Odoo doesn’t care about replicas vs primary. It just connects to the primary endpoint. Your Google Cloud Postgres setup handles the magic.

Enterprise license? Super easy.
The license has nothing to do with how many Odoo applications servers you run.

It’s tied to the database and the number of active users inside that database. As long as all your app servers point to the same DB (same db_name), everything is fine. Want 2 app servers? 10? 50? Doesn’t matter. Odoo only checks the user count and license key in the DB. If your write node + replicas stay in sync, you’ll never have license issues.

Not pushing it - just genuinely asking. Have you already ruled out using odoo.sh?
Not suggesting it as “the solution”, but simply because it already provides HA PostgreSQL, backups, worker scaling, and redundancy. Sometimes it covers exactly the requirements you described - unless you have specific constraints (region, compliance, private network, very custom modules, etc.).

P.S.:
Odoo supports only a single db_replica_host - you can’t define multiple replicas directly in odoo.conf.

So in your configuration file (odoo.conf), you сan specify:

- db_host = IPv4 of the primary database
- db_replica_host = IPv4 of the load-balanced replicas

Your load balancer will handle the 3–4 replica nodes.

Good luck with your implementation! For testing, you may find this link helpful:

https://www.odoo.com/documentation/19.0/developer/reference/cli.html#database

0
อวตาร
ละทิ้ง
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!

สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!

ลงชื่อ
คอมมูนิตี้
  • บทเรียน
  • เอกสารกำกับโปรแกรม
  • ฟอรั่ม
โอเพนซอร์ส
  • ดาวน์โหลด
  • Github
  • Runbot
  • การแปล
บริการ
  • โฮสติ้ง odoo.sh เซิร์ฟเวอร์
  • การสนับสนุน
  • อัปเกรด
  • การพัฒนาที่กำหนดเอง
  • การศึกษา
  • ค้นหานักบัญชี
  • ค้นหาพาร์ทเนอร์
  • ร่วมเป็นพาร์ทเนอร์
เกี่ยวกับเรา
  • บริษัทของเรา
  • ทรัพย์สินในรูปของเครื่องหมายการค้า
  • ติดต่อเรา
  • งาน
  • ระบบการจัดงานอีเวนต์
  • พอดแคสต์
  • บล็อก
  • ลูกค้า
  • กฎหมาย • ความเป็นส่วนตัว
  • ความปลอดภัย
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo เป็นชุดแอปธุรกิจแบบเปิดที่ครอบคลุมทุกความต้องการของบริษัทของคุณ อาธิ CRM eCommerce ระบบบัญชี ระบบสินค้าคงคลัง ระบบการขายหน้าร้าน โปรเจกต์ และ อีกมากมาย

ความเหนือกว่าอันเป็นเอกลักษณ์ของ Odoo คือการใช้งานที่ง่ายดายและผสานการทำงานอย่างสมบูรณ์แบบในเวลาเดียวกัน

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now