skip to Main Content

Install second Exchange Server in domain

We have an existing Exchange organization with only one Exchange Server. For High Availability, we like to install a second Exchange Server in the domain. The steps will work for all on-premises Exchange Server versions. In this article, you will learn how to add a second Exchange Server in domain.

Exchange Server prerequisites

Before you install Exchange Server, you need to have a Windows Server available. It’s because you will install Exchange Server on Windows Server. You can install Exchange Server on these Windows Servers:

Exchange Server 2016

  • Windows Server 2016 Standard or Datacenter (Exchange Server 2016 CU3 or later)
  • Windows Server 2012 R2 Standard or Datacenter
  • Windows Server 2012 Standard or Datacenter
  • Windows Server Desktop Experience

Exchange Server 2019

  • Windows Server 2022 Standard or Datacenter (Exchange Server 2019 CU12 or later)
  • Windows Server 2019 Standard or Datacenter
  • Windows Server Desktop Experience
  • Windows Server Core

Read more in the article Install Exchange Server prerequisites.

Before you start to install second Exchange Server in domain

It’s good that after setting up the Exchange Server requirements on the Windows Server, to follow and configure these settings:

Find Exchange Server version

We recommend installing the latest Exchange Server version as the one that is running in the organization. Start Exchange Management Shell as administrator. Run the Get-ExchangeServer cmdlet to check which Exchange Server version is running in the domain.

[PS] C:\>Get-ExchangeServer | Format-Table Name, Edition, AdminDisplayVersion

Name         Edition AdminDisplayVersion
----         ------- -------------------
EX01-2016 Enterprise Version 15.1 (Build 2044.4)

Exchange Server 2016 CU17 is running in the organization, and there is no newer version of Exchange Server 2016 at the moment of writing. So we will use that version for the second Exchange Server.

Note: Install Exchange Server Cumulative Update and Exchange Server Security Update to keep up to date with the latest features, bug fixes, and security patches.

Download Exchange Server

Download the latest Exchange Server 2016 CU ISO image. Open the ISO image and check to which drive letter it’s mapped. In our example, it’s the (E:) drive.

Prepare Active Directory and domains for Exchange Server

Do you need to prepare Active Directory and domains for Exchange Server?

  • No, if it’s the same Exchange Server CU version
  • Yes, if it’s a newer Exchange Server CU version

Install Exchange Server

Open Command Prompt as administrator. Run the command to install the Exchange Mailbox server role.

C:\>E:\Setup.exe /IAcceptExchangeServerLicenseTerms /mode:Install /r:MB

Microsoft Exchange Server 2016 Cumulative Update 17 Unattended Setup

Copying Files...
File copy complete. Setup will now collect additional information needed for installation.

Languages
Management tools
Mailbox role: Transport service
Mailbox role: Client Access service
Mailbox role: Unified Messaging service
Mailbox role: Mailbox service
Mailbox role: Front End Transport service
Mailbox role: Client Access Front End service

Performing Microsoft Exchange Server Prerequisite Check

    Configuring Prerequisites                                                                         COMPLETED
    Prerequisite Analysis                                                                             COMPLETED

Configuring Microsoft Exchange Server

    Preparing Setup                                                                                   COMPLETED
    Stopping Services                                                                                 COMPLETED
    Copying Exchange Files                                                                            COMPLETED
    Language Files                                                                                    COMPLETED
    Restoring Services                                                                                COMPLETED
    Language Configuration                                                                            COMPLETED
    Exchange Management Tools                                                                         COMPLETED
    Mailbox role: Transport service                                                                   COMPLETED
    Mailbox role: Client Access service                                                               COMPLETED
    Mailbox role: Unified Messaging service                                                           COMPLETED
    Mailbox role: Mailbox service                                                                     COMPLETED
    Mailbox role: Front End Transport service                                                         COMPLETED
    Mailbox role: Client Access Front End service                                                     COMPLETED
    Finalizing Setup                                                                                  COMPLETED

The Exchange Server setup operation completed successfully.
Setup has made changes to operating system settings that require a reboot to take effect. Please reboot this server
prior to placing it into production.

Restart the Exchange Server after Exchange Server setup finshes.

Read more in the article Install Exchange Server.

Get Exchange autodiscover URL

After installing Exchange Server, we will get the Exchange autodiscover URL and set the Exchange autodiscover URL. Otherwise, the users will get a security alert certificate warning.

The users will see it as a security risk and will call the IT support desk. Save the support desk from these calls and immediately change the autodiscover URL after you install the second Exchange Server to the domain.

Install second Exchange Server 2016 in domain certificate warning autodiscover

Run Exchange Management Shell as administrator. Run the cmdlet to get the Autodiscover URL. We need to adjust the Exchange Server EX02-2016 AutoDiscoverServiceInternalUri to a generic namespace, just as EX01-2016 is already configured.

[PS] C:\>Get-ClientAccessServer | Select Name, AutoDiscoverServiceInternalUri, AutoDiscoverSiteScope | Format-List
WARNING:  The Get-ClientAccessServer cmdlet will be removed in a future version of Exchange. Use the Get-ClientAccessService cmdlet instead. If you have any scripts that use the Get-ClientAccessServer cmdlet, update
them to use the Get-ClientAccessService cmdlet.  For more information, see http://go.microsoft.com/fwlink/p/?LinkId=254711.


Name                           : EX01-2016
AutoDiscoverServiceInternalUri : https://autodiscover.exoip.com/Autodiscover/Autodiscover.xml
AutoDiscoverSiteScope          : {Default-First-Site-Name}

Name                           : EX02-2016
AutoDiscoverServiceInternalUri : https://ex02-2016.exoip.local/Autodiscover/Autodiscover.xml
AutoDiscoverSiteScope          : {Default-First-Site-Name}

Read more in the article: Find autodiscover URL in Exchange with PowerShell.

Set Exchange autodiscover URL

Set the autodiscover URL and restart IIS to apply the changes. We have seen in the past that it’s better to restart the Exchange Server after we configure autodiscover URL to have the change take immediate effect.

[PS] C:\>Set-ClientAccessServer -Identity "EX02-2016" -AutoDiscoverServiceInternalUri https://autodiscover.exoip.com/Autodiscover/Autodiscover.xml

[PS] C:\>iisreset

Attempting stop...
Internet services successfully stopped
Attempting start...
Internet services successfully restarted

Read more in the article: Configure autodiscover URL in Exchange with PowerShell.

After you set the autodiscover URL, you will not bother anyone in the organization with a certificate warning.

What’s next?

Configure the next steps on the second Exchange Server:

Conclusion

You learned how to install a second Exchange Server in the domain. It’s the same process as installing the first Exchange Server. After you install a second Exchange Mailbox server, pay close attention, and change the autodiscover record. Otherwise, a certification security alert shows up in Outlook, and that will bother the users.

Did you enjoy this article? You may also like Exchange database is mandatory on UserMailbox. Don’t forget to follow us and share this article.

ALI TAJRAN

ALI TAJRAN

ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Read more »

This Post Has 10 Comments

  1. I am looking to stand up another 2016 Exchange server to an environment that is running a 2016 server already.

    the reason for the new server is to try to migrate off all the mailboxes to this new server as the old server is having problems with the DB staying mounted (something must be corrupted as none of the repair options work).

    The question that I have is, how to do you handle the transport service portion of it? Is Exchange/AD smart enough to recognize that there are 2 servers in the environment and route mail to the appropriate server that hosts the mailbox?

    1. Exchange Server is smart enough to understand where the mailbox is hosted and route the mail to the particular mailbox when there are multiple Exchange Servers in the organization.

  2. Hi Ali,

    thank you for your courses. Your courses are very helpful.
    I have a Exchange Server 2016 and two Windows 2019 Servers. Currenty we have not a DAG Configuration on our Ex2016 and we want to migrate our Ex2016 to Ex2019. Would you perform first your Migration Job or first your DAG Configuration for EX2019 Servers. Can I perform first a DAG configuration on EX2019 Servers and than migration from EX2016 to EX2019.
    Thank you for your answer.

    Best Regards

  3. Hi Ali,

    Thanks for great articles that you have published. very helpful. One question please: What if I join a new member to existing DAG? is the same procedure?

  4. quick question, if you add a new exchange mailbox server how will it access the mailbox database from the existing MB server? or you migrate the mailboxes to the new Exchange?
    thank you

    1. Here are some examples which can help you:

      – If this is a second Exchange Server and the same version already exists in the organization, create a DAG (Database Availablity Group). The mailboxes will be available on both Exchange Servers.

      – If this is a second Exchange Server and newer than the existing Exchange Server in the organization, the mailboxes will up-proxy to the new Exchange Server.

      1. >If this is a second Exchange Server and newer than the existing Exchange Server in the organization, the >mailboxes will up-proxy to the new Exchange Server.

        What does this mean, “up-proxy”? The mailboxes are available on both the old 2013 and the new 2019 exchange? How to migrate the database storage then to the new 2019 in a second Step? Thanks, keep healthy.

        Andreas

        1. You can migrate mailboxes to Exchange Server 2019 and keep pointing the internal and external URLs to Exchange Server 2013. After migration, you can change the records.

          But you can also do it the other way around, which is changing the internal and external DNS records to Exchange Server 2019 and migrating the mailboxes.

          The mailboxes will up-proxy and down-proxy between Exchange Server 2013 and Exchange Server 2019.

          In your case, the steps will be like this:

          1. Point internal and external DNS records to Exchange Server 2019
          2. Create new mailbox databases in Exchange Server 2019.
          3. Migrate all mailboxes from Exchange Server 2013 to Exchange Server 2019
          4. Remove Exchange Server 2013 mailbox databases
          5. Uninstall Exchange Server 2013

Leave a Reply

Your email address will not be published.