简体   繁体   English

同一台服务器上的多个ArangoDB实例

[英]Multiple instances of ArangoDB on same server

Having looked through the docs and come up empty, I was hoping someone could help me. 浏览了文档之后,我变得空虚,我希望有人可以帮助我。

I would like to run two copies (same version) of Arango on the same machine - one for live, one for test, on different ports. 我想在同一台计算机上运行Arango的两个副本(相同版本)-一个用于实时运行,一个用于测试,在不同的端口上。

I would prefer not to setup docker environments or similar just yet. 我宁愿暂时不设置docker环境或类似环境。

Any help much appreciated - OS is Ubuntu but would take advice for any OS. 非常感谢任何帮助-操作系统是Ubuntu,但会针对任何操作系统提供建议。

Looking at the documentation here: ArangoDB Docs it looks like it should be as simple as specifying the database directory and the port for the second service: So you would create a configuration file and make sure it has: 在这里查看文档ArangoDB Docs ,看起来就像指定第二个服务的数据库目录和端口一样简单:因此,您将创建一个配置文件并确保它具有:

server.endpoint: What IP address and port to bind to
log parameters: If and where to log
database.directory: Path the database files are stored in

Then start it like this: arangod --configuration myconfigfile 然后像这样启动它:arangod --configuration myconfigfile

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

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