alwayson

Databases stuck in “Synchronized / In Recovery” mode after adding server to SQL Avaylability Group

岁酱吖の 提交于 2021-02-11 13:34:35
问题 I have an SQL AlwaysOn Availabilty Group configured with 2 nodes. The AG works without any problem with this 2 nodes and I can do a failover to/from any of them (this servers are on the same network). Recently, I added another server to the AG, but this one is an Azure VM. I successfully added it to the AG, with seeding mode 'automatic', and configured as a "Readable secondary". All the databases get created on the Azure VM, but they stay in "Synchronized/In Recovery" mode, I have restarted

Databases stuck in “Synchronized / In Recovery” mode after adding server to SQL Avaylability Group

北战南征 提交于 2021-02-11 13:33:06
问题 I have an SQL AlwaysOn Availabilty Group configured with 2 nodes. The AG works without any problem with this 2 nodes and I can do a failover to/from any of them (this servers are on the same network). Recently, I added another server to the AG, but this one is an Azure VM. I successfully added it to the AG, with seeding mode 'automatic', and configured as a "Readable secondary". All the databases get created on the Azure VM, but they stay in "Synchronized/In Recovery" mode, I have restarted

Microsoft AlwaysOn failover solution and Delphi

会有一股神秘感。 提交于 2019-12-21 17:02:27
问题 I'm trying to make a Delphi application to work with AlwaysOn solution. I found on Google that I have to use MultiSubnetFailover=True in the connection string. Application is compiled in Delphi XE3 and uses TADOConnection . If I use Provider=SQLOLEDB in the connection string, application starts but it looks like MultiSubnetFailover=True has no effect. If I use Provider=SQLNCLI11 (I found on Google that OLEDB doesn't support AlwaysOn solution and I have to use SQL Native client) I get invalid

Is it possible to enable Always On for Azure websites through management/resource management APIs?

烂漫一生 提交于 2019-12-18 19:06:42
问题 I am writing some code for automatic deployment of Azure websites (including the creation of the website in Azure). I'm using the Azure Management Libraries and Azure Resource Management Libraries available in Nuget. Most of it is in place, however I have not been able to find a way to enable the "Always On" property through any of the APIs I've seen. This property can be set through the azure management portal under the Configure tab for a website. I've checked: The properties reference on

Dirty Reads in SQL Server AlwaysOn

六月ゝ 毕业季﹏ 提交于 2019-12-12 08:55:57
问题 I have a pair of SQL Server 2014 databases set up as a synchronous AlwaysOn availability group. Both servers are set to the Synchronous commit availability mode, with a session timeout of 50 seconds. The secondary is set to be a Read-intent only readable secondary. If I write to the primary and then immediately read from the secondary (via ApplicationIntent=ReadOnly ), I consistently read dirty data (i.e. the state before the write). If I wait for around a second between writing and reading,

Microsoft AlwaysOn failover solution and Delphi

风格不统一 提交于 2019-12-04 07:12:34
I'm trying to make a Delphi application to work with AlwaysOn solution. I found on Google that I have to use MultiSubnetFailover=True in the connection string. Application is compiled in Delphi XE3 and uses TADOConnection . If I use Provider=SQLOLEDB in the connection string, application starts but it looks like MultiSubnetFailover=True has no effect. If I use Provider=SQLNCLI11 (I found on Google that OLEDB doesn't support AlwaysOn solution and I have to use SQL Native client) I get invalid attribute when trying to open the connection. The connection string is: Provider=SQLOLEDB.1;Password=

Is it possible to enable Always On for Azure websites through management/resource management APIs?

喜欢而已 提交于 2019-11-30 17:52:11
I am writing some code for automatic deployment of Azure websites (including the creation of the website in Azure). I'm using the Azure Management Libraries and Azure Resource Management Libraries available in Nuget. Most of it is in place, however I have not been able to find a way to enable the "Always On" property through any of the APIs I've seen. This property can be set through the azure management portal under the Configure tab for a website. I've checked: The properties reference on MSDN: http://msdn.microsoft.com/en-us/library/azure/dn236426.aspx The powershell APIs (get-azureresource