Results 1 to 6 of 6

Thread: Locator

  1. #1
    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?

  2. #2
    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
    1,441

    Re: Locator

    Hi Diego,

    Welcome to the forum!

    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

  3. #3
    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.

  4. #4
    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
    1,441
    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

  5. #5
    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 ?

  6. #6
    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
    1,441
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Custom Locator
    By oag in forum Help Center
    Replies: 2
    Last Post: 03-28-2010, 10:18 PM
  2. Custom Locator
    By alexnycheung in forum Help Center
    Replies: 1
    Last Post: 05-05-2009, 08:57 AM
  3. Locator error
    By Andrew in forum Help Center
    Replies: 0
    Last Post: 02-03-2009, 06:43 AM
  4. locator
    By mwilson in forum Help Center
    Replies: 2
    Last Post: 12-05-2006, 08:02 PM
  5. specifying proxy's locator
    By n2503v in forum Help Center
    Replies: 2
    Last Post: 01-31-2006, 09:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •