Zammad high availability

Zammad high availability depends on shared state, not just extra application nodes. This page covers the components, decisions, build sequence, effort drivers and checks for a multi-instance helpdesk that survives node failure.

On this page

Zammad high availability: when a single instance stops being enough

A single Zammad instance is enough until customers and agents cannot afford to wait for it to come back. High availability means running several Zammad application instances against shared state: one PostgreSQL database holding the ticket content, Redis for realtime websocket communication, Memcached for the shared cache, and Elasticsearch for search. Adding application nodes is the easy part. The hard part is making every node read and write the same state consistently, and deciding in advance how the helpdesk recovers when a component fails. Zammad's documented requirements set the baseline: PostgreSQL 15 or newer, Redis 7 or newer, and a reverse proxy such as Nginx or Apache in front of the nodes.

Memcached is the component that changes the architecture most. Zammad's software requirements state that Memcached is needed for multi-instance deployments such as containers or cluster nodes, while a single installation can use the file system cache. If you move to two or more nodes without Memcached, you should expect inconsistent cache behavior between nodes. Elasticsearch is optional but strongly recommended, since it powers faster search, reporting and attachment search. In a highly available design, decide whether a search outage degrades the experience or stops agent work, and whether the index can be rebuilt from the database quickly enough for your recovery goals. Confirm the exact cluster and sizing guidance with the Zammad documentation for your release before you commit.

Plan recovery before you size the cluster. Each shared service needs its own backup schedule, restore test and owner, and you should write down which failures leave tickets readable, which stop email intake, and which only slow search. Test a restore of PostgreSQL and the attachment storage together, because a database restored without matching files produces broken tickets. Confirm how your chosen deployment method (package, Docker Compose or Kubernetes) handles shared storage and upgrades, and check the Zammad software requirements page for the supported component versions. The outcome you want is a written runbook that a second engineer can follow during an incident, not a diagram of nodes.

Which Zammad components must be shared across instances

A multi-instance Zammad deployment only works when every application node sees the same content, sessions, cache and search index. The components below hold that shared state, and each one that stays single-node becomes the point where helpdesk service stops.

Application nodes

The Zammad application servers are stateless only in the sense that they hold no ticket content of their own. Each node must point at the same PostgreSQL database, Redis, Memcached and Elasticsearch, and must use the same file storage for attachments. If nodes drift to different configuration or secrets, users will see inconsistent behavior depending on which node answers. Check that every node runs the same Zammad release before you route traffic to it.

Docker Compose docs

PostgreSQL as the content store

PostgreSQL holds tickets, users, organizations, articles and settings, so it is the record of truth for the whole helpdesk. Zammad requires PostgreSQL 15 or newer. A single database server without a tested standby or restore path means that losing it stops every agent and customer at once. Confirm your replication, failover and point-in-time recovery approach with your database team before go-live.

Software requirements

Redis for realtime websockets

Redis carries the realtime websocket communication that keeps agent screens live when tickets change. Zammad requires Redis 7 or newer. If Redis is unavailable, updates stop reaching open browser sessions, so agents may work on stale ticket views. Decide whether Redis runs as a single managed instance or as a clustered service, and test what agents see during a Redis restart.

Memcached for multi-instance caching

Memcached is required once Zammad runs on more than one instance, such as containers or cluster nodes. Single installations can use the file system cache instead. Without a shared Memcached, each node caches independently, so changes made on one node may not appear on another until caches expire. Confirm that every application node points at the same Memcached endpoint and plan how you will restart it during maintenance.

Elasticsearch for search and attachments

Elasticsearch powers faster search, reporting features and search across email attachment content. It is optional but strongly recommended. If the cluster is single-node or unreplicated, a failed node leaves search, reports and attachment lookup unavailable while ticket handling continues. Confirm the cluster topology, index replication and the index rebuild steps you will need after upgrades or migrations.

Search requirements

Reverse proxy in front of the nodes

Nginx or Apache terminates client connections and distributes requests across application nodes. It is a shared entry point, so one proxy host without a standby becomes a single point of failure even when every application node is healthy. Plan the health checks it uses to remove a failed node, how TLS certificates are managed across nodes, and how websocket connections are passed through during failover.

Decisions that shape the Zammad HA design

This table compares the main architecture choices for a highly available Zammad deployment, with the staff time and failure modes each one brings. Read each row as a decision: find the option that fits your uptime needs and team skills, then check the operational cost on the right. Kubernetes support from Zammad covers only the application, so the platform layer stays with your team or your partner.

DecisionOption and when it fitsOperational cost and failure modes
Application nodesSingle node with fast restore fits small teams that accept a restore window after failure and have a tested backup.Lowest staff time. A host or disk failure stops ticket intake until the restore completes, so restore timing must be rehearsed.
Application nodesTwo or more nodes behind a load balancer fit teams that cannot accept a single point of failure in the web tier.Requires shared Memcached and Redis, shared file storage for attachments, and session-aware load balancing. More moving parts to patch and monitor.
PostgreSQLSelf-run PostgreSQL fits teams with database administrators who already run replication, backup and failover for other systems.Your team owns replication, failover testing, minor version patching and backup verification. Failover mistakes can corrupt or split ticket data.
PostgreSQLManaged PostgreSQL in your own cloud account fits teams that want provider-handled failover while keeping data in their infrastructure.Recurring provider fees and a dependency on the provider's failover behavior. Confirm version support for PostgreSQL 15 or newer and the recovery point the service offers.
Redis and MemcachedDedicated, clustered Redis 7 or newer and Memcached fit multi-node deployments where realtime websocket updates must survive node loss.Each service needs its own monitoring and failover plan. Losing Redis interrupts realtime updates, and losing Memcached forces cache rebuilds across nodes.
Elasticsearch placementElasticsearch on the same network segment fits teams that want low-latency search and simple firewall rules.Shares failure domain and network capacity with Zammad. Index rebuilds after upgrades or migrations add load to the same network.
Elasticsearch placementSeparate Elasticsearch cluster fits organizations with a search or logging team and strict segmentation rules.More certificates, access rules and cluster upkeep. Search can degrade while ticket handling stays up, which must be explained to agents.
Install methodPackage or Docker Compose installs fit teams that want direct control over host configuration and a small number of servers.Your team handles host patching, service restarts and load balancer wiring. Documented Docker Compose paths help, but multi-node design still falls to your team.
Install methodKubernetes with the official Helm chart fits teams that already operate clusters and have platform staff for storage and scaling.Zammad support covers only the Zammad application. Cluster networking, storage classes, node failures and ingress issues stay with your platform team.

How to build a multi-instance Zammad step by step

This sequence takes a single Zammad installation to a multi-node setup where any application node can serve users, backed by shared data services and a reverse proxy that routes around failed nodes. Each step ends with a check so the team knows the layer works before the next one depends on it.

  1. Confirm supported database and Redis versions

    Before provisioning anything, check the software requirements for the Zammad release you plan to run. Zammad stores its content in PostgreSQL 15 or newer and requires Redis 7 or newer for realtime websocket communication. Confirm these versions with the vendor documentation for your exact release, and record the reverse proxy you will use (Nginx or Apache). Done when the team has a written version matrix signed off by the platform owner.

  2. Provision shared PostgreSQL and Redis

    Create PostgreSQL and Redis services outside the application nodes, in their own managed or self-hosted instances with their own backup and patching routines. Configure network access so only the Zammad application nodes can reach them, and set credentials through your secrets process. Done when a test connection from each planned application host succeeds and a write and read round trip works on both services. For high availability of the data tier itself, confirm the replication and failover design with your database and Redis owners, since Zammad only points at the endpoints you give it.

  3. Add Memcached and point every node at it

    Deploy a Memcached service that all application nodes can reach. Zammad's documentation states Memcached is needed for multi-instance deployments such as containers or cluster nodes, while single installations can use the file system cache. Configure each node to use the same Memcached endpoint so cached data is shared rather than local to one node. Done when each node reports the shared cache in its configuration and a value set through one node can be read from another.

  4. Bring up at least two identical application nodes

    Install Zammad on two or more application nodes using the same release, the same configuration files and the same database, Redis and Memcached endpoints. Choose one installation method for all nodes, such as package installation, Docker Compose or the Kubernetes Helm chart, and keep it consistent. Confirm that every node reports the same version. Done when each node starts cleanly, migrations have run once against the shared database, and a login succeeds on each node directly, not only through the proxy.

  5. Place the reverse proxy in front with health checks

    Deploy Nginx or Apache as the entry point and define all application nodes as upstream targets. Configure health checks so the proxy stops sending traffic to a node that fails its check, and set TLS termination at this layer. Keep the websocket path working, because realtime updates depend on it. Done when requests through the proxy reach different nodes over repeated calls, and stopping one node removes it from rotation without an error page for users.

  6. Attach Elasticsearch and rebuild the index

    Connect Zammad to an Elasticsearch cluster. Zammad documents Elasticsearch as optional but strongly recommended, since it provides faster search, reporting and searching of email attachment content. Set the connection on one node, then trigger the index rebuild that Zammad's documentation describes for a new search backend. Confirm the Elasticsearch sizing with your search owner before go-live. Done when a ticket created before the rebuild and one created after both appear in search results from every node.

  7. Test failover before go-live

    Run planned failure tests in a non-production copy first, then in production during an agreed window. Stop one application node while users work through the proxy, and confirm sessions continue or re-authenticate cleanly and new tickets are created. Restart the node and confirm a search returns results that include tickets created during the outage. Also test a Redis or Memcached restart and a backup restore into a separate environment. Done when each test has a written result, the recovery steps are in the runbook, and the team has agreed the observed behavior is acceptable for the helpdesk.

What drives effort and cost in a Zammad HA build

This table lists the factors that change how much work a multi-instance Zammad build takes and what it costs to run. Read each row as a question to answer before scoping, with the matching step that keeps effort contained. The main takeaway is that agent count, release cadence and customization weigh most, so settle those before choosing an architecture.

DriverWhy it changes effort or costHow to keep it down
Agent count and concurrent sessionsMore agents open more websocket sessions and drive more Redis and application instance load, which sets how many nodes and how much headroom the build needs.Confirm peak concurrent agents with your support lead, size for that peak, and load test before go-live rather than adding nodes by guesswork.
Ticket and attachment volumeTicket history and attachments grow PostgreSQL and file storage over time, and Elasticsearch indexes grow with attachment content, which raises both sizing and backup cost.Agree a retention and attachment policy early, set storage growth expectations with the database team, and confirm the Elasticsearch footprint in a test environment.
Channels and integrationsEach email inbound and outbound channel, chat, form, phone link and third-party login adds configuration, credentials and failure points that must work on every node.Limit the first release to channels you need on day one, document each credential owner, and add later channels through the same change process.
Number of environmentsTest, staging and production each need their own PostgreSQL, Redis, Memcached and Elasticsearch footprint, so infrastructure and patching work multiplies with each environment.Use infrastructure as code to build environments from the same definitions, and keep non-production data sets small but representative.
Customization retested on every releaseTriggers, macros, custom object attributes and API automations must be checked after each minor and security release, and custom code can block a clean upgrade across nodes.Keep customization configuration-based where possible, maintain a regression test list per release, and tie each custom integration to a named owner.
Compliance requirements for backup retention and data locationRetention periods, encryption of backups, restore testing evidence and the location of backup copies set how much storage, process and review the build needs.Ask compliance owners for written retention and location rules before design, and reuse the same backup target and schedule across environments where the rules allow.
Existing PostgreSQL and Redis skillsA team that already runs PostgreSQL and Redis clusters with failover, monitoring and backup routines needs less new build work than one that must learn these components while delivering Zammad.Confirm which database and cache services your platform team already operates, reuse those standards, and scope training or vendor support only for the gaps.

How HA differs across single node, multi-node, Kubernetes and air-gapped setups

A single installation keeps its own cache on the local file system, so it does not need Memcached to share cache state between application processes. High availability on one node is mostly about recovery: how quickly you can rebuild the server and restore data if the host, disk or application fails. The design centers on backups and a tested restore path rather than on redundancy.

  • Cache: Zammad documents the file system cache for single installations, so no Memcached tier is required for this model.
  • Database and search: PostgreSQL and Redis still run on the node or on a dedicated host, and Elasticsearch remains optional but strongly recommended for search and attachment content.
  • Backups: schedule regular database, attachment and configuration backups, stored off the host, and record how long a restore takes in your environment.
  • Downtime: a host failure means an outage until a replacement is running, so define who can rebuild the node and where the backup copies live.
  • Upgrades: test minor and security releases on a copy of the node before applying them to production.

Confirm with your team how much helpdesk downtime you can tolerate and whether a single-node restore meets that limit.

Securing shared services in a multi-instance Zammad

A multi-instance Zammad deployment shares one database, one Redis, one Memcached and one search cluster across every application node. Each of these shared services is a target, so the controls below must hold across the whole group, not just on the first server built.

TLS at the reverse proxy

Zammad runs behind Nginx or Apache as its reverse proxy, so TLS termination happens there and must cover every node that serves agents and customers. Check that the load balancer in front of the proxies passes the original scheme and host headers, that plain HTTP is redirected, and that certificates are renewed by a process that touches all nodes. Confirm that websocket traffic for realtime updates also goes through the encrypted path, because a proxy rule that misses it will break live updates for agents.

Software requirements

Restricting network paths to shared services

Only the Zammad application nodes should reach PostgreSQL, Redis, Memcached and Elasticsearch, and each service should accept connections from that application subnet alone. Build firewall or security group rules that deny everything else, and test them from a machine outside the tier to confirm the denial. Without this, a compromised workstation or a misconfigured neighbor service on the same network can read ticket data directly from the database.

Separate credentials for each service

Create a distinct database user for Zammad, a distinct Elasticsearch account if security is enabled, and a Redis password that is not reused anywhere else. Separate credentials limit the blast radius when one secret leaks, and they make audit logs on the database and search cluster meaningful. Ask your team to document which service account belongs to which function, so that rotation of one secret does not force a full outage across unrelated components.

Secrets storage for passwords

Database and Redis passwords should live in a secrets manager or an encrypted store, not in plain configuration files copied between nodes. Inject them at deploy time, restrict read access to the service accounts that run Zammad, and record who can retrieve them. When you rotate a password, plan the change so that all application nodes pick up the new value in one window, since a partial rollout will cause some nodes to fail database logins while others keep working.

Patch parity across every node

All Zammad nodes must run the same release, and the shared services must be patched on a schedule that does not leave one node behind. Zammad published security release 7.2.1 on 6 October 2026 and 7.2.2 on 8 October 2026, and security release 6.5.5 on 15 October 2026 for the 6.5 line. A node that lags behind on one of these can expose a flaw that the others have closed, and mixed versions can also cause inconsistent behavior in shared sessions and background jobs.

Zammad releases

Keeping shared services current

PostgreSQL 15 or newer, Redis 7 or newer and the Elasticsearch version your Zammad release supports should be patched under a documented change process. Confirm version compatibility against the Zammad requirements before each upgrade of a shared service, and rehearse the change on a staging copy that mirrors the multi-node topology. Ask your implementation partner or internal team to record the rollback path for each service, since a failed database upgrade affects every Zammad node at once.

How to test that Zammad fails over and recovers

Test failover before go-live, not during the first real outage. Each test below needs a written pass criterion agreed with the helpdesk owner, the platform team and the operations lead before it runs, so that a result is judged against a target rather than against whatever the team happens to observe. Run the tests in a staging copy that matches production in node count, PostgreSQL topology, Redis, Memcached and Elasticsearch layout, and record the exact Zammad version under test, since the team will repeat these tests after every minor or security release.

Start with the application tier. Stop one Zammad application node while agents are creating tickets through email, web and the API, and confirm that the reverse proxy routes new requests to the surviving nodes, that in-flight submissions either complete or return a clear error, and that no ticket is created twice or left half-saved. Then restart Redis and confirm that agent browsers reconnect and that websocket updates, such as new ticket notifications, resume without a manual page reload. Multi-instance deployments depend on Memcached as well, so stop and restart it during a session and check that users stay signed in and that cached data refreshes correctly afterward.

Next, fail PostgreSQL over to a replica or a restored copy, then check ticket integrity: compare ticket counts, article counts and attachment links against a known reference set, and open a sample of recent tickets end to end. Finish with a timed restore of the latest backup into an isolated environment, using the backup procedure your team has documented, and measure the elapsed time against the recovery target. Confirm the team can rebuild the Elasticsearch index if search is part of the service, because search results will be incomplete until that finishes. The core test of safe failure is simple: no data loss, and when something cannot be served, users see a clear message instead of a blank page or a silent failure. Record every failure, its cause and the retest result in the same document as the pass criteria.

What to monitor, back up, upgrade and document after go-live

A multi-instance Zammad deployment stays available only if someone watches every layer, proves that backups restore, and keeps all nodes on the same release. The cards below cover those duties and name the owner for each, so a failure in one component does not turn into an unplanned helpdesk outage.

Node and application health

Watch each Zammad application node separately, not only the load balancer in front of them. A node that fails its health check can still accept connections while background jobs or websocket sessions stall. Check that every node reports the same release, since mixed versions behind one proxy cause hard-to-trace errors. Assign the platform team to own this alert set.

Docker Compose docs

PostgreSQL and Redis availability

PostgreSQL holds all ticket content, so its availability and replication lag matter more than any other single component. Redis carries the realtime websocket traffic that agents rely on, and Zammad requires Redis 7 or newer. Alert on connection failures and failover events for both, and confirm that the application reconnects after a failover. The database team owns PostgreSQL and the platform team owns Redis.

Minimum PostgreSQL major
15
Software requirements

Memcached and Elasticsearch health

Memcached is required for multi-instance deployments, so a dead cache node degrades every application node at once. Elasticsearch powers search and attachment search but is optional, so define in advance whether search outages are tolerated or treated as incidents. Track cluster status, free disk, and index state, because a full disk can stop indexing silently. Confirm the owner of each search and cache alert before go-live.

Software requirements

Backup jobs and restore tests

A backup job that reports success proves little until a restore has been performed into a separate environment and the helpdesk opens with correct tickets, attachments and search. Back up the database, the attachment storage, and the configuration together so they stay consistent. Schedule restore tests on a recurring basis and record the result. Set the frequency with the business owner; this guide does not prescribe one. The operations team owns the jobs and the application owner signs off on restore tests.

Recovery objectives and runbook

Ask the business to set the recovery point objective, which is how much ticket data may be lost, and the recovery time objective, which is how long agents may wait for service to return. The backup schedule and failover design must be sized against those two numbers, not the reverse. Record the runbook with the steps for database failover, cache rebuild, search reindexing and DNS or proxy switchover, and test it at least once with the people who will run it.

Coordinated upgrade windows

Apply minor and security releases to all application nodes in the same window, because nodes on different releases can behave differently under the same load. Security releases have been published for more than one line at the same time, so track both the release notes and your current version. Test each release in a staging copy with your customizations first. The platform team owns the window and the rollback plan, and the application owner approves it.

Latest 7.x in facts
7.2.2
Zammad releases

Common questions about Zammad high availability

Is a single Zammad instance enough for a helpdesk that cannot go down?

A single instance is simpler to run, but it has one point of failure, so it does not provide high availability by itself. Zammad documents file system caching for single installations, while multi-instance deployments such as containers or cluster nodes need a shared cache. Whether one instance is acceptable depends on how long your support operation can tolerate an outage, how quickly you can restore from backup, and who responds when the host fails. Write those answers down before choosing the topology, because they determine how many application nodes, database replicas and backup tests you need.

What does a team need in place to run Zammad in high availability?

Running multiple instances means your team must own several connected components, not only the application. The core set is:

  • PostgreSQL 15 or newer, which stores all Zammad content
  • Redis 7 or newer, which handles realtime websocket communication
  • Memcached, required for multi-instance deployments
  • A reverse proxy such as Nginx or Apache, with TLS and load balancing configured in front of the nodes
  • Elasticsearch, optional but strongly recommended for search, reporting and attachment search

Each component needs its own patching, monitoring, backup and recovery procedure. Staff should also be able to run failover tests and restore exercises on a schedule.

What drives the cost and time of a Zammad high availability setup?

The main drivers are the number of nodes and shared services, the size of the ticket history and attachments, how many agents and channels run through the system, and how much of the environment you already operate. Cost has several parts: infrastructure for each node and service, licensing (Zammad is licensed under AGPL version 3, so self-hosted software has no license fee), optional support subscriptions, and internal or partner staff time for design, testing and operations. Recurring costs include hosting, patching and support. Ask any partner for a written scope that lists components, environments, backup targets, failover tests and handover documents, because that scope is what the quote follows.

Can our internal team build a highly available Zammad deployment alone?

A team with strong Linux, database and container skills can build it alone, but the work spans more components than a typical single-application install. The team should first confirm it can cover PostgreSQL, Redis, Memcached, Elasticsearch, the reverse proxy and backup tooling, and that someone is available to respond during an incident. Check the current installation guidance for Docker Compose and Kubernetes, and note that Zammad support on Kubernetes covers the Zammad application only, not Kubernetes-specific issues. Many organizations use a partner for the design and first build, then run operations internally.

Are Memcached and Elasticsearch mandatory for Zammad high availability?

Memcached is needed for multi-instance Zammad deployments such as containers or cluster nodes, so it is required for a high availability layout that runs more than one application node. Elasticsearch is optional, but Zammad strongly recommends it for faster search, reporting features and searching email attachment content. If you skip Elasticsearch, expect search and reporting to be slower or limited for large ticket volumes, and confirm that behavior in a test environment before go-live. Plan the Elasticsearch cluster, its storage and its index rebuild steps as part of the same design.

How do support subscriptions and their response times relate to high availability planning?

Zammad's self-hosted support subscriptions have response times of 6 hours for Business, 4 hours for Enterprise and 2 hours for Corporation, and they cost 2,999 EUR, 5,999 EUR and 9,999 EUR per year, according to Zammad's pricing page. A response time is not a recovery time, so the subscription does not replace your own failover design or backup tests. Compare the response window with how long your helpdesk can run without service, then decide which runbooks your staff must execute alone. Confirm current terms directly with Zammad before budgeting, since the subscription covers vendor support, not your infrastructure.

How should we plan backups and recovery for a clustered Zammad helpdesk?

Plan backups for every stateful component, not only the application files. PostgreSQL holds the ticket content, so it needs regular backups and point-in-time recovery if your database platform supports it. Attachments and any local file storage need matching backups so that database records and files stay consistent. Redis and Memcached hold transient data, but you should confirm how Zammad rebuilds them after a restore. Test full restores into a separate environment on a fixed schedule, measure how long they take, and document who approves a failover.

How DeployOpen scopes, builds and hands over Zammad HA

DeployOpen plans Zammad high availability as a written, fixed-scope engagement inside your own infrastructure, covering the application nodes, PostgreSQL, Redis, Memcached, Elasticsearch, backups and recovery steps. The work ends with tested failover evidence and a runbook your team can operate after handover.

How we scope

  • Map your current Zammad deployment, channels, user counts and integrations before choosing a multi-instance layout.
  • Agree in writing which components are in scope: application nodes, shared PostgreSQL, Redis, Memcached and Elasticsearch.
  • Define recovery objectives with your team, including which failures must be survived without interrupting ticket intake.

How we build

  • Deploy multiple Zammad instances with shared services, using the package, Docker Compose or Kubernetes method your team already runs.
  • Configure the reverse proxy, websocket path and cache layer so sessions and realtime updates work on any node.
  • Set up backup jobs for the database and attachments, then restore them into a separate environment to confirm they work.

How we hand over

  • Test node loss, database failover and cache restarts, and record the observed behavior for your review.
  • Deliver a written runbook covering failover steps, backup restore, index rebuilds and upgrade order across nodes.
  • Walk your operations and security staff through the configuration, alerts and access controls before go-live sign-off.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Apply Zammad minor and security releases to the cluster in a tested order, with a rollback plan for each change.
  • Confirm with Zammad which support subscription level matches your response expectations, since application support is separate from your own infrastructure work.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.