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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • Learn more about 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
  • Swag Shop
  • Downloads
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Is it Possible to Reuse a Redundancy Group Template to create independent RGs?

Solved132 views7th July 2025redundancy group
1
Thomas Rich [SLC] [DevOps Advocate]707 7th June 2025 0 Comments

Hello All,

I have a use case where I have 30 pairs of primary and backup elements (same protocol) that I want to associate to 30 different redundancy groups for conditional alarming purposes.

  • Note: each backup can only act as a backup for its paired primary (the pairs of devices cannot be shared amongst the other pairs).

I'm exploring this route since conditional alarm rules within alarm templates do not allow for cross-element configurations.

I was able to create a single redundancy group that was statically mapped to one single pair of elements with my desired switching detection. However, thinking about how to replicate this configuration 29 more times, rather than manually reconfiguring each RG and switching-detection block by hand, I wanted to see if I could define a single RG template from which I could spawn the 30 individual RGs since they will all have the same switching detection logic.

However, after creating the template, I cannot find a way to duplicate or create a redundancy group from the template. If this is not possible or the intention of the template, I am left wondering what the use case for the template is over a regular RG since they both function and are configured very similarly - aside from defining the associated protocol upfront in the template.

As an alternative, is there an xml file present on the system pertaining to my first RG that I'd be able to copy and modify to quickly get the rest created?

Thank you in advance!

Thomas Rich [SLC] [DevOps Advocate] Selected answer as best 7th July 2025

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Wouter Demuynck [SLC] [DevOps Advocate]6.12K Posted 7th July 2025 1 Comment

Hi Thomas,

There's indeed a different between service templates and redundancy group templates.

Service templates exist as a template to be used and re-used to create actual services.

Redundancy Group templates are actual redundancy groups for which the explicit list of primaries and backups was not specified during creation. It allows for dynamically assigning primaries and backups to the redundancy group template. It does not spawn new/extra redundancy groups.

Cloning redundancy group templates is currently not available from clients like Cube. If you need it, you could work with an automation script that retrieves a redundancy group (template) and saves it under a different name (basically duplicating the redundancy group template).

Some code is below. Use it at your own risk:

string baseRedundancyGroupName = "My RG";

var baseRdg = engine.SendSLNetSingleResponseMessage(new GetRedundancyGroupByNameMessage(baseRedundancyGroupName)) as RedundancyGroupEventMessage;

var duplicated = baseRdg.Clone() as RedundancyGroupEventMessage;

// reset ids
duplicated.DataMinerID = -1;
duplicated.ID = -1;

// set new name
duplicated.Name = baseRedundancyGroupName + "_clone";

engine.SendSLNetMessage(new AddRedundancyGroupMessage() { Definition = duplicated });

Hope this helps

Thomas Rich [SLC] [DevOps Advocate] Posted new comment 7th July 2025
Thomas Rich [SLC] [DevOps Advocate] commented 7th July 2025

Hello Wouter, thank you for the feedback and example script!

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