IP-less DAG and NIC Issues in Exchange Server

Dipto Adhikary 0 Reputation points
2024-09-19T13:22:34.8333333+00:00

Hello Everyone!

I have IP-less Database Availability Group in my Exchange Server 2019 with DC & DR site. The DAG network is worked smoothly but after adding an additional NIC for database backup, I've encountered the following Issue:

  • When checking the network health, I receive errors indicating that there is multiple network interfaces configured for registration in DNS for the DAG, and both NIC/ subnets is "Misconfigured”, but servers’ status is “UP”.
  • Mail sends by the backup’s NIC

After changing the network adapter priorities mail sends by the Mapi Network, and it was expected.

To fix the Dag network misconfigured issue, I have unchecked the “Register this connection’s addresses in DNS” checkbox in NIC and below attached.

User's image

After unchecking it, DAG automatically dictated the backup’s network as “Replication DAG Network” and misconfigured issue is solved. Then I attempting to remove the (backup NIC / Replication DAG Network) with Remove-DatabaseAvailabilityGroupNetwork, I receive the following error:

'Remove-DatabaseAvailabilityGroupNetwork' is disabled because database availability group 'EXNEWDAG' is configured for automatic network configuration.

Goals:

  • I want to keep the automatic DAG configuration and ensure that only the MapiDagNetwork is used for both MAPI and replication.
  • I would like guidance on how to properly disable or exclude the backup NIC from affecting the DAG without switching to manual configuration.

Questions:

  1. Is there a way to configure the DAG to ignore the backup NIC while keeping automatic network configuration?
  2. What steps should I take to resolve the "Misconfigured" state for the MapiDagNetwork?

Any help or guidance would be greatly appreciated!

Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,289 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
544 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,625 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
531 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Hu-MSFT 3,675 Reputation points Microsoft Vendor
    2024-09-20T06:05:18.0533333+00:00

    Hi,

    Welcome to Microsoft Q&A community!

    Steps to Achieve Your Goals:

    1. Configure the DAG to Ignore the Backup NIC:

    To ensure the DAG ignores the backup NIC while keeping automatic network configuration, you can follow these steps:

    • Uncheck DNS Registration: As you’ve already done, uncheck the “Register this connection’s addresses in DNS” checkbox for the backup NIC.
    • Disable Replication on Backup NIC: Ensure that the backup NIC is not used for replication. You can do this by setting the replication property to False for the backup NIC.

    Here’s a PowerShell command to disable replication on the backup NIC:

    Set-DatabaseAvailabilityGroupNetwork -Identity EXNEWDAG\BackupNetwork -ReplicationEnabled $false
    
    1. Resolve the “Misconfigured” State for the MapiDagNetwork:

    To resolve the “Misconfigured” state for the MapiDagNetwork, follow these steps:

    • Verify Subnets: Ensure that the subnets for the MapiDagNetwork are correctly configured and do not overlap with other networks.
    • Check Network Interfaces: Make sure that the network interfaces associated with the MapiDagNetwork are correctly configured.

    You can use the following PowerShell command to check the configuration of the MapiDagNetwork:

    Get-DatabaseAvailabilityGroupNetwork -Identity EXNEWDAG\MapiDagNetwork | Format-List
    

    If you need to adjust the subnets or network interfaces, you can use the Set-DatabaseAvailabilityGroupNetwork cmdlet. For example:

    Set-DatabaseAvailabilityGroupNetwork -Identity EXNEWDAG\MapiDagNetwork -Subnets 192.168.1.0/24
    

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.