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

Perform DMA Failover via Automation

Solved718 views12th October 2023
0
Ashwiny J K Anandan [DevOps Advocate]530 11th October 2023 0 Comments

Hi Dojo,

Can we create an automation script to perform a manual failover to the offline DMA?

We would like to linked the automation script to a shape in Visio.

Currently we are monitoring the failover status using the generic failover status driver.

Thank you.

Ashwiny J K Anandan [DevOps Advocate] Selected answer as best 12th October 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
João Severino [SLC] [DevOps Catalyst]12.94K Posted 11th October 2023 0 Comments

Hi Ashwiny,

Directly from a Visio or an Automation Script, it is not possible as far as I am aware but there is an SLNet call that allows this.

Here is a snippet of how this call should be

var request = new SetDrsState(DMAID, offlineAgent.LocalIP) {
ExtraNotifyOptions = SetDrsStateNotifyType.None,
HostingDataMinerID = DMAID,
Online = true,
Options = SetDrsStateOptions.None,
Reason = reason,
};

As a disclaimer do note that this is an internal call and we do not recommend using this, as it is not officially supported and we cannot guarantee that it will still work in the future. As a rule, you should avoid using SLNet calls, as these are subject to change without notice. We recommend to instead always use the correct UI or automation options provided in DataMiner Automation, similar to what Miguel Obregon mentioned in his answer, or through our web API.

Ashwiny J K Anandan [DevOps Advocate] Selected answer as best 12th October 2023
1
Miguel Obregon [SLC] [DevOps Catalyst]18.56K Posted 11th October 2023 2 Comments

Hi Ashwiny,

Please could you elaborate a bit more about your use case?

  • Why do you need monitor the failover status of the DMA? As you probably know, there is already a UI that shows you this information
  • Why do you need to create a script to perform a manual failover switch? Is there a specific reason to implement this script? Is it not an option using  automatic failover for your use case?
Miguel Obregon [SLC] [DevOps Catalyst] Posted new comment 11th October 2023
Ashwiny J K Anandan [DevOps Advocate] commented 11th October 2023

Hi Miguel,

We would like to create an automation script so that it can be linked to a visual.

Instead of performing DMA failover via system centre >Agents> right click> failover, it will be easier for the operator to execute it via visual.

Miguel Obregon [SLC] [DevOps Catalyst] commented 11th October 2023

Hi Ashwiny,
As far as I know there are no method in the Engine class that can trigger a failover switch. Maybe the community can provide you the SLNet calls to perform this action, but keep in mind that it is not only executing the failover switch, you will also need to monitor the status of each agent in the failover to know if this action run smoothly. I saw a similar question: https://community.dataminer.services/question/how-to-display-the-online-failover-dma-in-a-custom-build-visual-overview/?hilite=failover+ui

Since this action is done only on specific situations, it is recommended to use the current UI available.

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

Alarm Dashboard PDF/CSV Export 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 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 (139) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (151) 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