Hi Ivy Team,

Axon.ivy Engine 8 comes with different deployment behavior. To keep the state of Ivy Application running on Container, I need to know where does it store deployed files, to mount those paths into persistent volumes.

In other word, how many places I need to mount into persistent volumes to make Axon.ivy works on Container environment?

asked 19.06.2020 at 01:24

vinh_'s gravatar image

vinh_
(suspended)
accept rate: 40%

edited 19.06.2020 at 01:25


It depends on how you want to use the Axon.ivy Docker Image.

If your application with the ivy projects are part of your Docker image then you only need to put them in the deploy directoy. They will be deployed on start up even if they are deployed - you don't have to care about anything.

But you are free to mount the application directory (/usr/lib/axonivy-engine-8/applications) into a persistent volume. Then you also could deploy for example over the REST-API without building a new image and starting a new container with your new application version.

Keep in mind that there is also state about deployment in the system database.

link

answered 19.06.2020 at 01:48

Alex%20Suter's gravatar image

Alex Suter ♦♦
3.1k122247
accept rate: 84%

I'm aware of the state in System Database, which already stored. That's why I afraid of the deployed files state mismatch with the System Database.

I'm interested in the deploy directory. Is there any issue when it always deploy on start-up? How about existing Tasks, Cases, PMVs, modified global variables and other configurations?

(19.06.2020 at 01:56) vinh_ vinh_'s gravatar image

There is a really special handling about the deploy directory on Axon.ivy Engine startup. It behaves slightly different when deploying while start up out of the deploy directory. We calculate a hash out of the file to deploy, if its the same as before we won't deploy state into the database, we only copy the file to the right place (applications directory). This is especially designed for container environments. The long-term solution is, that we remove all state out of the database - but a long way to go ...

(19.06.2020 at 02:00) Alex Suter ♦♦ Alex%20Suter's gravatar image

Thanks Alex, these information is useful, I wonder if it could appear in the Administration > Deployment section, that section didn't mention about deployment on Container Environment.

(19.06.2020 at 02:09) vinh_ vinh_'s gravatar image

Yes, we may should improve our docs.

(19.06.2020 at 02:10) Alex Suter ♦♦ Alex%20Suter'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:

×147
×44
×20

Asked: 19.06.2020 at 01:24

Seen: 2,527 times

Last updated: 19.06.2020 at 02:10