SQL 2012 AlwaysOn Dual Data Centre (an instance in each data centre with a secondary in each other respectively)

Hi, hopefully someone will be able to find my scenario interesting enough to comment on!
We have two instances of SQL, for this example I will call them 'L' and 'J'. We also have two data-centres, for this example I will call them 'D1' and 'D2'. We are attempting to create a new solution and our hardware budget is rather large. The directive
from the company is that they want to be able to run either instance from either data centre. Preferably the primary for each will be seperated, so for example:
Instance 'L' will sit in data centre 'D1' with the ability to move to 'D2', and...
Instance 'J' will sit in data centre 'D2' with the ability to move to 'D1' on request.
My initial idea was to create a 6-node cluster - 3-nodes in each data centre. Let's name these D1-1, D1-2, D1-3 and D2-1, D2-2, D2-3 to signify which data centre they sit in.
'L' could then sit on (for example) D1-1, with the option to move to D1-2 (synchronously), D2-1,D2-2 (a-synchronously)
'J' could sit on D2-3, with D2-2 as a synchronous secondary and D1-3,D1-2 as the asynchronous secondaries.
Our asynchronous secondaries in this solution are our full DR options, our synchronous secondaries are our DR option without moving to another data centre site. The synchronous secondaries will be set up as automatic fail-over partners.
In theory, that may seen like a good approach. But when I took it to the proof of concept stage, we had issues with quorum...
Because there are three nodes at each side of the fence (3 in each data centre), then neither side has the 'majority' (the number of votes required to take control of the cluster). To get around this, we used WSFC with Node and File Share majority - with
the file share sitting in the D1 data centre. Now the D1 data centre has 4 votes in total, and D2 only has 3.
This is a great setup if one of our data centres was defined as the 'primary', but the business requirement is to have two primary data centres, with the ability to fail over to one another.
In the proof of concept, i tested the theory by building the example solution and dropping the connection which divides the two data centres. It caused the data centre with the file share to stay online (as it had the majority), but the other data centre
lost it's availability group listeners. SQL Server stayed online, just not via the AG listener's name - i.e. we could connect to them via their hostnames, rather than the shared 'virtual' name.
So I guess really I'm wondering, did anyone else have any experience of this type of setup? or any adjustments that can be made to the example solution, or the quorum settings in order to provide a nice outcome?

So if all nodes lost connectivity to the fileshare it means that there are a total number of 6 votes visible to each node now. Think of people holding up their hands and each one can see the hand. If the second link between the two sites went down then each
node on each side would only see 3 hands being held up. Since Quorum maximum votes =7, the majority needed to be seen by a node would be 4. So in that scenario, every node would realize it had lost majority and would offline from the cluster.
Remember that quorum maximum (and therefore majority), never changes *unless* YOU change node weight. Failures just mean then is one less vote that can be cast, but the required majority remains the same.
Thanks for the complement btw -very kind! I am presuming by your tag that you might be based in the UK. If so and you are ever nearby, make sure you drop by and say hello! I'll be talking at the
London SQL UG two weeks from today if you are around.
Regards,
Mark Broadbent.
Contact me through (twitter|blog|SQLCloud)
Please click "Propose As Answer" if a post solves your problem
or "Vote As Helpful" if a post has been useful to you
Come and see me at the
PASS Summit 2012

Similar Messages

  • DPM 2012 SP1 and SharePoint 2013 on a SQL 2012 AlwaysOn AG

    I am trying to protect a new SharePoint Foundation 2013 farm with it's databases stored on an SQL 2012 AlwaysOn Availability Group.  I've run configureSharePoint.exe -EnableSharePointProtection on my WFE and SharePoint shows up in DPM when I try to
    add it to a protection group.  But I get the 32008 referenced here: http://support.microsoft.com/kb/970641 when trying to select the farm to back up.
    If I run ConfigureSharePoint.exe -resolveallSQLAliases on the WFE it doesn't return anything.
    I'm directly backing up databases on the SQL 2012 server, but not any of the SharePoint DBs.
    K

    Hi,
    I'm having some trouble understanding what I'm seeing in the writer output from the WFE server.  Specifically the machine names that the writer is reporting.
    If you look in the wfewtiters.txt, What is the machine that ends in 02 ?  Is that a physical machine or an alias ?
    The machine ending in 06 is the Secondary SQL Server and that is what the Sharepoint writer is pointing to.
    The WFE VSS Sharepoint writer shows this for two content DB’s
     * WRITER "SharePoint Services Writer"
      - Writer ID   = {da452614-4858-5e53-a512-38aab25c61ad}
      - Writer instance ID = {c0c46d7b-1c01-44bd-8353-e3433f5b8f07}
      - Supports restore events = TRUE
      - Writer restore conditions = VSS_WRE_ALWAYS
      - Restore method = VSS_RME_RESTORE_AT_REBOOT_IF_CANNOT_REPLACE
      - Requires reboot after restore = FALSE
      - Excluded files:
    + Component "SharePoint Services Writer:\XXXX02\WSS_Content_at.contoso.local"
    - Name: WSS_Content_at.Contoso.local
    - Logical path: XXXX02
    - Full path: \XXXX02\WSS_Content_at.Contoso.local
    - Caption: Content Database WSS_Content_at.Contoso.local
    - Type: VSS_CT_DATABASE [1]
    - Is selectable: TRUE
    - Is top level: TRUE
    - Notify on backup complete: FALSE
    - Paths affected by this component:
    - Volumes affected by this component:
    - Component Dependencies:
    - Dependency to "{a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}:\\YYYY06\YYYY06\WSS_Content_at.contoso.local"
                                    + Component "SharePoint Services Writer:\XXXX02\WSS_Content_fw.Contoso.local"
    - Name: WSS_Content_fw.contoso.local
    - Logical path: XXXX02
    - Full path: \XXXX02\WSS_Content_fw.Contoso.local
    - Caption: Content Database WSS_Content_fw.Contoso.local
    - Type: VSS_CT_DATABASE [1]
    - Is selectable: TRUE
    - Is top level: TRUE
    - Notify on backup complete: FALSE
    - Paths affected by this component:
    - Volumes affected by this component:
    - Component Dependencies:
    - Dependency to "{a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}:\\YYYY06\YYYY06\WSS_Content_fw.contoso.local"
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • SQL 2012 AlwaysOn upgrade to SQL 2014

    Anyone have some info regarding inplace upgrade from SQL 2012 AlwaysOn to SQL 2014 ?
    -Arnstein

    Hi,
    Please check the following articles:
    Upgrade and Update of Availability Group Servers with Minimal Downtime and Data Loss
    https://msdn.microsoft.com/en-us/library/dn178483.aspx
    Thanks.

  • SQL 2012 AlwaysOn AG with 3 Nodes

    First, what would be the best option of quorum/quorum witness for my SQL 2012 AlwaysOn group?
    I have setup the following:
    SQL 2012 AlwaysOn with 3 nodes.
    1 primary
    2 secondaries - one of them is read-only (for reporting and backup)
    Dynamics CRM and Reporting DBs are running on them.
    How can I achieve the highest avalability and DR with my SQL? Do I even need to create the quorum witness? What kind of Quorum (majority nod with network share?)
    Second, Is it good idea to run the backup on that read-only node?  If I setup the maintenance plan on this 3rd read-only mode with full and transactional backups, I should be able to restore without any issues?
    Third, I have another DB (SharePoint) that needs to be moved over to this SQL AlwaysOn AG but wondering if I can restore it in the secondary node to utilize the unused resources.  Is that possible or not recommended?

    Are the replicas on the same network subnet? If they are, then, you already have a quorum with node majority (odd number of votes.) Since you are already paying for an additional license to run read-only workloads on your readable secondary, you can take
    backups on this replica. Full database backups are in COPY_ONLY mode but you can take regular log backups which will truncate the log on the primary replica. In theory, you will be able to restore the backups taken from your readable secondary but you should
    test (hence, why I mentioned "in theory.") I wouldn't move my SharePoint databases to this SQL Server Availability Group mainly because of the different requirements between the two - SharePoint and Dynamics CRM. MAXDOP =1, disabling index maintenance and
    statistics updates on SharePoint databases, etc. are just a few of them. Besides, I doubt that the recovery objectives and service level agreements between those two applications are the same within your organization.
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • Will SCCM 2012 R2 , SCOM 2012 R2 and SCDPM R2 2012 support SQL 2012 AlwaysOn Availability Group ?

    Will SCCM 2012 R2 , SCOM 2012 R2 and SCDPM R2 2012 support SQL 2012 AlwaysOn Availability Group ?

    Hi,
    It is listed here:
    http://technet.microsoft.com/en-us/library/dn281933.aspx
    Configuration Manager 2012 r2 and DPM 2012 r2 does not support AlwaysOn.
    regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • SQL 2012 AlwaysON High Availability for SharePoint 2013

    Our Company have 2 Webfront Servers for Sharepoint 2013 and one Database SQL 2012 Server.
    We got one more Server & we don't have Storage so need to configure Always On.
    There are Some Confusions:
    1- Database Server is in production, so how much down time required to Achieve the AlwaysOn?
    2- What are the Changes need to be done on Production Server?
    3- What are the Steps to be followed While Configuring new Database Server?
    Regards,

    Hi Genius1985,
    According to your description, you want to configure a SQL Server 2012 AlwaysOn Availability Group for your database, right?
    Question 1: Database Server is in production, so how much down time required to achieve the AlwaysOn?
    There is no a certain downtime for AlwaysOn, it depends on the configuration of our AlwaysOn Availability Group, normally it can be several seconds or minutes. In order to understand why there is downtime for SQL Server with Microsoft Clustering, please refer
    to the following article:
    http://www.mssqltips.com/sqlservertip/1882/understanding-why-there-is-still-downtime-for-sql-server-with-microsoft-clustering/
    Question 2 and 3: What are the Changes need to be done on Production Server? What are the Steps to be followed While Configuring new Database Server?
    Since AlwaysOn Availability Groups require a Windows Server Failover Cluster, we first need to add the Windows Failover Cluster Feature to all the machines running the SQL Server instances that we will configure as replicas.
    Once the Windows Server Failover Cluster has been created, we need to proceed with enabling the AlwaysOn Availability Groups feature in SQL Server 2012.  This needs to be done on all of the SQL Server instances that we will configure as replicas in our
    Availability Group.
    For more details about Step-By-Step: Creating a SQL Server 2012 AlwaysOn Availability Group, please refer to the following article:
    http://blogs.technet.com/b/canitpro/archive/2013/08/20/step-by-step-creating-a-sql-server-2012-alwayson-availability-group.aspx
    If you have any question, please feel free to let me know.
    Regards,
    Jerry Li

  • SQL 2012 Express end date of distribution

    For SQL Server Express 2012 is there an end date for when a customer is no longer allowed to distribute it?
    If so, what is that date? And where can we find it posted on a MS web page?
    Does the customer need to register for SQL 2012 Express to get the redistribution rights as well?
    Thanks

    Hi Nikki,
    As is mentioned in the article
    Microsoft Support Lifecycle, SQL Server 2012 Express is supported until 2017, and the extended support end date of SQL Server 2012 Express is 12/07/2022.
    However, SQL Server Express exists as a free SQL Server edition, fully compatible with and easily upgradeable to higher SQL Server editions. You can download SQL Server 2012 Express directly from below link and install it on your computer.
    http://www.microsoft.com/en-us/download/details.aspx?id=29062
    Thanks,
    Lydia Zhang

  • SQL 2012 AlwaysOn discoveries broken in 6.4.1.0?

    It looks like version 6.4.1.0 of the SQL 2012 MP broke discovery of AlwaysOn (the AlwaysOn Seed). The old version had this for the registry key (note the bit in red, it's missing from the new one):
    SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL11.$Target/Property[Type="SQLServer!Microsoft.SQLServer.ServerRole"]/InstanceName$\MSSQLServer\HADR\HADR_Enabled
    And then this is 6.4.1.0:
    SOFTWARE\Microsoft\Microsoft SQL Server\$Target/Property[Type="SQLServer!Microsoft.SQLServer.DBEngine"]/InstanceID$\MSSQLServer\HADR\HADR_Enabled
    The discovery works fine for our management group that's using the old version, but it's not working for our MG using the new version. Is anyone else running into this?
    "Fear disturbs your concentration"

    Hi,
    SQL Server Management Pack version 6.4.0.0 improves performance of AlwaysOn discovery.
    Appendix: AlwaysOn Management Pack Contents
    http://technet.microsoft.com/en-us/library/dn456931.aspx
    Please ensure your Management Server with latest update installed. Also check if there is any related event.
    Niki Han
    TechNet Community Support

  • SQL 2012 AlwaysOn

    We have the production SQL instance on a single Azure VM now and we are planning to implement the SQL AlwaysOn.
    To minimize the risk we are thinking about creating two more VMs then configure the AlwaysOn then migrate the existing DBs from the current SQL server.
    Is this the right way to do or any other better ways to accomplish this?
    Thank you.

    Hi NJRCI,
    According to your description, you can configure AlwaysOn Availability Groups in Azure Virtual Machines. Azure virtual machines (VMs) with SQL Server can help you to lower the cost of a high availability and disaster recovery (HADR) database system. All
    availability replicas running in Azure VMs for high availability within the same Azure datacenter. You need to configure a domain controller in addition to the SQL Server virtual machines because Windows Server Failover Clustering (WSFC) requires an Active
    Directory domain. For more information, see:
    AlwaysOn Availability Groups in Windows Azure (GUI)
    This article provides information on how to migrate an existing on-premise SQL Server database built on Windows Server platform to SQL Server in Azure Virtual Machines (VMs).
    http://msdn.microsoft.com/en-us/library/jj156165.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • SQL 2012 AlwaysOn cluster IP not moving after failover, causing database to be read-only

    SQL Server Cluster Name: SQLDAG01
    SQL Server Cluster IP: 10.0.0.50
    Cluster Listener IP: 10.0.0.60
    Node 1 Name: SQL01
    Node 1 IP: 10.0.0.51
    Node 2 Name: SQL02
    Node 2 IP: 10.0.0.52
    Everything is fine when SQL01 is the primary. When failing over to SQL02, everything looks fine in the dashboard but for some reason the cluster IP, 10.0.0.50, is stuck on node 1. The databases are configured to provide secondary read access. When executing
    a query on SQLDAG01, I get an error that the database is in read-only mode. Connectivity tests verify that SQLDAG01, 10.0.0.50, connects to SQL01 even though SQL02 is now the primary.
    I've been Googling this for the better part of the day with no luck. Any suggestions? Is there a Powershell command force the cluster IP to move to the active node or something? Also I'm performing the failover as recommended, from Management Studio connected
    to the secondary node.

    This was the answer, it had been setup to use the cluster name instead of the application name. Whoever installed Sharepoint connected it to SBTSQLDAG01 instead of SHAREPOINT01. Once we changed Sharepoint to connect to SHAREPOINT01, the failover worked as
    expected. We did have a secondary issue with the ARP cache and had to install the hotfix from http://support.microsoft.com/kb/2582281 to resolve it. One of the Sharepoint app servers was failing to
    ping the SQL node after a failover, the ARP entry was stuck pointing to the previous node. This article actually helped a lot resolving that: http://blog.serverfault.com/2011/05/11/windows-2008-and-broken-arp/
    One thing I did notice is that the SQL failover wizard does not move cluster groups "Available Storage" and "Cluster Group", I had to move those through the command line after using the wizard. I'm going to provide the client with a Powershell script that
    moves all cluster groups when they need to do a manual failover. This also happens to be why the Sharepoint issue started, "Cluster Group" is what responds to the cluster name SBTSQLDAG01. Moving that group over to the node that has the active SQL cluster
    group also made it work properly, but using the application name is the correct method.
    Thanks everyone for all your help. Although the nitpicking about terminology really didn't help, that was a pointless argument and we really could have done without it. Yeah I know 2008 called is "Failover Cluster Manager" and MSCS is the "2003 term" but
    really, they're basically the same thing and we don't really need to derail the conversation because of it. Also, If you look at the screenshot below you can clearly see "AlwaysOn High Availability" in SQL Management Studio. That's what it's called in SQL,
    that's where you do all the work. Trying to tell me it's "not a feature" is wrong, pointless, and asinine, and doesn't get us anywhere.
    Sorry it took so long to get back, I was off the project for a couple weeks while they were resolving some SAN issues that caused the failover to happen in the first place.

  • File Share Witness Resouces Errors in a SQL 2012 Alwayson Availability Group Environment

    Hi I am getting the following error in WFC Manager and in my system event log:
    Event ID1564: 
    File share witness resource 'File Share Witness' failed to arbitrate for the file share '\\SQL2012ClusterWitnessPath'. Please ensure that file share '\\SQL2012ClusterWitnessPath' exists and is accessible by the cluster.
    Event ID 1069: 
    Cluster resource 'File Share Witness' of type 'File Share Witness' in clustered role 'Cluster Group' failed.
    Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster
    Manager or the Get-ClusterResource Windows PowerShell cmdlet.
    Event ID 1205:
    The Cluster service failed to bring clustered service or application 'Cluster Group' completely online or offline. One or more resources may be in a failed state. This may impact the availability of the clustered service or application.
    These errors showed up every hour on the hour and then suddenly stopped.  I tried looking at the cluster.log file but there wasn't anything recorded there.  The file share witness shows to be online and my AG did not fail over to another node. 
    The cluster has read and write permissions to the share.  I did not find any error messages about the witness share on the remote server. 
    I am wondering what caused these series of events to occur?
    Thanks.

    Hi Kevin Ni,
    Thanks for your reply.  I have ran the validation test and I have 2 warnings.  My environment has 2 nodes and 2 AG's with each node a failover for each AG.  So that each node hosts and primary and a secondary of an AG.  Both nodes are
    on the same subnet.  Here are the errors.  
    - Validate Multiple Subnet Properties
    The RegisterAllProvidersIP property causes the network name to register all dependent IP addresses whether they are online or offline. Some DNS servers and clients in multi-subnet (multi-site) environments can identify the IP address that is in their subnet
    and attempt connections only to that address. In such environments, it is usually best to set RegistrerAllProvidersIP to 1. This reduces DNS replication delays.
    The RegisterAllProvidersIP property for network name 'Name:  Listener1' is set to 1. For the current cluster configuration this value should be set to 0.
    The RegisterAllProvidersIP property causes the network name to register all dependent IP addresses whether they are online or offline. Some DNS servers and clients in multi-subnet (multi-site) environments can identify the IP address that is in their subnet
    and attempt connections only to that address. In such environments, it is usually best to set RegistrerAllProvidersIP to 1. This reduces DNS replication delays.
    The RegisterAllProvidersIP property for network name 'Name:  Listener2' is set to 1. For the current cluster configuration this value should be set to 0.
    - Validate Network Communication
    Node ONE.domain.com is reachable from Node TWO.domain.com by multiple communication paths, but each path includes network interface TWO.domain.com - TWO_NIC_Team. This network interface may be a single point of failure for communication within the
    cluster. Please verify that this network interface
    is highly available or consider adding additional networks or network interfaces to the cluster.
    Node TWO.domain.com is reachable from Node ONE.domain.com by multiple communication paths, but each path includes network interface TWO.domain.com - TWO_NIC_Team. This network interface may be a single point of failure for communication within the
    cluster. Please verify that this network interface
    is highly available or consider adding additional networks or network interfaces to the cluster.
    I have node TWO setup with NIC Teaming.  Node ONE is also setup with NIC teaming but it also has a second IP address but the second IP address cannot communicate with node TWO.

  • Backup Sharepoint 2013 Farm with SQL 2012 "Always On" using System Center 2012 R2 Data Protection Manager

    Is backing up and Restoring SharePoint 2013 Farm with SQL 2012  "Always On" High Availability now supported using "System Center 2012 R2 Data Protection Manager"?
    I cannot find confirmation anywhere.
    Regards,
    John

    Per this thread
    http://social.technet.microsoft.com/Forums/en-US/0c047737-4733-4ad5-a24d-3e6e6ff42f70/dpm-2012-sp1-and-sharepoint-2013-on-a-sql-2012-alwayson-ag?forum=dpmsharepointbackup, no it does not look like this is supported.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Is it possible to set up sql server 2012 alwayson AG for existing scom2012 r2 databases?

    we have an existing scom 2012 r2 management group of which all databases are on a single sql server 2012 sp1 instance on a server 2012 r2 server. Now we want to utilize the sql 2012 alwayson feature to improve the HA and DR. Is it possible to add another
    sql server 2012 sp1 instance on another server 2012 r2 server and configure the two to create AlwaysOn Availability Group for all three scom databases, and how?
    Many thanks

    Hi,
    Microsoft recommends dedicated SQL clusters for the DBs. If you are trying to achive a common backend SQL for your SC 2012 DBs; check this great post by Cameron Fuller:
    http://www.systemcentercentral.com/system-center-2012using-a-common-sql-backend-database-sysctr-scom-scsm/ – it should give you some pointers. Check out the SCOM 2012 sizing helper as well!
    We can set scom 2012 databases in SQL cluster and install SCOM Report Service on different SQL Report Server intance. And RS instance cannot be clustered but can be HA. Failover clustering is supported only for the report server database; you cannot run
    the Report Server service as part of a failover cluster.
    Please also go through the below blog for more details about SQL alwayson:
    SQL Server 2012 AlwaysOn High Availability and Disaster Recovery Design Patterns
    http://blogs.msdn.com/b/sqlcat/archive/2013/11/20/sql-server-2012-alwayson-high-availability-and-disaster-recovery-design-patterns.aspx
    Regards,
    Yan Li
    Regards, Yan Li

  • Time-out issue Always on SQL 2012 Cluster

    Currently I'm working on a large deployment of a SharePoint 2013 environment (stretched farm over 2 DC's). We are using a SQL 2012 alwayson multisubnet cluster (each DC has 1 SQL node). During the installation of SharePoint we encountered several connection
    time-out errors from the SQL environment. (Exception calling "Open" with "0" argument(s): "Connection Timeout Expired.  The timeout period elapsed during the post-login
    phase.  The connection could have timed out while waiting for server to complete the login process and respond;)
    Steps we follow for SharePoint installation are:
    Steps to configure SharePoint 2013 on an AlwaysOn Availability group:
    1>Create SharePoint databases (with the PowerShell script)
      Configure a SQL alias for a consistent SQL instance name.
     Create farm on SQL instance/replica 1 (one of the SQL nodes), creating all databases needed (service-apps & web-apps). -->
    we are connected directly to 1 SQL node and not connecting to the cluster. Installation server is in same DC as the SQL node.
       Stop SharePoint so databases remain static during migration to an AlwaysOn cluster.
    2>Move database to AlwaysOn high-availability group.
    Restore all the DBs onto SQL replica 2 (with NORECOVERY).
    Create AlwaysOn availability group, or use existing
    Join the replica 2 databases to availability group.
    Create listener.
    3>Migrate SharePoint onto AlwaysOn on cluster
    Make all SharePoint DB MultiSubnetFailover aware with PowerShell Cmdlet
    Reconfigure SQL alias for new listener
    àat this point the SharePoint farm is connecting to the SQL cluster (listener of AlwaysOn availability group of the SQL Instance), but we never reached this point so far.
     Restart SharePoint services with updated alias.
    Event errors and SQL log errors that I found:
    Date,Source,Severity,Message,Category,Event,User,Computer
    09/18/2014 07:34:59,Microsoft-Windows-FailoverClustering,Error,Cluster network name resource 'SPAG_CU8000001105' failed registration of one or more associated DNS name(s) for the following reason:<nl/>DNS bad key.<nl/>.<nl/><nl/>Ensure
    that the network adapters associated with dependent IP address resources are configured with at least one accessible DNS server.,(19),1196,NT AUTHORITY\SYSTEM,CU8000000015
    09/18/2014 07:34:59,MSSQL$SPAG,Information,The Service Broker endpoint is in disabled or stopped state.,(2),9666,,CU8000000015
    09/18/2014 07:34:52,Microsoft-Windows-FailoverClustering,Error,Cluster network name resource 'SPWMAG_CU8000002105' failed registration of one or more associated DNS name(s) for the following reason:<nl/>DNS bad key.<nl/>.<nl/><nl/>Ensure
    that the network adapters associated with dependent IP address resources are configured with at least one accessible DNS server.,(19),1196,NT AUTHORITY\SYSTEM,CU8000000015
    09/18/2014 07:34:52,MSSQL$SPWMAG,Information,The Service Broker endpoint is in disabled or stopped state.,(2),9666,,CU8000000015
    09/18/2014 07:34:47,Service Control Manager,Information,The WMI Performance Adapter service entered the running state.,(0),7036,,CU8000000015
    09/18/2014 07:32:41,Microsoft-Windows-FailoverClustering,Error,Cluster network name resource 'SPSDAG_CU8000003105' failed registration of one or more associated DNS name(s) for the following reason:<nl/>DNS bad key.<nl/>.<nl/><nl/>Ensure
    that the network adapters associated with dependent IP address resources are configured with at least one accessible DNS server.,(19),1196,NT AUTHORITY\SYSTEM,CU8000000015
    09/18/2014 07:32:41,MSSQL$SPSDAG,Information,The Service Broker endpoint is in disabled or stopped state.,(2),9666,,CU8000000015
    09/18/2014 07:31:09,PowerShell,Information,Engine state is changed from Available to Stopped. <nl/><nl/>Details: <nl/> NewEngineState=Stopped<nl/> PreviousEngineState=Available<nl/><nl/> SequenceNumber=61464<nl/><nl/> HostName=OpsMgr
    PowerShell Host<nl/> HostVersion=7.0.5000.0<nl/> HostId=32012185-8d9a-41c2-be56-91929c02f1e8<nl/> EngineVersion=4.0<nl/> RunspaceId=af176e01-185d-4574-ab9b-0fd745178d29<nl/> PipelineId=<nl/> CommandName=<nl/> CommandType=<nl/> ScriptName=<nl/> CommandPath=<nl/> CommandLine=,(4),403,,CU8000000015
    We are not allow to update/write in the DNS for the multisubnet cluster IP registration, so I think that explains the "failed registration
    " error. But can this explains our time-out errors during the SharePoint installation? For the installation we are connection directly to 1 SQL node and not to the SQL
    cluster.
    Any help is appreciated!
    Ronald Bruinsma - Independent SharePoint Consultant - iDocs.info - The Netherlands -- Please don't forget to propose this post as an answer or mark it as helpful if it did help you. Thanks.

    Don't just change the connection timeout on your SharePoint farm. This will just hide the real issue. From your error message, it seems that the DNS record for the Availability Group listener name is not being written. Talk to your AD administrators to validate
    if dynamic DNS registration is configured for the DNS servers. If it is, AD will create the DNS entry of the virtual computer object for the Availability Group listener name. The WSFC should also have Create Computer Objects permission in the AD Organizational
    Unit where your Availability Group listener name will be created.
    On a side note, make sure that you configure a separate SharePoint 2013 farm for your DR environment that will use the content databases joined in the Availability Group. For a stretched farm deployments, latency should be less than 1ms one way as
    per this article. And while you can add your admin content and config databases on the Availability Group, asynchronous commit is
    not supported.
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • 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

Maybe you are looking for