Forum

AlwaysOn High Avail...
 
Bildirimler
Hepsini Temizle

AlwaysOn High Availibility Failover Mode değişiklik sorunu

3 Yazılar
2 Üyeler
0 Likes
2,261 Görüntüleme
(@BaranKaynak)
Gönderiler: 2
New Member
Konu başlatıcı
 

Merhaba,

SQL Server 2012 de AlwaysOn HA özelliğini kurmaya çalışıyorum. 2 adet sql ve 1 adet de domain controllerım var. Makineler active directoryde domaine bağlanmış durumdalar ve sql server 2012 de bir domain kullanıcısı ile çalışmakta. 2 makinenin de bulunduğu bir cluster hazırlanmış durumda.

Yeni bir failover grubu kuruyorum ve  full backup aldığım veritabanını seçerek ilerliyorum. Otomatik failover seçeneğini işaretlemiyorum ve senkron eşitlemeyi seçiyorum. Listener eklemiyorum. Bu şekilde grup çalışır hale geliyor.

Sorun ise bu grubu otomatik failover haline getirmekte. Grubun seçeneklerinden failover mode'u otomatik yaptığım zaman şu hatayı alıyorum;

TITLE: Microsoft SQL Server Management Studio

------------------------------

Alter failed for Availability Replica 'BILISIM-SQL2'.  (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.2100.60+((SQL11_RTM).120210-1917+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Alter+AvailabilityReplica&LinkId=20476

------------------------------

ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

Failed to remove a node from the possible owner list of a Windows Server Failover Clustering (WSFC) resource (Error code 5023).  The WSFC service may not be running or may not be accessible in its current state, or the specified cluster resource or node handle is invalid.  For information about this error code, see "System Error Codes" in the Windows Development documentation.

Failed to modify availability replica options for availability group 'abc'.  The availability group configuration has been updated.  However, the operation encountered SQL Server error 41016 while applying the new configuration to the local availability replica.  The operation has been terminated.  Refer to the SQL Server error log for more information.  Verify that the local Windows Server Failover Clustering (WSFC) node is online.  Use the ALTER AVAILABILITY GROUP command to undo the changes made to the availability group configuration. (Microsoft SQL Server, Error: 41016)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.2100&EvtSrc=MSSQLServer&EvtID=41016&LinkId=20476

------------------------------

BUTTONS:

OK

------------------------------

 

 
Gönderildi : 05/11/2012 18:48

(@tayfundeger)
Gönderiler: 1935
VMware Guru
 

Merhaba,

SQL Server 2012 de AlwaysOn HA özelliğini kurmaya çalışıyorum. 2 adet sql ve 1 adet de domain controllerım var. Makineler active directoryde domaine bağlanmış durumdalar ve sql server 2012 de bir domain kullanıcısı ile çalışmakta. 2 makinenin de bulunduğu bir cluster hazırlanmış durumda.

Yeni bir failover grubu kuruyorum ve  full backup aldığım veritabanını seçerek ilerliyorum. Otomatik failover seçeneğini işaretlemiyorum ve senkron eşitlemeyi seçiyorum. Listener eklemiyorum. Bu şekilde grup çalışır hale geliyor.

Sorun ise bu grubu otomatik failover haline getirmekte. Grubun seçeneklerinden failover mode'u otomatik yaptığım zaman şu hatayı alıyorum;

TITLE: Microsoft SQL Server Management Studio

------------------------------

Alter failed for Availability Replica 'BILISIM-SQL2'.  (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.2100.60+((SQL11_RTM).120210-1917+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Alter+AvailabilityReplica&LinkId=20476

------------------------------

ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

Failed to remove a node from the possible owner list of a Windows Server Failover Clustering (WSFC) resource (Error code 5023).  The WSFC service may not be running or may not be accessible in its current state, or the specified cluster resource or node handle is invalid.  For information about this error code, see "System Error Codes" in the Windows Development documentation.

Failed to modify availability replica options for availability group 'abc'.  The availability group configuration has been updated.  However, the operation encountered SQL Server error 41016 while applying the new configuration to the local availability replica.  The operation has been terminated.  Refer to the SQL Server error log for more information.  Verify that the local Windows Server Failover Clustering (WSFC) node is online.  Use the ALTER AVAILABILITY GROUP command to undo the changes made to the availability group configuration. (Microsoft SQL Server, Error: 41016)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.2100&EvtSrc=MSSQLServer&EvtID=41016&LinkId=20476

------------------------------

BUTTONS:

OK

------------------------------

 

Merhaba,

Sorununuz çözüldü mü ? çözüldü ise lütfen nasıl
yapıldığı konusunda bilgi verirmisiniz, aynı sorunu yaşayan kişiler
faydalanabilir.

Teşekkürler.

 

Tayfun DEĞER
Cisco Champions, vExpert, VCP4/5/6, VCP5-DT, VCP-Cloud
https://www.tayfundeger.com
Mail: [email protected]

 
Gönderildi : 22/03/2013 19:01

(@BaranKaynak)
Gönderiler: 2
New Member
Konu başlatıcı
 

Evet, HADR portunu 5022 den 5023 e değiştirince sorun çözüldü. Portların engellenmediğinden eminim ancak yine de 5022 çalışmadı. Sanallaştırılmış altyapıdan kaynaklandığını düşünüyorum.

 
Gönderildi : 12/07/2015 16:18

Paylaş: