wazuh / wazuh

Wazuh - The Open Source Security Platform. Unified XDR and SIEM protection for endpoints and cloud workloads.
https://wazuh.com/
Other
10.44k stars 1.6k forks source link

[Cluster] Master node election #8162

Open Yuxael opened 3 years ago

Yuxael commented 3 years ago

Currently Wazuh Cluster cannot elect new master node if the current one goes down. It greatly reduces cluster resilience and HA. There should be a (quorum-based?) mechanism of electing new master node without intervening and manually reconfiguring whole cluster to point all worker nodes to new master. I'm not sure if Wazuh should even advertise itself as HA without such fail-safe. Ideally there should also be an option to manually trigger such election or choose specific worker to become master node, e.g. in case of maintenance, migration or decommissioning.

davidjiglesias commented 3 years ago

Hello @Yuxael,

First of all thank you for using Wazuh and for your contribution. We are fully aware of your request and agree upon the necessity of adding it to improve Wazuh Cluster HA.

We have it included in our mid-term roadmap.

Regards,

David J. Iglesias