wazuh-packages
wazuh-packages copied to clipboard
Add new nodes to cluster using wazuh installation assistant
| Wazuh version | Install type | Action performed | Platform |
|---|---|---|---|
| 4.3.0 | Installation assistant | Install | OS version |
We need to add the capability to create and add new nodes (manager, indexer, or dashboard) to a previous installation with the wazuh installation assistant.
How to add new nodes without automatic procedure
- Extract
wazuh-install-files.tar. - Create
wazuh-config.ymlcontaining only new nodes. - Use
wazuh-certs-tool.shto generate new certificates using the old root-ca keys.
bash wazuh-cert-tool.sh -A </path/to/root-ca.pem> </path/to/root-ca.key>
- Add new certificates to
wazuh-install-filesextracted directory. Do not changeadmincertificate. - Update old
wazuh-config.ymlwith the new nodes, do not remove the old ones. - Compress
wazuh-install-filesextracted directory into a newwazuh-install-files.tar. - Use the new
wazuh-install-files.tarto install the new nodes. - Update the configuration in the old nodes if needed.
Objective of the issue
The objective of the issue is to automate steps 1 to 6 using wazuh-install.sh and allow updating old nodes with the necessary changes for the new cluster configuration.
Validation tests
- Update All in One deployment to distributed.
- Extend distributed deployment with: 2.1. Indexer node. 2.2 Manager worker node. 2.3 Dashboard node.