Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

OpenSearch running on Dockers

Solved691 views31st May 2024Docker indexing engine opensearch
0
Daniel Martinez [DevOps Advocate]835 7th May 2024 9 Comments

Hi Dojo,

I would like to connect an OpenSearch cluster running on Dockers, but I always have the same error:

OpenSearch.Net.OpenSearchClientException: Maximum number of retries reached, failed over to all the known alive nodes before failing. Call: unknown resource —> OpenSearch.Net.PipelineException: Failed sniffing cluster state. —> System.AggregateException: One or more errors occurred. —> OpenSearch.Net.PipelineException: An error occurred trying to read the response from the specified node. —> System.Net.WebException: Unable to connect to the remote server —> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond IPNode:9200

I have two dockers running, 1 per node. DB.xml is linked to server which contains the dockers. I think that problem should be on docker-compose.yml or opensearch.yml from cluster.

Does OpenSearch dockers supported by DM? If yes, which is the best configuration on cluster?

Thanks!

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 31st May 2024
Robbe De Ghein [SLC] [DevOps Advocate] commented 7th May 2024

Hi Daniel, are you running the docker container in Windows Subsystem for Linux (WSL)?

Daniel Martinez [DevOps Advocate] commented 7th May 2024

Hello Robbe, no. Everything is running on Linux.

Robbe De Ghein [SLC] [DevOps Advocate] commented 7th May 2024

Did you configure “network.publish_host” to anything?

Daniel Martinez [DevOps Advocate] commented 7th May 2024

Yes, Robbe. Do you know if containers need an extra network configuration? Maybe the problem is on communication between both container nodes.

Robbe De Ghein [SLC] [DevOps Advocate] commented 7th May 2024

I believe this is a problem with the network configuration, but it’s hard to say exactly without knowing anything about your configuration.

I think that the nodes are trying to sniff the cluster configuration but hitting timeouts due to it binding to the internal & local ip inside the docker container instead of to the exposed IP which is reachable from outside the container.

What did you set the “network.publish_host” to?

Show 4 more comments

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Marieke Goethals [SLC] [DevOps Catalyst]5.54K Posted 31st May 2024 1 Comment

Hi Daniel,
Have you been able to solve this based on the comments above? If yes, could you select this answer to indicate that this question can be closed?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 31st May 2024
Daniel Martinez [DevOps Advocate] commented 31st May 2024

Hi Marieke,
Finally we decided to use a different architecture to run OpenSearch. So you can close this question.
Regards!

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs