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
    • Agility
      • Kanban workshop
      • Agile Fundamentals
    • 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
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Automation: how to provision a new service based on a service template on a specific DMA?

Solved1.07K views22nd September 2021Automation service template
4
Robin Meurisse [SLC] [DevOps Enabler]1.22K 20th September 2021 0 Comments

Hi,

We would like to provision some new services based on a service template with Automation.
When provisioning a new service (TryCreateServiceMessage), we provide the DataMinerID and HostingDataMinerID but the service is created on another agent in the cluster.

Would there be a way to specify on which DMA the service needs to be created?
How is it deciding on which DMA the service needs to be hosted?

Thanks in advance.

Robin Meurisse [SLC] [DevOps Enabler] Selected answer as best 22nd September 2021

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
5
Wouter Demuynck [SLC] [DevOps Advocate]5.95K Posted 21st September 2021 0 Comments

By default, services are created on the agent hosting the majority of child elements. When no child elements are in the service, the agent on which the service template is being executed is chosen.

The DMA can also be force-selected either by specifying a “:forceDMA” fixed input data field in the service template definition and setting the value to the DMA ID of the agent, or by adding a column named “forceDMA” in a CSV import file. When using the TryCreateServiceMessage, you should be able to add this value as part of the ExtraData array (TCSExtraData object in there with Name=”forceDMA”).

Do be aware of the correct naming:

  • “forceDMA” (no colon) when defining a column in a CSV import file or as an ExtraData entry in the TryCreateServiceMessage
  • “:forceDMA” (with colon) when defining an input data entry in the service template definition
Robin Meurisse [SLC] [DevOps Enabler] Selected answer as best 22nd September 2021
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