Forum Discussion

mohemedd93's avatar
mohemedd93
Copper Contributor
Sep 22, 2023

Disable replication in mapi network :

Hi,

i have 2 server exchange server 2019 CU12 in the same VLAN ,

each server have 2 network interface card , one NIC for lan Connexion (MAPI) and other NIC for DAG replication (no DNS no gateway and no save record in DNS),

i want to disable replication in the mapinetwork , i configure network dag manualy and i exacute with EMS the cmd :

Set-DatabaseAvailabilityGroupNetwork -Identity DAG\MAPIDAGNETWORK -ReplicationEnabled:$false -IgnoreNetwork:$true

the error : error 0xe0434352

i can't disable replication in network mapi in the 2 server (with ecp or with ems)

 

any idea please

4 Replies

  • LeonPavesic's avatar
    LeonPavesic
    Silver Contributor

    Hi mohemedd93,

    The error code 0xe0434352 indicates that the MAPI network is still in use by Exchange. To disable replication on the MAPI network, you must first stop all Exchange services on both servers.

    To do this, follow these steps:

    1. Open the Exchange Management Shell (EMS) on both servers.
    2. On each server, run the following command:

     

    Stop-Service MSExchangeIS​

     

    1. Once all Exchange services have been stopped, run the following command on both servers to disable replication on the MAPI network:

     

    Set-DatabaseAvailabilityGroupNetwork -Identity DAG\MAPIDAGNETWORK -ReplicationEnabled:$false -IgnoreNetwork:$true

     

    1. Once replication has been disabled, you can start the Exchange services again on both servers.

    If you are still unable to disable replication on the MAPI network, you can try the following troubleshooting steps:

    • Make sure that the MAPI network is not being used by any other applications.
    • Make sure that the MAPI network is not configured as a default gateway on any of the servers.
    • Try disabling replication on the MAPI network using the Exchange Control Panel (ECP).

    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic

    • mohemedd93's avatar
      mohemedd93
      Copper Contributor
      Hi LéonPavesic
      thank you very much for your answer,
      but i have another question please , what do you means with this : "Make sure that the MAPI network is not configured as a default gateway on any of the servers" ??
      for me i d'ont configure the default gateway in the dag NIC but in the mapi NIV i have configure the gateway default, and for dag NIC i configure gateway with add route persistant
      thanks
      • LeonPavesic's avatar
        LeonPavesic
        Silver Contributor

        Hi mohemedd93,

        The MAPI network is the network that is used by Outlook and other clients to connect to Exchange servers.

        It is also the network that is used by Exchange servers to communicate with each other.

        The default gateway is the router that Exchange servers use to send traffic to other networks, such as the internet.

        If the MAPI network is configured as a default gateway on any of the servers, it can cause problems with replication and client connectivity.

        To make sure that the MAPI network is not configured as a default gateway, you can check the network properties for the MAPI network adapter on each server.

        To do this, follow these steps:

        1. Open the Control Panel.
        2. Click on Network and Internet.
        3. Click on Network and Sharing Center.
        4. Click on Change adapter settings.
        5. Right-click on the MAPI network adapter and select Properties.
        6. Click on the Internet Protocol Version 4 (TCP/IPv4) protocol and click on Properties.
        7. Make sure that the Use the following DNS server addresses and Use the following gateway address check boxes are not selected.
        8. Click OK to save your changes.

        Please click Mark as Best Response & Like if my post helped you to solve your issue.
        This will help others to find the correct solution easily. It also closes the item.


        If the post was useful in other ways, please consider giving it Like.


        Kindest regards,


        Leon Pavesic

Resources