PC Review


Reply
Thread Tools Rate Thread

Windows service on a cluster

 
 
ThunderMusic
Guest
Posts: n/a
 
      11th Aug 2006
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 asked
me to get the information because I'm the one who usually develop Windows
Services here, so...)

thanks

ThunderMusic


 
Reply With Quote
 
 
 
 
ThunderMusic
Guest
Posts: n/a
 
      11th Aug 2006
ok, I found, after more searches, that any windows service can be setup on a
cluster, but I'm not sure I understand all the details (when their are any
details attached)... does it mean that if the service uses only shared
resources (so it's state can be rebuild anytime) if a server fails, another
one will take the relay and it will be seemless to the user, is that it?

What we would like to do is run the service (automaticaly on windows start)
on one of our server and when this server fails, the other server starts the
service and take the relay... is it a behavior that can be achieved with a
standard Windows Service configured in a cluster? (as I said, I'm don't know
much about clusters)

thanks a lot

ThunderMusic

"ThunderMusic" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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 asked me to get the information because I'm the one who usually
> develop Windows Services here, so...)
>
> thanks
>
> ThunderMusic
>



 
Reply With Quote
 
 
 
 
Mike Lowery
Guest
Posts: n/a
 
      11th Aug 2006
When I played around with clustering I discovered that you can specify a
"generic service" and the cluster will restart that service on another server if
the primary goes down. A true cluster-aware service would allow for more than
just this, however. For example, it would pick up directly where the other
service left off, not just restart itself.

"ThunderMusic" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> ok, I found, after more searches, that any windows service can be setup on a
> cluster, but I'm not sure I understand all the details (when their are any
> details attached)... does it mean that if the service uses only shared
> resources (so it's state can be rebuild anytime) if a server fails, another
> one will take the relay and it will be seemless to the user, is that it?
>
> What we would like to do is run the service (automaticaly on windows start) on
> one of our server and when this server fails, the other server starts the
> service and take the relay... is it a behavior that can be achieved with a
> standard Windows Service configured in a cluster? (as I said, I'm don't know
> much about clusters)
>
> thanks a lot
>
> ThunderMusic
>
> "ThunderMusic" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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 asked me to get
>> the information because I'm the one who usually develop Windows Services
>> here, so...)
>>
>> thanks
>>
>> ThunderMusic
>>

>
>



 
Reply With Quote
 
ThunderMusic
Guest
Posts: n/a
 
      11th Aug 2006
Excellent... thanks a lot, that answers my question...

"Mike Lowery" <(E-Mail Removed)> wrote in message
news:Oqwn%(E-Mail Removed)...
> When I played around with clustering I discovered that you can specify a
> "generic service" and the cluster will restart that service on another
> server if the primary goes down. A true cluster-aware service would allow
> for more than just this, however. For example, it would pick up directly
> where the other service left off, not just restart itself.
>
> "ThunderMusic" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> ok, I found, after more searches, that any windows service can be setup
>> on a cluster, but I'm not sure I understand all the details (when their
>> are any details attached)... does it mean that if the service uses only
>> shared resources (so it's state can be rebuild anytime) if a server
>> fails, another one will take the relay and it will be seemless to the
>> user, is that it?
>>
>> What we would like to do is run the service (automaticaly on windows
>> start) on one of our server and when this server fails, the other server
>> starts the service and take the relay... is it a behavior that can be
>> achieved with a standard Windows Service configured in a cluster? (as I
>> said, I'm don't know much about clusters)
>>
>> thanks a lot
>>
>> ThunderMusic
>>
>> "ThunderMusic" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> 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 asked me to get the information because I'm the one
>>> who usually develop Windows Services here, so...)
>>>
>>> thanks
>>>
>>> ThunderMusic
>>>

>>
>>

>
>



 
Reply With Quote
 
Willy Denoyette [MVP]
Guest
Posts: n/a
 
      22nd Aug 2006
Such clusters are not Windows failover clusters, Windows clustering is
simply a resource failover technology, no application state is save at all,
and it's very hard if not impossible to do in user space code. What you can
do is keep track of of application state and maintain restore points in code
and restart at a restore point when failover occurs, this is something SQL
Server does in a MS Cluster, but here using transaction roll back, but even
then in a client server configuration you must pay attention at the client
side, a client needs to reconnect and restart the transaction when the
resource has failed over to another node.
Compare this to Tandem (now HP) Non Stop, which offers a true cluster
technology which allowes you to pick up at the point of failure and continue
processing on another node, true this is not a "poor man" cluster after
all..

Willy.




"Mike Lowery" <(E-Mail Removed)> wrote in message
news:Oqwn%(E-Mail Removed)...
| When I played around with clustering I discovered that you can specify a
| "generic service" and the cluster will restart that service on another
server if
| the primary goes down. A true cluster-aware service would allow for more
than
| just this, however. For example, it would pick up directly where the
other
| service left off, not just restart itself.
|
| "ThunderMusic" <(E-Mail Removed)> wrote in message
| news:%(E-Mail Removed)...
| > ok, I found, after more searches, that any windows service can be setup
on a
| > cluster, but I'm not sure I understand all the details (when their are
any
| > details attached)... does it mean that if the service uses only shared
| > resources (so it's state can be rebuild anytime) if a server fails,
another
| > one will take the relay and it will be seemless to the user, is that it?
| >
| > What we would like to do is run the service (automaticaly on windows
start) on
| > one of our server and when this server fails, the other server starts
the
| > service and take the relay... is it a behavior that can be achieved
with a
| > standard Windows Service configured in a cluster? (as I said, I'm don't
know
| > much about clusters)
| >
| > thanks a lot
| >
| > ThunderMusic
| >
| > "ThunderMusic" <(E-Mail Removed)> wrote in message
| > news:(E-Mail Removed)...
| >> 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 asked me
to get
| >> the information because I'm the one who usually develop Windows
Services
| >> here, so...)
| >>
| >> thanks
| >>
| >> ThunderMusic
| >>
| >
| >
|
|


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Our high end SQL server cluster is maxed out, how else to expand? Will it help to move tables off of the cluster onto other clusters or will that just create processing bottleneck on the cluster running SQL server? Daniel Microsoft Windows 2000 Advanced Server 0 20th Jul 2007 08:02 PM
The Clustering Service could not join an existing cluster and could not form a new cluster. Roust_m Microsoft Windows 2000 Advanced Server 3 8th Jun 2004 03:07 PM
RE: Help - converting from cluster server to a non cluster Curtis Koenig [MSFT] Microsoft Windows 2000 Advanced Server 0 1st Oct 2003 03:55 PM
Clone NTFS 512 Cluster to a 4K Cluster? Erin Windows XP General 0 12th Aug 2003 11:24 PM
Cluster Server: Cluster name Takes Too Long Time To Failover george Microsoft Windows 2000 Advanced Server 0 31st Jul 2003 07:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:02 PM.