Bỏ qua để đến Nội dung
Odoo Menu
  • Đăng nhập
  • Dùng thử miễn phí
  • Ứng dụng
    Tài chính
    • Kế toán
    • Hóa đơn
    • Chi phí
    • Bảng tính (BI)
    • Tài liệu
    • Ký tên
    Bán hàng
    • CRM
    • Bán hàng
    • POS Cửa hàng
    • POS Nhà hàng
    • Đăng ký
    • Cho thuê
    Trang web
    • Trình tạo trang web
    • Thương mại điện tử
    • Blog
    • Diễn đàn
    • Trò chuyện trực tiếp
    • Học trực tuyến
    Chuỗi cung ứng
    • Tồn kho
    • Sản xuất
    • PLM
    • Mua hàng
    • Bảo dưỡng
    • Chất lượng
    Nhân sự
    • Nhân viên
    • Tuyển dụng
    • Ngày nghỉ
    • Đánh giá
    • Giới thiệu
    • Đội xe
    Marketing
    • Marketing trên MXH
    • Marketing qua email
    • Marketing qua SMS
    • Sự kiện
    • Tự động hóa Marketing
    • Khảo sát
    Dịch vụ
    • Dự án
    • Bảng chấm công
    • Dịch vụ hiện trường
    • Hỗ trợ
    • Kế hoạch
    • Lịch hẹn
    Năng suất
    • Thảo luận
    • Phê duyệt
    • IoT
    • VoIP
    • Kiến thức
    • WhatsApp
    Ứng dụng của bên thứ ba Studio Odoo Nền tảng Đám mây Odoo
  • Ngành
    Bán lẻ
    • Nhà sách
    • Cửa hàng quần áo
    • Cửa hàng nội thất
    • Cửa hàng tạp hóa
    • Cửa hàng đồ kim khí
    • Cửa hàng đồ chơi
    Ẩm thực & Dịch vụ lưu trú
    • Bar và quán rượu
    • Nhà hàng
    • Đồ ăn nhanh
    • Guest house
    • Nhà phân phối đồ uống
    • Khách sạn
    Bất động sản
    • Công ty môi giới bất động sản
    • Công ty kiến trúc
    • Xây dựng
    • Quản lý bất động sản
    • Làm vườn
    • Hiệp hội chủ sở hữu bất động sản
    Tư vấn
    • Công ty kế toán
    • Đối tác Odoo
    • Công ty marketing
    • Công ty luật
    • Tuyển dụng
    • Thanh tra & chứng nhận
    Sản xuất
    • Dệt may
    • Kim loại
    • Nội thất
    • Ẩm thực
    • Nhà máy bia
    • Quà tặng doanh nghiệp
    Sức khoẻ & fitness
    • CLB thể thao
    • Cửa hàng kính mắt
    • Trung tâm fitness
    • Chuyên gia chăm sóc sức khỏe
    • Hiệu thuốc
    • Tiệm làm tóc
    Thương mại
    • Dịch vụ sửa chữa
    • Phần cứng CNTT & Hỗ trợ
    • Hệ thống năng lượng mặt trời
    • Công ty sản xuất giày
    • Dịch vụ vệ sinh
    • Dịch vụ HVAC
    Khác
    • Tổ chức phi lợi nhuận
    • Cơ quan môi trường
    • Cho thuê biển quảng cáo
    • Nhiếp ảnh
    • Cho thuê xe đạp
    • Đại lý phần mềm
    Xem tất cả ngành
  • Cộng đồng
    Học tập
    • Khóa học
    • Tài liệu
    • Chứng chỉ
    • Đào tạo
    • Blog
    • Podcast
    Thúc đẩy đào tạo
    • Chương trình đào tạo
    • Trò chơi kinh doanh Scale Up!
    • Tham quan Odoo
    Nhận phần mềm
    • Tải xuống
    • So sánh các phiên bản
    • Phiên bản
    Hợp tác
    • Github
    • Diễn đàn
    • Sự kiện
    • Dịch thuật
    • Trở thành đối tác
    • Dịch vụ dành cho Đối tác
    • Đăng ký công ty kế toán của bạn
    Nhận dịch vụ
    • Tìm đối tác
    • Tìm kế toán
    • Gặp chuyên gia hỗ trợ
    • Dịch vụ Triển khai
    • Khách hàng tham khảo
    • Hỗ trợ
    • Nâng cấp
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Nhận một buổi demo
  • Bảng giá
  • Trợ giúp

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

  • CRM
  • e-Commerce
  • Kế toán
  • Tồn kho
  • PoS
  • Dự án
  • MRP
All apps
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Hỗ trợ

How to install OPENERP's DB in RDS (Amazon) and link to EC2 (Amazon)?

Đăng ký nhận tin

Nhận thông báo khi có hoạt động trên bài viết này

Câu hỏi này đã bị gắn cờ
amazonclouddbec2rds
4 Trả lời
23078 Lượt xem
Ảnh đại diện
Hector Danilo Vasquez Gutierrez

I have installed OPENERP into the cloud in EC2, which it was a success. Now I am trying to have my DB in RDS (AMAZON), which it accepts postgres as DB. I have tried modify the config file,

[options]

; This is the password that allows database operations:

; admin_passwd = admin

db_host = 'postgresql.c8be59frvnrc.us-east-1.rds.amazonaws.com'

db_port = 5432

db_user = openerp

db_password = openerp

db_name = openerp

logfile = /var/log/openerp/openerp-server.log

but when i load the openerp-server, it stills shows "database hostname: localhost" and it doesn't even try to connect to the RDS.

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

I don't think that the db_host parameter should be in quotes.

Also note: I have had problems with Amazon's PostgreSQL RDS versions 9.3.2 to 9.3.5. Make sure the version you are using is 9.3.1 or 9.3.6.

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

I've configured Odoo/OpenERP to work properly with Amazon RDS.
The steps are:
1. Create your Amazon RDS database. In that process, you will provide a Postgres user name + pass and at the end you will be given: an endpoint (server name + port number, default port is 5432)

2. In the Odoo/OpenERP configuration file, write down the parameters below:

db_host = your_endpoint_name_without_port_number_and_without_any_quotes
db_password = your_postgres_passwd

db_port = 5432
db_user =your_postgres_user_name

3. Restart Odoo to enable these changes.

4. If your Odoo/OpenERP server is an AWS EC2 server, you should note that AWS resolves your db server endpoint with the private IP. Make sure that you add a security rule to your security group that allows the AWS EC2 server to access the RDS server (your db server on Amazon).

That's all! Please upvote this answer if it works for you too. Thanks!

1
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
José Elcorrobarrutia - Oxe360
Câu trả lời hay nhất

The configuration is very similar to the one when everything in the same server (the EC2). You should point to the RDS dns name (instead IPs) and use the very same user and password you set when you created the RDS instance. In EC2 you can install also the PSQL client to access via command line to your RDS. It's importan to consider the version of the Postgres you installed in the EC2, because RDS it's always updated and it doesn't work if you try to connect with a different version of PSQL client.

I had a problem when backing up the database from the browser (odoo8.0), because previously in EC2 I had PSQL 9.3, while RDS was 9.5, so I had to install postgres 9.5 in the EC2, and also reset the link for pg_dump

 pg_dump -> /usr/lib/postgresql/9.5/bin/pg_dump

This is part of the odoo-USER1-server.conf.

[options]; This is the password that allows database operations:
admin_passwd = ADMINPASS_FOR_ODOO
db_host = EXAMPLERDSDNSNAME.ccebtp93ib46.us-west-2.rds.amazonaws.com
db_port = 5432
db_user = USER1
db_password = PASSUSER1
logfile = /var/log/USER1/odoo-USER1-server.log
addons_path=/opt/MOREADDONS/addons1addons_path=/opt/odoo/addons,/opt/MOREADDONS/addons1,/opt/MOREADDONS/addons2,/opt/MOREADDONS/addons3

You can have also have more than one Odoo instance within the same EC2 and the same RDS by setting different configuration files, like odoo1-server.conf, odoo2-server.conf, odooN-server.conf and using different RDS users in each file. The effect is that each odoo enviroment will only see the databases created with that specific user.

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

Does anyone work out how to get it sorted? It should be an interesting topic to explore. From the idea of backup in S3, I think there should be some configuration to connect EC2 with DB. For back up in S3, s3cmd is installed. visit here:http://s3tools.org/s3cmd

I searched online and found this: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ConnectToPostgreSQLInstance.html

I will try that later.

0
Ảnh đại diện
Huỷ bỏ
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!

Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!

Đăng ký
Bài viết liên quan Trả lời Lượt xem Hoạt động
Odoo+Postgres - Amazon servers or internal VMs?
amazon vm ec2 rds
Ảnh đại diện
0
thg 3 16
6095
link odoo with amazon rds database
amazon ec2 rds odoo odoo11.0
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
3
thg 6 21
14947
Which is the best instance type to use on AWS to deploy ODOO in production?
aws ec2 rds
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
2
thg 11 24
5957
Amazon EC2 login after install
amazon instance ec2
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
2
thg 3 15
9266
How to set DNS for odoo instance in Amazon EC2 server? Đã xử lý
amazon ec2 odoo10 DNS
Ảnh đại diện
Ảnh đại diện
1
thg 4 17
7457
Cộng đồng
  • Khóa học
  • Tài liệu
  • Diễn đàn
Open source
  • Tải xuống
  • Github
  • Runbot
  • Dịch thuật
Dịch vụ
  • Lưu trữ Odoo.sh
  • Hỗ trợ
  • Nâng cấp
  • Phát triển tùy chỉnh
  • Đào tạo
  • Tìm kế toán
  • Tìm đối tác
  • Trở thành đối tác
Giới thiệu công ty
  • Công ty của chúng tôi
  • Tài sản thương hiệu
  • Liên hệ
  • Việc làm
  • Sự kiện
  • Podcast
  • Blog
  • Khách hàng
  • Pháp lý • Riêng tư
  • Bảo mật
الْعَرَبيّة 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 là bộ ứng dụng kinh doanh có open source đáp ứng tất cả các nhu cầu của công ty bạn: CRM, thương mại điện tử, kế toán, tồn kho, POS, quản lý dự án, v.v.

Định hướng giá trị riêng biệt của Odoo là tích hợp hoàn toàn và dễ dàng sử dụng.

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