Results 1 to 6 of 6

Thread: Centralized Freeze?

  1. #1
    ngambek2003 is offline Registered User
    Name: Budyanto Himawan
    Organization: WMS Inc.
    Project: Casino back end services
    Join Date
    Sep 2009
    Posts
    87

    Centralized Freeze?

    Hi,

    Can Freeze be centralized?
    If I have 2 nodes on two different machines running the same service, can they point to the same db? Or better yet, can the db be replicated using IceGrid somehow?

    What I'm thinking is for failover, for example, I'd like to be able to failover to another node and have all the state in the db up to date.

    Thanks
    Budyanto

  2. #2
    dwayne's Avatar
    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
    397
    The IceGrid Freeze database cannot be centralized but IceGrid does support registry replication. You should take a look at the Registry Replication section of the Ice manual and the IceGrid replication demo that you can find in the Ice source or demos distribution.
    Dwayne Boone

  3. #3
    ngambek2003 is offline Registered User
    Name: Budyanto Himawan
    Organization: WMS Inc.
    Project: Casino back end services
    Join Date
    Sep 2009
    Posts
    87
    So how is IceGrid replication done? It uses Freeze too right? Is it something that's not exposed as part of the ICE public feature?

    I'm wondering if there's a plan to support centralized Freeze database or replication in the future. I would think this is something that would be very useful.

    Thanks
    Budyanto

  4. #4
    dwayne's Avatar
    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
    397
    There are a couple of newsletter articles on the topic of IceGrid registry replication and replication in general that might interest you. There is the "IceGrid Replication" article in issue 21 and the "Master-Slave Replication with Ice" article in issue 24.
    Dwayne Boone

  5. #5
    Maxim Pudovkin is offline Registered User
    Name: Max Pudovkin
    Organization: Tver State Technic University
    Project: distributed workflow automation system
    Join Date
    May 2011
    Posts
    5
    Hi,

    So it's may be reasonable to use Berkley Db directly to provide centralised db access across multiple processes without ice freeze ?

  6. #6
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Maxim,

    Welcome to our forums!

    Yes, if you develop directly with Berkeley DB, you could use the same DB environment from several processes on the same computer. This would be unrelated to Ice & Freeze.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 09-02-2010, 12:11 PM
  2. Freeze::ConnectionPtr from Freeze::Map Obj
    By paolo in forum Comments
    Replies: 1
    Last Post: 01-05-2008, 05:02 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
  •