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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • 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
    • Tutorials
    • 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
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Service templates and swarming

Solved653 views24th November 2023service templates
2
Philip Argent [DevOps Enabler]579 24th October 2023 0 Comments

Hi,

As services templates like services and elements live on specific DMAs, will it be definable in the swarming API that they can move like elements?

With most of our service templates we change inputs etc via automation scripts, so re-apply the service template to update the filtering of tables from the attached elements, reducing the subscriptions and alarm information that propagates through to the service, which is currently a single point of failure in this process if the hosting DMA for the template is offline.

Wouter Demuynck [SLC] [DevOps Advocate] Answered question 24th October 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Wouter Demuynck [SLC] [DevOps Advocate]5.91K Posted 24th October 2023 2 Comments

In the future, swarming will indeed also be possible for services (including service templates).

Service templates are not technically hosted anywhere (any agent can apply them), but the template definition is linked to a single agent which indeed might make it unavailable while that remote agent is down (if the agents didn't have contact before).

Since you're running service templates from automation scripts, it might be a good idea to check whether the TryCreateService message being used has a HostingAgentID / DataMinerID filled out. If it has, my recommendation would be to remove these, as having these will force the request to go towards that specific agent. If that agent is down, it will not be able to execute the request. If the fields are not filled out, the agent running the automation script will apply the service template instead. If that agent still has the service template definition in memory, that would be one less point of failure.

Wouter Demuynck [SLC] [DevOps Advocate] Posted new comment 25th October 2023
Philip Argent commented 24th October 2023

Hi Wouter,

We are using TryCreateServiceMessage, and defining DataMinerID, but with the ID of the DMA that the service is being updated on, rather than the one the template exists on, would that be fine, or should we remove that from DataMinerID from the message all together?

There is also some instances that we’re getting fixed values from the service template to use in the automation script, as we have several templates used with a single automation script; would the hosting DMA need to be running in this instance to get that information back, or is that cashed as well?

Wouter Demuynck [SLC] [DevOps Advocate] commented 25th October 2023

As long as the specified DMA in DataMinerID is reachable, all is fine.

When HostingDataMinerID is filled out => request is rerouted to that agent.
When DataMinerID is filled out but HostingDataMinerID is not => request is routed to the agent as specified in DataMinerID
When none is filled out => request is routed to the directly connected agent (local agent in case of Automation)

As for the fixed values: assuming you are referring to “fixed value” type input data in the service template definition, these are stored as part of the service template definition. Whenever the template get applied, these are available through its definition.

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

Recent questions

Multiple Set on Table parameters for DVE’s 0 Answers | 1 Vote
DOM Definition relations returned in Definition query 0 Answers | 1 Vote
Alarm Dashboard PDF/CSV Export 1 Answer | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin