Re: Cluster API

From: Willy Denoyette [MVP] (willy.denoyette_at_pandora.be)
Date: 01/30/05


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?
>>
>>
>>.
>>



Relevant Pages

  • Re: Windows 2000 cluster drives
    ... Don't use Disk Manager in Computer Management to determine if the disk came ... Windows NT/2000/2003 Cluster Technologies ... > node does not see these drives at that time in MY Computer or Disk ...
    (microsoft.public.windows.server.clustering)
  • Re: NLB Terminal Servers
    ... "If the clients can not reach the "Management" NIC's what purpose do they ... Do the "Management" NIC's act as the heartbeat for the NLB cluster??" ... Should I use Unicast or Multicast?? ...
    (microsoft.public.windows.server.clustering)
  • Re: Cluster Nomenclature
    ... after that management insisted on "functional" names. ...  The VMS STAR cluster had celestial objects. ...  Some members were Alpha instructions ... Colorado used a beer theme: ...
    (comp.os.vms)
  • Remote administration of a 2-node sun cluster running Solaris 5.8
    ... There is a 2-node sun cluster running solaris 5.8 in a data centre of a ... Management wants me take on the entire ... onus of the system administration of this cluster. ... experienced sysadmin in my location which is several thousand miles ...
    (comp.unix.solaris)
  • Re: Cluster (only physical disks) wont move to another mode
    ... Take cluster out of the picture and verify that both servers can see ... Only one node that is in the cluster must be running to prevent disk ... Management, ... Expand Non-Plug and Play Drivers, right-click Cluster Disk Driver, ...
    (microsoft.public.windows.server.clustering)