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

Creating an element/service/view with a specific id

Solved988 views22nd February 2023configuration deployment
13
Tim Vandenbruwaene [SLC] [DevOps Enabler]2.18K 21st February 2023 2 Comments

Is it possible to create an element/service/view providing the id in the create method itself?
(DataMiner doesn't create the id for you, you specify it yourself)

With profile definitions/ profile instances/profile parameters/resources/... it's possible to specifiy the id.

In this case the id is a guid not a dmId/"Object" Id combination. But it does allow to have the same id for the same profile/resource/... across a dev/staging/production system.

(If you want to rebuild/deploy the same system this might be usefull as well.)

Tim Vandenbruwaene [SLC] [DevOps Enabler] Selected answer as best 22nd February 2023
Toon Casteele [SLC] [DevOps Enabler] commented 21st February 2023

I think the more important question is what are you trying to accomplish that can’t be accomplished with a DELT export? ID’s in general tend to be something that are determined by the managing system (e.g. a database or dataminer). DataMiner Element Location Transparency should allow you to rebuild/deploy the same system with dmimport packages.

Tim Vandenbruwaene [SLC] [DevOps Enabler] commented 21st February 2023

I would actually like to be able to define my entire setup as code (potentially not even using cube to create/deploy the system) e.g https://community.dataminer.services/provisioning-and-managing-dataminer-using-ansible/ or using an install package

On a staging I won’t have all the actual devices, so when deploying to staging I want to be able to setup simulations (snmp/ https://community.dataminer.services/documentation/copy-element-data/
https://community.dataminer.services/download/protocol-debug-tools/
/… )

I also want to make sure that dashboards, low code apps, all other related (future) components keep on working that uses the id.
e.g Including (Function) DVE’s.

With the SRM solution, I can simply export the configuration, place it in a git repo, do some small changes in the git repo and then deploy it.
This makes going between dev/staging/production pretty easy as compared to before.

When using Cassandra/Elastic cluster it might become even possible to deploy your production on more or less nodes.

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
6
Jan Vanhove [SLC] [DevOps Member]1.16K Posted 21st February 2023 0 Comments

Hi Tim, this is not possible.  I understand the use-case, but in your infrastructure as a code process, I would prefer to use the name, which also has its down-sides of course. Still, it should allow you to validate whether some objects already exist on the destination system before installing a script.  If these exist, you could do updates on those detected objects.

When relying on IDs you also cover only the use-case for the production/stating setups.  If you would create a more generic app, usable on different systems you would not be able to maintain that 'same id'-requirement.

Tim Vandenbruwaene [SLC] [DevOps Enabler] Selected answer as best 22nd February 2023
You are viewing 1 out of 1 answers, click here to view all answers.
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

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