WEBVTT

00:05.960 --> 00:13.250
Once you've created a database availability group you'll need to add dock members and this video.

00:13.250 --> 00:19.880
You'll learn how to add mailbox servers to a dog using the exchange Management's share.

00:19.910 --> 00:28.260
So to add a mailbox server to a dock user at database availability group server command land.

00:28.370 --> 00:34.930
So let's type at database availability group server or dark mailbox server.

00:35.120 --> 00:46.930
And in my case it's lone max 1 or sorry long x 1 and this example the long X one server is added to

00:46.940 --> 00:50.030
a database availability a group named Dog

01:03.720 --> 01:11.430
please keep in mind that in order to run the ad database availability group server command let the servers

01:11.430 --> 01:21.600
being added to the dock must be run in the standard or datacenter additions of Windows Server 2012 2012

01:21.690 --> 01:25.760
our 2 or 2016 or higher.

01:25.770 --> 01:33.240
This is due to the requirement of the windows failover cluster component which is required by the dog.

01:33.480 --> 01:41.040
Additionally the service must be a member of an existing dog for you to successfully run this command.

01:41.100 --> 01:48.240
If you use this command led to attack a mailbox sorrow to dock the windows fail or cluster and feature

01:48.570 --> 01:53.420
will automatically be installed if it has not been already.

01:53.540 --> 02:00.960
When the first mailbox Sara resided to the dock a computer account known as a cluster network object

02:00.960 --> 02:08.880
or CNO is added to the Active Directory the name or the computer account will be created using the same

02:08.880 --> 02:10.050
name as dock.

02:10.230 --> 02:18.270
So if your database availability to group is named test for example a computer account will be created

02:18.270 --> 02:19.840
with the name test.

02:19.840 --> 02:26.270
Now for this command led to complete successfully when the first mailbox Sora resided to the dock the

02:26.280 --> 02:34.350
accused trusted subsystem Universal Security Group must have the appropriate permissions in the Active

02:34.350 --> 02:36.810
Directory to create the account.

02:36.840 --> 02:45.480
In many cases this should not be an issue but if you work in an environment where Active Directory security

02:45.480 --> 02:49.690
permissions have been modified to restrict access.

02:49.740 --> 02:59.490
You may need to Bruce teach this CNO object and ensure that the exchange trusted subsystem group has

02:59.490 --> 03:03.650
been granted full control permissions on the object.

03:03.660 --> 03:10.860
Remember we've performed such an action in a previous video when we've created doc with the help of

03:10.860 --> 03:16.230
graphical user interface and user sent computers to.

03:16.350 --> 03:23.010
Please know that if you are creating a doc without an administrative access point with mailbox servers

03:23.370 --> 03:31.620
Iran and Windows Server 2012 are two or above you do not need to prove status they are no for the dog

03:31.890 --> 03:39.840
IPL as dogs do not to use knows therefore recitation is not required for those dogs.

03:39.870 --> 03:47.510
This is another advantage of IPL as dogs know that at database availability to groups sorry command

03:47.520 --> 03:55.530
left will need to be run for reach mailbox server that will be included in the dog if you want to automate

03:55.590 --> 03:56.900
this process.

03:57.000 --> 03:58.810
You have a couple of options.

03:58.830 --> 04:05.420
First you simply need to add all the mail box servers in the organization to the dog.

04:05.460 --> 04:12.870
Use the following command get mail box by add database availability group server

04:16.550 --> 04:22.970
if you are working in a more complex environment with multiple active directory sites you'll need to

04:22.970 --> 04:26.680
do a little more work on it and service to a dog.

04:26.750 --> 04:33.860
You'll probably need to limit this to the mailbox sorrows in a particular active directory site.

04:33.890 --> 04:36.970
The following code will allow you to accomplish this.

04:36.980 --> 04:44.320
Here you can see that we are using the Gothic shield sorrow command led to retrieve all the mailbox

04:44.330 --> 04:52.750
server so the default active directory site and store the results in the end be x wearable with them

04:52.800 --> 05:01.850
by this variable to the ADD database availability group server command land and at each server to the

05:01.850 --> 05:03.350
dark in the site.
