Siirry sisältöön
Odoo Menu
  • Kirjaudu sisään
  • Kokeile ilmaiseksi
  • Sovellukset
    Talous
    • Kirjanpito
    • Laskutus
    • Kulut
    • Datataulukot (BI)
    • Asiakirjat
    • Allekirjoita
    Myynti
    • CRM
    • Myynti
    • Kassajärjestelmä myymälään
    • Kassajärjestelmä ravintolaan
    • Tilaukset
    • Vuokraus
    Verkkosivut
    • Verkkosivun Rakennustyökalu
    • Verkkokauppa
    • Blogi
    • Foorumi
    • Livechat
    • Verkko-oppiminen
    Toimitusketju
    • Varastointi
    • Tuotanto
    • Tuotteen elinkaaren hallinta (PLM)
    • Ostot
    • Huolto
    • Laatu
    Henkilöstöhallinto
    • Työntekijät
    • Rekrytointi
    • Vapaat
    • Arvioinnit
    • Suositukset
    • Kuljetuskalusto
    Markkinointi
    • Somemarkkinointi
    • Sähköpostimarkkinointi
    • Tekstiviestimarkkinointi
    • Tapahtumat
    • Markkinoinnin automaatio
    • Kyselyt
    Palvelut
    • Projekti
    • Työaikakirjaukset
    • Kenttähuolto
    • Asiakaspalvelu
    • Suunnittelu
    • Ajanvaraukset
    Tuottavuus
    • Viestintä
    • Hyväksynnät
    • IoT
    • IP-puhe
    • Tietokirjasto
    • WhatsApp
    Kolmannen osapuolen sovellukset Odoo-Studio Odoo-Pilvialusta
  • Toimialat
    Vähittäiskauppa
    • Kirjakauppa
    • Vaatekauppa
    • Huonekaluliike
    • Ruokakauppa
    • Laitteistokauppa
    • Lelukauppa
    Ruoka & Majoitus
    • Baari ja Pubi
    • Ravintola
    • Pikaruoka
    • Majatalo
    • Juomien jakelija
    • Hotelli
    Kiinteistöt
    • Kiinteistönvälitystoimisto
    • Arkkitehtitoimisto
    • Rakentaminen
    • Kiinteistönhallinta
    • Puutarhanhoito
    • Kiinteistön omistajien yhdistys
    Konsultointi
    • Tilitoimisto
    • Odoo-kumppani
    • Markkinointitoimisto
    • Lakitoimisto
    • Osaajahankinta
    • Tilintarkastus & sertifiointi
    Tuotanto
    • Tekstiili
    • Metalli
    • Huonekalut
    • Ruoka
    • Panimo
    • Yrityslahjat
    Terveys & Liikunta
    • Urheiluseura
    • Silmälasiliike
    • Kuntokeskus
    • Hyvinvointialan ammattilaiset
    • Apteekki
    • Kampaamo
    Kaupat
    • Yleismies
    • IT-laitteisto & Tuki
    • Aurinkoenergiajärjestelmät
    • Suutari
    • Siivouspalvelut
    • LVI-palvelut
    Muut
    • Voittoa tavoittelematon järjestö
    • Ympäristötoimisto
    • Mainostaulujen vuokraus  
    • Valokuvaus
    • Leasing-pyörät
    • Ohjelmistojen jälleenmyyjä
    Selaa kaikkia toimialoja
  • Yhteisö
    Opi
    • Kurssit
    • Dokumentaatio
    • Todistukset
    • Koulutus
    • Blogi
    • Podcast
    Kannusta kouluttautumaan
    • Koulutusohjelmat
    • Scale Up! Liiketoimintapeli
    • Vieraile Odoolla
    Hanki ohjelmisto
    • Lataa
    • Vertaile versioita
    • Julkaisut
    Tee yhteistyötä
    • Github
    • Foorumi
    • Tapahtumat
    • Käännökset
    • Ryhdy kumppaniksi
    • Kumppanipalvelut
    • Rekisteröi tilitoimistosi
    Hanki palveluja
    • Löydä kumppani
    • Löydä kirjanpitäjä
    • Varaa asiantuntijatapaaminen
    • Implementaatiopalvelut
    • Asiakasreferenssit
    • Tuki
    • Versionkorotukset
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Varaa demo
  • Hinnoittelu
  • Asiakaspalvelu

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

  • CRM
  • e-Commerce
  • Kirjanpito
  • Varastointi
  • PoS
  • Projekti
  • MRP
All apps
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Apua

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

Tilaa

Saat ilmoituksen, kun tähän viestiin ilmaantuu aktiviteettia

Tämä kysymys on merkitty
amazonclouddbec2rds
4 Vastaukset
23077 Näkymät
Avatar
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
Avatar
Hylkää
Avatar
Andre de Kock
Paras vastaus

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
Avatar
Hylkää
Avatar
BISSTECH SRL
Paras vastaus

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
Avatar
Hylkää
Avatar
José Elcorrobarrutia - Oxe360
Paras vastaus

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
Avatar
Hylkää
Avatar
August Doo
Paras vastaus

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
Avatar
Hylkää
Nautitko keskustelusta? Älä vain lue, vaan osallistu!

Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!

Rekisteröidy
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
Odoo+Postgres - Amazon servers or internal VMs?
amazon vm ec2 rds
Avatar
0
maalisk. 16
6095
link odoo with amazon rds database
amazon ec2 rds odoo odoo11.0
Avatar
Avatar
Avatar
Avatar
3
kesäk. 21
14947
Which is the best instance type to use on AWS to deploy ODOO in production?
aws ec2 rds
Avatar
Avatar
Avatar
2
marrask. 24
5957
Amazon EC2 login after install
amazon instance ec2
Avatar
Avatar
Avatar
2
maalisk. 15
9266
How to set DNS for odoo instance in Amazon EC2 server? Ratkaistu
amazon ec2 odoo10 DNS
Avatar
Avatar
1
huhtik. 17
7457
Yhteisö
  • Kurssit
  • Dokumentaatio
  • Foorumi
Avoin lähdekoodi
  • Lataa
  • Github
  • Runbot
  • Käännökset
Palvelut
  • Odoo.sh hosting
  • Tuki
  • Versionkorotus
  • Räätälöidyt kehitykset
  • Koulutus
  • Löydä kirjanpitäjä
  • Löydä kumppani
  • Ryhdy kumppaniksi
Meistä
  • Yrityksemme
  • Tavaramerkki
  • Ota yhteyttä
  • Työpaikat
  • Tapahtumat
  • Podcast
  • Blogi
  • Asiakkaat
  • Oikeudellinen ilmoitus • Yksityisyys
  • Tietoturva
الْعَرَبيّة 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 on kokoelma avoimen lähdekoodin yrityssovelluksia, jotka kattavat kaikki yrityksesi tarpeet: asiakkuudenhallinta eli CRM, verkkokauppa, kirjanpito, varastointi, kassajärjestelmä, projektinhallinta, jne.

Odoon uniikki arvolupaus on olla samanaikaisesti erittäin helppokäyttöinen ja täysin integroitu.

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