Infrastructure for iD - how to?

55 views
Skip to first unread message

Leszek Bober

unread,
Feb 16, 2021, 9:59:57 AM2/16/21
to iDempiere
Hi All
I have a 48C/96T  and 128GB RAM server.
I would like to run two iD instances and a database server (on XenOrchiestra)
The first for accounting, management, reporting and forecasting.
The second for Production, Material Management, SO and PO, Forwarding.
And Server for postgresql

I want to eliminate the case where computing a large report slows down the system.
Is creating three machines on this server a good idea?
Or maybe two servers, for iD and Postgresql, will be enough?

Users about 50.

Regards
Leszek Bober

Orlando Curieles

unread,
Feb 16, 2021, 10:10:25 AM2/16/21
to iDempiere

Hi, I'm have a similar server here and I running 4 instances of idempiere with docker - for each 20 user I'm using a docker machine.

This is my yml file 

version: '3.7'
services:
  idempiere:
    image: idempiereofficial:8.2
    hostname: 'idprpro'
    ports:
      - 8080:8080
      - 12612:12612
      - 631:631
    environment:
      - TZ=America/Guayaquil
      - DB_NAME=DBPDPRID9439
      - DB_HOST=172.19.0.1
      - DB_PORT=5432
      - DB_USER=adempiere
      - DB_PASS=/run/secrets/postgres_db_pass
      - DB_ADMIN_PASS_FILE=/run/secrets/postgres_admin_pass
      - JAVA_OPTS=-Xms256M -Xmx12288M
      - MIGRATE_EXISTING_DATABASE=true
    volumes:
      - idempiere_config:/opt/idempiere/configuration
      - idempiere_plugins:/opt/idempiere/plugins
      - idempiere_log:/opt/idempiere/log
    secrets:
      - postgres_admin_pass
    deploy:
      resources:
        limits:
          cpus: '4'
          memory: 16384M
        reservations:
          cpus: '0.25'
          memory: 512M

volumes:
  idempiere_plugins:
  idempiere_config:
  idempiere_log:

secrets:
  postgres_admin_pass:
    external: true

Reply all
Reply to author
Forward
0 new messages