Clustering support in C#?

  • Thread starter Thread starter Peter Steele
  • Start date Start date
P

Peter Steele

I've seen some sample code in VB for working with Microsoft's clustering
facilities, for example

Dim objCluster as Cluster
Set objCluster = New Cluster

What's the appropriate "using xyz" to make these structures available in a
C# application?
 
Could you elaborate a bit more on this?

Well, I'm writing some C++ tools that make low level calls to the various MS
clustering APIs and I wondered if any of this had been wrapped up in a nice
set of .NET classes. I found what appeared to be what I wanted but the
examples were all in VB. That's what prompted my email. I've since learned
these examples are all making use of the Cluster Automation Service and were
demonstrating using VB scripts (.vbs) and Windows Script Host (.wsf) scripts
and as such isn't much use to me. I'd just like to be able to make use of
these cluster structures provided via the Cluster Automation Engine in a C#
application. For that matter, it would be useful to interface with the
Cluster Automation Engine in C++. You have to call a lot of calls to make
any headway using the normal set of API functions Windows provides.

Here's a link to the Cluster Automation Engine:

http://msdn.microsoft.com/library/d...rogramming_with_cluster_automation_server.asp
 
Just add a reference to Msclus.dll to create a interop library and use COM
interop.

Willy.
 
Back
Top