简体   繁体   English

如何在arangodb中制作Cluster?

[英]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: 您好我使用的是arangodb版本3.1.11,我的问题是如何在arangodb 3.1.11中创建集群,在这里我每当通过添加这两个来启用集群模式时就对/etc/arangodb/arangod.conf进行了一些更改配置文件中的以下行:

[cluster] [簇]

disable-dispatcher-kickstarter = no disable-dispatcher-kickstarter =否

disable-dispatcher-frontend = no disable-dispatcher-frontend =否

after adding these lines my arangodb service is not restarted so what is the solution please help me. 添加这些行后,我的arangodb服务没有重新启动,所以解决方案是什么,请帮助我。

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. 当前不使用DC / OS启动arangodb群集的推荐方法是使用ArangoDBStarter ,它会自动处理所有这些参数。

You run ArangoDBStarter on the primary node first. 您首先在主节点上运行ArangoDBStarter。 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. 您指定将要使用的IP,然后在所有其他节点上告诉这些主机上的实例主要主机拥有的IP-它会输出从属命令,因此您只需剪切'n'粘贴它们即可。

If you try a sample setup on a single machine you can invoke ArangoDBStarter multiple times there (At least 3 times in total). 如果您尝试在一台计算机上进行样本设置,则可以在那里多次调用ArangoDBStarter(总共至少3次)。

It should get you up and running without any troubles. 它应该可以使您正常运行并且没有任何麻烦。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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