AlwaysON,  DBA

Multi subnet sql alwayon cluster not connecting to sql database when application or alwayon failover


Multi subnet SQL alwayon cluster not connecting to SQL database when application server restarts or alwayon failover.

In multi subnet we will have more than two ips, the active IP will be online and other ips will be offline.

This Microsoft link will have more information. I just used this to give a workaround for one of our application. The application has MultiSubnetFailover=True.

Open powershell as administrator. Run the following and pass the resource name.

Get the resource name, it could be AG group name_Listener name – Get-ClusterResource

Check the ‘RegisterAllProvidersIP’ value, if it is 1 change to 0

Get-ClusterResource “Cluster Resource Name” | Get-ClusterParameter


Change the ‘RegisterAllProvidersIP’ from 1 to 0, this needs

Get-ClusterResource “Cluster Resource Name”| Set-ClusterParameter RegisterAllProvidersIP 0




I’m currently working as a SQL server DBA in one of the top MNC. I’m passionate about SQL Server And I’m specialized in Administration and Performance tuning. I’m an active member of SQL server Central and MSDN forum. I also write articles in SQL server Central. For more Click here

Leave a Reply

Your email address will not be published. Required fields are marked *

2 + 4 =

hacklink panel hacklink al hacklink sollet hdxvipizle resim yükleme onwin venüsbet ai nude 1xbet güncel giriş eskort yeşilköy cami avizesi seo paneli soma kömür bahis forum backlink al pgslot สล็อตเวตรง holiganbetvds
hack forum hacklink panel hacklink hacklink cami halısı cami halısı cami halısı cami halısı cami halısı cami halısı cami halısı cami halısı cami halısı cami halısı cami halısı cami halısı cami halısı cami avizesi cami avizesi cami süpürgesi cami süpürgesi cami ısıtma cami ısıtma evden eve nakliyat ofis taşıma seo hizmeti Onwin Rulet Casino Slot Oyna Bahigo 1xbet Deneme bonusu Bahis siteleri Maç özetleri Bahsegel Canlı Casino Siteleri Sweet Bonanza Blackjack Casino Rulet Oyna Canlı Casino takipçi satın al smm panel m