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

Is there any class library in Skyline dataminer to access the cluster name?

Solved897 views31st May 2024Skyline.DataMiner.Net
2
samita Acharya182 19th January 2024 0 Comments

Is there any class library in Skyline dataminer to access the cluster name?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 31st May 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
João Severino [SLC] [DevOps Catalyst]13.09K Posted 19th January 2024 1 Comment

Hi,

I do not recall that information being available in any of our current libraries but feel free to make a feature suggestion here https://community.dataminer.services/feature-suggestions

In the meantime, an option could be to either use the option from Tom’s answer or alternatively you can use the following snippet that uses SLNet

var request = new GetInfoMessage(InfoType.DmsConfiguration);
var response = engine.SendSLNetSingleResponseMessage(request) as GetDmsConfigurationResponseMessage;
string clusterName = response.ClusterName;

You can use engine.SendSLNetSingleResponseMessage if you are using an automation script or protocol.SLNet.SendSingleResponseMessage if you use a QAction or a corresponding method depending on your source.

Disclaimer

Note that SLNet messages are internal calls and we do not recommend using them, as they are not officially supported and we cannot guarantee that they will still work in the future as these are subject to change without notice. We recommend to use instead always the correct UI or automation options provided in DataMiner Automation or through our web API when available.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 31st May 2024
Tom Waterbley [SLC] [DevOps Catalyst] commented 22nd January 2024

Using this SLNet message will work, but it requires an additional call to the server while the needed information is already available in memory. In a connector you could use “protocol.SLNet.RawConnection.ServerDetails.ClusterName” and in an automation script “Engine.SLNetRaw.ServerDetail.Clustername”.

1
Tom Waterbley [SLC] [DevOps Catalyst]8.89K Posted 19th January 2024 2 Comments

Hi Samira, in an automation script that information can be retrieved using the following property:

Engine.SLNetRaw.ServerDetails.ClusterName

More documentation: https://docs.dataminer.services/develop/api/types/Skyline.DataMiner.Net.ServerDetails.html

Tom Waterbley [SLC] [DevOps Catalyst] Posted new comment 22nd January 2024
samita Acharya commented 19th January 2024

Hi Tom, i am looking to access this from the skyline library rather than automation script. Can you advise?

Tom Waterbley [SLC] [DevOps Catalyst] commented 22nd January 2024

I don’t think that’s available in the class library. But where exactly do you want to use it? In an automation script you can use the property that I already gave. In a connector you can use the following: protocol.SLNet.RawConnection.ServerDetails.ClusterName.

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