简体   繁体   中英

How to make Cluster in arangodb?

Hello I'm using arangodb version 3.1.11, my question is that how to make a cluster in arangodb 3.1.11 here I've done some changes in /etc/arangodb/arangod.conf whenever i enable cluster mode by adding these two line in configuration file which is given below:

[cluster]

disable-dispatcher-kickstarter = no

disable-dispatcher-frontend = no

after adding these lines my arangodb service is not restarted so what is the solution please help me.

The currently recommendet way to start an arangodb cluster without DC/OS is to use the ArangoDBStarter , which does automatically take care of all those parameters.

You run ArangoDBStarter on the primary node first. You specify the IP its going to be available at.Then on all other nodes telling the instances on those hosts which IP the primary host has - it will output the slave commands so you just need to cut'n'paste them.

If you try a sample setup on a single machine you can invoke ArangoDBStarter multiple times there (At least 3 times in total).

It should get you up and running without any troubles.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM