0 Replies Latest reply on Jan 13, 2004 3:56 AM by Yaron Rosenbaum

    Master/Slave instances

    Yaron Rosenbaum Newbie


      I would like to be able to configure a service as master/slave in a partition.
      The reason is that the master instance has a huge memory signature (1.5 gig), and I don't want to replicate it.
      I have a smart way of serializing snapshots of the state and storing them in a database.
      When the node fails, I want the Slave to be 'activated'.
      Let's say that I have a class that implements the following interface:
      public void setMasterNode();
      public void setSlaveNode();

      Limitations - only ONE node can be active in a partition.
      setSlaveNode must be called immediately when the node that is currently Master has crashed.

      Live long and prosper,