Results 1 to 4 of 4

Thread: Question on registry replication/IceGrid setup

  1. #1
    grembo is offline Registered User
    Name: Michael Gmelin
    Organization: Grem Equity GmbH
    Project: E-Commerce platform
    Join Date
    Jan 2009
    Posts
    85

    Question Question on registry replication/IceGrid setup

    Hi,

    would the following structure be advisable:

    One registry master on a separate host, which is primarily used as an administrative entity (configure services etc.)

    Many slaves, running collocated which icegridnode. Configure locator for each node to be that local registry, so all location requests stay within the node.

    The collocated registries get configuration changes from the master and are only used to lookup (and on-demand start) services.

    The idea is to avoid external lookup calls (network) and make sure, that each node can run its services independently of other hosts in the grid.

    Will this work or do you think this will be a big mess (sessions and service allocation are not required, on-demand startup is).

    Thanks
    Michael

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    What are you trying to achieve here? How clients communicate wit the servers?

    While this might work, each node will still communicate with all the registry replicas. You will need to figure out how to configure the locator proxy for each client. If each node need to be isolated from each other, I would use one registry (master) per node instead... otherwise, I would deploy a master and few replicas for high availability.

    Cheers,
    Benoit.

  3. #3
    grembo is offline Registered User
    Name: Michael Gmelin
    Organization: Grem Equity GmbH
    Project: E-Commerce platform
    Join Date
    Jan 2009
    Posts
    85
    Hi Benoit,

    there are two things we want to achieve:

    a) Central master registry (single point for administration)

    b) Local, read-only replica on each node so that network overhead for
    communication with the registry is minimal

    As a side effect, nodes would also be self-sustaining if the central
    registry should not be available. Nodes will contain their own registry, database and everything (that way the services running on the individual nodes can operate autonomously as long as no other services are involved). Also round trip times for location lookups should be reduced. Locator configuration would be fairly simple todo. This way we could avoid having to maintain a separate registry infrastructure.

    Thanks
    Michael

  4. #4
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi Michael,

    The IceGrid replication wasn't really design for this setup. The current design assumes that all servers hosted by IceGrid nodes might be accessed by clients through any IceGrid registry replica. IceGrid nodes will always try to establish connections to all possible IceGrid replicas so that those replicas can access the server state information of each node.

    That being said, your setup should work. There will be communications between the different IceGrid nodes and replicas but your clients can use the "local" locator registry replica to access the servers deployed with the "local" node and there shouldn't be lookups to other registry replicas. I recommend testing it out to see if it works as you expect.

    Cheers,
    Benoit.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. ICE replication question
    By Vijayalaxmi in forum Help Center
    Replies: 4
    Last Post: 01-13-2011, 05:18 AM
  2. iceGrid/simple demo with replication
    By prettyMan in forum Help Center
    Replies: 8
    Last Post: 06-10-2010, 04:32 PM
  3. IceGrid Replication
    By b33fc0d3 in forum Help Center
    Replies: 2
    Last Post: 07-30-2009, 06:33 PM
  4. Replies: 8
    Last Post: 04-08-2009, 05:49 PM
  5. Problem with replication in IceGrid
    By davidcr1983 in forum Help Center
    Replies: 3
    Last Post: 12-15-2006, 07:02 AM

Tags for this Thread

Posting Permissions

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