mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs: Add VictoriaLogs HA example for single nodes (#6945)
### Describe Your Changes Please provide a brief description of the changes you made. Be as specific as possible to help others understand the purpose and impact of your modifications. ### Checklist The following checks are **mandatory**: - [x] My change adheres [VictoriaMetrics contributing guidelines](https://docs.victoriametrics.com/contributing/). Signed-off-by: Artem Navoiev <tenmozes@gmail.com>
This commit is contained in:
parent
7983ea4edb
commit
f9a8c09fe8
2 changed files with 15 additions and 0 deletions
|
@ -129,6 +129,21 @@ For example, the following command starts VictoriaLogs, which stores the data at
|
|||
|
||||
VictoriaLogs automatically creates the `-storageDataPath` directory on the first run if it is missing.
|
||||
|
||||
## High Availability
|
||||
|
||||
### High Availability (HA) Setup with VictoriaLogs Single-Node Instances
|
||||
|
||||
This schema outlines how to configure a High Availability (HA) setup using VictoriaLogs Single-Node instances. The setup consists of the following components:
|
||||
|
||||
- **Log Collector**: The log collector should support multiplexing incoming data to multiple outputs (destinations). Popular log collectors like [Logstash](https://www.elastic.co/guide/en/logstash/current/output-plugins.html), [Fluentd](https://docs.fluentd.org/output/copy), and [Vector](https://vector.dev/docs/setup/configuration/sinks/) already offer this capability. Refer to their documentation for configuration details.
|
||||
|
||||
- **VictoriaLogs Single-Node Instances**: Use two or more instances to achieve HA.
|
||||
|
||||
- **[vmauth](https://docs.victoriametrics.com/vmauth/#load-balancing) or Load Balancer**: Used for reading data from one of the replicas to ensure balanced and redundant access.
|
||||
|
||||
![VictoriaLogs Single-Node Instance High-Availability schema](ha-victorialogs-single-node.webp)
|
||||
|
||||
|
||||
## Backup and restore
|
||||
|
||||
VictoriaLogs currently does not have a snapshot feature and a tool like vmbackup as VictoriaMetrics does.
|
||||
|
|
BIN
docs/VictoriaLogs/ha-victorialogs-single-node.webp
Normal file
BIN
docs/VictoriaLogs/ha-victorialogs-single-node.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 99 KiB |
Loading…
Reference in a new issue