apache / apache/hertzbeat

[Question] Collector Cluster Configuration in Multi-Isolated Network Environments: Load Balancing and Failover Support Inquiry

Open
#3,385 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Question

In a multi-isolated network environment, how should the collector cluster mode be configured when deploying as an installation package?

From the documentation, I see that the only configuration related to cloud-edge collaboration is setting model=private to mark it as private. Is that sufficient?

According to the architecture diagram, there appears to be only one collector per isolated environment. However, the expected scenario is that each isolated network environment can freely configure multiple collectors, with support for failover and load balancing.

Example:

Subnet A has collectors 1 and 2

Subnet B has collectors 1, 2, and 3

Subnet C has collectors 1 and 2

In each subnet, all collectors monitor the same data sources (e.g., A1 and A2 monitor the same sources)

Scenario 1:
Can monitoring requests be load balanced between A1 and A2, but only within the same isolated environment (i.e., not cross-subnet)?
Can B1, B2, B3 be load balanced similarly?
Is this scenario supported?

Scenario 2:
If A1 fails, can the system automatically fail over to A2?
Is this kind of failover supported?

I couldn't find any relevant information in the documentation.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by reviewing the collector cluster-mode and installation-package documentation alongside the architecture diagram, then verify whether per-subnet load balancing and automatic failover are supported. Document the required configuration, or clearly state if these behaviors are unsupported.

Written by the indexing model from the issue text.

Assessment

Domain
distributed-systems, documentation, observability-sre
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.