neo4j如何配置HA的主从设备?

时间:2018-02-07 09:00:26

标签: neo4j high-availability

我正在尝试在同一台计算机上添加HA,如本文所示:

http://aws-labs.com/neo4j-high-availability-setup-tutorial/

(“备选设置:创建用于测试的本地群集”)

当我开始仅打开所有位置时:7474打开。

:7475和:7476告诉我“此网站无法访问”。

所有配置文件如下所示:

 # Name of the service
 dbms.windows_service_name=neo4j
 # With default configuration Neo4j only accepts local connections.
 # To accept non-local connections, uncomment this line:
 dbms.connectors.default_listen_address=0.0.0.0
 # Reduce the default page cache memory allocation
 dbms.pagecache.memory=500m
 # Port to listen to for incoming backup requests.
 online_backup_server = 10.234.10.94:6366
 # Unique server id for this Neo4j instance
 # can not be negative id and must be unique
 ha.server_id = 1
 # List of other known instances in this cluster
 ha.initial_hosts = 10.234.10.94:5001,10.234.10.94:5002,10.234.10.94:5003
 # IP and port for this instance to bind to for communicating cluster 
 information
 # with the other neo4j instances in the cluster.
 ha.cluster_server = 10.234.10.94:5001
 # IP and port for this instance to bind to for communicating data with the
 # other neo4j instances in the cluster.
 ha.server = 10.234.10.94:6363
 # HA - High Availability
 # SINGLE - Single mode, default.
 org.neo4j.server.database.mode=HA
 # http port (for all data, administrative, and UI access)
 dbms.connector.http.enabled=true
 org.neo4j.server.webserver.port=7474
 # https port (for all data, administrative, and UI access)
 dbms.connector.https.enabled=true
 org.neo4j.server.webserver.https.port=7484

我应该如何配置主人?

0 个答案:

没有答案