wazuh-packages icon indicating copy to clipboard operation
wazuh-packages copied to clipboard

Add new nodes to cluster using wazuh installation assistant

Open DFolchA opened this issue 3 years ago • 1 comments

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.

DFolchA avatar May 09 '22 16:05 DFolchA

How to add new nodes without automatic procedure

  1. Extract wazuh-install-files.tar.
  2. Create wazuh-config.yml containing only new nodes.
  3. Use wazuh-certs-tool.sh to 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>
  1. Add new certificates to wazuh-install-files extracted directory. Do not change admin certificate.
  2. Update old wazuh-config.yml with the new nodes, do not remove the old ones.
  3. Compress wazuh-install-files extracted directory into a new wazuh-install-files.tar.
  4. Use the newwazuh-install-files.tar to install the new nodes.
  5. 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

  1. Update All in One deployment to distributed.
  2. Extend distributed deployment with: 2.1. Indexer node. 2.2 Manager worker node. 2.3 Dashboard node.

DFolchA avatar Sep 09 '22 09:09 DFolchA