473,734 Members | 2,824 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cluster API

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?
Nov 16 '05 #1
17 25501
Now that would be pretty cool...

I haven't seen the API but it must be very low level to support data sync
and load balancing, etc. A managed wrapper may not be possible or
desirable...

But I wonder if one could design a C# clustering api using msmq, sockets,
and wmi? What would go into such a project?

ok,
aq

"Peter Ericsson" <pe************ **@ericsson.com > wrote in message
news:1d******** *************** *****@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?

Nov 16 '05 #2
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" <pe************ **@ericsson.com > wrote in message
news:1d******** *************** *****@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?

Nov 16 '05 #3
OP was talking about MS cluster server API's , not sure what this has to do
with msmq sockets and WMI.

Willy.

"Ahmed Qurashi" <ah**********@g mail.com> wrote in message
news:uy******** ******@TK2MSFTN GP12.phx.gbl...
Now that would be pretty cool...

I haven't seen the API but it must be very low level to support data sync
and load balancing, etc. A managed wrapper may not be possible or
desirable...

But I wonder if one could design a C# clustering api using msmq, sockets,
and wmi? What would go into such a project?

ok,
aq

"Peter Ericsson" <pe************ **@ericsson.com > wrote in message
news:1d******** *************** *****@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?


Nov 16 '05 #4
Yup, a bit offtopic there...just wondering aloud what a c# implementation of
an open source clustering software architecture would look like..

ok,
aq

"Willy Denoyette [MVP]" <wi************ *@pandora.be> wrote in message
news:O%******** **********@TK2M SFTNGP09.phx.gb l...
OP was talking about MS cluster server API's , not sure what this has to do with msmq sockets and WMI.

Willy.

Nov 16 '05 #5
Based on the same "shared clustering" technology used by Windows cluster
server? IMO it would be written in C and C++ and some assembly.
Don't forget that WCS consists of a low level device driver and a filter
driver, a service and a number of resource managers that expose the cluster
API's to consumers.
The driver can't be written in managed code point. The service could be
written in C#, the resource managers also, but the cluster aware resources
(think SQL server, Exchange, the file server service ...) expect a C
function export as API style, that means your resource managers must be
written in C (or C++) too. What's left is your service, but I don't expect
you would implement this one in managed code if all others are unmanaged.

Willy.

"Ahmed Qurashi" <ah**********@g mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
Yup, a bit offtopic there...just wondering aloud what a c# implementation
of
an open source clustering software architecture would look like..

ok,
aq

"Willy Denoyette [MVP]" <wi************ *@pandora.be> wrote in message
news:O%******** **********@TK2M SFTNGP09.phx.gb l...
OP was talking about MS cluster server API's , not sure what this has to

do
with msmq sockets and WMI.

Willy.


Nov 16 '05 #6
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++ , thereason is high reliability, efficiency and a low memory footprint, somethingthat managed code doesn't offer, as it was not designed to be used as asystem level platform.
The cluster management API's are available as native C/C++ API's and a setof COM interfaces, so if you only need to manage MS cluster server, youcould wrap the COM api.

Willy.

"Peter Ericsson" <pe************ **@ericsson.com > wrote in messagenews:1d******* *************** ******@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?

.

Nov 16 '05 #7
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.Manageme nt 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" <pe************ **@ericsson.com > wrote in message
news:25******** *************** *****@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" <pe************ **@ericsson.com > wrote

in message
news:1d****** *************** *******@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?


.

Nov 16 '05 #8
Willy,

I would be very interested in seeing such a sample. What are the WMI
Cluster Classes you mention? I have a similar need - to monitor and restart
if needed a service on a cluster, and have not had much luck to date finding
manged objects to allow me to perform this simple task. I could always issue
shell commands, but thats just ... klugy. :)

Your help would be MOST appreciated!
Chuck Haeberle
"Willy Denoyette [MVP]" wrote:
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.Manageme nt 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" <pe************ **@ericsson.com > wrote in message
news:25******** *************** *****@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" <pe************ **@ericsson.com > wrote

in message
news:1d****** *************** *******@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?


.


Nov 16 '05 #9


hi.. i'm a newbie here.. i think i have the same problem with you
peter..

i've been researching for almost a month now regarding applications/
example codes for remote cluster administration for windows 2000
advanced server using asp/vb.net.. but unfortunately, i can't see
something that is similar to my project.. hope you can give me some
ideas regarding this..

this is my problem:
we want to display on a webpage the current active nodes of clustered
servers. for ex we have:

server1a,server 1b
server2a,server 2b
server3a,server 3b

and the current active nodes are server1a, server2b, and server2b..

how can i do that in asp/vb.net? i'm developing remotely from the
servers using XP and vs.net..

and also, we want to configure the resources (eg: diskspaces, database,
windows services) from the owner (which is the active node)

anyone? please share your ideas.. i'm really frustrated now.. :sigh:
hope you can help me.. thanks..

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1629
by: Leonardo C | last post by:
Hi: I'm trying to setup a MS Cluster but I don't know if it is feasible to configure it in the way I think. I have two machines with win2k server and MSSQL-2000 one of them is currently performing as the production database and the other one is the backup. The secondary one is keeping updated via the "Log Shipping" technic.
0
1440
by: williams | last post by:
I am trying to encrypt data in a SQLServer 2000 Cluster using Microsoft EFS. I have successfully encrypted a standalone DB but we are having difficulty with the Cluster. I am only encrypting the datafile.mdf. Has anyone implemented Microsoft EFS in a SQL Server 2000 cluster (all servers run Win2003EntEd)? All the Microsoft documentation describes how to enable EFS for a File Share Resource in the cluster. However, for a sqlserver...
1
4950
by: richardshen | last post by:
DB2 V8 on windows 2003 cluster server. DB2MSCS -f:db2.cfg DB2 instance is in the cluster now. DB2MSCS -u:db2 DB2 instance is in the local node now. I want to cluster the instance again DB2MSCS -f:db2.cfg This is the error msg:
0
1459
by: Pankajdynamic | last post by:
Hi, I've gone through couple of articles on conguring the NLB cluster using NLB Manager.Below are my queries: 1. In NLB Manager, Cluster Parameter tab, - Can I give any IP address for Cluster IP address. If No, from where/how do I obtained this IP? 2. After configuring the Cluster IP address, can I expect Reply if I ping to this IP address? (I'm not getting reply)
4
8594
by: ThunderMusic | last post by:
Hi, We have many servers setup as a cluster. When one server crashes, another one take the relay... We want to know if it's possible (I suppose it is) to make a Windows service developed with .NET 2.0 work in a cluster environment. I mean, how to make sure the service will take the relay if one server fails. Is there something special to do or it will work by itself? (I'm not personally used to clusters, we need it at my office and they...
3
5425
by: Simon | last post by:
Hi All, I'm hoping someone will have some words of wisdom for me regarding MS Clustering on Windows 2003. I have a service that runs on a cluster. During invocation it's supposed to determine from the cluster which node is active (this is a active/standby configuration) and either proceed or sleep depending on the status. The interface to the cluster is that advertised by the standard interop layer built by Visual Studio for the...
2
4783
by: dunleav1 | last post by:
I have a many row and many column table that is in a 16K page size. I have four indexes on the table. I am running row compression on the table. The table does not have a primary key. The table does not have a clustered index. I ran a reorg on the table and the indexes. I ran runstats on the table and the indexes after the reorg. Three indexes on the table have an index cluster ratios of 99,99,100 respectively. The fourth index has a...
1
3581
by: =?Utf-8?B?S2Vubnk=?= | last post by:
I have one bat file that contains a command to startup Java Program. Then, I would like to create a cluster job to call the bat file. In case of one computer is down, another computer can also call the bat file and startup my Java Program. For this purpose, I have tried to place the bat file into share drive of two computers which are cluster machine. Also, I used Generic Application to create a job to call my bat file and this job is...
10
3158
by: Ian | last post by:
Henry J. wrote: MDC *guarantees* clustering, whereas a table with a clustering index will eventually require maintenance (a.k.a. reorg) to maintain the cluster ratio. That's not to say that a clustering index isn't still valuable (especially for high cardinality columns that aren't a reasonable candidate as an MDC dimension).
0
9310
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9237
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9184
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6737
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6033
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4551
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4813
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2729
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.