Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Exchange deployment DAG

2025-02-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

One. If the witness is not an Exxchange Server, you need to join the Exchange Trusted Subsystem to the witness's local ADMINISTRATORS group.

It is recommended to use the CAS server as the witness, because the extra load is minimized, and it is already under the control of the Exchange Server management group, and the witness does not need to run the same version of the operating system as the DAG member.

Two. Deploy MBX and set up dual network cards

Three. Create a new DAG and configure

Installation function

Import-Module ServerManager

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

Install mailbox

Setup / m:install / r:MB / t: "D:\ Exchange Server" (exchaneg installation address)

Create a new DAG database group

Add the witness to the Exchange trusted management unit and add the witness to the Administrators group of the witness.

Exchange Trusted Subsystem is added to the local Administrators group of the witness.

2.2 Open the Exchange console, click Organization, click email, click Database High availability Group, and click New DAG Group.

When you create a new DAG, you need to confirm the DAG group name, witness server FQDN, and witness directory (witness directory is specified here, which is automatically created after the completion of DAG)

2.3 set the IP address for the DAF group. After setting it here, a same A record will be automatically registered in the DNS.

Create a new DAG command with the command as follows:

New-DatabaseAvailabilityGroup-Name DAG group name-WitnessServer witness full hostname-WitnessDirectory d:\ witness (witness address)-DatabaseAvailabilityGroupIpAddresses 192.168.0.5 (DAG group ip)

2.4 add members to the DAG group with the following command:

Add-DatabaseAvailabilityGroupServer-Identity DAG group name-MailboxServer CNMBX01

Add-DatabaseAvailabilityGroupServer-Identity DAG group name-MailboxServer CNMBX02

Disable networks that are not required for DAG replication in DAG.

2.6 the command to create a new database is as follows:

Create the database New-MailboxDatabase-Name DB01-Server mbx01-EdbFilePath D:\ DB01\ DB01.edb-LogFolderPath D:\ DB01

Mount database Mount-Database-Identity DB01

2.7 add database copy

Add-MailboxDatabaseCopy-Identity DB01-MailboxServer DB02-ActivationPreference 2

2.8 move database command:

Move-ActiveMailboxDatabase-Identity CQDB01-ActivateOnServer cqexdag02-MountDialOverride None

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report