How to check SQL Server AlwaysOn High Availability is enabled

24 February,2017 by Jack Vamvas

Question: How can I check programmatically if SQL Server AlwaysOn High Availability is enabled?  

 

 

Answer: If you can logon to the SQL Server with the correct privileges , using the SERVERPROPERTY function .

SELECT SERVERPROPERTY ('IsHadrEnabled');  

 

Read More

Database Mirroring

Redundancy for SQL Server

 


Author: Jack Vamvas (http://www.sqlserver-dba.com)


Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on How to check SQL Server AlwaysOn High Availability is enabled


sqlserver-dba.com | SQL Server Performance Tuning | SQL Server DBA:Everything | FAQ | Contact|Copyright & Disclaimer