Adding Wazuh server nodes to a running cluster starts with a capacity question
Picture a team whose agent count or event volume has outgrown its single Wazuh server. Alerts arrive late, the server's CPU stays saturated during peaks, and new agents take longer to register. Adding worker nodes to a running cluster is how the Wazuh server scales horizontally, but that step only helps if the bottleneck is really the server tier. Before anything is changed, the team should work out which of the four Wazuh components is limiting it: the Wazuh indexer (the full-text search and analytics engine that stores alerts), the Wazuh server (which analyzes agent data with decoders and rules), the Wazuh dashboard (the web interface), or the Wazuh agents installed on endpoints. Adding server nodes does not add indexer storage or dashboard capacity, so a team whose pressure is in search or retention needs a different change.
The Wazuh server can run as a cluster for horizontal scaling, and it manages agent configuration and upgrades remotely. That design is why a cluster can grow by adding nodes instead of replacing the server. A larger single node is the simpler choice when agent count and event rate are moderate and the team can accept one host as the single point of failure. A cluster makes sense when agent load must be spread across several servers, when a node failure should not stop all agent reporting, or when the planned growth is large enough that vertical scaling will not keep up. The layout decision also affects how agents connect, so the team should confirm how its agent load balancing and failover will work before it adds capacity.
Check every step against the documentation for the exact patch release in use. The current release line is 4.14, and the vendor shipped several 4.14 patch releases during 2026, including 4.14.9 on 14 October 2026. Certificate handling, cluster key settings and node join procedures can change between patch releases, so the steps in this topic should be treated as a plan to verify, not a script to run. Ask the vendor or read the release notes for the version the cluster already runs and for any fixes that affect clustering before the first new node is provisioned.
How the starting layout changes the work
An all-in-one installation runs the Wazuh indexer, the Wazuh server and the Wazuh dashboard on one host, and the server is not yet part of a cluster. Adding a worker means first converting that server into a master, which changes its cluster configuration and certificate material before a second server can join. Treat this as a change to a live system, with a verified backup and a maintenance window agreed with the teams that depend on alerts.
- Cluster block on the existing server: The manager's
ossec.conffile has a<cluster>block that is disabled in a single-node install. Enabling it and setting the node type to master, a node name and a cluster key is the first change. - Certificates for the new names: The installation generated certificates for its own components. New server nodes need certificates issued for their names, so the certificate tool's configuration file must list them before you generate anything.
- Shared cluster key: Every node must carry the same key. Set it on the master, then carry the identical value to each worker through your secrets process rather than a ticket or chat.
- Indexer and dashboard: Adding worker servers does not move the indexer or dashboard, but confirm that the new worker's connection settings point at the indexer you already run.
- Agents stay where they are: Enrolled agents keep their current manager settings until you change them, so the converted master keeps serving them unchanged.
Before touching agent configuration, confirm the master restarts cleanly with clustering enabled and that a test worker appears as connected.
A distributed deployment already has one master and one or more workers, each with its own cluster block, key and certificates. Adding a node is mostly a matter of matching what the cluster already expects: the same key, a master address and cluster port the new host can reach, and a node type set to worker. The existing nodes change less than in the all-in-one case, but they still need review because the cluster membership they describe is now different.
- Master configuration: Review the master's cluster settings, including the list of nodes, and confirm that the master accepts connections from the new worker on the cluster port. Check the port in the documentation for your release before you open it.
- Existing workers: Current workers keep their key and node names, but any worker whose configuration refers to cluster peers or addresses should be reviewed against the new layout.
- New worker configuration: The new host needs the same cluster key, a unique node name, node type set to worker and the master's address in its cluster settings.
- Certificates: Issue a certificate for the new worker's name from the same certificate authority the cluster already uses, then copy it to the host with the file permissions the documentation specifies.
- Change records: Record every file changed on every node. Content the master pushes to workers can overwrite local edits, so reconcile any worker-side changes before you add the node.
After the new worker starts, confirm in the cluster status output that it is connected and that the master still reports every existing node.
Before planning the change, confirm which case you are in. Many environments that began as a single installation have since added a server without updating the cluster settings, so the configuration on disk may not match what the team believes it runs. A short inventory of each server's role and version prevents a failed join that is harder to unwind than the original change.
- Cluster state per host: Check whether the cluster block is enabled or disabled on each server, and record the node type and node name it reports.
- Version alignment: Confirm that the servers you plan to cluster run the same Wazuh release. Compare the version on each host against the release notes for the line you use, and schedule any patching before the join.
- Certificate inventory: List which certificates exist for each server and which names they cover, so you know which new certificates are required.
- Indexer topology: Note which indexer nodes each server connects to, because a worker that points at the wrong indexer will report data to a different store.
- Rollback path: Capture backups of configuration and certificate files on every node, and write down how to restore the previous cluster settings if a join fails.
Compare this inventory with the topic's build steps, and do not start the change until a named person has signed off on the layout.
Which node role and placement fits your growth
This table compares three ways to add server capacity: adding a worker to an existing cluster, moving from all-in-one to a distributed layout, and placing new nodes on separate hosts or in separate network zones. Read each row as a question to answer before the change: when the option fits, what it changes for agent connections, and what you must confirm in your environment first. The main takeaway is that the agent path and the certificate and network checks matter more than the node count.
| Option | When it fits | What changes for agent connections | What to confirm first |
|---|---|---|---|
| Add a worker to an existing cluster | The current master and workers are healthy and agent event load is the constraint, not the master's own role | New workers receive agents only after they are registered or rebalanced, so existing agents may stay on their current node until a balancing step runs | Cluster key matches on every node, the new worker can reach the master on the cluster port, and the load balancer lists the new worker as a target |
| Move from all-in-one to a distributed layout | The single host can no longer carry indexer, server and dashboard load together, and you want the server role separated from the indexer and dashboard | Agents keep their current manager address until you point them at the master or a load balancer, so the address plan has to be set before the move | Certificates cover each node's name and address, DNS or host entries resolve between roles, and the indexer and dashboard can still reach the server API |
| Add capacity on separate hosts in the same network zone | Agents and nodes share the same routing and firewall policy, and you want simpler failure isolation without changing trust boundaries | Agents in that zone can reach new workers through the existing path, but the load balancer health checks must include the new host before traffic arrives | Firewall rules allow the cluster and event ports between hosts, time sync is consistent, and the balancer's health check targets the correct port |
| Add capacity in a separate network zone | Agents sit in a segmented network such as a DMZ or a remote site, and events should not cross the core network directly | Agents in the new zone may need a dedicated route to a worker or balancer, and enrollment traffic may still need to reach the master | Routing and firewall exceptions are approved, the zone can reach the master for cluster communication, and certificates are valid for the addresses agents will use |
Setup sequence for joining a new worker
This sequence takes a Wazuh server cluster from its current capacity to one with an additional worker node that is registered, trusted and carrying agent traffic. Each step closes with a check so the team can confirm the cluster is healthy before moving on.
Confirm matching release versions on every node
Before anything else, record the exact Wazuh server version on the master, each existing worker and the new host. The new node must run the same release as the cluster, and the team should confirm the target version against the Wazuh release notes before installing packages. Check that the version reported on each node is identical, and do not add a node that differs until the mismatch is resolved. Where a patch is pending, plan it for the whole cluster instead of only the new host.
Plan and issue certificates for the new node
Decide the new worker's hostname and IP address, then generate the certificate material the cluster uses for node-to-node communication. The certificate for the new node must match the name and address that the master and other nodes will use to reach it. Store the generated files with the existing cluster certificates under the same access controls. The check is that the certificate files exist on the new host, their subject names match the planned hostname, and the team can list who holds copies of the private keys.
Prepare the cluster key and settings on the master
Confirm the cluster name and cluster key in the master configuration, and make sure the key is the same value every node will use. Set the node type for the new host as a worker and list the master address the worker should contact, following the cluster settings described in the Wazuh deployment documentation. Keep the key out of shared tickets and chat messages. The check is that the master configuration validates without errors and the settings file in version control or the configuration store reflects the change.
Apply matching cluster settings on the new worker
Copy the cluster name, cluster key handling and master address to the new worker, and install the certificate files in the locations the configuration expects. Set the node name so it is unique within the cluster. Do not copy the master's node type or other master-only settings. The check is that the worker's configuration validates on its own, and the file permissions on the key and certificate files are restricted to the service account.
Start the worker and confirm it joins the cluster
Start the Wazuh server service on the new worker and watch its logs for the handshake with the master. Once the node has connected, list the cluster nodes from the master using the cluster management commands in the documentation. The worker should appear as connected with the expected name and role, and the master's log should show no repeated authentication or certificate errors. Only continue when the node is listed as connected and stays connected through a short observation period.
Verify synchronization and health of the new node
Check that the content the master distributes, such as rules, decoders and shared agent configuration, has reached the new worker. Compare the synchronization status or file checksums between the master and the worker. Confirm the worker is reporting its own health to the master. The check is that the synchronized content matches on both nodes and the cluster status shows no failed or pending synchronization for the new worker.
Move agents onto the new capacity and check event flow
Rebalance agents so the new worker takes a share of the reporting load, using the approach your load balancer or agent configuration supports. Move agents in groups rather than all at once, so a problem affects a limited set of endpoints. After each group moves, confirm the agents show as active and that their events arrive in the dashboard and indexer within the normal delay. The check is that every moved agent reports as connected, alerts from the new worker appear in the indexer, and no agent is left disconnected.
Certificates and cluster key settings for new nodes
Every new Wazuh server node needs identity material that the existing cluster already trusts. In practice, this means the certificates the new node presents when it talks to the master and to its peers must be issued or accepted under the same trust setup the current nodes use. Before you copy anything, confirm with your own deployment records which certificate authority signed the current node certificates, how the files are named, and where the private keys live. Then decide whether the new node gets a certificate from that same authority or whether you will extend the trust chain, and check the certificate and file details in the Wazuh documentation rather than working from memory or a previous install. A node that presents an unrecognized identity will not join, and the failure often looks like a generic connection error, so the trust decision should be made and written down before the node is powered on.
The cluster key is the shared secret that the master and every worker must agree on before a worker can join. It is set in the server configuration on each node, and the value must match exactly across the master and all workers, including on the new node. A mismatch blocks the join: the new worker fails to authenticate to the cluster, and it will not receive synchronized content or accept agent connections until the value is corrected and the service is restarted. Check the configuration key names and the exact procedure in the Wazuh cluster documentation for your release, because the key and its location are not something this page should assume. When you verify the match, compare a fingerprint or a controlled check rather than pasting the value into a shared channel.
Key material should never travel through tickets, chat threads or email. Use your organization's secrets store or a controlled transfer method, and limit the number of people who can read the certificate private keys and the cluster key. Keep a record for each node that states who issued the certificate, when it was issued, who placed it on the node, where the authoritative copy is stored and when it expires. Store that record with your change records so that a later rotation, an audit or an incident response can trace each identity back to a decision. Ask your delivery partner or internal team to confirm how the cluster key and certificates will be rotated, because rotating them after a node is added is a planned change, not a routine fix.
How a new worker joins and takes agents
The flow starts with planning and a version check, then moves to certificate issuance on the master, configuration of both the master and the new worker, and the worker join. The master stays the single control point throughout, pushing configuration and content to the new worker. Verification comes before any agents move, and then agent rebalancing shifts connections onto the new capacity while monitoring confirms that load and cluster health look as expected.
Phases for joining a worker and moving agents, with the master as control point.
What goes wrong when workers are added to a live cluster
Adding a worker to a running Wazuh cluster changes versions, certificates, agent placement and storage at the same time. The failures below tend to surface after the new node looks healthy, so each card names the symptom to watch for and the check that confirms the fault.
Version skew between nodes
A new worker installed from a newer package than the master or the existing workers can reject synchronized content or fail to join the cluster cleanly. Check the installed version on every node with the package manager and the cluster status output before admitting the node to agent traffic. Keep every server node on the same patch release during the change, and confirm the target version against the Wazuh release notes before installing.
Wazuh release notesCertificate or key mismatch
A worker built with certificates issued for a different node name, or with a cluster key that does not match the master, fails the handshake and never appears as connected. The symptom is a node that stays out of the cluster list or repeatedly logs authentication errors. Compare the node name in the certificate with the name in the cluster configuration, and confirm the cluster key is identical on every node.
Agents not rebalanced
Existing agents stay on their current workers, so the new node receives little or no event traffic and the load stays on the old nodes. The symptom is uneven event counts per node in the cluster monitoring views. Check which worker each agent reports to, then plan how agents move to the new node, including the load balancer rules that decide where new enrollments and reconnecting agents land.
Indexer capacity not growing
Adding server workers increases analysis capacity, but the indexer that stores alerts can still be the bottleneck. The symptom is growing indexing delay, rejected writes or slow dashboard searches after the new node starts processing events. Measure indexer ingest and disk use before and after the change, and confirm with the indexer documentation whether the storage layer needs its own nodes.
Configuration drift from manual edits
Changes made by hand on a worker, such as local rule files or manager settings, can differ from what the master pushes. The symptom is a worker applying different rules or agent settings from its peers. Compare the configuration files on each node against the master, and record every manual edit so the team can decide whether it belongs in the master or should be removed.
Changes without a rollback path
A cluster change made without a recorded baseline leaves no clear way back if the new node causes trouble. The symptom is an agent population split across nodes that nobody can restore to the earlier layout. Before the change, back up the server configuration and the agent-to-node assignments, write down the steps to remove the new node, and test that removal in a non-production cluster first.
Questions teams ask before adding Wazuh server nodes
What drives the cost and effort of adding a Wazuh server node?
The main cost is the staff time to plan, build and test the new node, and that time depends on how the cluster is laid out today and what the new node must reach. The biggest drivers are the network paths between the master, the workers and the indexer, the certificates the new node needs, whether the indexer must be resized to absorb the extra agent traffic, and how much testing your environment requires. Whether you pay an internal team or a partner, these costs are mostly one-time, while the extra servers, storage and support contracts recur. Ask any quote to break out planning, network and certificate work, indexer sizing, cutover testing and handover documentation separately, so you can see which items your own team already covers.
How long does adding a node to a running Wazuh cluster take?
Duration depends on the size of the cluster, how many environments must be tested and how quickly network and certificate approvals move inside your organization. Teams with a clean inventory, existing automation and a staging copy of the cluster usually finish faster than teams that must first document their layout. The work is usually sequenced as planning, staging, a cutover window and a post-change check, and each stage can wait on change control. Wazuh does not publish a general timeline for this task, so confirm the steps and durations for your version with the vendor documentation and your own change process before you commit a date.
What does the work need from our team?
Expect to provide a named change owner, network access between the new node and the existing cluster, administrator accounts on each server, access to your certificate authority or the process that issues certificates, and staff time from the people who run the indexer and dashboard. You will also need a change window that your operations and security teams approve. Before work starts, ask the partner to list every account, firewall rule and approval needed, so these requests reach the right teams early. Missing access is one of the most common causes of delay on infrastructure work of this kind.
Can our internal team add a node without outside help?
Yes, if your team already runs Wazuh in production, has tested change procedures and can read the vendor documentation for your exact version. The work is a sequence of configuration, certificate and verification steps, so the gap is usually not the commands but the experience of checking the cluster state before and after each step. Teams without that experience often do well with a short review of their plan before the change window. A partner can plan, implement and document the change in your infrastructure on a fixed scope, so you decide which parts to keep in-house.
Does a running Wazuh cluster need downtime to add a node?
Adding a node does not always require a full outage, but the answer depends on your cluster layout and the version you run. Agent connections, the master's configuration distribution and the indexer's shard allocation all need checking, and some steps may briefly affect agent reporting. Plan a change window anyway, and confirm with the Wazuh documentation for your version which steps can run online. Ask the implementation team to state the expected agent impact in writing and to describe the rollback path if a check fails.
How does adding a node relate to a Wazuh upgrade?
Both change the cluster, so they should be sequenced rather than combined in one window. Wazuh's release line is 4.14, and patch releases such as 4.14.8 and 4.14.9 arrive regularly, so many teams plan upgrades on a fixed cadence. If you add a node and upgrade the same cluster at once, a fault becomes harder to isolate. Confirm the supported upgrade order with the Wazuh documentation, and ask the partner whether the node should join at the current version or after the upgrade. Keep the upgrade plan and the node change in separate, documented change records.
When should we ask a partner for a scoped quote?
Ask for a quote once you know the current cluster layout, the number of agents you expect to move, the environments that need testing and the change windows available to you. A partner needs those inputs to write a fixed scope, deliverables and timeline that you can compare with your internal estimate. DeployOpen does not publish a price list, and a quote follows from the written scope. Request the scope in writing, including what is excluded, and ask for a retest step after the node is added.
How DeployOpen scopes a cluster expansion
A cluster expansion is scoped in writing before any node is built, and the scope starts with an inventory of what is already running. DeployOpen records the current layout: which host is the master, which hosts are workers, how the Wazuh indexer and dashboard are placed, which agents report to which address, and where any load balancer or failover list already sits in front of the server nodes. The inventory also captures the configuration that is set by hand on each node, because that is what a new worker will not inherit automatically. The client confirms this inventory against its own environment, since a document that describes the cluster as designed is often different from the cluster that is running.
The second step is a version and certificate review. Every existing node and the planned new node must run the same Wazuh release, so the scope records current versions and the target version, along with the release notes that apply between them. The review also checks the certificates that secure communication between nodes: which certificate authority issued them, their expiry dates, the subject names and whether a new worker can be issued a certificate under the same chain. The cluster key settings on the master and the workers are compared as part of this review. The output is a list of gaps the client must close before the change window, such as an outdated node or an expiring certificate.
The written change plan then sets out the sequence of steps, the rollback point for each step, the verification checks and the handover. Verification usually covers node registration in the cluster, agent reconnection, the cluster health view and a check that events from moved agents arrive in the indexer. Both parties agree on these checks, and on what counts as a pass, before the work starts. The handover delivers the final layout, the configuration changes made on each node, the certificate inventory and the runbook for the next node addition. Ask any partner for a sample change plan and handover document so you can judge how much detail you will receive.

