Hi,
We did a prototype with the community version. Now we want to switch to the
enterprise version so that we oculd build a 3-server cluster, and want to
ask a few questions:
We are using Neo4j in embedded mode, we were advised to use the class
CommunityNeoServer class to start the Neo4j server. This works fine if I
have this in my pom.xml:
<dependency>
<groupId>org.neo4j.app</groupId>
<artifactId>neo4j-server</artifactId>
<version>2.1.0-M01</version>
</dependency>
However, with the enterprise version (2.0.3), I don't see any server class
that is close to the above Java class that I could use to start the server.
The only related class is the HighlyAvailableGraphDatabaseFactory. I am
wonder whether I should use this class and the old way to start the Neo4j
server. Could you please give us some pointer on this?
It seems that there is a change to the interface for starting servers,
i.e., CommunityNeoServer vs GraphDatabaseFactory, that's why I am a little
bit confused.
The second question is if I set ha.initial_hosts with 3 machines and do not
set ha.cluster_server (for heartbeat/etc), would Neo4j pick one of those 3
machines as a default? By machines, I mean ip:port. Similarly if I don't
set ha.server, would Neo4j pick one of the machines? The reason I tend not
to set these values is because I only know some of the machines are up, but
not all of them and so I really don't know which machine to set to.
Thanks in advance.
Rick
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.