In an article detailing the high availability of the CAS+HT role, today we are addressing the high availability of mailbox servers, and the DAG technology of Exchange Server2010 can meet this requirement. The full name of DAG is the database availability Group, which provides data-level fault tolerance and does not require expensive professional storage, theoretically using a normal local hard drive. and data synchronization is automatically implemented between the server databases that make up the DAG. Adding, modifying, and deleting mail databases on any Exchange server synchronizes to other servers. Now, let's look at how to implement Dag. The topology we use today is the same as in the previous article, as shown in the following illustration:
Deploying a DAG server requires at least two network adapters, one for other exchange roles to communicate with the MBX role, equivalent to public in a failover cluster, known here as a MAPI network, and another for communication between two DAG members, equivalent to the heart in a failover cluster. This is called a replication network.
Here we begin the installation of the first MBX mailbox server on the DAG1, and the MBX Mailbox server role also needs to install the Microsoft Filter Packs component (which is required by the MBX role and the HT role); Install the IIS components (different roles, different component contents) Configure remote administration capabilities, including automatic sharing of TCP ports, remote administration of servers, and open firewall port settings for remote administration (required by all roles).
Step 1: Install the Microsoft Filter Packs component. Use the Exadmin user to log on to DAG1, run as administrator to install the Microsoft Office Filter packs, with a screenshot.
Step 2: Install the IIS components. Run Import-module Servermanager in the Windows PowerShell command line environment, and then execute: Add-windowsfeature net-framework,rsat-adds,web-server, Web-basic-auth,web-windows-auth,web-metabase,web-net-ext,web-lgcy-mgmt-console,was-process-model, Rsat-web-server–restart. After the system restarts, follow the steps below, as shown in the following illustration:
Step 3: Install the remote management component. Run the cmd command line with Administrator privileges, run the following three commands sc config nettcpportsharing start= auto;winrm quickconfig;netsh advfirewall firewall set rule Name= "Windows Remote Management-compatibility mode (http-in)" New Enable=yes, screenshot slightly.
Step 4: Install the MBX role. After the above preparation, we can install the MBX role, we put the Exchange installation CD in the DAG1, and run the installer. In this step 1 and 2 you have met the criteria, so click Step 3 here, select the Exchange language option, and if you are installing the Chinese version of exchanger on the Chinese version of the operating system, simply choose from the DVD installation language, if you are installing Exchange in another language, You need to select a language pack. Here we choose: Install the language from the DVD only. Then click Step 4: Install Microsoft Exchange, and then accept the license and whether or not to send the error report, as shown in the following figure: