Preparing Active Directory Forest and Domain for Exchange Server 2016 installation

NOTE: - First, install below mentioned two software on the computer that will be used to prepare Active Directory.

  1. Install-WindowsFeature RSAT-ADDS
  2. Install .NET Framework 4.5.2 

Extract the Exchange Server 2016 setup files into a folder and then navigate to the location where the Exchange setup files were extracted from Command Prompt. And then Run Below command.

Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms

Wait some time for AD replication and then you can check Exchange Schema-Version in the Schema naming context.

After that Run below Command to prepare AD.

Setup,exe /PrepareAD /OrganizationName:"<Your Exchange Organisation Name> /IAcceptExchangeServerLicenseTerms

If you are installing Exchange Server 2016 into an existing Exchange organization you do not need to specify the organization name.

 

After that Run Prepare Domain

Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms

 

Preparing particular domain

Setup.exe /PrepareDomain:<FQDN of the domain you want to prepare> /IAcceptExchangeServerLicenseTerms

Checking Exchange 2016 Active Directory versions

The following table shows you the Exchange 2016 objects in Active Directory that get updated each time you install a new version of Exchange 2016. You can compare the object versions you see with the values in the table below to verify that the version of Exchange 2016 you installed successfully updated Active Directory during installation.

  

Exchange version

rangeUpper

objectVersion

objectVersion

Naming context

 

Schema

Default

Configuration

Container

 

ms-Exch-Schema-Version-Pt

Microsoft Exchange System Objects

CN=<your organization>, CN=Microsoft Exchange, CN=Services, CN=Configuration, DC=<domain>

Exchange 2016 Preview

15317

13236

16041

Preparing machine for Exchange 2016 Installation (pre-requisites application)

Installing Exchange 2016 on directory servers

For security and performance reasons, we recommend that you install Exchange 2016 only on member servers and not on Active Directory directory servers. However, you can't run DCPromo on a computer running Exchange 2016. After Exchange 2016 is installed, changing its role from a member server to a directory server, or vice versa, isn't supported.

Hardware

Processor

64-bit Dual Sockets with 20-24 Cores

Memory

  • Mailbox   8GB minimum & maximum ~196GB
  • Edge Transport   4GB minimum

Operating System requirements for Exchange 2016 Server roles

Mailbox and Edge Transport server roles

  • Windows Server 2012 R2 Standard or Datacenter
  • Windows 10

Management tools: For PowerShell Management tool

One of the following:

  • Windows Server 2012 R2 Standard or Datacenter
  • Windows Server 2012 Standard or Datacenter
  • Windows 10

Supported clients

Exchange 2016 and Exchange Online support the following versions of Outlook:

  • Outlook 2016
  • Outlook 2010 SP2 (with KB2956191 and KB2965295)* or later
  • Outlook 2013 SP1 (with KB3020812)* or later
  • Outlook for Mac for Office 365
  • Outlook for Mac 2011 or later

Installing the Exchange Server 2016 Mailbox server role

  • Install OS with latest SP and Patches on windows 2012 R2.
  • Join machine into Domain

Run below PowerShell command from elevated (run as administrator) PowerShell console to install the operating system roles and features required for Exchange 2016 Mailbox Server Role.

C:\> Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation –restart

After Server Reboot, install below two application.

  1. .NET Framework 4.5.2
  2. Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit

Now server is ready to install Exchange Server 2016 mailbox Role.

Exchange 2016 can be Install using either the Setup wizard or unattended mode

Caution: After you install Exchange 2016 on a server, you must not change the server name. Renaming a server after you have installed an Exchange 2016 server role is not supported.

Important: If you have User Access Control (UAC) enabled, you need to right-click Setup.exe and select Run as administrator.

  1. Download the exchange 2016 installer file, extract into Folder
  2. Start Exchange 2016 Setup by double-clicking Setup.exe
  3. Introduction
  4. License Agreement acceptance
  5. Select role & management tools

    <Picture>

    Note: Checking the check box, Automatically install Windows Server roles and features that are required to install exchange server.

  6. Provide the installation path
  7. If this is the first Exchange server in your organization and have not prepare AD before, on the Exchange Organization page, type a name for your Exchange organization. 
  8. If you want to use the Active Directory split permissions model, select Apply Active Directory split permission security model to the Exchange organization.
  9. If you're installing the Mailbox role, on the Malware Protection Settings page, choose whether you want to enable or disable malware scanning. If you disable malware scanning, it can be enabled in the future. Click Next to continue.
  10. On the Readiness Checks page, view the status to determine if the organization and server role prerequisite checks completed successfully. If they haven't completed successfully, you need to resolve any reported errors before you can install Exchange 2016. You don't need to exit Setup when resolving some of the prerequisite errors. After resolving a reported error, click back and then click Next to run the prerequisite check again. Be sure to also review any warnings that are reported. If all readiness checks have completed successfully, click Next to install Exchange 2016.
  11. On the Completion page, click Finish.
  12. Restart the computer after Exchange 2016 has completed.
  13. To verify that you've successfully installed Exchange 2016: Run the Get-ExchangeServer & Review the setup log file (<system drive>\ExchangeSetupLogs\ExchangeSetup.log)
  14. Complete your deployment by performing the tasks provided in Exchange 2016 post-Installation tasks.

 

To install “Mailbox”role in unattended mode use below command.

C:\>setup.exe /mode:install /roles:mailbox /iacceptexchangeserverlicenseterms

 

Creating and Configure DAG

Same Like previous version DAG, except some changes as given below

  • Please note that we cannot add Exchange 2016 mailbox server in Exchange 2013/2010 DAG. We need to create separate DAG for Exchange 2016 servers.
  • The DAG is deployed without an administrative access point.
  • Database failovers times are reduced by 33% when compared to Exchange Server 2013.
  • DatabaseAvailabilityGroupIpAddresses is no longer required when creating a DAG. By default, the failover cluster will be created without an administrative access point, as this is the recommended best practice.
  • Replay Lag Manager is enabled by default.
  • Lagged database copy play down can be delayed based on disk latency, thereby ensuring active users are not impacted.

Configure mail flow and client access

  1. Create a Send connector
  2. Add additional accepted domains
  3. Configure the default email address policy
  4. Configure external URLs
  5. Configure internal URLs
  6. Configure an SSL certificate

Only client connection is proxies between Exchange server 2013 & 2016

Installing the Exchange Server 2016 Edge server role

  • Install OS with then latest SP and Patches on windows 2012 or 2012 R2.
  • Server must be installed in DMZ as standalone.

Run below PowerShell command from elevated (run as administrator) PowerShell console to install the operating system roles and features required for Exchange 2016 EDGE Server Role.

  • C:\> Install-WindowsFeature  ADLDS
  • NET Framework 4.5.2

Now server is ready to install Exchange Server 2016 EDGE Role.

References:

  • https://technet.microsoft.com/en-us/library/bb125224(v=exchg.160).aspx
  • https://technet.microsoft.com/en-us/library/bb738144(v=exchg.160).aspx
  • https://technet.microsoft.com/en-us/library/aa996719(v=exchg.160).aspx