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

Driver development – Multiple SMB file transfer attempts resulting in failed file transfers

Solved1.12K views17th November 2021Connector driver File Transfer SMB
1
Bing Herng Chong [SLC] [DevOps Advocate]1.06K 12th November 2021 0 Comments

Hi Dojo Community,

Any comments/feedback/suggestion to the following issue is much appreciated:

This issue is in the context of DMA 9.6 CU23. Architecture is a DMS made up with a cluster of 6 failover-pairs.

  • We are running a CMTS driver with the following feature:
    Via CLI, the driver triggers the CMTS to create a backup of its configuration into a text file.
    Upon a 'success' CLI response, the config backup file is generated on the CMTS.
    The CMTS driver then attempts to transfer the config backup file from the CMTS to a remote shared folder:

CMTS <---sftp transfer---> DMA (CMTS driver) <---SMB file transfer---> Remote file share

Now the issue that we are trying to solve is that when we have two CMTS elements running backup one after the other the first backup always fails while the second one succeeds. This was tested on different CMTS elements and different DMA failover-pairs with the same result.

A closer look at wireshark traces indicates that both elements will use the same TCP session (i.e.: same SMB file transfer) and that the first file transfer stops (before the full file is transferred) when the second file transfer starts. And we are stumped for ideas on how to manage this as each element is oblivious to what the other elements are doing and it does not seem possible to get each element to establish a new SMB session to the same file share hostname.

Currently an automation script is used to trigger these backups to occur in bulk daily using the scheduler. The script will retrieve all CMTS elements with a particular DMAID and initiates backup all at once. There was an attempt to put in a sleep timer between elements however a long enough sleep timer to allow one CMTS to complete before starting the next was not possible due to the reason that it would make the script run for too long and become auto-terminated after ~12mins. There are about 60 CMTS with the same DMAID and each can take potentially take up to 30s-60s to complete resulting in the need for an automation script to run for 1hr.

Appreciate any ideas the community may have.

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 17th November 2021

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Wale Oguntoyinbo [SLC] [DevOps Advocate]3.35K Posted 13th November 2021 1 Comment

Since you have a good idea of how long it will take for the script to run if you iterate through all your CMTS, you should be able to override the termination of your script after 12 mins by adding this :

engine.Timeout = TimeSpan.FromMinutes(x);

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 17th November 2021
Bing Herng Chong [SLC] [DevOps Advocate] commented 17th November 2021

Thanks for pointing this out Wale, its useful to know that we can extend the timeout period of an automation script. We’ll certainly be exploring this option.

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