Solved

WCF Windows Services Failover Strategy

Posted on 2012-12-28
3
935 Views
Last Modified: 2013-01-16
I need to device a Failover mechanism for the following scenario.

 I have a WCF windows service (An auto-start producer service whose method returns values every 15 seconds) which would be having 4 instances (Geo Location "A" would have a Primary (PA) and Secondary (SA) and Geo Location "B" would have two instances Primary (PB) and Secondary (SB) ). At any given time, one instance in each location should be up and running( i.e. Active) and the other is Inactive.

Considering one location at a time, Secondary(Inactive) should be able to PING the Primary (Active) for health info. and if its not found to be "healthy", then the Secondary(Inactive) should activate itself and start producing the values periodically.

I would appreciate your expert opinions on how to achieve the same. What is the best way to communicate between the two WCF Windows Services?

Regards!
0
Comment
Question by:InquisitiveMind
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 18

Expert Comment

by:DarrenD
ID: 38736190
Hi,

You could look at Routing. http://msdn.microsoft.com/en-us/library/ee517422.aspx

Might be handy instead of pinging servers. See the Error Handling section.

Cheers,

Darren
0
 

Author Comment

by:InquisitiveMind
ID: 38738466
Hi Darren,

Thanks for the reply, but I've to use the application way of checking if the primary service IsAlive or not. Any ideas on this approach?
0
 
LVL 18

Accepted Solution

by:
DarrenD earned 500 total points
ID: 38739396
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question