Hi Peter, Yes, this helped indeed, it works perfect. Thanks!
Do you have any advices about how to keep the slave as up to date as possible with the master? I mean I need as often updates to the slaves as possible without impacting too much masters' performance. Thanks, George -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Peter Neubauer Sent: 29 July 2010 08:47 To: Neo4j user discussions Subject: Re: [Neo4j] Unable to build a master-slave system George, I think you should switch to neo4j-kernel 1.1-SNAPSHOT and online-backup 0.6-SNAPSHOT. You can find an example test at https://svn.neo4j.org/components/online-backup/trunk/src/test/java/org/neo4j/onlinebackup/MultiRunningTest.java , backing up a master database to a backup in another directory (you can to a number of them of course) Does that help? Cheers, /peter neubauer COO and Sales, Neo Technology GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Wed, Jul 28, 2010 at 4:55 PM, George Ciubotaru <[email protected]> wrote: > Hello, > > I'm trying to build a high availability system with neo4j as explained here: > http://wiki.neo4j.org/content/Online_Backup_HA. In theory everything looks > pretty simple and straightforward... but once I try to run the slave process > I'm getting the following exception: > > Throwing away org.neo4j.onlinebackup.net.connecttomaster...@1f1fba0 > java.nio.channels.NotYetConnectedException > at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(Unknown Source) > at sun.nio.ch.SocketChannelImpl.write(Unknown Source) > at > org.neo4j.onlinebackup.net.Connection.write(Connection.java:238) > at > org.neo4j.onlinebackup.net.ConnectToMasterJob.sendGreeting(ConnectToMa > sterJob.java:55) > at > org.neo4j.onlinebackup.net.ConnectToMasterJob.performJob(ConnectToMast > erJob.java:141) > at org.neo4j.onlinebackup.net.JobEater.run(JobEater.java:32) > > ... followed by this exception on master side: > > Connection closed Connection[slave_ip_address:11587] > org.neo4j.onlinebackup.net.SocketException: > Connection[slave_ip_address:11587] error reading Throwing away > org.neo4j.onlinebackup.net.handleincommingslave...@fd13b5 > at > org.neo4j.onlinebackup.net.Connection.read(Connection.java:210) > at > org.neo4j.onlinebackup.net.HandleIncommingSlaveJob.getGreeting(HandleI > ncommingSlaveJob.java:41) > at > org.neo4j.onlinebackup.net.HandleIncommingSlaveJob.performJob(HandleIn > commingSlaveJob.java:160) > at org.neo4j.onlinebackup.net.JobEater.run(JobEater.java:93) > Caused by: java.nio.channels.ClosedChannelException > at sun.nio.ch.SocketChannelImpl.ensureReadOpen(Unknown Source) > at sun.nio.ch.SocketChannelImpl.read(Unknown Source) > at > org.neo4j.onlinebackup.net.Connection.read(Connection.java:205) > ... 3 more > null chain job > > Any idea of what might be wrong here? (I'm running everything on > 64-bit Windows (7 or Server 2008 R2), neo4j-kernel 1.0 and > online-backup 0.5) > > Thank you, > George > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

