Pere,
to start with, you could try a clean setup with 3 virtual machines
from https://github.com/neo4j/server/tree/master/tools/ha-ops and see
if that works? Then, we can look at the server setup and see what is
needed to be better in the docs :)

Cheers,

/peter neubauer

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://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Thu, Mar 17, 2011 at 12:18 PM, Pere Urbon Bayes <[email protected]> wrote:
> Hi!
>  I was trying to configure a simple HA cluster using the last milestone
> release, I'm trying to use the neo4j server as told
> http://docs.neo4j.org/chunked/snapshot/server-ha.html , but I'm getting a
> few problems.
>
> I followed the configuration commands from
> http://docs.neo4j.org/chunked/snapshot/server.html and
> http://docs.neo4j.org/chunked/snapshot/ha.html but I could not get no thing
> working.
>
> NFO   | jvm 1    | 2011/03/17 11:43:01 | 23 [WrapperSimpleAppMain] INFO
> org.apache.zookeeper.ZooKeeper  - Initiating client connection,
> connectString=172.16.2.93:2181,172.16.2.94:2181,172.16.2.89:2181sessionTimeout=5000
> watcher=org.neo4j.kernel.ha.zookeeper.ZooClient@67d95492
> INFO   | jvm 1    | 2011/03/17 11:43:01 | 37
> [WrapperSimpleAppMain-SendThread()] INFO org.apache.zookeeper.ClientCnxn  -
> Opening socket connection to server /172.16.2.94:2181
> INFO   | jvm 1    | 2011/03/17 11:43:01 | 252
> [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Socket connection established to
> graph-server03.local/172.16.2.94:2181, initiating session
> INFO   | jvm 1    | 2011/03/17 11:43:01 | 255
> [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Unable to read additional data from
> server sessionid 0x0, likely server has closed socket, closing socket
> connection and attempting reconnect
> INFO   | jvm 1    | 2011/03/17 11:43:02 | 1177
> [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Opening socket connection to server /
> 172.16.2.89:2181
> INFO   | jvm 1    | 2011/03/17 11:43:02 | 1179
> [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Socket connection established to
> 172.16.2.89/172.16.2.89:2181, initiating session
> INFO   | jvm 1    | 2011/03/17 11:43:02 | 1180
> [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Unable to read additional data from
> server sessionid 0x0, likely server has closed socket, closing socket
> connection and attempting reconnect
> INFO   | jvm 1    | 2011/03/17 11:43:02 | 1481
> [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Opening socket connection to server /
> 172.16.2.93:2181
> INFO   | jvm 1    | 2011/03/17 11:43:03 | 1684
> [WrapperSimpleAppMain-SendThread(graph-server01.local:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Socket connection established to
> graph-server01.local/172.16.2.93:2181, initiating session
> INFO   | jvm 1    | 2011/03/17 11:43:03 | 1684
> [WrapperSimpleAppMain-SendThread(graph-server01.local:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Unable to read additional data from
> server sessionid 0x0, likely server has closed socket, closing socket
> connection and attempting reconnect
> INFO   | jvm 1    | 2011/03/17 11:43:03 | 2020
> [WrapperSimpleAppMain-SendThread(graph-server01.local:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Opening socket connection to server
> graph-server03.local/172.16.2.94:2181
> INFO   | jvm 1    | 2011/03/17 11:43:03 | 2021
> [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Socket connection established to
> graph-server03.local/172.16.2.94:2181, initiating session
> INFO   | jvm 1    | 2011/03/17 11:43:03 | 2022
> [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Unable to read additional data from
> server sessionid 0x0, likely server has closed socket, closing socket
> connection and attempting reconnect
> INFO   | jvm 1    | 2011/03/17 11:43:04 | 2941
> [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Opening socket connection to server
> 172.16.2.89/172.16.2.89:2181
> INFO   | jvm 1    | 2011/03/17 11:43:04 | 2942
> [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Socket connection established to
> 172.16.2.89/172.16.2.89:2181, initiating session
> INFO   | jvm 1    | 2011/03/17 11:43:04 | 2943
> [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Unable to read additional data from
> server sessionid 0x0, likely server has closed socket, closing socket
> connection and attempting reconnect
> INFO   | jvm 1    | 2011/03/17 11:43:04 | 3450
> [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Opening socket connection to server
> graph-server01.local/172.16.2.93:2181
> INFO   | jvm 1    | 2011/03/17 11:43:04 | 3450
> [WrapperSimpleAppMain-SendThread(graph-server01.local:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Socket connection established to
> graph-server01.local/172.16.2.93:2181, initiating session
> INFO   | jvm 1    | 2011/03/17 11:43:04 | 3450
> [WrapperSimpleAppMain-SendThread(graph-server01.local:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Unable to read additional data from
> server sessionid 0x0, likely server has closed socket, closing socket
> connection and attempting reconnect
> INFO   | jvm 1    | 2011/03/17 11:43:05 | 3577
> [WrapperSimpleAppMain-SendThread(graph-server01.local:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Opening socket connection to server
> graph-server03.local/172.16.2.94:2181
> INFO   | jvm 1    | 2011/03/17 11:43:05 | 3577
> [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Socket connection established to
> graph-server03.local/172.16.2.94:2181, initiating session
> INFO   | jvm 1    | 2011/03/17 11:43:05 | 3578
> [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Unable to read additional data from
> server sessionid 0x0, likely server has closed socket, closing socket
> connection and attempting reconnect
> INFO   | jvm 1    | 2011/03/17 11:43:06 | 4524
> [WrapperSimpleAppMain-SendThread(graph-server03.local:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Opening socket connection to server
> 172.16.2.89/172.16.2.89:2181
> INFO   | jvm 1    | 2011/03/17 11:43:06 | 4525
> [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Socket connection established to
> 172.16.2.89/172.16.2.89:2181, initiating session
> INFO   | jvm 1    | 2011/03/17 11:43:06 | 4526
> [WrapperSimpleAppMain-SendThread(172.16.2.89:2181)] INFO
> org.apache.zookeeper.ClientCnxn  - Unable to read additional data from
> server sessionid 0x0, likely server has closed socket, closing socket
> connection and attempting reconnect
> INFO   | jvm 1    | 2011/03/17 11:43:06 |
> org.neo4j.kernel.ha.zookeeper.ZooKeeperTimedOutException: Connection to
> ZooKeeper server timed out, keeper state=Disconnected
>
>
> As I could guess from neo4j.logs, and using the Zookeeper client I don't
> know why but seems that it can not connect to the zookeeper server, also if
> I test it using telnet [ip] [port] I could connect right.
>
> Any idea of what to test to find the problem?
>
> Regards,
>
> Pere
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to