Go Back   ZeroC Forums > Comments

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-29-2003
Diego Giraldez Diego Giraldez is offline
Registered User
 
 
Join Date: Apr 2003
Posts: 10
Question Locator

What happens if the Locator Service goes down? Does the other components work?
Reply With Quote
  #2 (permalink)  
Old 04-29-2003
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 962
Re: Locator

Hi Diego,

Welcome to the forum!

Quote:
Originally posted by Diego Giraldez
What happens if the Locator Service goes down? Does the other components work?
From the client's perspective, any proxies that were created before the locator went down will continue to work. Attempting to create new indirect proxies while the locator is down will cause an exception.

Does that answer your question?

- Mark
Reply With Quote
  #3 (permalink)  
Old 04-29-2003
Diego Giraldez Diego Giraldez is offline
Registered User
 
 
Join Date: Apr 2003
Posts: 10
Arrow

Is it posible to have two Locators working on different machines? In that way, if one of them goes down, the other can continue giving service, so you can get high availability.

Best regards. Diego.
Reply With Quote
  #4 (permalink)  
Old 04-29-2003
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 962
Quote:
Originally posted by Diego Giraldez
Is it posible to have two Locators working on different machines? In that way, if one of them goes down, the other can continue giving service, so you can get high availability.
Yes, you can configure your applications with a locator proxy that contains multiple endpoints. If one of the endpoints is unreachable, the Ice runtime will automatically try the others. Furthermore, the Ice runtime randomizes the order of endpoints in each proxy it creates, to provide a simple form of load balancing.

- Mark
Reply With Quote
  #5 (permalink)  
Old 05-09-2003
Diego Giraldez Diego Giraldez is offline
Registered User
 
 
Join Date: Apr 2003
Posts: 10
This is great !!!
What about the servers? Do they register automatically with all the locators just defining multiple endpoints in the property Ice.Default.Locator ?
Reply With Quote
  #6 (permalink)  
Old 05-09-2003
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 962
Quote:
Originally posted by Diego Giraldez
This is great !!!
What about the servers? Do they register automatically with all the locators just defining multiple endpoints in the property Ice.Default.Locator ?
No. If the server's proxy for the locator contains multiple endpoints, it will behave just like any other proxy: the registration request will be sent to one of the endpoints. You would need to take additional steps to register your servers in each locator.
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
locator mwilson Help Center 2 12-05-2006 08:02 PM
Servant Locator implementation mwilson Help Center 13 12-04-2006 11:29 AM
specifying proxy's locator n2503v Help Center 2 01-31-2006 09:54 PM
IcePack and locator mwilson Help Center 3 09-08-2005 04:49 PM
Ice.Default.Locator xdm Help Center 8 05-31-2005 08:52 AM


All times are GMT -4. The time now is 07:50 PM.


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.