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

Performing maintenance on ElasticSearch Nodes

Solved851 views8th July 2021Elasticsearch
1
Bing Herng Chong [SLC] [DevOps Advocate]1.06K 2nd July 2021 0 Comments

Hi, please consider the following DMA architecture below:

4 VMs running DMAs configured in a cluster. Each VM is talking to its own Cassandra DB which runs on separate VMs.
The DMA cluster is communicating to ElasticSearch consisting of 4 separate VMs configured as a single cluster.

I understand that the recommended approach is to shutdown the DMA when maintenance activities needs to be carried out on its associated DB. For example if Cassandra DB #4 needs have its OS upgraded, patched and VM restarted, it is recommended to stop DMA#4.

Does this recommended approach apply to maintenance of ElasticSearch VMs as well? Or can the VMs in the ElasticSearch DB be upgraded with zero downtime from the perspective of the DMA cluster hence not requiring any of the DMAs to be shutdown?

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 8th July 2021

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Jeroen Nietvelt [SLC] [DevOps Advocate]1.34K Posted 5th July 2021 3 Comments

Hi Bing,

For elasticsearch nodes, this maintenance procedure wouldn’t be needed. The elasticsearch nodes are already setup as an elasticsearch cluster where a DataMiner node actually can interface with any of the elasticsearch nodes and doesn’t necessarily need to communicate to that particular node where you are planning your maintenance on.
If you would check the db.xml configuration file on the DMA, you should spot multiple elasticsearch node IP’s in the elasticsearch configuration part of the db.xml file. If your DMA notices that the node its communicating with becomes unavailable, it will automatically switch communication over to any other of the available node IP addresses listed.

So as long as you run your ES node maintenance on one node at a time, your DMA cluster can remain operational without a need of stopping DataMiner agent nodes.

For the legacy cassandra architecture where each DMA has its own single standalone cassandra node as local database, you are indeed correct that you will need to shut down the DMA node associated with the cassandra node you want to temporarily interrupt to run your maintenance on. But in case this DMA is part of a failover setup, or that its making use of the newly introduced cassandra cluster local database feature (in both those scenario’s, cassandra nodes are running in a cluster configuration). Then you should see a similar approach where the DMA’s have multiple cassandra node IP’s configured as contact points. In that case the DMA will automatically connect to a different cassandra node in case it notices a loss of communication.

Hopefully this sheds some light on the matter.

Bing Herng Chong [SLC] [DevOps Advocate] Posted new comment 8th July 2021
Bruno Dias [SLC] [DevOps Member] commented 5th July 2021

What if my DMS is just using a single elasticsearch node?

Jeroen Nietvelt [SLC] [DevOps Advocate] commented 5th July 2021

Hi Bruno,

In that case your entire elasticsearch cluster would be down when executing the maintenance and the DataMiner cluster (all DMA’s connecting to this elasticsearch node) would detect a loss of connection. We would expect the DMA’s to start locally caching the data in offload files until the ES cluster is operational and available again.

Bing Herng Chong [SLC] [DevOps Advocate] commented 8th July 2021

Appreciate your view on this matter Jeroen. Thanks!

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