Re: question about persistence
Dan Creswell <[email protected]>
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <[email protected]> |
John McClain - Sun Microsystems, Inc. wrote: > Suzanne Morelli wrote: >> Hi, >> >> I understand using persistent JavaSpace might help to recover from a >> fault. But if the fault is more severe than just a problem with the >> JavaSpace process, it might not be suffisant; for instance, in the case >> where the machine hosting the JavaSpace crashes totally. In that case, >> I'd like to restart the JavaSpace, but somewhere else, using the log of >> the crashed machine... >> Is it possible to indicate a persitenceDirectory that is not local? > > There are two things to worry about. One is can the new incarnation of > the space recover the state from the old incarnation, the second is can > clients talk to the new incarnation? > [snip] > One way to address both problems (storage and addressing) is to use some > sort of clustering solution (e.g. Sun Cluster, I think there are similar > clustering solution for other operating systems) where you run machines > in pairs with shared disks. Outrigger runs on one machine, if that > machine crashes the second machines automatically takes control over the > disks, takes the first machine's IP address, and restarts Outrigger. (I > think Dan Creswell had a talk at the 7th Jini Community Meeting about > doing this sort of thing with Blitz (on Linux?), but if memory serves > what he did should work with any restartable service (including > Outrigger)). > Yeah, it should work with Outrigger and most other services as well. The title was: A Blueprint for Constructing Resilient Stateful Jini Services Dan. =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff JAVASPACES-USERS". For general help, send email to [email protected] and include in the body of the message "help". To view past JAVASPACES-USERS postings, please see: http://archives.java.sun.com/archives/javaspaces-users.html