Hi ivyteam

My team has a server which has 3 instances of Ivy engine on it. Sometime when we restart engine, it cause issue that "ES can not be started. Connection refused"

As far as i know on each engine it sill contain one ES and it will be started when engine is started. By default, ES will take port 9200 or 19200 on localhost (Reference link https://developer.axonivy.com/doc/latest/EngineGuideHtml/installation.html#installation.elasticsearch )

So is there any cases that the port is conflicted in my situation? If so, how can we configure the port for many instance of Ivy engine? We're using Amazon cloud so it's not a good way to buy different server for each Engine on cloud.

Thanks

asked 09.03.2018 at 01:48

trungdv's gravatar image

trungdv
(suspended)
accept rate: 52%


You can set the URL to your elastic search server with a system property: Elasticsearch.ExternalServer.Url then ivy does not start an elastic search instance by a random port...

link

answered 19.03.2018 at 07:55

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
9.4k31958
accept rate: 70%

How can I set this Setting also in designer?

(25.10.2018 at 04:34) Thomas Wirz Thomas%20Wirz's gravatar image

Why you need that in Designer? In the Designer the Elastic Search should always use a free port. We have one Bug, that you can not start the same Designer twice, because then they try to use the same data directory! As workaround you can install the same Designer version multiple times!

(30.10.2018 at 08:48) SupportIvyTeam ♦♦ SupportIvyTeam's gravatar image

Hi @trungdv,

Based on my experience with Elasticsearch on Ivy, I used to try to block ES from starting on port 9200 or 19200 then I see that ES will try to start on another port like 9201 or 19201.

In addition to that, normally an Amazon EC2 instance does not allow any other port than 80, 443 or 8080. It could be refused by the firewall.

You can use process explorer to check all the process and port that ES starting on. Hope it helps

link

answered 16.03.2018 at 00:57

ToanLC's gravatar image

ToanLC
(suspended)
accept rate: 16%

Thanks @ToanLC I have one concern that if ES auto change to use new port, can Ivy connect to it via that port? With ES we can define the fix port in config file but i don't see any config like that on ivy engine

(18.03.2018 at 22:55) trungdv trungdv's gravatar image

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×44
×22

Asked: 09.03.2018 at 01:48

Seen: 4,927 times

Last updated: 30.10.2018 at 08:48