Consul vs Nomad Leader/Server

109 views
Skip to first unread message

Mike

unread,
Jun 27, 2016, 11:34:59 PM6/27/16
to Nomad
Consul and Nomad share the same Leaser/Server concept. 
  • Does it make more sense to enforce Nomad Leader and Consul Leader/Server to stay the same in a given cluster? 
  • If so and given they are two independent processes how do we do so?
Thanks,
Mike

Alex Dadgar

unread,
Jun 28, 2016, 12:31:32 AM6/28/16
to Mike, Nomad
Hey Mike,

You do not need to take any steps to ensure the same machine is leader in Nomad and Consul. Each are self maintaining.

Further depending on the size of your cluster and usage they should be on separate machines.

Thanks,
Alex
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/nomad/issues
IRC: #nomad-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Nomad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomad-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/3eacd275-5bcb-4ea2-af13-f35e7cc25cf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mike

unread,
Jun 28, 2016, 4:59:08 AM6/28/16
to Nomad
Thanks Alex but would you please elaborate more on how is this the case? It seems that allocating say 5 nodes per cluster per region per nomad and consul are too many management nodes. At what scale is this required? 

Why not combining the two into a single system?

Alex Dadgar

unread,
Jun 28, 2016, 12:10:40 PM6/28/16
to Mike, Nomad
Hey Mike,

It would most likely be 6 machines, 3 for Nomad, 3 for Consul. The number of Consul and Nomad deployments will be different however. A single Nomad region could capture several Consul Datacenters.

It is hard to give you a number as it depends on how you use Nomad and Consul. If you heavily rely on the K/V store or you are constantly launching a large amount of batch jobs for example there will be a larger load.

Mainly you want to make sure that there is sufficient CPU, Memory, Disk and IO performance on the server nodes.

Thanks,
Alex 

Reply all
Reply to author
Forward
0 new messages