简体   繁体   中英

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.

I would prefer not to setup docker environments or similar just yet.

Any help much appreciated - OS is Ubuntu but would take advice for any OS.

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:

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

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