Re: Cluster API
From: Willy Denoyette [MVP] (willy.denoyette_at_pandora.be)
Date: 01/30/05
- Next message: benben: "Re: screen flickering"
- Previous message: Morten Wennevik: "Re: Please help me understand"
- Next in thread: Chuck Haeberle: "Re: Cluster API"
- Reply: Chuck Haeberle: "Re: Cluster API"
- Maybe reply: leny ortega: "Re: Cluster API"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 30 Jan 2005 12:34:35 +0100
The management API's are also available through COM, that doesn't mean you
can't use C# to access them, simply create a interop assembly from the
automation server dll (msclus.dll) and use the API's from C#.
However, the "automation server API's" don't support notifications, a much
better "managed" option is to use System.Management namespace classes and
the WMI cluster classes MSCluster_XXXX to build cluster management
applications using C#.
I can post a sample of the latter if you are interested.
Willy.
"Peter Ericsson" <peter.l.ericsson@ericsson.com> wrote in message
news:252901c5061d$92caa720$a601280a@phx.gbl...
> My only interest is to manage the cluster. Start and stop
> resorces, get notifications when they fail, find out what
> kind of resources are available in the cluster and so on.
> I mean these kind of methods are available for windows
> services but not for clustered resources.
>
> I'm not an COM expert so I'd rather stick to C#.
>
> /Peter
>>-----Original Message-----
>>There is a big difference between a wrapper and
> implementing an API.
>>The MS cluster API's (cluster resources) are implemented
> using C/C++ , the
>>reason is high reliability, efficiency and a low memory
> footprint, something
>>that managed code doesn't offer, as it was not designed
> to be used as a
>>system level platform.
>>The cluster management API's are available as native
> C/C++ API's and a set
>>of COM interfaces, so if you only need to manage MS
> cluster server, you
>>could wrap the COM api.
>>
>>Willy.
>>
>>"Peter Ericsson" <peter.l.ericsson@ericsson.com> wrote
> in message
>>news:1df801c50517$2fbba320$a601280a@phx.gbl...
>>> Does anyone know if Microsoft plans to implement an C#
>>> (.net) API for MS Cluster like the one in C++?
>>>
>>> Or has someone else written a C# wrapper for the C++
> API?
>>
>>
>>.
>>
- Next message: benben: "Re: screen flickering"
- Previous message: Morten Wennevik: "Re: Please help me understand"
- Next in thread: Chuck Haeberle: "Re: Cluster API"
- Reply: Chuck Haeberle: "Re: Cluster API"
- Maybe reply: leny ortega: "Re: Cluster API"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|