Deployment exchange2010 Triad: 12: Deploying a database Highly available DAG

Source: Internet
Author: User
Tags failover

Prerequisite

MB IP

Heart Network

192.168.1.15

192.168.100.2

192.168.1.16

192.168.100.3

Dag cluster virtual IP

192.168.1.30

Dag NIC Configuration

The purpose of configuring a DAG is to enhance the high availability of the mail server, preventing mail system users from accessing the mailbox after a mailbox server is damaged.

When configuring a DAG, the mailbox server preferably has two network cards, one for the production environment, and another for replication between Dags.

Before you create a DAG, first verify that all Exchange servers are part of the Exchange Trusted subsystem Group

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/84/47/ Wkiom1elwfizy9zkaacjabhqvbq781.jpg "" 644 "height=" 242 "/>

Dag NICs do not need to configure DNS and gateways. A DAG Nic is required for each machine

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/84/47/ Wkiol1elwfjaucpaaad7gfrafm4348.jpg "" 414 "height=" 484 "/>

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/M01/84/47/ Wkiol1elwfzsm-vgaadpvylvofu760.jpg "" 437 "height=" 484 "/>

NIC connection settings

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/M02/84/47/ Wkiom1elwf3bgqxaaadde4jcscm308.jpg "" 470 "height=" 484 "/>

Witness server Configuration

It is generally recommended that you add the group "Exchange Trusted Subsystem" to the local Administrators group of the witness when you use the CAS server as the DAG witness and select non-Exchange Server role members (except for the Edge Transport server) as the witness server. Doing so will cause an error creating the DAG, this article chooses the DC as the witness

BEN650) 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/M02/84/47/ Wkiom1elwf7gnh4raacbtmf36p0321.jpg "" 395 "height=" 484 "/>

Create Dag

Open any Exchange server, open the EMC Management Console----Organization configuration----mailbox, and switch from the middle pane to the Database Availability Group tab. In the blank, right-click New Database Availability Group, which appears as shown in the interface:

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/M00/84/47/wKiom1eLWf_ Xpjbfaadhvlq-bsq375.jpg "" 644 "height=" 381 "/>

Enter the name of the DAG here, specify the name of the DAG, the witness server as the witness directory

(Note: Witness This witness directory is not required to be created manually, the DAG will be automatically created and shared after the completion of the addition of the staff)

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/M02/84/47/ Wkiol1elwgdybdbdaadk7euslgw970.jpg "" 591 "height=" 484 "/>

The warning can be ignored because in the first step we have joined the Exchange trusted subsystem group to the local Administrators group of the domain controller and click Finish, then the DAG is created successfully

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/M02/84/47/ Wkiom1elwggbwmjyaadarc6qoig354.jpg "" 585 "height=" 484 "/>

In the completion interface, you can see the corresponding command line. Below we need to set the cluster IP address of the DAG by right-clicking the "Properties"---the newly created DAG name to the "IP Address" tab and adding it. As shown in the following:

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/M01/84/47/ Wkiom1elwggiqgw0aac0k1kxowm842.jpg "" 462 "height=" 484 "/>

Add the Database Availability group IP address, click OK, but now we have no members in our DAG group, and we need to continue to add members to the DAG, that is, to join the Exchange MBX server to the availability group. On the new DAG name, right-click Manage Database Availability group memberships, and then add ex01 and ex02. As shown in the following:

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/M02/84/47/ Wkiom1elwgkik7sgaadtlmtsoda700.jpg "" 644 "height=" 385 "/>

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/M00/84/47/ Wkiom1elwgpj3j-5aac1moyvswk233.jpg "" 590 "height=" 484 "/>

When you click on "Manage", you need to wait a moment, because the system joins the member and also needs to install the Windows Failover Cluster service on the member machine

Here's how to add a database high Availability group member in the Exchange Management shell by using a command method

Add-databaseavailabilitygroupserver-identity Cqdag-mailboxserver CQEXDAG01

Add-databaseavailabilitygroupserver-identity Cqdag-mailboxserver cqexdag02

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/M01/84/47/ Wkiom1elwgtjcl3eaadr1d_durs585.jpg "" 586 "height=" 484 "/>

After adding the DAG member, we come to the domain controller's C drive and verify that the witness directory is automatically created and shared

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/M01/84/47/wKioL1eLWgXR_ 6c5aaceveskjis167.jpg "" 644 "height=" 260 "/>

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/84/47/ Wkiol1elwgagkctfaactfklvqfu146.jpg "" 342 "height=" 484 "/>

Next, looking at the resources in the failover cluster, we can open failover Cluster Manager on any of the Exchange servers where we can see that the cluster name is the DAG01.lsx.com we specified in the DAG deployment. Two nodes in the cluster are in a healthy state.

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 "alt=" clip_image030 "src=" http://s3.51cto.com/wyfs02/M01/84/47/ Wkiom1elwgasihtraabhlu0he8i446.jpg "" 644 "height=" 117 "/>

Automatic creation of DNS records

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/84/47/ Wkiom1elwgfgqje9aab7rwdkons705.jpg "" 644 "height=" 182 "/>

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/M02/84/47/ Wkiom1elwgjjdvolaabk4zyfudu847.jpg "" 644 "height=" 109 "/>

In our initial planning, the DAG network card is the network card for data replication, located in the replication network 192.168.100.0 This segment, then the MAPI network, that is, 192.168.1.0 this network can also be used for replication, where we disable the replication of the MAPI network

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/M01/84/47/ Wkiom1elwgmteukfaacuuk96xjq183.jpg "" 470 "height=" 484 "/>

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/M00/84/47/ Wkiom1elwgmzeuwdaacg-bfuanc058.jpg "" 644 "height=" 331 "/>

Here we will add a copy of the mailbox database, in fact, to create a backup on another mailbox server, but first, a new database, where the default database is not used

Switch to the Database Management tab, right-click the new mailbox database in the space

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/84/47/ Wkiol1elwgqyogpnaabwno2dogq762.jpg "" 644 "height=" 167 "/>

Specify the database name to be the server that hosts it

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/84/47/ Wkiom1elwgvaxa1kaacgzulwb2c436.jpg "" 644 "height=" 458 "/>

Specify the database file path and the folder path where the log is stored

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/M02/84/47/ Wkiol1elwgzrdxlkaaceo34yday278.jpg "" 644 "height=" 480 "/>

When you click Finish, you create a mailbox database Mb01

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/M00/84/47/ Wkiom1elwgzyrhwdaadwcs20pya362.jpg "" 628 "height=" 484 "/>

Create and mount a mailbox database using command mode in the Exchange Management shell

To create and mount a database on another Exchange server with a command

New-mailboxdatabase-server ex02-name Mb02-edbfilepath C:\mailbox\mb02\mb02.edb–logfolderpath c:\mailbox\mb02log

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/M01/84/47/ Wkiom1elwg2trs-raaazoruix6i825.jpg "" 644 "height=" 94 "/>

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/M00/84/47/wKiom1eLWg3z5oKrAAAnL _u4mpg283.jpg "" 644 "height="/>

Mount Database

Mount-database–identity MB02

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/M02/84/47/ Wkiom1elwg7sxj0baaabgpzzwm8753.jpg "" 644 "height="/>

As shown, mailbox database creation is complete

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/84/47/ Wkiol1elwg7dkxgoaabcauexjbq230.jpg "" 644 "height=" 161 "/>

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/M00/84/47/wKioL1eLWg-y2X_ 1aab3nkj2su4755.jpg "" 644 "height=" 149 "/>

CreateMailbox Database Copy

Right-click on MB01 and select "Add Mailbox Database Copy"

650) this.width=650; "title=" clip_image002[5] "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[5] "src=" http://s3.51cto.com/wyfs02/M01/84/47/ Wkiom1elwhdslxy2aadeuwf6-1c564.jpg "" 644 "height=" 303 "/>

Specify the server that holds the database copy, select ex02 here,

650) this.width=650; "title=" clip_image004[5] "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[5] "src=" http://s3.51cto.com/wyfs02/M02/84/47/ Wkiom1elwhhtwxpnaacxrwgv0ji355.jpg "" 644 "height=" 463 "/>

Click Add to create the success

650) this.width=650; "title=" clip_image006[5] "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[5] "src=" http://s3.51cto.com/wyfs02/M02/84/47/ Wkiom1elwhhixpuoaab9xdfnrpy742.jpg "" 644 "height="/>

To add a mailbox database copy in the Exchange Management shell by using a command method

To create a MB02 database copy using the Exchange Management Shell

Add-mailboxdatabasecopy–identity Mb02-mailboxserver ex01–activationpreference 2

650) this.width=650; "title=" clip_image008[5] "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[5] "src=" http://s3.51cto.com/wyfs02/M00/84/47/ Wkiol1elwhkbcnagaaark78piy8438.jpg "" 644 "height=" "/>

650) this.width=650; "title=" clip_image010[5] "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[5] "src=" http://s3.51cto.com/wyfs02/M01/84/47/ Wkiol1elwhpia4uqaachl83mcb8136.jpg "" 644 "height=" 175 "/>

Now we can see that the mailbox database MB01, MB02 on both mailbox servers have a copy,

650) this.width=650; "title=" clip_image012[5] "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; margin:0px; padding-right:0px "border=" 0 "alt=" clip_image012[5] "src=" http://s3.51cto.com/wyfs02/M02/84/47/ Wkiol1elwhoyqowhaaag0ywiafa131.jpg "" 244 "height=" 108 "/> 650) this.width=650;" title= "clip_image014[5]" style= " border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; margin:0px; padding-right:0px "border=" 0 "alt=" clip_image014[5] "src=" http://s3.51cto.com/wyfs02/M00/84/47/ Wkiom1elwhsbtyygaaabelll6ao333.jpg "" 244 "height="/>

Test dag

Pausing the EX02 server

650) this.width=650; "title=" clip_image016[5] "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[5] "src=" http://s3.51cto.com/wyfs02/M01/84/47/ Wkiom1elwhwxuccuaacocprv59c675.jpg "" 644 "height=" 229 "/>

You can see that the database has been switched to the EX01 copy

650) this.width=650; "title=" clip_image018[5] "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[5] "src=" http://s3.51cto.com/wyfs02/M02/84/47/ Wkiom1elwhxhnu-laackugwm7pm751.jpg "" 644 "height=" 266 "/>

can send receive normally

650) this.width=650; "title=" clip_image020[5] "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[5] "src=" http://s3.51cto.com/wyfs02/M00/84/47/ Wkiol1elwhawif7raabjsuhfahs117.jpg "" 644 "height=" 212 "/>

View message headers, which are sent and received by the EX01 server

650) this.width=650; "title=" clip_image022[5] "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[5] "src=" http://s3.51cto.com/wyfs02/M01/84/47/ Wkiom1elwhetfal1aact651_wam411.jpg "" 644 "height=" 268 "/>

Deployment exchange2010 Triad: 12: Deploying a database Highly available DAG

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.