dag configuration exch2013€¦ · web viewcreating dag into exch2013 is very similar to exchange...

27
DAG CONFIGURATION EXCH2013 Sachin Hodge Configuration of DAG in EXCH 2013

Upload: others

Post on 02-May-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

DAG CONFIGURATIONEXCH2013

Sachin Hodge

Configuration of DAG in EXCH 2013

Page 2: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 1

Creating and Configuring Database Availability Group into Exchange 2013:-

Creating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of Mailbox sever and its help high availability and site resilience, A DAG is a boundary for mailbox database replication, database and server switchovers and failovers, and an internal component called Active Manager.

LAB Setup :-

Server Name IP address Role Operating System NetWork Cards

Exch 1.1.1.2 MB.CAS Windows Server 2012 R2 2(DAG + Server)

Exch2 1.1.1.3 MB.CAS Windows Server 2012 R2 2(DAG + Server)

FSW 1.1.1.5 File Share Witness Server Windows Server 2012 R2 1DC 1.1.1.1 Domain Controller Windows Server 2012 R2 1

DAG Network :-

DAG Member Servers IP address Network Card Name

Exch 5.5.5.1 DagReplicationExch2 5.5.5.2 DagReplication

File Share Witness:-

This is a first step to configure DAG, Here LAB I have above servers With Windows Server 2012 Datacenter Edition. Failover prospective we should have Windows Server 2008 R2 Enterprise or Windows 2012 datacenter or standard for support Failover clustering.

On File Share witness server we have to add Exchange Trusted Group into Local administrative group. As below.

Page 3: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 2

Once this is done we should add File server feature on FSW server. Please use below command for add that.

NOTE- Run Windows power shell as Administrator.

Page 4: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 3

Next step we should enabled file and Print sharing onto Windows firewall on FSW server

Once these pre-requisites completed we will go for configure DAG.

Need to create Pre –staging computer account with DAG Name (XYZDAG)in Active Directory as below

Page 5: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 4

Next step is add DAG members’ server into DAG computer name which we just created and provide full permission. Once this is done have disabled that computer account into active Directory

Page 6: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 5

Next step is Add Second Network Card on Both mailbox Servers

We need two Network Card on DAG Members servers one is for MAPI replication and another for DAG replication. On DAG replication Network is private Network is between two DAG members and we have to remove register connection address in DNS on DAG replication Network Card please refer the below Pictures

Page 7: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 6

Dag Network Cards properties on Servers.

Page 8: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 7

Page 9: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 8

Page 10: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 9

Once this setup properly we will go for DAG Creation Now

Database Availability Group Creation :-

We can create DAG by both way Shell command or GUI mode, I am giving both Example here into this document

GUI Mode

Once you login into ECP you have click on Servers -> database availability Group and click on New Database availability group and provide all information. As below.

We can assign IP address of DAG, if you leave blank its will chose one IP dynamically

Page 11: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 10

Page 12: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 11

Once you click on Save its will complete and create DAG on Server and FSW directory on FSW server where you Path provided.

NOTE- This warning because of replication problem in LAB I have added Trusted Subsystem on FSW server already

Page 13: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 12

FSW folder is created on FSW Server.

Shell Command

We can create DAG by Shell command also, please use below command for create DAG.

Once you click on Enter here DAG will be created

Page 14: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 13

Once you click on Enter DAG will be create you can Verify with below command.

Page 15: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 14

Addition of Servers into DAG:-

We can use Shell command or GUI mode to perform this action

Shell command for add Mailbox server into DAG.

Page 16: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 15

GUI Mode for add Mailbox server into DAG.

Page 17: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 16

Page 18: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 17

Addition of mailbox Copy into DAG :-

GUI Mode:-

Page 19: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 18

Page 20: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 19

Shell Command for Adding database copy:-

Below command for verify the database copy

Managing DAG:-

Command for database copy status command

Page 21: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 20

Activating Passive copy of DAG.

GUI Mode

Select Database and Click on Active.

Page 22: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 21

Page 23: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 22

Shell Command for Activate copy or Move Copy.

Verify Activation copy after Move to another server.

Switch Over all Database to another Sever GUI Mode.

Page 24: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 23

Page 25: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 24

Page 26: DAG CONFIGURATION EXCH2013€¦ · Web viewCreating DAG into Exch2013 is very similar to Exchange 2010 but also delivers series of improvement and features, DAG is main compound of

P a g e | 25

Switch Over all Mailbox copy to other server Shell Command.

NOTE-Because of default mailbox database not added into DAG its failed we can ignore this

Reference:

https://technet.microsoft.com/en-us/library/dd979799%28v=exchg.150%29.aspx?f=255&MSPPError=-2147217396

http://exchangeserverpro.com/installing-an-exchange-server-2013-database-availability-group/

Thanks!!!