From c05a553ab9f04946cb25e2ea5f4175e2ad3c9420 Mon Sep 17 00:00:00 2001 From: Yuce Tekol Date: Thu, 21 Sep 2017 16:01:32 +0300 Subject: [PATCH 1/2] pull gossip-seed configuration item out of cluster section --- docs/configuration.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 0c63e635a..dbd111408 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -146,8 +146,6 @@ Any flag that has a value that is a comma separated list on the command line bec * Config: ```toml - [cluster] - type = "gossip" gossip-seed = "localhost:11101" ``` From f29b9dd8b020e0a48154f5d12b84017e8cf77cc3 Mon Sep 17 00:00:00 2001 From: Yuce Tekol Date: Thu, 21 Sep 2017 22:40:26 +0300 Subject: [PATCH 2/2] Move data dir and gossip seed sections over the cluster section --- docs/configuration.md | 44 +++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index dbd111408..97d7db938 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -65,6 +65,17 @@ Any flag that has a value that is a comma separated list on the command line bec bind = localhost:10101 ``` +#### Data Dir + +* Description: Directory to store Pilosa data files. +* Flag: `--data-dir="~/.pilosa"` +* Env: `PILOSA_DATA_DIR="~/.pilosa"` +* Config: + + ```toml + data-dir = "~/.pilosa" + ``` + #### Gossip Port * Description: Port to which Pilosa should bind for internal communication. @@ -76,6 +87,17 @@ Any flag that has a value that is a comma separated list on the command line bec gossip-port = 11101 ``` +#### Gossip Seed + +* Description: When using the gossip [Cluster Type]({{< ref "#cluster-type" >}}), this specifies which internal host should be used to initialize membership in the cluster. Typcially this can be the address of any available host in the cluster. For example, when starting a three-node cluster made up of `node0`, `node1`, and `node2`, the `gossip-seed` for all three nodes can be configured to be the address of `node0`. +* Flag: `--gossip-seed="localhost:11101"` +* Env: `PILOSA_GOSSIP_SEED="localhost:11101"` +* Config: + + ```toml + gossip-seed = "localhost:11101" + ``` + #### Cluster Hosts * Description: List of hosts in the cluster. Multiple hosts should be comma separated in the flag and env forms. @@ -127,28 +149,6 @@ Any flag that has a value that is a comma separated list on the command line bec type = "gossip" ``` -#### Data Dir - -* Description: Directory to store Pilosa data files. -* Flag: `--data-dir="~/.pilosa"` -* Env: `PILOSA_DATA_DIR="~/.pilosa"` -* Config: - - ```toml - data-dir = "~/.pilosa" - ``` - -#### Gossip Seed - -* Description: When using the gossip [Cluster Type]({{< ref "#cluster-type" >}}), this specifies which internal host should be used to initialize membership in the cluster. Typcially this can be the address of any available host in the cluster. For example, when starting a three-node cluster made up of `node0`, `node1`, and `node2`, the `gossip-seed` for all three nodes can be configured to be the address of `node0`. -* Flag: `--gossip-seed="localhost:11101"` -* Env: `PILOSA_GOSSIP_SEED="localhost:11101"` -* Config: - - ```toml - gossip-seed = "localhost:11101" - ``` - #### Profile CPU * Description: If this is set to a path, collect a cpu profile and store it there.