Hi all,
I have a failover pair and each DMA has two NICs. SNMP forwarding is also enabled in this setup.
Here's the issue: When the main agent is active, it uses NIC 1 to send SNMP traps. However, if the backup agent takes over and then the main agent comes back online, the main agent sometimes switches to using NIC 2 for sending the traps.
Why does this happen? Is there a way to ensure that the main agent always uses NIC 1 for sending traps?
Could this be managed by configuring the <NetworkAdapters>
tag in the DataMiner.xml file?
Hi Catarina.
I have a couple of questions.
- Does the Windows Server have only 1 IP address or 2 IP addresses (1 IP address for each NIC)
- If it only has one IP address. Is the Windows Server setup for NIC Teaming or best Network Interface.
This link may be helpful but you can use the Network Adapters tag to override the order. I would try this option 1st. Here is a link to the Dataminer Documentation:
DataMiner.xml | DataMiner Docs
DataMiner.NetworkAdapters
You can use this tag to override the order of the network adapters on a DataMiner Agent. This can be useful to prevent issues in case the order in Windows changes for some reason (e.g. because there is a new network adapter).
To do so, specify a number of <MAC> subtags, each containing a MAC address.
To determine its primary IP address, the DataMiner Agent will place the adapters with matching MAC addresses first in its list. In other words, the primary IP address of the DataMiner Agent will be the one for which the first valid MAC address is found in this tag.
---------------------------------------------------------------------------------
A second option is possible to set up a persistent route in the Windows Server to always route IP traffic for a specific destination IP address (In this case the SNMP Agent IP address) to always use a specific NIC. I can provide additional information if needed but here is the information to set up a routes on a Windows Server.