Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-18-2005
mcrystal mcrystal is offline
Registered User
 
Name: Mayer Crystal
Organization: Goldman Sachs
Project: N/A
 
Join Date: Feb 2005
Posts: 14
redundancy question

Is there any support to set up redundancy in ice? The situation I would like to set up is to pass in to the code a list of host/port combinations and pass that to the ice runtime so that when a proxy is requested the ice runtime will try all the endpoints before throwing an exception. (i.e. I have multiple redundant services which are running on distinct hosts and I would like the client to try all of them before giving up.)

In a similar vein, is there a way to set up something akin to a cluster of locators so that if indirect binding is used and the 'primary' locator service host is down that another locator host will be accessed by the client so that there would not be a single point of failure?


Thanks again,
Mayer
Reply With Quote
  #2 (permalink)  
Old 03-18-2005
dwayne's Avatar
dwayne dwayne is offline
ZeroC Staff
 
Name: Dwayne Boone
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Jan 2005
Location: St. John's, Newfoundland
Posts: 207
Hi,

You can specify multiple endpoints in your proxy. For example:

MyObject:tcp -h host1 -p 10000:tcp -h host2 -p 10000

When an attempt is made to establish a connection using this proxy, Ice will select an random endpoint from those configured. In the event of an error Ice will try each endpoint before reporting failure to connect back to your application.

Regards,
Dwayne
Reply With Quote
  #3 (permalink)  
Old 03-21-2005
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,534
Quote:
Originally Posted by mcrystal
In a similar vein, is there a way to set up something akin to a cluster of locators so that if indirect binding is used and the 'primary' locator service host is down that another locator host will be accessed by the client so that there would not be a single point of failure?
No, it's currently not possible to replicate the locator. If you have a commercial need for this feature, it's certainly something that could be implemented. Please contact us at info@zeroc.com if that's the case!

Benoit.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes 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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
icepack registry redundancy gminorcoles Help Center 3 07-12-2005 05:27 AM


All times are GMT -4. The time now is 06:26 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.