Database Availability Group Missing on 2 Exchange Servers

I have a an existing Exchange 2007 setup and installed 2 Exchange 2013 servers that have the Mailbox and CAS role.  When I go to the ECP menu and click on databases there is no option available to create the DAG.

I Don't think that the Exchange 2013 installation is successful. If it successful then it might have been a problem with RBAC Roles which were not delegated properly to the account you are using to logon to ECP.
Try below and check if you are able to create DAG.
1. Create a New User and make it a member of Organization Management, Enterprise admins, Domain Admins, Schema Admins,
Built-in Administrators, Group policy Creator Owners and run the command below on the powershell: Set-User NewUser -RemotePowershellEnabled:$True
2. Logoff and Login Back using the Newly create account and check if you are able to see the option to Create DAG.
IF you are not able to then Open Windows Powershell as administrator and run the commands below
Add-Pssnapin *Setup
Install-CannedRBACRoleAssignments -InvocationMode Install
Install-CannedRBACRoles
Install-CannedRBACRoleAssignmentsRAP
Install-CannedAddressLists
Lastly, i would also ask you to get the output of the command below:
Get-ManagementRoleAssignment -Role "Database Availability Groups" -RoleAssignee OriginalUserWhoDontHaveCreateDagOptiononECP
M.P.K ~ ( Exchange | 2003/2007/2010/E15(2013)) ~~ Please remember to click “Vote As Helpful" if it really helps and "Mark as Answer” if it answers your question, “Unmark as Answer” if a marked post does not actually answer your question. ~~ This
Information is provided is "AS IS" and confers NO Rights!!

Similar Messages

  • Exchange Database Availability Group

    Hi,Long time lurker here, i always find what i need on spice works whenever looking for help, however i couldn't find a clear answer to my question this time, hence my first post!
    I am currently going through planning a secondary exchange server to be paired with our current exchange in a DAG fail over, Ive been reading through some guides and online help it doesn't seem too difficult.However, the guide i was looking at (http://exchangeserverpro.com/installing-an-exchange-server-2013-database-availability-group/) said you need to move the mailbox database your going to replicate from the default path, now as Ive only been at this company six months i didn't set up the exchange and it currently sits at the default path, and the company works around the clock so finding a reasonable time for downing exchange for this will be difficult.So...
    This topic first appeared in the Spiceworks Community

    Hi,Long time lurker here, i always find what i need on spice works whenever looking for help, however i couldn't find a clear answer to my question this time, hence my first post!
    I am currently going through planning a secondary exchange server to be paired with our current exchange in a DAG fail over, Ive been reading through some guides and online help it doesn't seem too difficult.However, the guide i was looking at (http://exchangeserverpro.com/installing-an-exchange-server-2013-database-availability-group/) said you need to move the mailbox database your going to replicate from the default path, now as Ive only been at this company six months i didn't set up the exchange and it currently sits at the default path, and the company works around the clock so finding a reasonable time for downing exchange for this will be difficult.So...
    This topic first appeared in the Spiceworks Community

  • SQL 2012 Database Availability Group - Force Automatic Failover

    Hi All,
    I'd appreciate some help in understanding the following scenario in my test environment.
    I have created a DAG with 2 replica servers (both of which are HyperV VM's running W2012 Std).
    From a client PC in my test lab, I can connect to the virtual listener of my DAG and confirm via the "select @@servername" command that I am connecting to the primary replica server.
    Using the Failover Wizard, I can easily move to primary instance between my 2 nodes and the command above confirms that the primary replica server has changed. So far so good.
    What I wanted to test, was what would happen to my DAG in the event of a complete loss of power to the server that was acting as the primary replica server. At first, I thought I would stop the SQL Server service on the primary server, but this did not result
    in my DAG failing over to the secondary replica. I have found out that the only way I can do this is by effectively shutting down the primary server in a controlled manner.
    Is there any reason why either stopping the SQL Server service on the primary replica, or indeed forcing a power off of the primary replica does not result in the DAG failing over to the secondary replica?
    Thanks,
    Bob

    Hi,
    I would verify if Database Availability Group means AlwaysOn Availability Group.
    How did you set the FailureConditionLevel?
    Whether the diagnostic data and health information returned by sp_server_diagnostics warrants an automatic failover depends on the failure-condition level of the availability group. The failure-condition level specifies what failure conditions
    trigger an automatic failover. There are five failure-condition levels, which range from the least restrictive (level one) to the most restrictive (level five). For details about failure-conditions level, see:
    http://msdn.microsoft.com/en-us/library/hh710061.aspx#FClevel
    There are two useful articles may be helpful:
    SQL 2012 AlwaysOn Availability groups Automatic Failover doesn’t occur or does it – A look at the logs
    http://blogs.msdn.com/b/sql_pfe_blog/archive/2013/04/08/sql-2012-alwayson-availability-groups-automatic-failover-doesn-t-occur-or-does-it-a-look-at-the-logs.aspx
    SQL Server 2012 AlwaysOn – Part 7 – Details behind an AlwaysOn Availability Group
    http://blogs.msdn.com/b/saponsqlserver/archive/2012/04/24/sql-server-2012-alwayson-part-7-details-behind-an-alwayson-availability-group.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support
    Hi,
    Thanks for the reply.
    It's an AlwaysOn Availability Group.
    In my test lab, I have changed the quorum configuration to a file share witness and that has allowed an automatic failover when I turn the primary replica server off (rather than power it off).
    I'll take a look at the links you provided.
    Regards,
    Bob

  • SQL server 2012 - Database Availability Group

    We have 2 new Servers ready to be deployed as Database Servers for Sharepoint 2013.
    both server have 1TB RAID 5 Hard Disk Space.
    We don't have any kind of Shared Storage/SAN etc & we cannot afford to buy this.
    I have Configured Windows Server Fail-over Cluster with File Share Quorum.
    May i Configure the SQL Database 2012 on Each Server on local disk and then make High Availability Groups?

    As well as the youtube video that Edwin has posted for you have a read of my article on SimpleTalk.com.
    https://www.simple-talk.com/sql/database-administration/sql-server-2012-alwayson/
    This takes you through the step by step process.
    HTH
    Warwick Rudd (MCM - SQL 2008 | MCT)
    (SQL Masters Consulting |
    My SQL Server Blog | Twitter)

  • Cisco 5 with Exchange 2010 and Database Availability Groups

    Hi,
    Unity 5 was installed a long time. Recently installed with the latest ES88 to the system. The fact is we have Exchange 2007 (clustered) mailbox server in the network environment, and introduced the Exchange 2010 (with DAG activated).
    So far we didn't do any "re-partnering" from the Exchange 2007 to Exchange 2010. The end users are working fine by leaving voice message and can retreive their voice without too much issue, no matter where the End Users account are located, Exchange 2007 or Exchange 2010.
    But lately, there was some actions taken in the Exchange environment. Some Exchange 2010 mailstore databases in one of the Exchange 2010 server, with DAG has been activated.
    In this case, we are now unable to leave any voice messages to the end usrs. All the voice messages are now being held in C:\CommServer\UnityMTA.
    Want to ask, does Unity 5 and Exchange 2010 compatible with DAG? Also, is that my problem is caused by re-partnering server not taken place? If yes, which Exchange 2010 mailbox database server I should point to? Reason is, there will have 3 physical servers, and with several DB mailstore, if I select one of the physical server, and one of the D mailstore, will this be affected when the DAG is activated?
    Thanks
    Timothy

    Hi Yancy,
    If you're referring to integrating Microsoft Exchange 2010 with Cisco Unified Communications Manager (CUCM) 5.x for voicemail purposes, via a SIP Trunk, then you could certainly have a go at it (a Media Termination Point would be required and the codec would be G.711).   However, I'm not aware of anyone having properly tested it with CUCM 5.x; given that it's not having software maintenance releases written for it anymore.   CUCM 5.0 stopped having software maintenance releases written for it in June 2009, and CUCM 5.1 in February this year.
    The following Tech Tip is likely to assist:
    https://supportforums.cisco.com/docs/DOC-12544
    Kind regards,
    Craig

  • Database Availability Group - Network Problem

    Hi All i have a question, hope that you can help me.
    My domain have 2 site. Each site have 3 mailbox server.
    This morning at 1 AM, mailbox database active move from HQ site to DR site because of network issue.
    But at 3 AM, mailbox database active move again from DR site to HQ site automatically.
    This is the first time i realize this act.
    Can somebody explain to me what happen to my environment?
    Why system can move mailbox database active from HQ site to DR site and otherwise?
    Is it related with network issue?
    Thanks for your help!
    Best Regards,
    Henry Stefanus

    Hi Henry Stefanus,
    I am not familiar with Exchange server and can not advice you how to check the Exchange log, but based on my experience in some situation there have instability of connection
    between Exchange and Active Directory system may caused the failover ether, you can check your confirm your network work properly.
    At the cluster side you can use the following method to get the cluster log then found the failover reason.
    Please run: Get-ClusterLog –Destination C:\temp on Powershell in one Exchange 2013 server in the DAG. By default, it will collect the cluster logs on all DAG members.
     If you need more information, please refer to following article:
    http://technet.microsoft.com/en-us/library/hh847315.aspx
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Exchange 2010 SP2: Different problems with E_ACCESSDENIED on exchange servers

    Hello All,
    I'm observing a strange problem in an AD 2008 R2 / Exchange 2010 SP2 environment:
    When creating a DAG and adding 1 or more servers to the DAG, the following error occurs:
    Summary: 2 item(s). 0 succeeded, 2 failed.
    Elapsed time: 00:00:05
    <MAILBOX SERVER 1> Failed
    Error:
    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    Exchange Management Shell command attempted:
    Add-DatabaseAvailabilityGroupServer -MailboxServer '<MAILBOX SERVER 1>' -Identity '<NAME DAG>'
    Elapsed Time: 00:00:02
    <MAILBOX SERVER 2> Failed
    Error:
    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    Exchange Management Shell command attempted:
    Add-DatabaseAvailabilityGroupServer -MailboxServer '<MAILBOX SERVER 2>' -Identity '<NAME DAG>'
    Elapsed Time: 00:00:02
    There are no logs created on the Mailservers, so I have no more detailed information. Where to start with troubleshooting this issue?
    Edit: BTW I already checked the local admin membership of the "Exchange Trusted Subsystem" domain group.
    Also commands like get-owavirtualdirectory give the Access Denied error (except on the CAS servers themselves).
    You know you're an engineer when you have no life and can prove it mathematically

    Hi Frank,
    The DAG is not yet populated. When inserting the first server(s) in the freshly created DAG, the error appeared.
    [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-DatabaseAvailabilityGroup
    Name             Member Servers                                     
    Operational Servers
    IICT-DAG-002     {}
    [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-DatabaseAvailabilityGroup IICT-DAG-002 -Status | fl
    RunspaceId                             : cc985264-fa89-48f8-8aba-c1b0c89eb097
    Name                                   : IICT-DAG-002
    Servers                                : {}
    WitnessServer                          : iict-srvp00-011.insourceict.local
    WitnessDirectory                       : C:\IICT-DAG-002
    AlternateWitnessServer                 :
    AlternateWitnessDirectory              :
    NetworkCompression                     : InterSubnetOnly
    NetworkEncryption                      : InterSubnetOnly
    DatacenterActivationMode               : Off
    StoppedMailboxServers                  : {}
    StartedMailboxServers                  : {}
    DatabaseAvailabilityGroupIpv4Addresses : {10.100.0.54}
    DatabaseAvailabilityGroupIpAddresses   : {10.100.0.54}
    AllowCrossSiteRpcClientAccess          : False
    OperationalServers                     :
    PrimaryActiveManager                   :
    ServersInMaintenance                   :
    ThirdPartyReplication                  : Disabled
    ReplicationPort                        : 0
    NetworkNames                           : {}
    WitnessShareInUse                      :
    AdminDisplayName                       :
    ExchangeVersion                        : 0.10 (14.0.100.0)
    DistinguishedName                      : CN=IICT-DAG-002,CN=Database Availability Groups,CN=Exchange Administrative Gro
                                             up (FYDIBOHF23SPDLT),CN=Administrative
    Groups,CN=InsourceICT,CN=Microsoft Exch
                                             ange,CN=Services,CN=Configuration,DC=insourceict,DC=local
    Identity                               : IICT-DAG-002
    Guid                                   : 71d5d869-03ac-4f8a-8de7-fc15bc6a0ae1
    ObjectCategory                         : insourceict.local/Configuration/Schema/ms-Exch-MDB-Availability-Group
    ObjectClass                            : {top, msExchMDBAvailabilityGroup}
    WhenChanged                            : 8-6-2012 14:35:59
    WhenCreated                            : 8-6-2012 13:35:21
    WhenChangedUTC                         : 8-6-2012 12:35:59
    WhenCreatedUTC                         : 8-6-2012 11:35:21
    OrganizationId                         :
    OriginatingServer                      : IICT-SRV003.insourceict.local
    IsValid                                : True
    You know you're an engineer when you have no life and can prove it mathematically

  • Availability group Automatic failover

    Hi
    setup a simple 2 node AG, sync. (SQL 2014 enterprise on windows 2012R2 standard)
    if I set it as manual failover everything works as expected. however when I switch to automatic failover and stop SQL service on the primary node the AG resource in cluster does offline and doesn't failover to secondary node.
    both nodes are available to the cluster resourse.
    would appreciate your feedback as to what might be the reason
    Regards
    Shaunt

    Hi,
    I would verify if Database Availability Group means AlwaysOn Availability Group.
    How did you set the FailureConditionLevel?
    Whether the diagnostic data and health information returned by sp_server_diagnostics warrants an automatic failover depends on the failure-condition level of the availability group. The failure-condition level specifies what failure conditions
    trigger an automatic failover. There are five failure-condition levels, which range from the least restrictive (level one) to the most restrictive (level five). For details about failure-conditions level, see:
    http://msdn.microsoft.com/en-us/library/hh710061.aspx#FClevel
    There are two useful articles may be helpful:
    SQL 2012 AlwaysOn Availability groups Automatic Failover doesn’t occur or does it – A look at the logs
    http://blogs.msdn.com/b/sql_pfe_blog/archive/2013/04/08/sql-2012-alwayson-availability-groups-automatic-failover-doesn-t-occur-or-does-it-a-look-at-the-logs.aspx
    SQL Server 2012 AlwaysOn – Part 7 – Details behind an AlwaysOn Availability Group
    http://blogs.msdn.com/b/saponsqlserver/archive/2012/04/24/sql-server-2012-alwayson-part-7-details-behind-an-alwayson-availability-group.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support
    Hi,
    Thanks for the reply.
    It's an AlwaysOn Availability Group.
    In my test lab, I have changed the quorum configuration to a file share witness and that has allowed an automatic failover when I turn the primary replica server off (rather than power it off).
    I'll take a look at the links you provided.
    Regards,
    Bob

  • Use service accounts at AlwaysOn Availability Groups

    Valued readers,
    We have a AlwaysOn Availability Group consisting of 2 SQL servers. Both servers have their own service account for the sql services. I read in all sorts of documents on the internet that it is recommended that the sql service account on all servers within
    the same availability group are using the same serviceaccount. This would have to do with registering the SPN of the virtual server for kerberos. What impact does it have if I don’t change the serviceaccount ?

    Hello Sean,
    No I do not think so. Do you mean this :
    “Find your service account and hit the Security tab
    Select “SELF” in the “Groups or user names” listbox
    Find “Write public information” in the “Permissions for SELF” listbox
    and check “Allow”
    After, you’ll need to restart SQL Server for the SPN to register. Use setspn -l domain\account to verify that the account has
    properly registered.
    Should you also register the virtual server name? And what about if you use different service accounts?
    With best regards, Albert

  • How to install SSAS Cluster instance with Always On availability group(Standalone database instance) in same windows cluster servers

    We have requirement like to Install the SSAS as Cluster instance where SQL Server Database engine was installed with Always On availability group.Please help me to how configure it
    Currently we have following configuration in Current steup.
    Node1 and Node2 are in windows cluster
    Node1 has SQL Server Database engine Instance1 as Standalone
    Node2 has SQL Server Database engine Instance2 as Standalone
    Instance1 and Instance2 configured for Always On availability group with Listener.
    Now we have to steup SSAS instance with High availibilty. I know we have only option is to install cluster SSAS instance.
    Can some one provide information below.
    1. How to steup Cluster SSAS instance in this servers.
    2. Is this will have any dependancy on exisiting Listner name.
    3. Is this affects the availiblity groups, if SSAS instance failed over to another node.
    Thanks in Advance
    Sriram

    You will need to have SSAS installed as a clustered instance with shared storage. Refer to the whitepaper from this MSDN article
    How To Cluster SQL Server Analysis Services
    Availability Group is in it's own Role/Resource Group. When you create the clustered SSAS, it will create its own Role/Resource Group. This means that it will require its own virtual network name and virtual IP address and will not affect the existing Availability
    Group. You can also have it on the existing Availability Group if you want to. However, you need to decide if you want SSAS to failover with the Availability Group or not. Your design choices will depend on that decision.
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • Move database while in AlwaysOn availability group

    Hee Guys I have a question and I try to find answer on the internet but I could find it. I have a database that is in a Availability group. There is constantly data written in the database. I really want to move it to a new disk. I am working with a SQL
    2012 enterprise edition. Is there a way to move the database on both servers without losing data? 
    I was thinking of de-attaching and attaching it but that is not allowed while in the availability group. When I take it out of the group and move it to the new disk on the secondary server, then I cannot put it back in an availability group because the path
    is not the same. Can somebody tell me how to do this in the right way.
    Any help is appreciated!

    I did some testing. What I am missing in the script is to kill transactions and processes. On one database I got the following exception:
    --MOVE FILES
    xp_cmdshell 'move "F:\Database\DBName1*.*" M:\Database\' -- Change values
    go
    F:\Database\DBName1.ldf
    The process cannot access the file because it is being used by another process.
            0 file(s) moved.
    NULL
    On the another database I got something the same: 
    GO
    ALTER DATABASE [DBName2] SET ONLINE -- Change values
    GO
    File activation failure. The physical file name "E:\Database\DBName2.ldf" may be incorrect.
    The log cannot be rebuilt because there were open transactions/users when the database was shutdown, no checkpoint occurred to the database, or the database was read-only. This error could occur if the transaction log file was manually deleted or lost due to
    a hardware or environment failure.
    Msg 5181, Level 16, State 5, Line 2
    Could not restart database "DBName2". Reverting to the previous status.
    Msg 5069, Level 16, State 1, Line 2
    ALTER DATABASE statement failed.
    What is the best way to go around this? I tried to use EXEC sp_who2 and Kill but there are no processes for these database. I also looked in the resource monitor to see if there are files in used but this is also not the case.

  • SCOM 2012 R2 Management Servers and SQL Server Availability Groups

    My team is in the middle of rolling out a brand new install of System Center Operations Manager 2012 R2.
    I have set up a SQL Server Availability group that is spread across multiple subnets and installed the initial management server per
    here. 
    As I have gone through attaching new management servers, I have noticed disturbing behavior.  When the AG fails over to another node, the management servers will lose connectivity unless I either recycle the service or it fails back to the original
    node.  This is not a security issue as I have set up permissions.  It says it cannot connect to the database anymore at all.
    Has anyone else seen this behavior?  Is there a setting I am missing somewhere?
    Thanks for your help.
    Dale

    Hi Dale,
    What about ApplicationIntent\Readonly?
    http://msdn.microsoft.com/en-us/library/hh205662(v=vs.110).aspx
    Still thinking about DNS, may be this could be for your case:
    http://www.sqlservercentral.com/Forums/Topic1449216-2799-1.aspx
    Natalya

  • Add users to databases in Availability Groups

    Hello,
    I created a database.
    On instance level I selected Security | Logins and added some users.
    I granted the users a number of roles on the database I created.
    I added the database to an Availability group. Now two replicas of the database are on two servers.
    When I look on the server that is running the secondary replica the users have not been added to the users on instance level. Is that going to work fine after a failover?
    Should I add the users to the Instance(s) of other cluster members before I restore the database? That would make sense.
    I cannot find any documents that tell me about creating users in databases that have been added to an availability group.
    Best regards,
    Erik

    Thanks for you answer.
    I used sp_help_revlogin to script out the logins the applications and users need to connect to the database, including their SIDs, and executed it on the secondary replicas servers
    so that it is available.
    I have done that before I restored the database on the secondary replica servers.
    I guess I have to run sp_help_revlogin every time I add a user on the primary server.
    Best regards,
    Erik
    If it is a windows login, it will have the same SID across the domain so no need to run sp_help_rev_login, you can directly create the login in the secondary and the mapping is taken care itself with the database user. If you are creating SQL Logins
    you need to script it out using sp_help_rev_login for the secondary server.
    If you are willing to automate this activity, Please explore " ssis package to transfer logins" and try to customize it to your need and schedule it as a job.
    http://technet.microsoft.com/en-us/library/ms137870.aspx
    Thanks

  • How can you change data on a SQL 2012 application database that uses availability groups from BizTalk server?

    If you use the WCF-SQL adapter it is recommend that you set UseAmbientTransaction to true if you are changing data. I think this requires MSDTC to be enabled on the SQL server that you are changing the data on. (http://msdn.microsoft.com/en-us/library/dd787981.aspx)
    I think that Availability groups does not support MSDTC. (http://msdn.microsoft.com/en-us/library/ms366279.aspx).
    How can you change data on a SQL 2012 application database that uses availability groups from BizTalk server?

    Hi,
    Yes, Availability groups doesn't support MSDTC. Please refer to the similar discusison which maybe helpfull:
    http://dba.stackexchange.com/questions/47108/alwayson-ag-dtc-with-failover
    http://stackoverflow.com/questions/17179221/msdtc-in-always-on-availability-groups

  • Maintenance plan for SQL Server 2012 Database in AlwaysOn Availability Group

    Hi all,
    I need assistance creating a maintenance plan that will backup a databases logs in order to prevent them from filling up the drive they are located on. I have looked at some blogs but they do not specifically show how this is done.
    My database is in an AlwaysOn Availability Group.
    Thank you very much for your help!
    Jake

    Hi all,
    I need assistance creating a maintenance plan that will backup a databases logs in order to prevent them from filling up the drive they are located on. I have looked at some blogs but they do not specifically show how this is done.
    My database is in an AlwaysOn Availability Group.
    Regular maintenance plan would work. Only thing to remember is that when you create log backup plan, there is a checkbox which says whether it should honor backup preference or not.
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

Maybe you are looking for

  • Text value is not getting displayed in Query designer !!

    Dear experts.., i have created a new query in query designer using my info provider and then selected one field in default value and then trying to restrict that particular field while selecting the restriction in query designer am getting the exact

  • Unable to read podcast in a row

    Hi, I just receive my ipod 30gb black. My system is windows xp pro SP2 and I use Itunes 7.0.1.8 and ipod software is 1.2. The problem I have is that I cannot read several podcasts in a row. In a list, I put some episode from my favorites podcast, and

  • Anyone with the gophone plan experiencing problems with EDGE?

    I am noticing that with the gophone plan several times a day I cannot get EDGE data. I am in the bay area. I have a full signal and the E. It will keep trying to get data and then say "could not activate EDGE. Sometimes if I wait a bit it will work.

  • Bookmarks from IE

    I have downloaded bookmarks from IE. Do I need to keep IE on my system in order to keep the bookmarks or are they now a permanent part of FF

  • Print two A5 in one A4

    HI, The problem is, i need to take print on A5 size paper on dat matrix. The standard paper size for A5 in SAP but the paper used on dot matrix printer is A4. (i. e. two A5 pages in one A4 sheet) i tried the landscape & portrait options. if i am usin