[SOLVED] How to install gigacommerce (Elasticsearch) at second server

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
ЕвгенияСемихова(ИПСемиховаЕ.А.)
Posts: 67
Joined: 11 Jan 2025, 09:45

Re: How to install gigacommerce (Elasticsearch) at second server

Post by ЕвгенияСемихова(ИПСемиховаЕ.А.) » 11 Feb 2025, 11:09

Dear Aimeos, how I can check it? By URL? By logs at Elasticsearch server?
I think now work good, becouse new ID of items is very strange (at first look): like
Product 32-x9JQB5vAqH9S6BDfrShirts for women Default
Debian 12, PHP 8.3, Server 1 = Aimeos 2024.10.13, Server 2 = ES 8.17.1
life is full of many new and interesting things

User avatar
ЕвгенияСемихова(ИПСемиховаЕ.А.)
Posts: 67
Joined: 11 Jan 2025, 09:45

Re: [SOLVED] How to install gigacommerce (Elasticsearch) at second server

Post by ЕвгенияСемихова(ИПСемиховаЕ.А.) » 11 Feb 2025, 13:18

please tell me which implementation scheme will be the most productive.:

Hosting allows to create an internal network infrastructure to combine two virtual servers (Aimeos + Elasticsearch) into a separate personal network. Only the Aimeos server will be connected to the Internet separately.

Image

Question number 1: as I understand it, I don't need to configure ssl to connect Aimeos to Elasticsearch, since the network is isolated (virtual) and traffic interception is not implied?

Question #2: Will the most productive system be from the 'es' + 'es-stock' setup? Do I understand correctly that this allows you to store the products themselves and their quantity in the Elasticsearch cache?

Question No.2.1 - is it necessary to specify the connection to Elasticsearch's server 2 times for the above parameters 'es' + 'es-stock'? Like this:
Image

Is this right? Two separate connections.
Or I can only add 'es' for cashing items? At the future I'm planning to add every seller's warehouses (so, total "stocks" will be many more)
Debian 12, PHP 8.3, Server 1 = Aimeos 2024.10.13, Server 2 = ES 8.17.1
life is full of many new and interesting things

User avatar
aimeos
Administrator
Posts: 8531
Joined: 01 Jan 1970, 00:00

Re: How to install gigacommerce (Elasticsearch) at second server

Post by aimeos » 13 Feb 2025, 11:04

ЕвгенияСемихова(ИПСемиховаЕ.А.) wrote: 11 Feb 2025, 11:09 I think now work good, becouse new ID of items is very strange (at first look): like
Product 32-x9JQB5vAqH9S6BDfrShirts for women Default
Yes, ElasticSearch IDs are hashes.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
aimeos
Administrator
Posts: 8531
Joined: 01 Jan 1970, 00:00

Re: [SOLVED] How to install gigacommerce (Elasticsearch) at second server

Post by aimeos » 13 Feb 2025, 11:11

ЕвгенияСемихова(ИПСемиховаЕ.А.) wrote: 11 Feb 2025, 13:18 Hosting allows to create an internal network infrastructure to combine two virtual servers (Aimeos + Elasticsearch) into a separate personal network. Only the Aimeos server will be connected to the Internet separately.
Yes, that's best.
ЕвгенияСемихова(ИПСемиховаЕ.А.) wrote: 11 Feb 2025, 13:18 Question number 1: as I understand it, I don't need to configure ssl to connect Aimeos to Elasticsearch, since the network is isolated (virtual) and traffic interception is not implied?
That's true, it's not necessary if the ES server isn't available from the outside at all.
ЕвгенияСемихова(ИПСемиховаЕ.А.) wrote: 11 Feb 2025, 13:18 Question #2: Will the most productive system be from the 'es' + 'es-stock' setup? Do I understand correctly that this allows you to store the products themselves and their quantity in the Elasticsearch cache?
Both, products and stocks are stored in ES documents only and not in the database. This is best if you have more products than the DB could handle (> 1-10 millon).
ЕвгенияСемихова(ИПСемиховаЕ.А.) wrote: 11 Feb 2025, 13:18 Question No.2.1 - is it necessary to specify the connection to Elasticsearch's server 2 times for the above parameters 'es' + 'es-stock'? Is this right? Two separate connections.
Yes, that's correct because they use different indexes ("aimeos" and "aimeos_stock") to store the data.
ЕвгенияСемихова(ИПСемиховаЕ.А.) wrote: 11 Feb 2025, 13:18 Or I can only add 'es' for cashing items? At the future I'm planning to add every seller's warehouses (so, total "stocks" will be many more)
If you use the "es-index" key instead, the products and stocks are stored in the database and the products are cached additionally in the ES server for faster searching and filtering (best for 50k-1m products)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply