Forum Discussion

David_PVS's avatar
David_PVS
Copper Contributor
Jul 25, 2024

Adding a redundant exchange server on Prem in hybrid environment

Hello,

 

I have an on Prem exchange 2016 server on Prem and I am looking for some advice adding a second one. We have several automated email generation processes running on our domain. When I have done exchange and/or windows updates emails have been dropped.

Kindly advice for best practice when adding a second 2016 exchange server.

2 Replies

  • 1. Post-installation configuration
    powerhell
    # Add an existing DAG
    Add-DatabaseAvailabilityGroupMember -Identity DAG1 -MailboxServer EXCH02
    2.# Configure the Client Access Service
    Set-ClientAccessService -Identity EXCH02 -AutoDiscoverServiceInternalUri “https://autodiscover.contoso.com/autodiscover/ autodiscover.xml” 3.
    3. hybrid deployment key configuration
     Updating Hybrid Connections
    User.
    # Verify the hybrid configuration
    Test Hybrid Configuration - Server EXCH02
    # Update Migration Endpoint
    Set-MigrationEndpoint -Identity “Hybrid Migration Endpoint” -SourceServer EXCH02
    4. Certificate Management
    Authority
    # Export an existing certificate
    $cert = Get-ExchangeCertificate -Thumbprint <existing certificate fingerprint> $cert = Get-ExchangeCertificate -Thumbprint # Export Existing Certificate
    Export-ExchangeCertificate -Thumbprint $cert.Thumbprint -BinaryEncoded -Password (ConvertTo-SecureString -String “P@ssw0rd “ -AsPlainText -Force) -Path “C:\cert.pfx”

    # Import new server
    Import-ExchangeCertificate -FileData ([Byte[]]$(Get-Content -Path “C:\cert.pfx” -Encoding Byte)) -Password ( ConvertTo-SecureString -String “P@ssw0rd” -AsPlainText -Force)
    5. DNS Polling Configuration
    powerhell
    # Create multiple A records for client access
    Add-DnsServerResourceRecordA -Name “mail” -ZoneName “contoso.com” -IPv4Address “192.168.1.10”, ‘192.168.1.11’ 6. Service Migration Verification
    6.Service Migration Verification
     Migration Service Testing
    Moving the active database
    # Move-ActiveDatabase
    Move-ActiveMailboxDatabase DB01 -ActivateOnServer EXCH02
    # Test Client Connectivity
    Test-OutlookConnectivity -ProbeIdentity “OutlookMapiHttp.Probe” -Server EXCH02
    7. Hybrid Proxy Configuration
    Power
    # Update the Hybrid Proxy URL
    Set-HybridConfiguration -EdgeTransportServers EXCH02
    Set-HybridConfiguration -OnPremisesSmartHost EXCH02.contoso.com

    • Andres-Bohren's avatar
      Andres-Bohren
      Steel Contributor

      I mostly support the answer from JulianneRobinson.
      But instead of adding two IP Addresses to the DNS i would recommend placing a Loadbalancer in Front of the SMTP Service.
      Kind Regards

      Andres

Resources