473,399 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Clustering support in C#?

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?
Nov 16 '05 #1
3 1778
Could you elaborate a bit more on this?

--
venlig hilsen / with regards
anders borum
--
Nov 16 '05 #2
> 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/de...ion_server.asp


Nov 16 '05 #3
Just add a reference to Msclus.dll to create a interop library and use COM
interop.

Willy.

"Peter Steele" <ps*****@z-force.com> wrote in message
news:ux*************@TK2MSFTNGP10.phx.gbl...
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/de...ion_server.asp

Nov 16 '05 #4

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

Similar topics

1
by: Nico de Groot | last post by:
I have a 2 node Microsoft 2000 cluster with a shared storage device. I want to create automatic failover for MS SQL 2000 server. I can do that wit the following options: 1. Active/Pasive (one...
1
by: willie | last post by:
Hi all: I have a clustering SQL Server on Node1 and Node2, the Node1 has named Instance1 and Node2 has named Instance2, no default instance. We tested it that everthing is OK, then we decide to...
3
by: warwick.poole | last post by:
I am interested in finding out about Enterprise scale Postgres installations and clustering, especially on Linux. Essentially I would like to know the possibility that Postgres can store the...
2
by: Jim Worke | last post by:
Hi list, My boss would like to convert from MySQL to PostgreSQL, but there are a few things that hold us back. We'd like to have the databases in several physical servers, with referential...
11
by: chmmr | last post by:
Hi, I am currently in the process of gathering info/experiences for an incoming Linux DB2 clustering phase we actually know nothing about (since we are doing it for the first time ever), so I...
3
by: dejavue82 | last post by:
Hi, Does anybody know of a software package that allows for several servers, running asp.net 2.0 to be clustered, regardless of where they are located (ie. without a hardware load balancer)....
2
by: Shum | last post by:
Hi! I need help ragarding the k-mean clustering algo. Any one have a source code in c#.. or a dll file that could be used in the project.... I cannot seem to identify the objects that could be...
5
by: Lakesider | last post by:
Hi NG, I have a question about data: I have travel-times from A to B like this from | to | sec. A B 17 A B 18 A B 30 A B 32
3
by: Manish | last post by:
I think this question has been asked number of times. However, I am looking for some specific information. Perhaps some of you can help close the gap. Or perhaps you can point me towards right...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.