EXCHANGE2010 configuration-High availability for mailbox servers

Source: Internet
Author: User
Tags cas failover

In the previous article, we realized the high availability of Exchange CAS servers, and today we look at the high availability of mailbox server MBX.

Mailbox servers are used to store all users ' mailboxes, no doubt about the importance! The previous version of EXCHANGE2007 uses disaster-tolerant technologies such as LCR,CCR, while the more stable and up-to-date DAG technology is used in Exchange2010.


What is a dag?

The full name of the DAG is the database availability group, the Chinese name is the DB availability set, which provides database-level fault tolerance and automatically synchronizes data between the server databases that comprise the DAG;

It's simply that you create, modify, or delete a mail database on any Exchange server, and other Exchange servers automatically synchronize those operations.

The following points need to be understood to implement a DAG:

1. Dags are high-availability technologies based on Microsoft Failover Clustering (MS Cluster).

2. Deploying a DAG server requires at least two network cards, one for use with other Exchange role communications, called a MAPI network, and another for communication between two DAG members, known as a heartbeat network.

3. MS cluster and NLB functions cannot be located on the same machine

4. If the mailbox server in the DAG group is odd, for example 3 or 5, a witness server is not required, and if the mailbox server is even, you need to configure a witness server for quorum. Generally we use the hub server as a witness, if the hub and mailbox are installed on the same server, you can also use a DC as a witness.

5. Support of up to 16 members per DAG
Exchange 2010 can support more mailbox databases, users can add up to 16 mailbox servers to one DAG, and may save 16 mailbox database copies. As a result, the mailbox database maximum supported by Exchange 2010 Enterprise Edition has been raised from 50 to 100. However, the Standard Edition still supports a maximum of 5 databases per mailbox server.

6. Generally Microsoft recommends a mailbox database for about 200 users, if there are 10 mailbox databases, 5 primary databases can be placed on 08server-1, and 5 primary databases are placed on 08server-2 to achieve load sharing based on the mailbox database.

Implementation process

Main steps:

Create a DAG Group

Set the cluster IP address for the DAG group

Manage DAG Group members

Create a mailbox database

Create a mailbox Database copy

Test the mailbox database for automatic switching.

Manually switch mailbox databases

Create a DAG group

Open the EMC console, expand organization Configuration-mailbox-database availability group, not configured by default

650) this.width=650; "title=" clip_image002 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image002 "src=" http://s3.51cto.com/wyfs02/M00/70/21/wKiom1Wx_Dzx7z2fAAFZWdGJl4E469.jpg "height=" 374 "/>

Click on the right "new database availability Group"

650) this.width=650; "title=" clip_image004 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image004 "src=" http://s3.51cto.com/wyfs02/M01/70/21/wKiom1Wx_D-Trn75AAG-7_vtktQ166.jpg "height=" 374 "/>

Set name DAG01, set the witness server, we set to DC, witness directory c:\witness

650) this.width=650; "title=" clip_image006 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image006 "src=" http://s3.51cto.com/wyfs02/M02/70/21/wKiom1Wx_EGiLbqOAAHY5Pm-BEg617.jpg "height=" 374 "/>

Complete, there is a warning.

The reason is we chose the witness server DC is not a member of the Exchange Trusted subsystem Group

Description: If the specified witness server is not an Exchange 2010 server, you must add the Exchange trusted Subsystem Universal Security Group (USG) to the local Administrators group on the witness before you create the DAG. These security permissions are required to ensure that Exchange can create and share directories on the witness server as needed.

Join the Exchange Trusted subsystem in the Administrators group on the DC.

650) this.width=650; "title=" clip_image008 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image008 "src=" http://s3.51cto.com/wyfs02/M00/70/21/wKiom1Wx_EKyPxD1AAGNM4wFkMU173.jpg "height=" 381 "/>

It is recommended that this step be completed before the DAG is created.

set the cluster IP address for the DAG group

You can do this by right-clicking the properties---the new dag name and switching to the IP Address tab, adding

650) this.width=650; "title=" clip_image010 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image010 "src=" http://s3.51cto.com/wyfs02/M01/70/21/wKiom1Wx_EPRc6qkAAFwi2_q7Mc134.jpg "height=" 381 "/>

 Manage DAG Group members

Now that we have no members in our DAG01 group, we want to add members to the DAG, that is, adding 08server-1 and 08server-2 to the availability group

Operation is as follows

650) this.width=650; "title=" clip_image012 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image012 "src=" http://s3.51cto.com/wyfs02/M02/70/21/wKiom1Wx_ESx1kpqAAGdtluTFEw442.jpg "height=" 381 "/>

Select Manage Database Availability Group Membership

650) this.width=650; "title=" clip_image014 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image014 "src=" http://s3.51cto.com/wyfs02/M00/70/21/wKiom1Wx_EeAd_FNAAGFRp0o56k311.jpg "height=" 381 "/>

Add, select all Mailbox Servers 08server-1,08server-2

650) this.width=650; "title=" clip_image016 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image016 "src=" http://s3.51cto.com/wyfs02/M01/70/21/wKiom1Wx_EjhnuNWAAGpAziWmnE252.jpg "height=" 381 "/>

Click Manage, and then wait a few minutes. Because the failover cluster component is to be installed on 2 nodes.

650) this.width=650; "title=" clip_image018 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image018 "src=" http://s3.51cto.com/wyfs02/M02/70/21/wKiom1Wx_ErgIiaeAAH3PfWlH2I215.jpg "height=" 381 "/>

Installation is complete.

Open the cluster interface and observe the status of two nodes in a failover cluster

650) this.width=650; "title=" clip_image020 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image020 "src=" http://s3.51cto.com/wyfs02/M00/70/21/wKiom1Wx_EuB-mvJAAEdnCJsW60090.jpg "height=" 381 "/>

 Create a mailbox database

Below we need to create a mailbox database for sales staff sales,sales the active database on the 08server-1, storing the copy on 08server-2

650) this.width=650; "title=" clip_image022 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image022 "src=" http://s3.51cto.com/wyfs02/M01/70/21/wKiom1Wx_E2zZOiiAAGa4Ulf3mU224.jpg "height=" 381 "/>

Select Store Server 08server-1, next

650) this.width=650; "title=" clip_image024 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image024 "src=" http://s3.51cto.com/wyfs02/M02/70/21/wKiom1Wx_E_B8gOzAAGwczs3NQ8906.jpg "height=" 381 "/>

Confirm database path and log path, next

650) this.width=650; "title=" clip_image026 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image026 "src=" http://s3.51cto.com/wyfs02/M00/70/21/wKiom1Wx_FKDH5EIAAG0HLGc_cQ030.jpg "height=" 381 "/>

New

650) this.width=650; "title=" clip_image028 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image028 "src=" http://s3.51cto.com/wyfs02/M01/70/21/wKiom1Wx_FTyGNmmAAHRUK9Vzq8051.jpg "height=" 381 "/>

Complete, as I am here CAs and MBX are deployed on a single server, and NLB features and cluster cannot coexist, so in order to keep the CAs high availability, I use DNS Round Robin to implement. Such as

650) this.width=650; "title=" clip_image030 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "hspace=" alt = "clip_image030" src= "http://s3.51cto.com/wyfs02/M00/70/21/wKiom1Wx_FXR7bLjAAE6PtsUvJs328.jpg" height= "381"/>

Create a test user on the mail database sales Bing.li

650) this.width=650; "title=" clip_image032 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image032 "src=" http://s3.51cto.com/wyfs02/M00/70/21/wKiom1Wx_FfinSKHAAGtcaI-m6k347.jpg "height=" 381 "/>

Next

650) this.width=650; "title=" clip_image034 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image034 "src=" http://s3.51cto.com/wyfs02/M01/70/21/wKiom1Wx_Fqyb8pXAAGyKv15FZ8551.jpg "height=" 381 "/>

Next, by the way, test bing.li OWA Access

650) this.width=650; "title=" clip_image036 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image036 "src=" http://s3.51cto.com/wyfs02/M02/70/21/wKiom1Wx_FuStUXPAAFS7ow61cg690.jpg "height=" 381 "/>

can be accessed normally.

 Create a mailbox database copy

The following adds a copy of the mailbox database sales

Method: Mailbox-Database Management-click sales-Right click "Add Mailbox Database Copy"

650) this.width=650; "title=" clip_image038 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image038 "src=" http://s3.51cto.com/wyfs02/M01/70/1F/wKioL1Wx_kSDdrZEAAHORnttEaw944.jpg "height=" 381 "/>

Add Replica Wizard, browse-find replica server 08server-2

650) this.width=650; "title=" clip_image040 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image040 "src=" http://s3.51cto.com/wyfs02/M01/70/1F/wKioL1Wx_kei4rgDAAHyU6ZBdw4083.jpg "height=" 381 "/>

Other default

650) this.width=650; "title=" clip_image042 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image042 "src=" http://s3.51cto.com/wyfs02/M02/70/1F/wKioL1Wx_kmAMLG4AAHzfXVcgxU873.jpg "height=" 381 "/>

Complete the Add process.

Replica replication status is normal.

650) this.width=650; "title=" clip_image044 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image044 "src=" http://s3.51cto.com/wyfs02/M00/70/1F/wKioL1Wx_kzyb25HAAHJAJp4UYA526.jpg "height=" 381 "/>

Here, a copy of the sales database is available. User access to the mailbox on sales priority to connect to the 08SERVER-1 server, if there is a problem with the 08SERVER-1 server, the CAS server detects a 08server-1 failure in a short period of time, The user connection is then redirected to the sales database of the 08SERVER-2 server.

 test mailbox Database automatic switching

In order to simulate the failure effect, the 08server-1

650) this.width=650; "title=" clip_image046 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image046 "src=" http://s3.51cto.com/wyfs02/M01/70/1F/wKioL1Wx_kygh6L6AABXHTYLwd4491.jpg "height=" "/>"

Wait a little, the EMC interface can see that the sales mailbox database has switched to 08server-2, showing the active state.

650) this.width=650; "title=" clip_image048 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image048 "src=" http://s3.51cto.com/wyfs02/M02/70/1F/wKioL1Wx_k3za7LGAAG3Tssx04A506.jpg "height=" 381 "/>

Bing.li Visit again

650) this.width=650; "title=" clip_image050 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image050 "src=" http://s3.51cto.com/wyfs02/M02/70/22/wKiom1Wx_GeyEHQ3AAF8kgtacGA357.jpg "height=" 381 "/>

and send and receive mail is still normal! Proof mailbox function is good drop.

 manually switch mailbox databases

In addition to implementing automatic failover, you can also do a manual switch, such as the sales mailbox database now working on 08server-2, we want to move it back to 08server-1,

650) this.width=650; "title=" clip_image052 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image052 "src=" http://s3.51cto.com/wyfs02/M00/70/22/wKiom1Wx_GjBmgfIAAHF7Co299I694.jpg "height=" 381 "/>

Right-Move the active mailbox database

650) this.width=650; "title=" clip_image054 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image054 "src=" http://s3.51cto.com/wyfs02/M02/70/1F/wKioL1Wx_lLAfJWsAAHpQreaXPg081.jpg "height=" 381 "/>

Select a new bearer 08server-1

650) this.width=650; "title=" clip_image056 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image056 "src=" http://s3.51cto.com/wyfs02/M02/70/1F/wKioL1Wx_lTD1USeAAG5PfPNtsw724.jpg "height=" 381 "/>

Confirm database replication status under EMS

650) this.width=650; "title=" clip_image058 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image058 "src=" http://s3.51cto.com/wyfs02/M00/70/1F/wKioL1Wx_lTBPEhzAACGF6qq3Pk105.jpg "height="/>

For more highly available technologies for mailbox servers, please refer to.

https://technet.microsoft.com/zh-cn/library/dd638121 (v=exchg.141). aspx

EXCHANGE2010 configuration-High availability for mailbox servers

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.