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

DMA Failover – show physical IP when doing nslookup for hostname of Virtual IP

Solved920 views14th February 2022Failover nslookup
3
Stacey Van Colen [SLC] [DevOps Advocate]2.54K 14th February 2022 0 Comments

Hi Dojo,

We have a 1+1 Failover configuration on our DMAs. And have the following hostnames:

  • DMAa: Physical IP DMA A
  • DMAb: Physical IP DMA B
  • DMAv: virtual IP

When we currently do an “nslookup DMAv” we get the Virtual IP returned. And we would like to see the Physical IP of either DMA A or DMA B, dependent on which one is currently active.

When we look at the configuration on the Active DMA, we see that the virtual IP is set as primary. The Physical IP is set as secondary and with the “skip as source” = true setting. This means it will NOT be registered in the DNS.

Is there any way we could get the “nslookup DMAv” to show the Physical IP of the agent which is currently active?

Would the following be a viable possible solution?:

  • the virtual IP to be shared and managed by a Windows Server Cluster which would allow both to be registered as source, but the virtual ip be used only for the services registered in the windows cluster
Stacey Van Colen [SLC] [DevOps Advocate] Selected answer as best 14th February 2022

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Wouter Demuynck [SLC] [DevOps Advocate]5.93K Posted 14th February 2022 3 Comments

Hi Stacey,

What is the exact use case here? Why is there a need to get the physical IP address?

The entire concept of Failover (with VIP) is that two machines are transparently presented to the outside world as one single machine, hosted on the virtual IP address. In this setup, physical IP addresses are considered private to the failover pair. DataMiner applying the SkipAsSource flags on all but the virtual IP address is part of this.

In recent DataMiner versions, Failover can also be configured without the use of a virtual IP address. In that case, a shared hostname will resolve to the IP addresses of both machines. Either the client then makes sure to connect to the correct one, or the DataMiner agents forward requests to each other.

For your use case, you might also be able to use the PowerShell script hooks which are available when assigning/removing a virtual IP (in versions 10.1.3+/10.2+/RN28236). These might allow you to execute custom code that registers a custom DNS name with the physical IP address when the VIP gets assigned.

André Kaiser [DevOps Advocate] Posted new comment 14th February 2022
Stacey Van Colen [SLC] [DevOps Advocate] commented 14th February 2022

Hi Wouter,

The use-case of the customer is that they would be able to easily determine with this nslookup which agent is currently the Active one in the system.

I will bring forth your suggestion to use a powershell script hook.

Wouter Demuynck [SLC] [DevOps Advocate] commented 14th February 2022

An extra alternative idea: put a file called agentname.txt on both agents in the Web folder with the name of the agent inside. You could then request http://dmav/agentname.txt to get the name of the currently active agent.

Or use “arp -a 1.2.3.4” (where 1.2.3.4 is the virtual IP) to get the MAC address of the machine which is online (and map that one to a name)

André Kaiser [DevOps Advocate] commented 14th February 2022

To avoid confusion:
The nslookup should result in correct IP adresses per DMA:
nslookup DMAa -> IP of DMAa
nslookup DMAb -> IP of DMAb
nslookup DMAv -> virtual IP

When we do a nslookup on DMAb and b is ucrrently active the virtual IP is resolved and not the physical IP of DMAb as expected.

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