Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Many OpenERP installation on same machine

By
Renato Ferreira
on 4/1/13, 1:18 PM 9,743 views

Is it possible to have many instances of OpenERP installed on the same machine or just with virtualization ?

Thanks

Do you want multiple installations of OpenERP (ie. several OpenERP servers installed concurrently), or do you want several instances of the same version of OpenERP (ie. several databases)?

Fabrice Henrion (fhe)
on 4/1/13, 9:38 PM

I want multiple installations of OpenERP, is it possible with oerpenv ?

Avitis - Software Development, Renato Ferreira
on 4/2/13, 10:27 AM
2
Tran Ngoc Tuan
On 1/28/14, 10:26 AM

Yes, this is possible. The basic is:

  1. Each instance should have its own user and home directory for security
  2. Each instance should be run on different ports
  3. Setup an HTTP proxy (Apache or NginX could be used) to proxy HTTP requests to the appropriate instance. E.g. xxx.company.com will be forwarded to openerpserver:8069 and yyy.company.com will be forwarded to openerpserver:8169
  4. Each instance should have its own PostgreSQL account for security reason.

David lists all more important points. If you need many, doing it manually is error prone and you may be interested in https://docs.google.com/document/d/1lKIHZcc3TFOUrjQebQ-sVyQ000mIv9gkxJSbCt0JQjE/edit?usp=sharing At SISalp, we host up to 200 separate instances per virtual machine with this tool.

SISalp
on 1/28/14, 1:58 PM

xoe from SISalp is a GREAT TOOL !! I recommend it 1000%

Mario Arias Badila
on 4/30/15, 10:10 PM
2

Vardan

--Vardan--
1038
| 4 4 8
Delhi, India
--Vardan--
Vardan
On 4/2/13, 3:52 AM

Yess you can install many instance of ERP on a server.

1

Gustavo

--Gustavo--
950
| 2 1 4
Buenos Aires, Argentina
--Gustavo--

Python developer, big fan of sailing

Gustavo
On 4/1/13, 3:18 PM

Yes you can, you can do it with virtualenv or with oerpenv

https://launchpad.net/oerpenv

1
Sandro Regis
On 4/1/13, 11:31 PM

Just in addition, if you install more than one instance of OpenERP server u should instantiate different ports to avoid conflicts.

0
Mathieu Lefez
On 4/28/15, 11:35 AM

Hello,

Regarding "Each instance should have its own PostgreSQL account for security reason", I believe it is not enough and I even wonder if one shouldn't even have a separate Postgres server.

Actually, OpenERP postgres user is created as superuser (at leat by Odoo Windows installer). Thus, even with a dedicated user, each instance can access db instances of other users.

I realized that when I installed Odoo v8 which could list v7 db instances whereas it connects to PostgreSQL server with its own user (and it did not like instrospecting v7 db instances at all ...)

So, I uncheked 'superuser' option. From there, v8 instance could not list v7 databases. But, when restoring db dump, pg_restore complained it could not delete and recreate 'public' role ... which explains why db user is created as super user by default.

Mathieu

-3
Akash Verma
On 5/15/14, 3:23 AM

Hi Guys !!

We are an IT development company based in India, We are Gold partners with Oracle and are experts in ERP implementation.

We have also developed a Mini ERP to meet the needs of the SME's.

We get very good reviews for our services from our clients.

We can cater to any requirement in IT and that too in affordable prices.

Why should a modest budget mean you have to compromise on the quality of the services or products.

Do give us a call to discuss your needs and rest assured for the best services.

Best Regards,

Akash Verma

Sr. Business Development Manager

SRDT Pvt. Ltd.

+91-8176047544

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 4/1/13, 1:18 PM
Seen: 9743 times
Last updated: 6/17/16, 1:35 PM