How to determine the active node in a failover cluster from C # .net 3.5

We need a way to determine from the code that the node of the application cluster is currently active. Is there a way to do this using C #?

+3
source share
1 answer

You will code the MSCluster_Resource class: "The MSCluster_Resource class is a dynamic WMI class that represents a cluster resource."

API documentation can be found here: http://msdn.microsoft.com/en-us/library/aa371464(VS.85).aspx

: http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/60589403-dd9a-4196-8d95-154a4a931e19/

0

Source: https://habr.com/ru/post/1778831/


All Articles