mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-10 12:57:54 +00:00
Move data dir and gossip seed sections over the cluster section
This commit is contained in:
parent
c05a553ab9
commit
f29b9dd8b0
1 changed files with 22 additions and 22 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue