[Self-hosted Mender 1.7] What is the function of Redis and Elasticsearch?

Hi,

I’m setting up Mender on AWS with ECS by using the integration environment as an example.

I can’t really work out what the function is of Redis and Elasticsearch. Both are not mentioned in the diagram in the documentation. And when I remove them from the Docker-compose files everything seems to function normally.

Do they have a function still? Or is it a legacy thing?

Cheers,
Erik

Hi, @erikhh

Both Redis and Elasticsearch are required for Conductor. Some API calls requires calling multiply microservices and that is what conductor does. In open source mender backend version it’s used for devices provisioning and decommissioning (you can find the workflows in mender-conductor repo on github) and we use it more intensively in Hosted Mender and Enterprise versions for advanced features.

Hi @0lmi

Ah, that would explain the 500 I got when accepting new devices :slight_smile:
Funny how the device does get accepted though. The only thing that really does not seem to work at all without conductor present is decommissioning devices.
Thanks!

Cheers,
Erik

1 Like

Some documentation in the README for mender-conductor would be very helpful.

I also missed this component. Likely because it is not in the Integration readme

1 Like