Skip to content

Commit

Permalink
Merge branch 'master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderson authored Oct 14, 2022
2 parents b99aa37 + 5a1c70e commit 496018d
Show file tree
Hide file tree
Showing 10 changed files with 305 additions and 254 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ aliases:

### Global options

#### `reporting-disabled`
#### reporting-disabled

Default is `false`.

Expand All @@ -37,14 +37,14 @@ To disable reporting, set this option to `true`.

> **Note:** No data from user databases are ever transmitted.
#### `bind-address`
#### bind-address

Default is `""`.

This setting is not intended for use.
It will be removed in future versions.

#### `hostname`
#### hostname

Default is `""`.

Expand All @@ -56,12 +56,12 @@ Environment variable: `INFLUXDB_HOSTNAME`
-----

### Enterprise license settings
#### `[enterprise]`
#### [enterprise]

The `[enterprise]` section contains the parameters for the meta node's
registration with the [InfluxData portal](https://portal.influxdata.com/).

#### `license-key`
#### license-key

Default is `""`.

Expand All @@ -80,7 +80,7 @@ Use the same key for all nodes in the same cluster.
Environment variable: `INFLUXDB_ENTERPRISE_LICENSE_KEY`

#### `license-path`
#### license-path

Default is `""`.

Expand All @@ -104,17 +104,17 @@ Environment variable: `INFLUXDB_ENTERPRISE_LICENSE_PATH`
-----
### Meta node settings

#### `[meta]`
#### [meta]

#### `dir`
#### dir

Default is `"/var/lib/influxdb/meta"`.

The directory where cluster meta data is stored.

Environment variable: `INFLUXDB_META_DIR`

#### `bind-address`
#### bind-address

Default is `":8089"`.

Expand All @@ -124,15 +124,15 @@ but this is not necessary.

Environment variable: `INFLUXDB_META_BIND_ADDRESS`

#### `http-bind-address`
#### http-bind-address

Default is `":8091"`.

The default address to bind the API to.

Environment variable: `INFLUXDB_META_HTTP_BIND_ADDRESS`

#### `https-enabled`
#### https-enabled

Default is `false`.

Expand All @@ -142,7 +142,7 @@ To enable HTTPS, set https-enabled to `true`, specify the path to the SSL certif

Environment variable: `INFLUXDB_META_HTTPS_ENABLED`

#### `https-certificate`
#### https-certificate

Default is `""`.

Expand All @@ -154,7 +154,7 @@ Use either:

Environment variable: `INFLUXDB_META_HTTPS_CERTIFICATE`

#### `https-private-key`
#### https-private-key

Default is `""`.

Expand All @@ -166,7 +166,7 @@ Use either:

Environment variable: `INFLUXDB_META_HTTPS_PRIVATE_KEY`

#### `https-insecure-tls`
#### https-insecure-tls

Default is `false`.

Expand All @@ -175,50 +175,54 @@ This is useful when testing with self-signed certificates.

Environment variable: `INFLUXDB_META_HTTPS_INSECURE_TLS`

#### `data-use-tls`
#### data-use-tls

Default is `false`.

Whether to use TLS to communicate with data nodes.

#### `data-insecure-tls`
Environment variable: `INFLUXDB_META_DATA_USE_TLS`

#### data-insecure-tls

Default is `false`.

Whether meta nodes will skip certificate validation communicating with data nodes over TLS.
This is useful when testing with self-signed certificates.

#### `gossip-frequency`
Environment variable: `INFLUXDB_META_DATA_INSECURE_TLS`

#### gossip-frequency

Default is `"5s"`.

The default frequency with which the node will gossip its known announcements.

#### `announcement-expiration`
#### announcement-expiration

Default is `"30s"`.

The default length of time an announcement is kept before it is considered too old.

#### `retention-autocreate`
#### retention-autocreate

Default is `true`.

Automatically create a default retention policy when creating a database.

#### `election-timeout`
#### election-timeout

Default is `"1s"`.

The amount of time in candidate state without a leader before we attempt an election.

#### `heartbeat-timeout`
#### heartbeat-timeout

Default is `"1s"`.

The amount of time in follower state without a leader before we attempt an election.

#### `leader-lease-timeout`
#### leader-lease-timeout

Default is `"500ms"`.

Expand All @@ -230,7 +234,7 @@ Clusters with high latency between nodes may want to increase this parameter to

Environment variable: `INFLUXDB_META_LEADER_LEASE_TIMEOUT`

#### `commit-timeout`
#### commit-timeout

Default is `"50ms"`.

Expand All @@ -240,15 +244,15 @@ The default setting should work for most systems.

Environment variable: `INFLUXDB_META_COMMIT_TIMEOUT`

#### `consensus-timeout`
#### consensus-timeout

Default is `"30s"`.

Timeout waiting for consensus before getting the latest Raft snapshot.

Environment variable: `INFLUXDB_META_CONSENSUS_TIMEOUT`

#### `cluster-tracing`
#### cluster-tracing

Default is `false`.

Expand All @@ -267,15 +271,15 @@ ts=2021-12-08T02:02:05.522571Z lvl=info msg=weblog log_id=0YHxBEhl001 service=me

Environment variable: `INFLUXDB_META_CLUSTER_TRACING`

#### `logging-enabled`
#### logging-enabled

Default is `true`.

Meta logging toggles the logging of messages from the meta service.

Environment variable: `INFLUXDB_META_LOGGING_ENABLED`

#### `pprof-enabled`
#### pprof-enabled

Default is `true`.

Expand All @@ -284,7 +288,7 @@ To disable, set the value to `false`.

Environment variable: `INFLUXDB_META_PPROF_ENABLED`

#### `lease-duration`
#### lease-duration

Default is `"1m0s"`.

Expand All @@ -300,21 +304,23 @@ For more details about `lease-duration` and its impact on continuous queries, se

Environment variable: `INFLUXDB_META_LEASE_DURATION`

#### `auth-enabled`
#### auth-enabled

Default is `false`.

If true, HTTP endpoints require authentication.
This setting must have the same value as the data nodes' meta.meta-auth-enabled configuration.

#### `ldap-allowed`
Environment variable: `INFLUXDB_META_AUTH_ENABLED`

#### ldap-allowed

Default is `false`.

Whether LDAP is allowed to be set.
If true, you will need to use `influxd ldap set-config` and set enabled=true to use LDAP authentication.

#### `shared-secret`
#### shared-secret

Default is `""`.

Expand All @@ -323,7 +329,7 @@ If you use this setting, set [`auth-enabled`](#auth-enabled) to `true`.

Environment variable: `INFLUXDB_META_SHARED_SECRET`

#### `internal-shared-secret`
#### internal-shared-secret

Default is `""`.

Expand All @@ -336,7 +342,7 @@ To use this option, set [`auth-enabled`](#auth-enabled) to `true`.

Environment variable: `INFLUXDB_META_INTERNAL_SHARED_SECRET`

#### `password-hash`
#### password-hash

Default is `"bcrypt"`.

Expand Down Expand Up @@ -364,7 +370,7 @@ Environment variable: `INFLUXDB_META_PASSWORD_HASH`

Supported password hashing schemes and options:

##### `bcrypt`
##### bcrypt

`bcrypt` is the default hashing scheme.
It is not a FIPS-ready password hashing scheme.
Expand All @@ -378,7 +384,7 @@ It is not a FIPS-ready password hashing scheme.
* Default value: `10`
* Valid range: [`4`, `31`]

##### `pbkdf2-sha256`
##### pbkdf2-sha256

`pbkdf2-sha256` uses the PBKDF2 scheme with SHA-256 as the HMAC function.
It is FIPS-ready according to [NIST Special Publication 800-132] §5.3
Expand All @@ -401,7 +407,7 @@ when used with appropriate `rounds` and `salt_len` options.
* Must be greater than or equal to `16`
for FIPS-readiness according to [NIST Special Publication 800-132] §5.1.

##### `pbkdf2-sha512`
##### pbkdf2-sha512

`pbkdf2-sha512` uses the PBKDF2 scheme with SHA-256 as the HMAC function.
It is FIPS-ready according to [NIST Special Publication 800-132] §5.3
Expand All @@ -424,7 +430,7 @@ when used with appropriate `rounds` and `salt_len` options.
* Must be greater than or equal to `16`
for FIPS-readiness according to [NIST Special Publication 800-132] § 5.1.

#### `ensure-fips`
#### ensure-fips

Default is `false`.

Expand Down
13 changes: 13 additions & 0 deletions content/enterprise_influxdb/v1.10/concepts/file-system-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,16 @@ The file system layout is the same with each.
- snapshots/
- _<span style="opacity:.4">Snapshot directories and files</span>_
{{% /filesystem-diagram %}}

## Directory permissions

The user running the `influxd` process should have the following permissions for
directories in the [InfluxDB file system](#file-system-layout):

| Directory path | Permission |
| :------------------- | ---------: |
| `.../influxdb/` | 755 |
| `.../influxdb/data/` | 755 |
| `.../influxdb/hh/` | 700 |
| `.../influxdb/meta/` | 755 |
| `.../influxdb/wal/` | 700 |
2 changes: 1 addition & 1 deletion content/influxdb/cloud/write-data/replication/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: >
weight: 106
menu:
influxdb_cloud:
name: Replicate data
name: Edge data replication
parent: Write data
---

Expand Down
10 changes: 5 additions & 5 deletions content/influxdb/cloud/write-data/replication/replicate-data.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: Replicate data from InfluxDB OSS to InfluxDB Cloud
title: Replicate data from InfluxDB OSS
weight: 201
description: >
Use replication streams to replicate the incoming data of select buckets to one or more buckets on a remote InfluxDB instance.
Replicate data from select InfluxDB OSS buckets to remote buckets in InfluxDB
Cloud, InfluxDB OSS, or InfluxDB Enterprise instances.
menu:
influxdb_cloud:
name: How to replicate data
parent: Replicate data
name: Replicate data
parent: Edge data replication
influxdb/cloud/tags: [write, replication]
related:
- /influxdb/cloud/reference/cli/influx/remote
Expand Down
12 changes: 12 additions & 0 deletions content/influxdb/v1.8/concepts/file-system-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,15 @@ The file system layout is the same with each.
{{% /tab-content %}}
<!--------------------------- END KUBERNETES CONTENT -------------------------->
{{< /tabs-wrapper >}}

## Directory permissions

The user running the `influxd` process should have the following permissions for
directories in the [InfluxDB file system](#file-system-layout):

| Directory path | Permission |
| :------------------- | ---------: |
| `.../influxdb/` | 755 |
| `.../influxdb/data/` | 755 |
| `.../influxdb/meta/` | 755 |
| `.../influxdb/wal/` | 700 |
10 changes: 10 additions & 0 deletions content/influxdb/v1.8/introduction/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,16 @@ Make sure the directories in which data and the [write ahead log](/influxdb/v1.8
**Note:** If the data and WAL directories are not writable, the `influxd` service will not start.
{{% /note %}}
The user running the `influxd` process should have the following permissions for
directories in the [InfluxDB file system](/influxdb/v1.8//concepts/file-system-layout/):
| Directory path | Permission |
| :--------------- | ---------: |
| `influxdb/` | 755 |
| `influxdb/data/` | 755 |
| `influxdb/meta/` | 755 |
| `influxdb/wal/` | 700 |
Information about `data` and `wal` directory paths is available in the [Data settings](/influxdb/v1.8/administration/config/#data-settings) section of the [Configuring InfluxDB](/influxdb/v1.8/administration/config/) documentation.
## Hosting InfluxDB OSS on AWS
Expand Down
Loading

0 comments on commit 496018d

Please sign in to comment.