Database Availability Group (DAG) -Exchange 2010
Database Availability Group (DAG)
Now that Exchange 2010 has been officially released and I am allowed to blog on the topic I wanted to start with what I believe is one of the best features added to Exchange 2010. There may be some heart break of the removal of a few features from Exchange 2007 however Database Availability Groups (DAG) is a feature that has been ask for over years. To better under what a DAG is let’s recap through Exchange.
Exchange 2007 introduced LCR, CCR, SCC and SCR
LCR (local continuous replication) this was mainly used for small business who wanted to replicate a copy of their Exchange database to another disk on the same server.

SCC (Single copy cluster) was what I would call a traditional Exchange cluster which used shared storage to host the Exchange database.
Basic architecture of an SCC

CCR (cluster continuous replication) was used to replicate Exchange database information between 2 Exchange server allowing for hardware and storage redundancy but was limited to 1 Active node and 1 Passive node.
Basic deployment of CCR

SCR (standby continuous replication) was introduced in Exchange 2007 SP1 to provide the ability to replicate Exchange databases to an disaster recovery location.

How did it use to work?
The concept of a DAG and how it functions I believe is easier learned by someone who hasn’t worked with Exchange clusters previously.
In Ex 200X an Exchange server was installed as either an Active or Passive cluster node at the time setup.exe was run.
Depending on which version of Exchange you installed you had to create an Exchange virtual server (EVS) which was changed to cluster mailbox server (CMS) in Exchange 2007.
When a user connected Outlook the mailbox server name was a clustered resource which moved between any number of nodes on the Exchange cluster. This allowed for no end user configuration changes all the resource moved between physical servers
An Exchange database was associated with the clustered resource and when you open EMC/ESM the only Exchange server name that was shown was the clustered node, let’s call is CMS1. That means database one would always belong to CMS1 even when this moved between physical machines.
Here comes the DAG
So now it’s time to forget everything that I just mentioned previously in this article about Exchange clustering.
What has been removed?
- No more EVS/CMS
- Database is no longer associated to a Server but is an Org Level resource
- There is no longer a requirement to choose Cluster or Non Cluster at installation, an Exchange 2010 server can move in and out of a DAG as needed
- The limitation of only hosting the mailbox role on a clustered Exchange server
- Storage Groups have been removed from Exchange
Is anything the same?
1. Window Enterprise Edition is still required since a DAG still uses pieces of Windows Failover Clustering
What’s New?
1. Other roles can be install on the mailbox server when it is a member of a DAG
2. A database name must be unique in the Exchange Org

Let’s walk through the installation of Exchange 2010 and then setup our DAG
I am going to pickup where I left off in the following post http://www.exchange-genie.com/2009/04/exchange-2010-installing-the-mailbox-role/ where we walked through the exchange installation.
1. Open EMC -> Expand Orgnaization componets and select the database availability group tab
2. Right click and select New Database Availablity Group
3. We are now ask to fill in 3 pieces of information for our DAG
a. DAG name
b. FileShare witness (fsw) UNC path (can be any machine)
c. phycial location on the server that will host the fsw
You can see I am using my DC in the lab for the fsw machine, note that whatever machine you are using as the fsw needs to have the Exchange Trusted Subsystem group in the local Admins group
4. Click Finish on the completion page
We have now created our first DAG, if we open active directory users and computers we will see a computer objects gets created with the DAG name we supplied
This object is used by Windows clustering
After the wizard completes we can verify in EMC that our DAG was created as well
by itself the DAG does not do anything for us and there are no properties to manage in EMC, however if we use the shell we can see a few additional properties like:
NetworkCompression : InterSubnetOnly
NetworkEncryption : InterSubnetOnly
[PS] C:\>Get-DatabaseAvailabilityGroup | fl
Name : GenieDAG
Servers : {E14-EX1}
FileShareWitnessShare : \\E14-DC1\GENIEFSW
FileShareWitnessDirectory : C:\GENIEFSW
AlternateFileShareWitnessShare :
AlternateFileShareWitnessDirectory :
NetworkCompression : InterSubnetOnly
NetworkEncryption : InterSubnetOnly
DatacenterActivationMode : Off
StoppedMailboxServers : {}
StartedMailboxServers : {}
OperationalServers :
ControllingActiveManager :
ReplicationPort : 0
NetworkNames : {}
AdminDisplayName :
ExchangeVersion : 0.10 (14.0.100.0)
Identity : GenieDAG
WhenChanged : 4/17/2009 7:22:42 PM
WhenCreated : 4/17/2009 7:22:42 PM
OrganizationId :
OriginatingServer : E14-DC1.ExchangeGenie.Local
IsValid : True
Lets add our first node to the DAG
1. in EMC right click our DAG and select manage database availability group
2. On the manage database availability group page click the Add button
3. In the select mailbox server window select the appropriate mailbox server in my case its e14-ex1
4. click Manage
after selecting manage Windows clustering is installed at this time
5. Click finish on the completion page
6. We can now see that E14-ex1 was added to the DAG
If we open our Admin tools we will see the Windows clustering is installed and that E14-ex1 is a member of the cluster
note: by default the DAG is set to use DHCP to assign and address to it, in the current build there is no way to assign an IP to the DAG in gui. This can be done when adding a node to the DAG from EMS.
Let see what it looks like to add the server from EMS
1. Open EMS (use the local shell currently) add-databaseavailabilitygroupserver GenieDag -mailboxserver E14-ex1 -databaseavailabilitygroupIpAddress 192.168.1.60
Let open Windows Failover Clustering and see that the IP is assigned to the cluster.
Another item you will notice that is different from previous versions of Exchange is there are not clustered resources, no disks, not CMS/EVS.
The DAG only users Windows Clustering for hear beat and quorum the new Active Manager is used to manage the DAG failvoer.
We have currently created a DAG with only 1 Exchange server which does not do us any good as DAG nodes can only replicate to another server, so we will need to add another node.

















![[Google]]( http://www.exchange-genie.com/wp-content/plugins/easy-adsense-lite/google-light.gif)





April 16th, 2009 at 1:13 pm
[...] 1) Forget about CCR and SCR and think Database Availability Group… DAG is the new way of doing HA and DR. Deploying DAG is easier than ever as it will deploy the necessary Windows Clustering components for you. Also you can now get up to 16 replica’s of your mailbox database and the failover granularity is now on Database level instead of Server level. Have a look here for more information http://www.exchange-genie.com/2009/04/database-availability-group-dag-exchange-2010/ [...]
May 11th, 2009 at 9:29 am
DAGs use a subset of Windows Failover Clustering technologies, namely, the cluster heartbeat, cluster networks, and the cluster database (for storing data that changes or can change quickly).
Because DAGs rely on Windows Failover Clustering, they can only be created on Exchange 2010 Enterprise Edition Mailbox servers that are running Windows Server 2008 Enterprise or Windows Server 2008 Datacenter. In addition, each Mailbox server in the DAG must have at least two network interface cards in order to be supported.
When a DAG is formed, the failover cluster that is created will initially use the Node Majority quorum mode. When the second Mailbox server is added to the DAG, the cluster quorum is automatically changes to the Node and File Share Majority quorum model. When this change occurs, the DAG will begin using the specified UNC path and directory for the cluster quorum. If the specified UNC path and directory does not exist, the Add-DatabaseAvailbilityGroupServer cmdlet will automatically create them, and provision them with full control permissions for local administrators and the CNO computer account.
June 12th, 2009 at 2:29 am
I’m using 2 mailbox server role for creating member of DAG.But I cannot add both of them to DAG. The one is ok, the one cannot start failover cluster service.I don’t know why?
June 12th, 2009 at 8:09 am
How are you trying to add the server EMC or EMS ? Are you using the public beta…
August 3rd, 2009 at 2:02 am
DAG in Exchange 2010 Beta step by step at http://thuc.nhatnghe.vn/ex2010-dag
September 4th, 2009 at 7:15 am
really it`s good jop ,,keep it up
September 16th, 2009 at 2:08 am
DAG also support windows server 2008 R2 enterprise edition work or not?
September 16th, 2009 at 9:20 am
Yes, Ex 2010 is supported on Windows 2008 SP2+ and Windows 2008 R2… you cannot have a mixed cluster with Winodws 2008 and Windows 2008 R2
October 7th, 2009 at 7:15 pm
Hi Exchange-Genie!
Thank you very much for the content, wonderful piece! I am curious however? In step 3 you mention using your DC as the FSW and then follow-up with a requirement that the Exchange Trusted Subsystem security group be added to the local Administrators group. To my knowledge that is not possible on a DC (Domain Controller). Did you add the Exchange Trusted Subsystem security group to the Domain Admins group?
Thank you in advance for your comments…
October 8th, 2009 at 5:32 pm
There is a built in container which hosts a group called Administrators that you can use (open dsa.msc and you will see the container)…. I do not advicate using the DC as the FSW unless that is the only other server you have.
October 12th, 2009 at 3:18 pm
Thank you for your quick reply, it worked!
This is a temporary solution as the DC is the only other server in the domain.
November 11th, 2009 at 1:39 pm
Thank you very much excellent article. I have a question if you could assist me.
Raghu posted:
When a DAG is formed, the failover cluster that is created will initially use the Node Majority quorum mode. When the second Mailbox server is added to the DAG, the cluster quorum is automatically changes to the Node and File Share Majority quorum model.
I have added a second server to the DAG. But I am still getting a warning.
Node Majority – Warning: Failure of a node will cause the cluster to fail.
November 11th, 2009 at 1:46 pm
What machine did you specify as the fsw? Did the file share get created and is accessible from each dag node? you need to make sure the server to host the fsw has the exchange trusted subsystem group in the local admin
November 12th, 2009 at 12:01 pm
Confused!
The ‘Managing Database Availability Groups’ article in TechNet states: “Because DAGs rely on Windows Failover Clustering, they can only be created on Exchange 2010 Mailbox servers that are running Windows Server 2008 Enterprise Edition or Windows Server 2008 R2 Enterprise Edition.”
So if I am installing Exchange Server 2010 Standard Edition on a Windows Server 2008 x64 Standard Edition what features of DAG (if any ) do I have? Will Exchange Server 2010 Standard Edition allow an active/passive LCR of the database and logs using two HBAs and arrays and one server like I am doing with Exchange 2007.
November 12th, 2009 at 3:06 pm
Yes that is correct.. With Exchange 2010 the main difference between Exchange Standard and EE is the number of databases you can create. Standard limits you to 5 databases where EE allow you to create 100.
To use a dag you need WFC (windows failover cluster) but the selection of Exchange lisc. just depends on the number of dbs.
http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/dadc99c8-5b7b-4bb7-9b3a-5623646cbe78/
November 14th, 2009 at 6:15 am
Thank you for this great article.
Is it necessary for Servers in DAG to have to network cards, or it goes all though LAN. What are best practises
November 15th, 2009 at 1:14 pm
This support for this recently changed but best practice would be to have multiple network cards so you can have a dedicated replication network seperate from your mapi network. You can control which networks are configured as what via EMS with the get-DatabaseAvailabilityGroupNetwork command
December 4th, 2009 at 8:30 pm
Hello, great article. I have a question. I have created the DAG, but when I set up an outlook client and point it to the DAG name, it does not work. I can ping the DAG name but it won’t connect. Any idea?
Thanks.
December 4th, 2009 at 10:28 pm
sorry, another question. do the two mailbox servers share a disk with the mailbox database? I don’t get how they become redundant. for example, if I set up the first mailbox server to use it’s local I drive, do I also present that disk to the 2nd server so it can share the data or would you need to disks, but both servers set up identically? It’s so new I am having trouble finding docs on it.
December 5th, 2009 at 11:16 am
1. clients do not connect to the DAG that connect to the rpc end point which is the cas server or rpc array. Please see this article explaining that one. http://www.exchange-genie.com/2009/09/momt-mapi-on-the-middle-teir/
No, you can use whatever storage you like but they are sepearate, once you add the nodes to the DAG you then setup a replica on the database and you will then have 2 copies of the data so you are redundant with the server and data.
January 4th, 2010 at 4:23 pm
Hi!
I tried creating a DAG on a lab environment (2 exchange 2010 servers with CAS,hub and mailbox roles, and 1 Windows 2003 R2 DC) but despite adding \Exchange Trusted Subsystem\ to \BuiltinAdministrators\ and even adding domain controller’s computer account to \Exchange Trusted Subsystem\ (I know that shouldn’t be done, but I’m desperate here
) it fails to create the DAG. This is the error:
———————————————
Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:01
DAG-01
Failed
Error:
Access is denied. (Exception from HRESULT: 0×80070005 (E_ACCESSDENIED))
Warning:
An unexpected error has occurred and a Watson dump is being generated: Access is denied. (Exception from HRESULT: 0×80070005 (E_ACCESSDENIED))
Exchange Management Shell command attempted:
New-DatabaseAvailabilityGroup -Name ‘DAG-01′ -WitnessServer ‘WIN2003DC’ -WitnessDirectory ‘c:w’
Elapsed Time: 00:00:01
———————————————
The command is run as the domain Administrator.
Any hint on this is appreciated.
Thanks!
January 4th, 2010 at 11:00 pm
1. is the witness directory already created?
a.try creating the new directory
2. did you really put c:w or c:\w ?
Let me try to repro…
January 29th, 2010 at 6:00 am
Great article, many thanks!
February 18th, 2010 at 7:53 pm
We are about to move forward with Exchange 2010. We have done quite a bit of research regarding the Exchange 2007 to 2010 path but have not found an answer to some of our questions.
Our current Exchange 2007 configuration is as follows:
• 2 Exchange 2007 Mail Server servers
• Running in a SCC environment
• Servers connected via a Windows Cluster (cluser name: “email”)
• SAN is hosting the Exchange DB and Logs
***If more than one server accesses a database on a LUN it causes corruption. This means the new Exchange 2010 database cannot reside in the same LUN where there Exchange 2007 SCC database is stored***
We would like to move forward with the same layout for our Exchange 2010 environment using DAG. To minimize the impact to the Outlook users, we also need to keep the same cluster name (email) while we migrate the mailboxes.
Microsoft replied to this question with the following statement:
“According to the specialist, to have both using the same name, the SCC and DAG cannot be running at the same time. He recommended that the best option would be to rename the DAG, and plan accordingly around the name change.”
How should we proceed? I have looked through the Technet site and was not able to find any articles that would help.
Is there a way to perform this upgrade without effecting our Outlook 2007 users?
Thanks,
Colby
February 19th, 2010 at 12:41 pm
In Exchange 2010 the concept of single storage for HA is gone, there is no equivalent to SCC cluster. A DAG technology combines CCR clustering and SCR cluster from Exchange 2007 and uses replication.
You should use different storage connected to each mailbox server so that you have redundancy with hardware and storage.
When you setup a DAG there will be no disk resources in the cluster, ex 2010 only uses the heartbeat and cluster database of a Windows failover clustering.
February 26th, 2010 at 12:46 pm
Great Article!
The next thing is: how to make the CAS Server HA…?
Great to have a DAG with eg. 3 or 4 MBX in it but the CAS Server ist a SPOF
Maby you have a good howto for that, too?
February 26th, 2010 at 2:27 pm
Did you read the artlce on rpc arrays for ex 2010 it talks about CAS load balances for mapi access and you can configure NLB for external users to make CAS server redundant
February 27th, 2010 at 5:03 am
I didn’t, but I will do it NOW
Great!
March 2nd, 2010 at 7:03 pm
Genie,
This article is great but it would be great if you can post another article explaining the high availbility on the front end servers running the hub transport and the client access role.
Thanks!
March 3rd, 2010 at 2:15 pm
Are you looking for information on the rcp arrays or just OWA etc… I have written an artile show CAS NLB for mapi connection with the new rpc client access array
http://www.exchange-genie.com/2009/09/momt-mapi-on-the-middle-teir/
March 11th, 2010 at 3:41 pm
When a DAG is setup, a server becoming unavailable makes the second copy active. But today I tested the same thing stopping the information store service and nothing happened. Can a DAG be configured to failover on certain aspects missing on the active version of the server?
March 11th, 2010 at 9:18 pm
just stopping the IS will not cause a failover, if you want to test.. bounce the server and you will see the change. There are no situational settings but items like log loss etc…
March 13th, 2010 at 7:27 am
Hi,
Nice article, DAG is a welcome feature in Exchange 2010.
I am bit confused on the no. of Databases part.
So if my MB01 has 4 databases and MB02 has database each having Exchange STD edition. With DAG enabled and the databases added to the DAG.
Will the failover work????
Can you put some light on this???
Thanks in advance.
Regards,
KB.
March 19th, 2010 at 12:38 pm
I finished testing a two member server DAG and tested restarting the Exchange 2010 servers in the POC lab. The cluster/DAG fails when one of the Exchange servers is turned off. You cannot manually start the cluster service or manually activate database copies when one server is down. This is not how it’s supposed to work. The cluster service can’t get quorum with Node Majority quorum configuration. This must mean the Files Share Witness is not working correctly.
However, the FSW folder was created successfully on the DC and the appropriate rights were given without any errors. (http://www.thecabal.org/2009/12/busting-the-exchange-trusted-subsystem-myth/ ) There is currently nothing in the FSW folder with hidden files and protected os files viewable in the folder options. What file should be in the FSW directory that Exchange creates?
Upon restarting the servers, even if you restart one at a time, using Node Majority as the Quorum Configuration, the cluster will not come back up automatically upon reboot. It requires manual start of the Cluster from the Failover Cluster Manager then everything comes back online.
Attempted to configure the Cluster Quorum to Node and Disk Majority as the Failover Cluster Validation report recommended, however it would not let me because “No disks suitable for cluster disks were found.”
We must create a fixed SCSI virtual disc which must be located on a RAID controller supporting clustering. Failover Clustering in Windows Server 2008 has some new requirements around storage. No more parallel SCSI support – all atorage must support Persistent Reservations / SCSI-3 standards now.
The Failover Cluster Validation report states, “Validate that storage supports the SCSI-3 persistent reservation commands and that it supports necessary inquiry data (SCSI page 83h VPD descriptors) and that they are unique.
The Failover Cluster Validation report also states, “The cluster does not use shared storage. A cluster must use a hardware solution based either on shared storage or on replication between nodes. If your solution is based on replication between nodes, you do not need to rerun Storage tests. Instead work with the provider of your replication solution to ensure that replicated copies of the cluster configuration database can be maintained across the nodes.”
Once the cluster is manually restarted, Exchange 2010 takes care of the rest with its built-in active manager. The problem is the cluster can’t be started when one of the nodes is down. Node Majority – Warning: Failure of a node will cause the cluster to fail.
If I attach SCSI-3 disk to the Exchange server so that I can enable Node and Disk Majority, will this fix the issue? I don’t understand why this is required. The File Share Witness should allow the cluster to maintain quorum when one of the 2 nodes is down.
April 11th, 2010 at 10:04 am
Hi All,
can some one help me out, i have created new DAG in exchange 2010 and also have been added two of my exchange server inhat DAG successfully, but now when i am try to add a mailbox database copy in existing database it is giving me a warning that “could not communicate with microsoft exchange replicatin service on server , pick up a new configuration change for database make sure that service is running and that server has network connectivity, Error:a server side administrative operation failed………….”
please help me out.
thanks in advance.
April 11th, 2010 at 11:36 am
I would assume you have validated that rep service is running on both nodes?
do you have any errors in the event log?
Is the Dag ip online ?
April 15th, 2010 at 8:56 pm
Hello everyone,
Could you please help me out, I want to set up exchange 2010 on two servers and would like to set up so it can fail over when one server is down. I have a few questions would like to be verifed and advise:
My preparation:
Equipments and preparation
1. 2 physical servers run on windows 2008 enterprise and they connect to a SAN storage:
2. install exchange 2010 on two servers, set up exchange run with CAS,HUB, Mail box roles for both serves and then set up exchange DAG
Question:
1. Am I following the right model, should I set up one server run CAS,HUB and the other 2 serves run as mail box server role or Is it possible to have 2 servers to set up as failed over.
2. If I have 3 servers, one set up for CAS,HUB, other 2 set up as mail box server and set up DAG, what happened if the server run CAS, HUB die, how outlook client can connect to mail box server, should i have set up another fail over server for the server run CAS, HUB, please advise
3. Should I install exchange, set up DAG and configure windows failover from windows 2008 or after you set up DAG it will install fail over clustering and configure by itself, please advise
thank you very much for your assistance.
Cheers
Kevin
May 7th, 2010 at 6:21 pm
Great article
I have one problem when setting this up
under Windows Failover Clustering the File Share witness doesn’t come Online. It seems fine under exchange console.
I double check the shared folder it there no problem having the right access to it but it still won’t come online.
any ideas?
May 8th, 2010 at 5:24 pm
What server to you have the FSW located on, if its not an Exchange server you need to make sure the Exchange Trusted Subsystem is a local Admin on that machine.
May 10th, 2010 at 11:50 am
Its located on one of my File servers. I made the local admin user on that computer member of Exchange Trusted Subsystems’
but I still get the error message when I try to bring it online:
[Window Title]
Error
[Main Instruction]
The operation has failed.
[Content]
An error occurred while attempting to bring the resource ‘File Share Witness (\TEST.TEST.LOCALTEST-DAG1.TEST.LOCAL)’ online.
[V] See details [OK]
[Expanded Information]
Error Code: 0×80070057
The parameter is incorrect
May 11th, 2010 at 10:30 pm
You have it in reverse, you need to put the Exchange trusted subsystem into the local Admins on the file server.
May 12th, 2010 at 1:30 pm
Local Administrator user doesn’t allow me to add Exchange trusted subsystem under ‘member of’
May 13th, 2010 at 8:10 pm
What steps are you doing, as I do this all the time? Make sure when you select add you change the user picker to point to the domain
June 9th, 2010 at 7:39 am
Having an issue w/ dags and failover:
We have started the move to e2010 and have 2 DAGs – Each has 2 active servers and 1 passive. Both actives fails to the same passive and it located on a remote campus and in a diff subnet. I have got 60 users on e2010 and yesterday we switched over all the DBs to the passive side, so all users on msgdb10 and 11 moved to msgdb22. No issues, but when both msgdb10 and 11 were rebooted at the same time, msgdb22 status showed FAILED. Is that normal and how can I address it if not? Also, since the Dags cross subnets, do I need an Ip from each subnet added to the dag?
thanks
Tom
June 9th, 2010 at 12:30 pm
Necer mind – by design – node majority clustering….
although just curious on the cluster group IP – that is having one assigned from each subnet
June 17th, 2010 at 7:43 am
Thanks for the article, it’s helped a lot.
Initially I had configured two nodes as a failover cluster for file serving before installing Exchange 2010. Exchange would not install until the Failover feature had been removed.
Exchange is now installed successfully.
My question is, if I now reinstall a Failover Cluster, will this affect Exchange in anyway?
June 17th, 2010 at 10:31 am
My question is… why would I need a DAG? I have a NetApp that we’ve invested heavily in with redundant disks and architecture. What does DAG protect me against other than a hardware failure? If I have a vmware host of Exchange 2010 connected to a mailbox store thats located on a NetApp that has a redundant design why would I want to use up twice as much storage by implementing a DAG in the main office? Also, how would it be beneficial to use this DAG in regards to our DR site in a remote location across the wire? We have an additional NetApp in our DR site that’s replicated. The plan is to have Vsphere4 in both locations and SRM for Site recovery.
Thanks,
Gary
June 17th, 2010 at 7:11 pm
Gary….
Its not uncommon to use a DAG when virtualizing on SAN storage, the redundnacy in the SAN only provides you hardware redundancy with the disk unless you are doing snap shots etc there is no data protection. As I use to work for EMC I know that SANs are redundant however all your data is in one storage location and could have a storage outage. So the purpose of the DAG is to typically provide data redundancy as you now have multiple copies of the database incase you have corruption or storage issues.
I find that most organization that are virtualizing Exchange with Hyper-V or ESX are still implementing a DAG and there are some caveats with this as well.
If you feel your design meets your SLA and RPO/RTO then I am sure it will work for you.
I also must ask about ESX when you get hypver-V with Windows and it also gives you free Windows liscense for guest?
June 17th, 2010 at 7:13 pm
Ian,
So it sounds like you are trying to multi use your Exchange server for file servers as well?
If you plan in implement a DAG Exchange will install Windows cluster for you as well however only uses a limited set of features in WFC. I will be honest I have not tried to use my Exchange clusters with other items and would have to take a look at the scenario.
June 17th, 2010 at 7:23 pm
take a peak at this article http://technet.microsoft.com/en-us/library/dd638215.aspx you are going to need mutiple ips for the DAG, one on each subnet. I did not quite follow your failover problem could your explain it again please.
June 21st, 2010 at 1:01 am
Dear,Sir
can i make dag on SAN storage shared between two servers ?
June 23rd, 2010 at 9:17 pm
Could you explain what you are trying to do, you can have 2 Exchange mailbox servers in a DAG use SAN stroage however each server would need its own storage.
So..
Server1 Lun1
Server2 Lun2
July 14th, 2010 at 6:59 am
I have installed mail box client access in 2 diff server. I have a DC and for DAG FSW is installed in a separate file server. Now i can see DAG cluster EMC. do I need to do any other setting to run the failover cluster.
July 26th, 2010 at 11:34 am
Great Article! I’m in process of configuring the DAG. My concern is using a Static IP address? Is there a way to assign a reserved IP address? My current DAG consists of three database copies. 2 db’s located in Site A and the third in Site B. A static IP is fine for Site A, but if failover should switch to Site B (different subnet), then the static IP would not work. Any ideas?
July 27th, 2010 at 2:19 am
For multi site you assign multiple ips to the DAG 1 for each subnet
August 20th, 2010 at 4:46 am
Going back to a question that EXCH2010 asked earlier, You can easily add a user to a local administrator group on a DC by using the NET LOCOLGROUP ADD command. It is only hidden in a domain controller for secutity reasons not removed and you can control local groups this way. Great article
August 24th, 2010 at 3:42 pm
I have a primary Exch2k10 server setup and fully funtional at our main office. I Also have a second Exch2k10 box setup at a remote datacenter where the fsw is also located and the site is connected directly to the office via VPN and PtP T1 for redundancy. The idea is to setup a DAG to replicate the the remote site for failover. The issue is that there is only 1 nic in each server. I know it can be done but it acts as if it is only wanting to use one subnet and then kicks one of the server out of the cluster. Any assitance in how I should configure would be greatly appreciated.
September 2nd, 2010 at 3:16 am
Enjoyed your article. I have the following issue when setting up a DAG:
I am trying to install DAG on 2 exchange 2010 servers, but an error is occurring”
“ A server-side database availability group administrative operation failed. Error: Windows Failover Clustering is not currently installed, but it requires the SKU of windows server…”
The exchange servers are running under windows 2008 R2,one of the servers is running under Hyper-V
The DAG creation using Shell command was successful, but when trying to add servers to DAG the error appears.
The first exchange server is running normally and users mailbox exist
The 2nd exchange is new and the installation of exchange was without any errors
thanks.
September 5th, 2010 at 6:47 pm
What versions of Window server is running you need enterprise for failover cluster
September 5th, 2010 at 6:50 pm
when you created the dag did you assign an IP for each subnet to the DAG?
September 6th, 2010 at 5:55 pm
Hi! First of all excellent article, thanks a lot for the info!
Please let me ask you something about DAG and Failover Cluster:
I have this scenario already deployed:
Offices:
* 1 Main Office + 1 Branch Office (different cities)
* Each office is a site in the Active Directory
* The offices are interconnected using a VPN over internet
Active Directory (2008 R2 native):
* 1 single Forest (also single domain)
* 2 sites (Main Office + Branch Office)
* all the subnets are declared (Sites and Services)
* 2 domain controllers at each office
* All DCs are GC + DNS servers
* The Schema and Domain Roles are in the DCs of the Main Office
Exchange 2010 (STD edition):
* 2 CAS+HUB servers for each office (using NLB for each office), so each office has a CAS Array (array Main and array Branch)
* 1 Exchange Server A for the Branch Office (for all the mailbox of this office)
* 1 Exchange Server B for the Main office (for all the mailbox of this office)
* 1 Exchange Server C running at the Main office (working as a Contingency Server, keeping a copy of all the mailboxes of the servers A + B)
* The 3 Exchange servers are in a DAG
* The witness server is running in one of the CAS servers at the Main Office (and the alternative the same but at the branch office)
* MX servers: one in each office
We deployed this infrastructure to have good performance (for the users) at each office, and also to have high availability.
We placed the server C (the Contingency one) at the main office because it has a better infrastructure than the branch office.
I have 2 questions:
1) What type of Quorum choice is the best for my environment? (Node Majority, Node and Disk majority, etc.)
2) One problem that I have is I cannot put online the cluster node at the branchoffice (in the Failover Cluster). The DBs replication is working perfect, but I just can put online the 2 nodes at the main office.
The error message says \Error code 0×80071397: The operation failed because either the specified cluster node is not the owner of the resource, or the node is not a possible owner of the resource\. I tried to put it online using the Server Manager console in the 3 servers.
3) In a random way (without having any networks issues) the DBs of the branch office go Mounted in the Contingency server. Can this be related to question 2)?
Thanks in advance for your kindly help. Best regards
September 6th, 2010 at 8:14 pm
1: Exchange natively will use node + fsw depending on the number of nodes that you have in the cluster. So If you have 1 node there is no FSW, the minute you add a 2nd Exchange will automatically create the fsw for you and so on….
I would need more information about the 2nd question as there are a number of items you have to look out for since you only have 1 node at each site and are spanning a DAG across three locations.
I recommend in the multi active site scenario to run multple DAGs.
September 15th, 2010 at 6:47 am
Great Article, thank you!
Can you pleas write a litel bit more about DAG networks and how DAG works when you have Mailbox servers in diferent pysical locations that you whant to be part of the same DAG. It is allso different AD sites.
We are looking to have two mailboxservers in Site-A and two mailbox servers i Site-B. And all four of the mailbox servers in the same DAG. How do you set up this best with DAG Networks?
Is it posible to set up DAG with only one subnet (one C-net). In this case ther will be the same subnet for replication and MAPI, is it supported? If you only have one C-net in your datacenter, is it any way recomended to have two NIC:s (different IP:s on the NIC:s offcourse) and use one for replication and the other for MAPI?
September 15th, 2010 at 8:20 am
What information are you looking for related to multi site? Yes, you can have one network as its supported but have a dedicated repication network is recommened.
The quick answer is you need to add an IP address to the DAG for each subnet and then add members to the DAG. The items to be more concerned about is the client access array name space and understand how that works in site failures.
here is a technet on DAG
http://technet.microsoft.com/en-us/library/dd638215.aspx
September 20th, 2010 at 11:06 pm
we have two doamin with one forest both have saprate exchange server and blackberry servers environment with same smtp domain email address.
it is possible to implement one exchange 2010 environment for all users for both domain without migrate users into one domain?
thanks
September 24th, 2010 at 8:17 am
From what you have provided for information my answer would be yes.. It sounds like you want one Exchange org to receive email for two names which is easy to do.
September 24th, 2010 at 6:56 pm
Hello and nice article. Full of great information.
The issue I’m running into is this:
Main site:
10.12.0.0/14
Two DC’s, one Client Access/Hub Transport Server and one Mailbox Server. The Witness Server is located on the Client Access/Hub Transport server.
DR site:
10.1.1.0/24
One DC, one Client Access/Hub Transport Server and one Mailbox Server.
One DAG spanning the sites.
How do I maintain quorum? If the main site goes down the DR site will not come up because the mbx and witness are down…
September 29th, 2010 at 9:10 am
Running 1 node in each datacenter is support with Exchange 2010 SP1 and you will need to use DAC mode which is outlined here hwhich helps prevent against a split brain
http://technet.microsoft.com/en-us/library/dd979790.aspx
The 2nd artcile that will help you is this one which will tell you how to bring a new quorum online
http://technet.microsoft.com/en-us/library/dd351049.aspx
June 15th, 2011 at 6:25 am
Hi,
I am looking for upgrading from exchane 2003 to 2010,
I am also buying IMAC, as IMAC doesn’t support exchange 2003.
need to compare 2003 with 2010…help?
June 23rd, 2011 at 7:04 pm
I read on technet that “The DAG member that holds the Primary Active Manager role is always the member that currently owns the cluster quorum resource”
What I don’t understand is what exactly this ‘quorum resource’ is. And what happens if the PAM server fails and reboots? Or fails and cannot reboot? How do the remaining DAG members select a new PAM?
June 24th, 2011 at 8:17 am
You can cannot a MAC to Exchange 2003 using a number of methods like pop, imap etc.. If you purchase Entourage 2008 pre the web services update you can also make that connection using webdav. Once you have the web services update it will only work with Exchange 2007+
June 24th, 2011 at 8:23 am
Steve:
Exchange DAG still uses Windows failover cluster under the hood to maintain heart beat and quorum. Exchange 2010 uses a majoriyt node set with odd numbers and adds a file share witness with even numbers. The quorum does a number of things for you and if you dont have a majority of nodes online the cluster will stop even if you have servers still running…
Lets use a 2 Node DAG, since there is an even number the file share will be the 3rd vote. This means that one DAG node could fail and you would have 2 votes, node1 and the file share. If you lost the file share and 1 node you would only have 1 vote and the cluster would go offline even though you have a functional node.
June 24th, 2011 at 1:16 pm
Thanks for the quick reply! Lets say I had 5 nodes in the DAG. 2 of them go offline, including one that had the PAM role. Are the 3 remaining nodes able to select a new PAM amongst themselves to keep the DAG functioning?
June 24th, 2011 at 3:02 pm
This thread should assist you http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/72ea816a-4b54-4260-a063-4584f49e7a2a/
but yes, if the PAM failed (went offline) then the cluster group would failover to a new node and another node that hosts the SAM should be promoted to the PAM.
July 7th, 2011 at 9:59 pm
Good day. Just quick one. Now want to deploy two nodes Exchange 2010 DAG in 2xPhysical Servers running vSphere 4.1 in VM environment.
Does two Exchange 2010 instances with DAG have to based on iSCSI storage instead of FC SAN storage?? The current SAN storage is NetApp FAS 2020 but only has FC protocol instead of iSCSI.
Thanks for the advice
July 8th, 2011 at 3:41 pm
i have 2 exchange 2010 setup 1.exng1, 2. exng2
added 2 exchange to dag, witness in active directry server.
when exng 1 down automaticaly database mounting is done
the issue is “outlook points exng1 after mounting the database in exng2″
i need step by step solution for this plz……….
note: NLB cannot be used while failover cluster feature installed.
i hope u will definately give the solution step by step.
thank u.
July 14th, 2011 at 2:28 pm
The true answer is you need a hardware load balancer to setup a RPC Array which will provide redundancy for the mapi end point. Since you are using two all in one servers you are correct and cannot use NLB on a box with WFC installed. The rpc end point is associated with the database and by default will randonly associate a CAS server to the database unless you create an RPC Array which I outline in this article using NLB http://www.exchange-genie.com/2009/09/momt-mapi-on-the-middle-teir/ This process is the same if you use a hlb. There are low cost solutions like Kemp that most likely can meet your needs.
the only alternaitve you have is seperate the CAS role from the mailbox server and then you can use NLB to create the rpc array. MS recommendation is to always use an HLB but depending on the size of your environment NLB may work for you.
July 21st, 2011 at 4:10 pm
Have four servers running Windows 2008 R2 Enterprise.
Two servers Exchange 2010 Mailbox Store rools installed and working.
Two have Exchange 2020 Hub and cas roles installed and working.
all four are in the same OU and Exchange Trusted Subsystem has full control permssions in the OU.
When I create the DAG it completes with no errors but does not create an computer account in AD.
When I add the first member to the DAG it fails with the following:
Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:13
OC11
Failed
Error:
A server-side database availability group administrative operation failed. Error: The operation failed. CreateCluster errors may result from incorrectly configured static addresses. Error: The computer account ‘VOGELDAG’ could not be validated. Access was denied. Check that the current user (NT AUTHORITYSYSTEM) has permissions to create computer accounts in the domain or to claim the computer account. [Server: OC11.vpinc.net]
A server-side database availability group administrative operation failed. Error: The computer account ‘VOGELDAG’ could not be validated. Access was denied. Check that the current user (NT AUTHORITYSYSTEM) has permissions to create computer accounts in the domain or to claim the computer account.
Click here for help… http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.1.285.0&t=exchgf1&e=ms.exch.err.ExC9C315
Warning:
The operation wasn’t successful because an error was encountered. You may find more details in log file “C:ExchangeSetupLogsDagTasksdagtask_2011-07-21_19-35-44.416_add-databaseavailabiltygroupserver.log”.
Exchange Management Shell command attempted:
Add-DatabaseAvailabilityGroupServer -MailboxServer ‘OC11′ -Identity ‘VOGELDAG’
Elapsed Time: 00:00:13
July 27th, 2011 at 7:38 pm
Hello,
Thank you for a great article about the steps involved in setting up a DAG in exchange 2010. I have an environment which has been running a DAG for awhile.
The primary site that holds the DB’s partition is running out of disk space so we have allocated a completely new partition with more space.
I have struggled to find some information online on what needs to happen if i want to move the mail database off to the new partition while using a DAG.
The following article suggest these instructions:
http://www.exchange-genie.com/2009/07/moving-the-database-location-in-a-dag/
Can you confirm this is the correct way.
Much appreciated
Cheeers
Sam
July 30th, 2011 at 4:37 pm
The link above should guide you through just fine, you can also create a new database on the new partition and do a mailbox move. Since the moves are online the users will have no downtime. This will also create a new db and clean up any white space that you have.
September 15th, 2011 at 12:50 pm
Exchange 2010 DAG constant a two nodes and the two was down then the passive node become up the the database didn’t mount and give me the follwing error
“An Active Manager operation failed. Error: An Active Manager operation encountered an error. To perform this operation, the server must be a member of a database availability group, and the database availability group must have quorum. Error: The server is not yet a fully operational member of the database availability group.. [Server: ]“
September 30th, 2011 at 9:58 am
Here is the scenario.
Is there a way I can replicate specific SG in the DAG.
Let say I have three locations NY, London and DXB.
The HQ is in NY and other two sites are connected to the HQ via MPLS and users on each sites also logon to the HQ (NY). So everyone basically connects to the main office and use Outlook 2007.
This is a single point of failure.
How can I setup a DAG , if the NY site goes down and the users at UK and DXB should still be able to send and recevie the emails internally and externally.
thanks
September 30th, 2011 at 8:38 pm
The concept of storage groups go away in Exchange 2010 however you can repliate a database to any location with the assumption of the correct network configuration. The main item you have to worry about is the rpc array name space on the database when a failure happens.
The rpc name space is a database level setting and you can only have 1 per Active directory site……..
There is not technical limitation to the number of location that you can repliate too with the exception of the 16 node DAG max and the recommended netnwork latencies.
So you could have a main server in NY and replicate a copy of the DB to the other two locations however depending on the failure if NY goes down you have to make a changes on the system.
September 30th, 2011 at 8:41 pm
@enigma
Where is your file share witness.. Remember when you have an even number of nodes you use majority node with fileshare witness. This means you can only ever loose one of the three votes to keep the system up in running. If you loose one node and the fsw you would not have a majority. When you have an odd number of servers you will use node majority only.
November 23rd, 2011 at 11:34 am
Hi. Thanks for the article. We would like to use two Ex2010 Std on W2K8R2 Ent servers, one at our main site and the secondary at a DR site. Each server will run all the Exch roles. There is no requirement for there to be any access to the DR site from clients at the primary site. If the primary site were to fail, clients will connect to the DR site via OWA or if there is no connectivity at the primary site, clients wll connect to the DR site from their homes. There is a low-latency (10ms) 10Gb link between sites. Each site has a NetApp Storage device. We’d like to use NetApp replication between sites because it is very efficient. There are few mailboxes. Both sites use VMware but there is no budget for SRM. Any advice gratefully received! Bob
November 23rd, 2011 at 1:17 pm
Bob,
I am not sure what you really want to get an answer on as Exchange 2010 native supports cross site replication. There is always a great debate on using storage replication vs native exchange and what I will say is the Exchange team does a lot of check to validate the Exchange data is not corrupted and you have a clean database. If you create a DAG with two nodes you will also need a file share witness most likely in the primary site. This means if you loose the primary site your will have to force quorum for the secondary site. You want to read up on DAC mode so you dont have any split brain issues but what are attemping to do is not that complicated in Exchange 2010.
December 3rd, 2011 at 3:39 am
Hi,
Which version of exchange and windows server we need for enabling DAG functionality? Did i need both enterprise versions? Database will be less than five.
December 3rd, 2011 at 10:57 am
You need Windows Server 2008 R2 Enterprise Edition since DAG relies on Windows Failover Cluster however depending on the number of databases you need you can use Standard Edition of Exchange. The only Exchange Server that ever needs to be anything other than Standard is the mailbox role if you need to mount more than 5 databases on a server.
December 7th, 2011 at 12:43 pm
Hei Genie,
I have installed our first DAG. but I am running to a weird problem.
two exchange servers 2010 . one is on 2008 and the is on 2008 R2 .
but then i keep getting the following error message:
MAIL10
Completed
Exchange Management Shell command completed:
Add-DatabaseAvailabilityGroupServer -MailboxServer ‘MAIL10′ -Identity ‘ExchDAV’
Elapsed Time: 00:06:07
MAIL11
Failed
Error:
A server-side database availability group administrative operation failed. Error: The operation failed. CreateCluster errors may result from incorrectly configured static addresses. Error: An error occurred while attempting a cluster operation. Error: Cluster API ‘”AddClusterNode() (MaxPercentage=100) failed with 0x5b4. Error: This operation returned because the timeout period expired”‘ failed. [Server: Mail10.office2.okonomibistand.no]
An Active Manager operation failed. Error: An error occurred while attempting a cluster operation. Error: Cluster API ‘”AddClusterNode() (MaxPercentage=100) failed with 0x5b4. Error: This operation returned because the timeout period expired”‘ failed..
This operation returned because the timeout period expired
Click here for help… http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.1.218.11&t=exchgf1&e=ms.exch.err.ExC9C315
Warning:
The operation wasn’t successful because an error was encountered. You may find more details in log file “C:ExchangeSetupLogsDagTasksdagtask_2011-12-07_14-35-26.179_add-databaseavailabiltygroupserver.log”.
Exchange Management Shell command attempted:
Add-DatabaseAvailabilityGroupServer -MailboxServer ‘MAIL11′ -Identity ‘ExchDAV’
Elapsed Time: 00:06:28
December 11th, 2011 at 12:57 am
First off I dont believe you are in a support configuration because the DAG uses Windows failover cluster and all nodes need to be running the same OS version. I would suggest you upgrade both nodes to Windows 2008 R2
December 12th, 2011 at 3:56 pm
From EMC, Server Configuration, Select one of the Hub/CAS nodes I can’t view the certificate status.
Run the Command, Get-ExchangeCertificate -Server MAIL01 and receive the following:
Cannot connect to the remote procedure call service on the server named MAIL01. Verify that a valid computer name was used and the Microsoft Exchange Service Host service is started.
+ CategoryInfo : InvalidOperation: (:) [Get-ExchangeCertificate], Localized Exception
+ FullyQualifiedErrorId : 2E220DAD,Microsoft.Exchange.Management.SystemConfigurationTasks.GetExchangeCertificate
However from the other DAG and the same process it resolves the certificates as expected.
Any help you can offer would be greatly appreciated.
December 22nd, 2011 at 6:34 pm
I have been tasked with doing an Exchange 2003 to 2010 migration for my corporation. We have one corporate headquarters, and about 8 branch offices.
The layout proposed is to roll out Exchange 2010 here at the corporate headquarters, and then roll out Cas/Hub/Mailbox servers to the sattelite offices.
What we want to do though is set up a dag between each sattelite office, and the corporate exchange. The purpose would be for disaster recovery, and to expedite backups.
So my questions are. 1) Can a mailbox server be a member of multiple dag groups. 2) If not, can I make all of the exchange servers part of the same dag, and then put one database on each sattelite office, with a passive copy on the corporate office. 3) Can the corporate exchange be a member of a dag group, and also host a regular non-dag database. 4) Is there other things I need to consider to make this scenario possible.
December 22nd, 2011 at 9:31 pm
JOhn,
1. No a mailbox server can only be a member of a single DAG which can be up to 16 nodes that all must be in the same AD domain
2. Technically the answer is yes you can stretch a DAG all over however there are challenges with the name space related to the RPC array and failover. So we typically suggest multiple Dags.
3. Just because a mailbox server is a DAG member you do not have to replicate the database, by joining a DAG there is no redundancy until you select the db to replicate
4. I would have a bunch of questions to better understand your environment and the needs. Is there any reason you cannot move all the branch office exchange to corporate. In most cases there is no need to have lots of Exchange servers unless bandwith is a issue.
December 27th, 2011 at 11:57 am
Hey Exchange Genie, I’d love to chat more about the layout here. Currently my management is requesting to have the multiple exchange servers at the various locations is because of bandwidth. The location that would house the primary Exchange Server is considered the “Datcenter”. It’s basically a sattelite office that has a nice large room set up for all the servers. There is probably about 50 users total at this location, but the rest of the users are dispersed around the US. My management wants to use the DAG feature for redundancy, and if possible, be able to run all of our backups right off the primary server (since it would have a copy of all of the databases).
December 28th, 2011 at 3:59 pm
John,
I would typically suggest multiple Dags with a seperated setup like you have and depending on you backup software can then do backups against the passive copy of the db in your primary center. I would be curious of the bandwith and user count at the remote sites as it would prob be cheaper to upgrade links and centralize all your email then the cost of the Exchange lisc., Windows lisc, servers, and management. Most people today are attempting to centralize if they can and there are always reason why you cannot but you should always attempt to start a design that way.
January 12th, 2012 at 10:54 am
Hei Genie,
thanks for this post.
Can you please help by next problem?
I am trying now to make DAG with 2 Exchange servers.
So I´ve installed Exchange Server 2010 on 2 Window Server´s 2008 R2 Enterprice(both have CAS,HTS).
Than added DAG throw EMC and added both mailServers to “Exchange Trusted Subsystem” group.
Now I try add MailServer to DAG, and have this error:
Microsoft.Exchange.Cluster.Replay.DagTaskComputerAccountCouldNotBeValidatedException: A server-side database availability group administrative operation failed. Error: Computer account ‘pl-DAG’ couldn’t be validated by user ‘NT AUTHORITY\SYSTEM’.
Windows failover is installed and I can normal make a cluster for both mailServers.
Do you have any ideas what can I do bring this to work?
Thanks
Log:
User context = ‘NT AUTHORITY\SYSTEM’.
[2012-01-12T13:40:17] Member of group ‘Everyone’.
[2012-01-12T13:40:17] Member of group ‘BUILTIN\Users’.
[2012-01-12T13:40:17] Member of group ‘NT AUTHORITY\SERVICE’.
[2012-01-12T13:40:17] Member of group ‘CONSOLE LOGON’.
[2012-01-12T13:40:17] Member of group ‘NT AUTHORITY\Authenticated Users’.
[2012-01-12T13:40:17] Member of group ‘NT AUTHORITY\This Organization’.
[2012-01-12T13:40:17] Member of group ‘BUILTIN\IIS_IUSRS’.
[2012-01-12T13:40:17] Member of group ‘LOCAL’.
[2012-01-12T13:40:17] Member of group ‘IIS APPPOOL\MSExchangePowerShellAppPool’.
[2012-01-12T13:40:17] Member of group ‘BUILTIN\Administrators’.
[2012-01-12T13:40:17] Updated Progress ‘Validating the parameters.’ 2%.
[2012-01-12T13:40:17] Working
[2012-01-12T13:40:17] Mailbox server: value passed in = GA-EXCHANGE-01, mailboxServer.Name = GA-EXCHANGE-01, mailboxServer.Fqdn = ga-exchange-01.prologit.local
[2012-01-12T13:40:17] LogClussvcState: clussvc is Stopped on ga-exchange-01.prologit.local. Exception (if any) = none
[2012-01-12T13:40:17] The IP addresses for the DAG are (blank means DHCP):
[2012-01-12T13:40:17] Looking up IP addresses for pl-DAG.
[2012-01-12T13:40:20] Failure while trying to resolve pl-DAG: threw a SocketException: The requested name is valid, but no data of the requested type was found.
[2012-01-12T13:40:20] Looking up IP addresses for ga-exchange-01.
[2012-01-12T13:40:20] ga-exchange-01 = [ ::1, 192.168.7.6 ].
[2012-01-12T13:40:20] Looking up IP addresses for ga-exchange-01.prologit.local.
[2012-01-12T13:40:20] ga-exchange-01.prologit.local = [ ::1, 192.168.7.6 ].
[2012-01-12T13:40:20] DAG pl-DAG has 0 servers:
[2012-01-12T13:40:20] Updated Progress ‘Checking if Mailbox server ‘GA-EXCHANGE-01′ is in a database availability group.’ 4%.
[2012-01-12T13:40:20] Working
[2012-01-12T13:40:20] GetRemoteCluster() for the mailbox server failed with exception = An Active Manager operation failed. Error: An error occurred while attempting a cluster operation. Error: Cluster API ‘”OpenCluster(ga-exchange-01.prologit.local) failed with 0x6d9. Error: There are no more endpoints available from the endpoint mapper”‘ failed… This is OK.
[2012-01-12T13:40:20] Ignoring previous error, as it is acceptable if the cluster does not exist yet.
[2012-01-12T13:40:20] DumpClusterTopology: Opening remote cluster pl-DAG.
[2012-01-12T13:40:20] DumpClusterTopology: Failed opening with Microsoft.Exchange.Cluster.Replay.AmGetFqdnFailedNotFoundException: An Active Manager operation failed with a transient error. Please retry the operation. Error: The fully qualified domain name for node ‘pl-DAG’ could not be found.
at Microsoft.Ex
January 12th, 2012 at 10:33 pm
Dimitri,
Can you validate you can lookup the DAG name in DNS as I see its erroring out..
2012-01-12T13:40:20] DumpClusterTopology: Opening remote cluster pl-DAG.
[2012-01-12T13:40:20] DumpClusterTopology: Failed opening with Microsoft.Exchange.Cluster.Replay.AmGetFqdnFailedNotFoundException: An Active Manager operation failed with a transient error. Please retry the operation. Error: The fully qualified domain name for node ‘pl-DAG’ could not be found.
January 13th, 2012 at 12:12 pm
Genie,
You are right.
I don´t have DAG name in DNS. At least not in domain.
Can I create it manually, or it have to be created only from ExchangeServer?
When it have to be created? When ExchangeServer Creates a new DAG, or when I add a first MailServer to it?
Creating DAG comes without any errors.
Thanks
January 13th, 2012 at 2:33 pm
Don’t pre-install the cluster service. It will cause this sometimes. You’ll end up having to wrangle the permissions manually, and that’s a bit of a pig.
In this case, make sure there’s not something weird with the nodes, and since we’ve created a cluster, we’ve staged a CNO already, so make sure that the CNO’s ACL gives full control to the ETS group.
Article… Here: http://technet.microsoft.com/en-us/library/ff367878.aspx
DNS resolution and having the nodes/CNO/DAG in wacky OUs with bad ACLs or inheritance disabled will do something real similar.
January 17th, 2012 at 4:35 am
Hi i have a doubt on Exchange 2010 Dag with hyper-v VM environment, i have following configuration
1)I have two host servers(2k8r2) and with VM’s(both 2K8R2)on each host IN fC san environment.
2)I want to install DAG b/w these Two VM’s but i guess that is not supported configuration because
a)as i looked in tech.microsoft that only hardware vitualisation is supported b/w the host machines for 2k10 dag configuration.
b)also With FC luns its not possible to form a cluster b/w hyper-v VMS
but my question is as dag still require few cluster services how am going to do this configuration as cluster will only be b/w host machines and not VMS
January 17th, 2012 at 4:45 am
sorry for posting again as i was not clear above
Hi i have a doubt on Exchange 2010 Dag with hyper-v VM environment, i have following configuration
1)I have two host servers(2k8r2) and with VM’s(both 2K8R2)on each host in FC san environment.
I want to install DAG b/w these Two VM’s but i guess that is not supported configuration because as
dag still require few cluster services and also
a)As i looked in tech.microsoft that only hardware vitualisation is supported b/w the host machines for 2k10 dag configuration.
b)also With FC luns its not possible to form a cluster b/w hyper-v VMS
So if i go with hardware virtulisation i.e b/w host and install appliction(2k10 DAG) on Hyper-v VM’s and do VM migration will that be
a possible as cluster will only be b/w host machines and not VM’s and 2K10 DAG require cluster.
January 17th, 2012 at 10:01 pm
Jaspal,
Let me restated just to me sure I understand the envirionment. You have a two node hyper-v cluster and would like to create an Exchange 2010 DAG by using 2 VMs hosted on the hyper-v boxes? The support stance for DAGs and VMs has been updated to be supported on Hyper-V. The way you can present FC storage to a hyper-v guest is by using a pass through disk or just use the storage as a CSV volume that you located the Exchange VHD. Exchange only using the cluster for heart beat, quorum, and a few dll’s so you do not have any issue creating a DAG with VMs.
YOu can reference this article http://technet.microsoft.com/en-us/library/cc794548(EXCHG.80).aspx
January 17th, 2012 at 10:02 pm
See the previous response…
February 1st, 2012 at 11:48 am
i have 2 mailbox servers on 2 sites. I have dedicated a nic for the DAG, but their ip adresses are in the same network as the mapi network.
i can’t manage to build the dag on those 2 nics.
For instance on one server: 2 nics (192.168.0.10 and 192.168.0.13) and i want to build the dag on the second one.
Thanks for your help
February 1st, 2012 at 8:44 pm
To have different networks you need different network segments so you cannot have both IP as 192.x.x.x as this is a function of WFC
March 15th, 2012 at 11:11 am
I have a DAG Configuration Question:
single dag,
spread geographically over 2 locations,
ISP in each location
CAS server in each locaion
Inbound mail in each location(routes to the other when needed)
Clients in each location
2 Mailbox Servers in each data center
Location 1 has Active Databases mirrored over its 2 servers
Location 2 has Active Databases mirrored over its 2 servers
Location 1 Cluster IP active
Location 2 Cluster IP offline
CAS Server in location 1 is the heartbeat server.
Question 1.
Will the CAS server in Location 2 require mail to flow through the Mailbox Servers in location 1 since that heartbeat is in Location 1, or will mail flow to the Active copy of the Mailbox?
Question 2.
When we put standby copies of each networks Active Databases on the servers in the remote Location, will the servers in Location 2 require data to flow through the Mailbox servers in Location 1, eventhough the databases are not active?
Question 3.
If the WAN goes down, since there are three DAG members in location 1 (2MB 1CAS) will the servers in location 2 automatically go offline, and force Location 2 users to use location 1 to connect to mail?
March 16th, 2012 at 8:49 am
Sunny,
Question 1.
Will the CAS server in Location 2 require mail to flow through the Mailbox Servers in location 1 since that heartbeat is in Location 1, or will mail flow to the Active copy of the Mailbox?
could you please explain this a bit more to make sure I understand… All mail flow will end up at the active database only and then get replicated vai DAG replication to the passive copy.
Question 2.
When we put standby copies of each networks Active Databases on the servers in the remote Location, will the servers in Location 2 require data to flow through the Mailbox servers in Location 1, eventhough the databases are not active?
This sounds like question one… The way mail flow works from outside would be MX points to SMTP Edge (could be hub, edge or 3rd party) that routes to a hub which send message to a hub closest to destination mailbox and then to active database of user.
Question 3.
If the WAN goes down, since there are three DAG members in location 1 (2MB 1CAS) will the servers in location 2 automatically go offline, and force Location 2 users to use location 1 to connect to mail?
It sounds like you are running an active active dag where you have active dbs in each site…. DAG uses majority node set with file share witness. If you loose the link between your dag members the nodes will look for quorum which need to be +50% so Lets say you have 2 mbx in Site1 and 1 mbx in Site2. Since you have 3 members and odd number there will be no fsw so if site 1 looses link to site 2 the node in site 2 will go offline because it does not have quorum and site 1 would stay up but have no wan link.
April 1st, 2012 at 5:51 am
I have 2 sites on different locations and each site has it’s CAS server
how clients in site 2 access site 1 MBX server if Database that hosts their mailboxes becomes active on site 1 MBX server
Thanks
April 1st, 2012 at 10:10 pm
I assume you have 2 Rpc arrays configured, 1 for each AD site. When you move your DB to be active in the other site you will need to update DNS so that the RPC array from Site 1′s DNS points to Site 2 DNS. The way DAGs work today does not really allow for you to just move 1 db to another site because of the RPC name space reliance. The two ways to change stuff during site failover are DNS update or change the DB array assocation but that would require each client to run a repair and would not be recommend.
April 4th, 2012 at 9:38 am
well… i managed to install 4 vms in a test env. 1 dc 2 exc servers. 1 is witness server and the other 2 have exc server installed CAS HUB and mailbox installed. i have created a dag put 2 servers inside node1 and node2. automatically windows cluster failover was installed and a new cluster was created. so seems like everything is working fine. do i need a cluster disk? and also how HA is working? if i shutdown one of the cluster nodes will my exchange database be available and online?
thanks
April 10th, 2012 at 8:12 am
by default exchange uses a majority node set with file share witness. If you have 2 nodes in the DAG (an even number) the file share you specified for the DAG will be the witness disk. If you have an odd number then no witness disk as it will be a majority node set.
April 12th, 2012 at 9:26 am
I am trying to setup Exchange 2010 with three nodes, 2 nodes at the main site, and 1 at a secondary site. These are all in the same AD site as well. They will be on different subnets, is this possible?
I will try and draw it out for you here.
Site A (Same Subnet) Site B
SERVER1——-SERVER2——————-SERVER3 (different subnet)
If this doesn’t make sense let me know. I did read about DAC, I still wasn’t sure if that would help with automatic failover. This is my first full Exchange setup and a migration from 2K7 will be in the middle of this.
Thank you for the help.
April 12th, 2012 at 8:19 pm
Yes its possible but you have to watch out for your rpc array name space as you can only have 1 per AD site. There is no AD site requirements for DAGs the only requirement is same AD domain.
April 23rd, 2012 at 8:59 am
What if the 3rd server is in a different AD site. We have them broken up by city. Would this then cause problems?
April 23rd, 2012 at 8:53 pm
As far as the DAG goes it does not matter if the nodes are in the same AD site or different the only requirement is the same domain. However, you can only have one RPC array per AD site. If these are two different location you should have multiple AD sites to assist with a number of items.
April 24th, 2012 at 9:16 am
That sounds good. Let’s just hope I can get the testing correct now.
Thank you a ton!
April 24th, 2012 at 2:31 pm
What ports should be externally facing? From what I understand it should just be ports 25 (SMTP) and 443 (OWA).
April 24th, 2012 at 8:45 pm
I would have to ask what connection methods are you planning on using because Exchange offers a a number of them like POP3,IMAP4,OWA, etc… Also I would ask you to define externally facing as I assume you mean exposed to the internet. The most commom ports for Exchange will be 25 for SMTP IN/OUT and 443 for OWA, Outlook Anywhere, Active Sync, and a few others.
Once you have defined what connection types you will allow that will dictate the port list. Take a looks at the Exchange 2010 poster here http://www.microsoft.com/download/en/details.aspx?id=5764 that can assist.
May 2nd, 2012 at 10:28 am
Sorry it took so long for me to reply.
Yes, externally facing is exposed to the internet. We have no plans for Outlook Anywhere, just OWA and ActiveSync. I am trying to add a DAG member in another subnet, and it isn’t working. I am still researching.
May 2nd, 2012 at 6:51 pm
There would be a bunch of quesstion mostly around the newtork.. The only DAG requirement is same AD domain and the appropriate network communication. What errors are you getting.
August 21st, 2012 at 2:09 am
Proposed setup
Primary Site – Exchange 2010 Mailbox server on Windows Failover cluster and HUB/CAS in NLB
DR site – Exchange 2010 mailbox server, HUB CAS,
Can we setup DAG between Exchange cluster and DR site mailbox server?
November 21st, 2012 at 1:45 am
Hello their ,, can anyone tell me how clustering can be implemented on Exchange Server 2010??
November 24th, 2012 at 3:22 pm
Could you please provide more information about what you are looking today. Exchange 2010 under the hood using Windows Failover Clustering and Exchange replication to provide an HA solution for the database.