Any DBA going for new environment he should know how many nodes Exist in SQL Server Cluster he will mange it so today i will share with small DMV can tell us this information easily without doing more effort
“” SELECT * FROM ::FN_VIRTUALSERVERNODES() “”
DMV Return :
Node Name : the name of the Windows Server (Computer Name)
Status : Sever Status (Ruining / DOWN )
Is Current owner : it will tell you which node your SQL sever up and running on it now
Follow the author:
View all my tips , LinkedIn , Website , Slideshare , ABOUT ME


