Discussion:
[arangodb-google] Arangodb Cluster with 2 nodes
k***@gmail.com
2018-06-21 16:05:03 UTC
Permalink
Hi Team,

I want to create Arangodb cluster with 2 nodes ( 2 dbserver, 2 coordinator
and 2 agents etc) .
and we want to automate this process using ansible script , but the
challenge what i'm facing is that its creating independent arangodb node
and they are not joining to each other

ssh *c11 *"arangodb --starter.data-dir=db > db.log &"
ssh *c12 *"arangodb --starter.data-dir=db --starter.join *c11*:8528 >
db.log &"


could you please help here
--
You received this message because you are subscribed to the Google Groups "ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arangodb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
k***@gmail.com
2018-06-22 11:00:10 UTC
Permalink
Thanks Om for your reply , Now i want to automate this deployment using
ansible script or shell script .
Challenge that i'm facing here is when i try to run these cmds in ansible
script its not forming the cluster its just running independent arangodb.
Join cluster is not happening through ansible.

Kindly help
Hi,
It is impossible to deploy an *ArangoDB Cluster* with only 2 nodes, you
- 1 Agent
- 1 Coordinator
- 1 DBserver
(*so you will have 3 Agents that form the Agency, 3 Coordinators and 3
DBservers)*
You can easily deploy an *ArangoDB Cluster* using the *Starter *using the
following commands
*node1: *arangodb --starter.data-dir=db1 --starter.join *your host
address *
*node2: *arangodb --starter.data-dir=db2 --starter.join *your host
address *
*node3: *arangodb --starter.data-dir=db3 --starter.join *your host
address *
Please make sure to use a different directory for each node
https://docs.arangodb.com/devel/Manual/Programs/Starter/Options.html
https://docs.arangodb.com/devel/Manual/Scalability/Cluster/Architecture.html
Best,
--
You received this message because you are subscribed to the Google Groups "ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arangodb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...