2015-09-21 03:29:51 +00:00
|
|
|
---
|
2020-02-06 23:45:31 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: Frequently Asked Questions
|
|
|
|
sidebar_title: FAQ
|
|
|
|
description: Frequently asked questions and answers for Nomad
|
2015-09-21 03:29:51 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Frequently Asked Questions
|
|
|
|
|
|
|
|
## Q: What is Checkpoint? / Does Nomad call home?
|
|
|
|
|
2016-01-14 03:10:08 +00:00
|
|
|
Nomad makes use of a HashiCorp service called [Checkpoint](https://checkpoint.hashicorp.com)
|
2015-09-21 03:29:51 +00:00
|
|
|
which is used to check for updates and critical security bulletins.
|
|
|
|
Only anonymous information, which cannot be used to identify the user or host, is
|
|
|
|
sent to Checkpoint. An anonymous ID is sent which helps de-duplicate warning messages.
|
2018-07-12 12:45:44 +00:00
|
|
|
This anonymous ID can be disabled. Using the Checkpoint service is optional and can be disabled.
|
2015-09-21 03:29:51 +00:00
|
|
|
|
2020-02-06 23:45:31 +00:00
|
|
|
See [`disable_anonymous_signature`](/docs/configuration#disable_anonymous_signature)
|
|
|
|
and [`disable_update_check`](/docs/configuration#disable_update_check).
|
2015-09-21 03:29:51 +00:00
|
|
|
|
|
|
|
## Q: Is Nomad eventually or strongly consistent?
|
|
|
|
|
2020-02-06 23:45:31 +00:00
|
|
|
Nomad makes use of both a [consensus protocol](/docs/internals/consensus) and
|
|
|
|
a [gossip protocol](/docs/internals/gossip). The consensus protocol is strongly
|
2015-09-21 03:29:51 +00:00
|
|
|
consistent, and is used for all state replication and scheduling. The gossip protocol
|
|
|
|
is used to manage the addresses of servers for automatic clustering and multi-region
|
2016-04-21 20:15:01 +00:00
|
|
|
federation. This means all data that is managed by Nomad is strongly consistent.
|
2018-02-08 17:44:25 +00:00
|
|
|
|
|
|
|
## Q: Is Nomad's `datacenter` parameter the same as Consul's?
|
|
|
|
|
|
|
|
No. For those familiar with Consul, [Consul's notion of a
|
|
|
|
datacenter][consul_dc] is more equivalent to a [Nomad region][nomad_region].
|
|
|
|
Nomad supports grouping nodes into multiple datacenters, which should reflect
|
|
|
|
nodes being colocated, while being managed by a single set of Nomad servers.
|
|
|
|
|
|
|
|
Consul on the other hand does not have this two-tier approach to servers and
|
|
|
|
agents and instead [relies on federation to create larger logical
|
|
|
|
clusters][consul_fed].
|
|
|
|
|
2020-05-19 13:14:17 +00:00
|
|
|
## Q: What is "bootstrapping" a Nomad cluster? ((#bootstrapping))
|
|
|
|
|
|
|
|
Bootstrapping is the process when a Nomad cluster elects its first leader
|
|
|
|
and writes the initial cluster state to that leader's state store. Bootstrapping
|
|
|
|
will not occur until at least a given number of servers, defined by
|
|
|
|
[`bootstrap_expect`], have connected to each other. Once this process has
|
|
|
|
completed, the cluster is said to be bootstrapped and is ready to use.
|
|
|
|
|
|
|
|
Certain configuration options are only used to influence the creation of the
|
|
|
|
initial cluster state during bootstrapping and are not consulted again so long
|
|
|
|
as the state data remains intact. These typically are values that must be
|
|
|
|
consistent across server members. For example, the [`default_scheduler_config`]
|
|
|
|
option allows an operator to set the SchedulerConfig to non-default values
|
|
|
|
during this bootstrap process rather than requiring an immediate call to the API
|
|
|
|
once the cluster is up and running.
|
|
|
|
|
|
|
|
If the state is completely destroyed, whether intentionally or accidentally, on
|
|
|
|
all of the Nomad servers in the same outage, the cluster will re-bootstrap based
|
|
|
|
on the Nomad defaults and any configuration present that impacts the bootstrap
|
|
|
|
process.
|
|
|
|
|
2020-09-29 16:48:32 +00:00
|
|
|
[consul_dc]: https://www.consul.io/docs/agent/options#_datacenter
|
|
|
|
[consul_fed]: https://learn.hashicorp.com/tutorials/consul/federarion-gossip-wan
|
2020-02-06 23:45:31 +00:00
|
|
|
[nomad_region]: /docs/configuration#datacenter
|
2020-05-19 13:14:17 +00:00
|
|
|
[`bootstrap_expect`]: /docs/configuration/server#bootstrap_expect
|
|
|
|
[`default_scheduler_config`]: /docs/configuration/server#default_scheduler_config
|