SuiteCRM high availability and performance

How to keep SuiteCRM 8 responsive and available: the topology decisions, the build order, the effort drivers, and the failover and restore tests that prove it works before users depend on it.

On this page

Why SuiteCRM high availability is harder than adding a second web server

Keeping a SuiteCRM 8 instance up and fast takes more than a second web server behind a load balancer. The short answer is that every stateful part of the stack must be made redundant on its own terms: the web tier, PHP sessions, uploaded files and attachments, the database, and the scheduled jobs that run email, workflows and maintenance. If any one of these stays on a single machine or is left in local storage, the failover you designed will not behave the way the sales or service team expects during an outage.

Start from the compatibility matrix rather than from the hardware. For SuiteCRM 8.10, the SuiteCRM 8 compatibility matrix lists PHP 8.2, 8.3 and 8.4, Apache 2.4, MariaDB 10.6, 10.11, 11.4 and 11.8, and MySQL 8.0 and 8.4 on Linux, Unix or macOS. Every node in the cluster must run a supported combination, and the same versions must be used on each web node so that behavior does not differ between servers. Confirm these values against the exact SuiteCRM version you plan to run, because the list changes between releases.

The work is shared. The platform team owns the load balancer, shared storage, database replication, backups and monitoring, and must agree on recovery targets with the business. The SuiteCRM configuration owns session handling, file storage locations, the scheduler and the authentication setup, so the two teams have to review each decision together. Ask your implementation partner and your own engineers to confirm component-specific behavior for your installed version, in writing, before you agree on the design.

Which SuiteCRM components need redundancy and why

A highly available SuiteCRM 8 setup is only as available as its weakest tier. Each component below holds state or work that users or jobs depend on, so a single failure can stop logins, saves, or scheduled work even when the other tiers are healthy.

Web tier on Apache and PHP

The web tier runs SuiteCRM 8 under Apache 2.4 with PHP. The compatibility matrix lists PHP 8.2, 8.3 and 8.4 for SuiteCRM 8.10, so every web node must run the same supported PHP build. If one node fails, users routed to it lose their request, but a second node can serve them if it shares configuration and code. Confirm the PHP and Apache versions for your SuiteCRM release in the matrix before you build identical nodes.

Supported PHP range
8.2 to 8.4
Compatibility matrix

Load balancer and health checks

The load balancer decides which web node receives each request. Its health checks should test a page that actually reaches PHP and the database, not only whether the port answers, or a node with a broken application will keep receiving traffic. Confirm with your load balancer vendor how sessions stick to a node, and whether that stickiness is still needed once session storage is shared.

Shared session storage

PHP sessions hold login state and in-progress work for each user. If sessions live on one node's local disk, a failover logs users out and can lose unsaved edits. Move session storage to a location every web node reads, and test a forced failover during a save. Confirm with SuiteCRM documentation for your version how sessions are configured and whether any setting points to a local path.

Shared file and upload storage

SuiteCRM stores attachments, documents, imports and generated files on disk. Every web node must see the same directory, or a file uploaded through one node will return a missing-file error through another. Choose a shared file system or object store that all nodes mount, and confirm with SuiteCRM documentation which directories must be shared and which can stay local.

MariaDB or MySQL database

The database holds every record, configuration change and workflow state, so it is the component with the most impact when it fails. The matrix lists MariaDB 10.6, 10.11, 11.4 and 11.8, and MySQL 8.0 and 8.4. Replication choice, failover method and write routing all affect whether a failover loses committed data. Confirm the replication topology your database vendor supports for your SuiteCRM version before you design failover.

Newest listed MariaDB
MariaDB 11.8
Database versions

Scheduler and background jobs

SuiteCRM scheduled jobs run email sends, workflow actions and maintenance tasks. If every web node runs the scheduler, the same job can run twice and send duplicate emails. If none runs it, jobs stop silently. Decide which single node or service runs the scheduler, plan what happens during its failover, and confirm the scheduler configuration in the SuiteCRM documentation for your version.

How the web tier, shared storage and database fit together

The diagram starts with users on the user network, whose requests pass through a load balancer into the application tier. The load balancer routes to at least two SuiteCRM web nodes, which keep sessions and uploaded files in shared stores so any node can serve any request. Writes go to the primary database, and the replica sits in the data tier. The scheduler runs as a separate job runner that executes once, not on every web node. Check each arrow that crosses a trust boundary, since that is where authentication, network rules and database credentials need review.

Traffic path, shared state and trust boundaries for a multi-node SuiteCRM setup.

Which high availability topology fits your SuiteCRM load

This table compares four topologies and shows how session storage, file storage and the scheduler change the operational work in each. Read each row against your user count, your tolerance for downtime during patching, and the team you have to run it. The main takeaway is that adding web nodes is the easy part; the shared state and the database are what decide whether the setup is actually highly available.

OptionWhen it fitsWhat it costs you operationally
Single node with fast backup and restoreSmall teams with modest concurrency where a planned outage window is acceptable and a tested restore is the main recovery pathAny failure or patch stops service until the node is rebuilt or restored. Backup and restore drills must be run and timed regularly, and the scheduler and file storage sit on the same host, so one failure takes everything down
Two web nodes with a managed databaseTeams that need to patch one web node at a time and can accept that the database is a single dependencyA load balancer and shared session storage must be configured, and uploaded files must sit on storage both nodes can reach. Session handling needs testing, and the database remains a single point of failure
Multiple web nodes with a replicated databaseLarger user bases or strict availability expectations where the team can operate replication and failoverReplication lag, failover testing and split-brain handling become ongoing duties. Each added node adds configuration drift risk, so builds and settings must be automated. Expect more monitoring and a higher skill requirement
Externally managed database serviceOrganizations that already buy managed database services and want backups, patching and failover handled by the providerCosts recur with the provider's pricing and you depend on its restore and failover terms. Confirm the supported MariaDB or MySQL versions against the SuiteCRM compatibility matrix before you choose the service
Sticky sessions versus shared session storeSticky sessions suit a small pool with no node failover expectations. A shared store suits pools where any node must serve any userSticky sessions tie users to a node, so a node failure logs users out and load spreads unevenly. A shared store adds a component to run and secure, and must be sized and monitored
File storage placementShared network storage fits multiple web nodes. Local storage fits a single node with good backupsShared storage becomes a dependency and a performance factor for every request that touches files. Local storage means files must be synced and restored with the database, so both must be backed up together
Where the scheduler runsA single designated node or dedicated worker fits most setups, so jobs run onceIf the scheduler runs on every node, jobs can run twice. If it runs on none, workflows and email stop silently. Confirm the scheduler configuration and monitor job runs in any topology

How to build a highly available SuiteCRM 8 stack in order

This sequence takes SuiteCRM 8 from a single server to a stack with redundant web nodes, a replicated database, shared session and file storage, a single scheduler node and tested backups. Each step closes with a check so the team knows it can move on.

  1. Confirm supported PHP, Apache and database versions

    Before any hardware is ordered, the platform team checks the SuiteCRM 8 compatibility matrix for the release they plan to run. The matrix lists the supported PHP versions, Apache 2.4, the MariaDB and MySQL versions, and the Linux, Unix or macOS platforms. Choose the database family now, because replication setup and failover testing depend on it. Done means a written version list signed off by the application owner, with each component pinned to a version the matrix names. Ask SuiteCRM and your database vendor to confirm any version outside that list before you use it.

  2. Build a staging environment that matches production

    Create a non-production copy with the same PHP, Apache and database versions, the same load balancer type, the same storage mounts and the same scheduler setup as production. Load a recent anonymized or approved copy of the database and files. Run a complete login, record save, email and document upload test, and time a few key list views. Done means the staging stack passes the same functional checks as production, and any difference in configuration is written down and explained.

  3. Set up database replication and test primary failover

    The database team configures replication from a primary MariaDB or MySQL server to at least one replica, following the replication method for the chosen database version. Point SuiteCRM at the connection layer the team selects, whether a proxy or a DNS name, not at a hard-coded host. Then stop the primary in staging, promote the replica, and confirm SuiteCRM reads and writes against the new primary. Done means failover completes, data written before the stop is present on the new primary, and the team has recorded the steps and the time it took.

  4. Move sessions and uploaded files to shared storage

    By default, PHP sessions and uploaded documents live on the local disk of one web server, so a second node cannot see them. Move session storage to a shared store that every web node can reach, such as a session backend the chosen PHP setup supports, and mount the SuiteCRM upload directory from shared network or object storage. Confirm the cache and generated-file paths are handled the same way. Done means a user who logs in through node A, uploads a document, and then lands on node B keeps the session and can open the file.

  5. Deploy identical web nodes behind the load balancer

    Build two or more web nodes from the same image or configuration script, with the same SuiteCRM code version, PHP settings and Apache configuration. Place them behind the load balancer and configure a health check that requests a page SuiteCRM serves without a login and checks the database connection. Remove a node from the pool in staging and confirm users are routed to the remaining node without a broken session. Done means health checks mark a failed node out of rotation, and the test log shows no user-facing errors during the removal.

  6. Run scheduler jobs on one designated node

    SuiteCRM scheduled jobs such as workflow and email processing must run once, not once per web node. Choose one node as the scheduler host, disable the scheduler trigger on the others, and confirm the cron entry exists in one place only. Check how the scheduler job queue is recorded in the database so that duplicate runs do not send duplicate emails. Done means a scheduled job runs once per interval in staging, the log shows one run source, and stopping the designated node is documented with a plan to move the trigger.

  7. Set up backup of files and database

    Schedule database dumps or snapshots from the primary or a replica, and back up the shared file storage and the SuiteCRM configuration, including the environment settings that hold credentials. Store copies away from the primary site and encrypt them. Keep retention periods set by the business, not by the backup tool default. Done means a full restore has been performed on a separate host, the restored instance loads, and a sample of records and attachments matches the source. Repeat the restore test on a schedule the team agrees and record each result.

How single node, multi-node and air-gapped setups differ

A single node runs the SuiteCRM 8 web application, its PHP runtime, the database and the scheduler on one server or one virtual machine. It is the simplest build to install, patch and explain to auditors, and it suits teams with a small user base or a tolerance for planned downtime. Availability in this model depends almost entirely on recovery: if the server fails, you restore from backup onto replacement hardware and accept the outage that follows.

  • Fewer moving parts: One host means one place for Apache 2.4, PHP and MariaDB or MySQL configuration, and one patch window.
  • Recovery depends on restore: Backups of both files and the database must be taken on a schedule and restored in a tested procedure, with the restore time measured rather than assumed.
  • Scheduler on the same host: Scheduled jobs run where the application runs, so a host outage also stops workflows and email jobs.
  • No load balancing or shared storage: Session and uploaded files stay local, which removes several design tasks but also removes any protection against a single host failure.
  • Capacity ceiling: Vertical scaling is the main performance lever, so confirm the expected user count and peak activity with the vendor's sizing guidance before committing.

Before signing off a single node design, confirm the recovery time and recovery point your business accepts and run a full restore into a separate environment to prove them.

What drives the cost and effort of SuiteCRM high availability work

This table compares the factors that raise or lower the cost and effort of a SuiteCRM high availability build, and how to keep each one under control. Read it before requesting a quote, because the drivers determine how much design, testing and recurring operations work the scope needs.

DriverWhy it raises effort or costHow to keep it down
Concurrent users and integrationsMore concurrent sessions and API callers increase the number of web nodes, database connections and load balancer rules to size and test, and each integration adds failure modes to monitor.Agree peak concurrency and the list of integrations in writing, and stage integrations behind queues or scheduled syncs where timing allows.
Data volume and attachment storageLarge document libraries and email attachments make shared file storage, backup duration and restore time grow, and they make restore tests slower to run.Set retention rules for attachments early, separate large file storage from the database backup plan, and measure restore time on realistic data sizes.
Number of environmentsStaging must match production in PHP version, database engine, load balancer settings and shared storage layout, so every extra environment is another build and another test cycle.Keep one staging copy that mirrors production configuration, and use infrastructure as code so environments differ only in data and secrets.
Customizations and custom modulesCustom code, logic hooks and extensions must run identically on every web node and must be retested after each minor release, which adds test scope.Limit custom code to what workflows cannot handle, and keep a regression test list for each custom module.
Compliance evidence requirementsAssessors may ask for evidence of backup schedules, restore test records, access logs, change records and failover results, and each item needs a repeatable process.Define the evidence list before build, automate log and backup reporting, and confirm the exact requirements with your assessor or compliance lead.
Client infrastructure skillsTeams without experience in load balancing, replicated MariaDB or MySQL, shared session storage or scheduler management need more design review, training and handover time.Confirm which skills exist internally, ask for runbooks and handover sessions in the scope, and decide who holds on-call duties before go-live.
One-time build workDesign, build, configuration of load balancing, session and file sharing, database replication, scheduler placement and the first backup and restore test are paid once per platform.Ask for a written architecture and a named list of build tasks so the quote maps to deliverables you can verify.
Recurring operations workMonitoring, periodic backup and restore tests, applying patch releases, and the minor release cycle that arrives roughly every eight weeks repeat for the life of the platform.Ask whether the recurring tasks sit in your team or a retainer, and agree the restore test frequency and patch window in advance.

How to prove failover, scheduling and restore work before go-live

Before go-live, the team should be able to show, with recorded results, that the design fails safely. Start by removing one web node while users are active, such as a scripted session creating and editing records through the load balancer. The observation to record is whether each user keeps their session without interruption or is returned to the sign-in page and can sign in again cleanly. A silent failure, where a user sees errors on save or loses unsaved work with no prompt, means session storage or the load balancer's stickiness settings are not behaving as designed. Repeat the test after bringing the node back, since recovery is part of the result.

Next, force a database primary failover on the replicated MariaDB or MySQL cluster and confirm that SuiteCRM reconnects without a manual restart of the web tier. Check the application log and a few live record saves during the switchover window. Confirm the database connection settings in the SuiteCRM configuration point at an address that follows the failover, such as a virtual IP, a proxy or a cluster endpoint, rather than a fixed primary host. Also run the scheduler test: after a node change, confirm each scheduled job runs once and not twice, for example by checking the job log for duplicate entries at the expected time. Duplicate runs usually mean the scheduler cron entry was installed on more than one node.

Then test shared storage and restore. Upload a file through the application, restart a web node, and retrieve the file from a different node, confirming the content matches. Finally, restore the most recent backup, including both the database and the uploaded files, into a clean environment and time the walkthrough from start to a working login. Record the steps, the elapsed time and any manual fixes. The restore test is the only proof that a backup is usable, so treat a backup that has never been restored as unverified. Confirm the exact target versions for PHP, Apache and the database against the SuiteCRM 8 compatibility matrix before building the test environment.

Access, secrets and trust boundaries in a clustered SuiteCRM

A clustered SuiteCRM spreads trust across the database, shared storage, session store, load balancer and scheduler, and each one holds credentials or settings the others depend on. The cards below name the controls that change when one instance becomes several nodes, so the team can review them before the cluster goes live.

Database replication credentials and paths

Every web node connects to the database through a shared application account, and replicas add a second credential set for replication itself. Keep the replication account separate from the application account, restrict it to the replication network path, and confirm which node the application writes to. Ask the team to show how a failover changes the write target and whether the SuiteCRM configuration on each node is updated to match.

MariaDB versions listed
10.6 to 11.8
Compatibility matrix

Shared file storage permissions

Uploads, attachments, cache and generated files usually live on storage mounted by every node, so one node can write files another node must read. Set the web server user's write access on the required paths only, and keep the SuiteCRM code directory read-only where the deployment allows it. Confirm that file ownership survives remounts and that a restore brings back uploads and database rows together.

Session store access

If sessions are kept in a shared store rather than on each server, that store holds live login state and must be reachable only from the web tier. Limit network access to the session service, require authentication on it, and encrypt traffic where it crosses a network boundary. Ask whether session timeouts and idle logouts behave the same on every node, since mismatched settings let a session live longer on one server than another.

Load balancer TLS and header trust

When the load balancer terminates TLS, the web nodes receive plain HTTP and rely on forwarded headers to know the original scheme, client address and host. Configure the trusted proxy list so that only the load balancer's addresses can set those headers, otherwise a client can spoof them. Check that generated links, redirects and secure cookies use the public HTTPS address on every node.

Scheduler job credentials

Scheduled jobs such as email sending, workflow runs and data cleanup should run on exactly one node, under a dedicated service identity with only the access it needs. Running the scheduler on every node duplicates work and can send messages twice. Confirm which host runs the cron entry, what account it uses, and how a failed job is reported to the team.

SSO settings that must match

When SuiteCRM 8 uses LDAP or SAML, every node must carry the same authentication type, identity provider metadata, signing certificates and attribute mappings, or users will log in differently depending on which server answers. Note that the 8.7.0+ SAML implementation does not support IdP-initiated logout or POST binding to the logout service, so signing out at the identity provider does not end the SuiteCRM session. Plan a separate sign-out step and review it with the identity team.

SAML configuration reference

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

Monitoring must cover every tier, not just the web front end. Watch load balancer health checks, per-node response times and error rates, database replication lag, storage capacity for the shared file store, and the scheduler run history, since SuiteCRM's scheduled jobs (including workflows and email sends) run on a cron-driven schedule and a silent failure there can stall sales and service processes without any visible outage. Confirm with your platform team which alerts page someone out of hours and which go to a ticket queue. Replication lag is the metric most often missed: a replica that falls behind can serve stale records, so set a threshold and test that the alert fires.

Backups are only proven by restores. Back up both the MariaDB or MySQL database and the SuiteCRM file storage, and keep them consistent with each other so a restored database does not point at missing attachments. Schedule a restore test on a separate environment at a regular interval, and record how long the restore took and what had to be fixed by hand. Document the restore procedure in the handover pack and name the person who can execute it.

Each minor upgrade must be rehearsed on the same topology. SuiteCRM 8 minor releases arrive roughly every eight weeks, and patch releases carry only security and bug fixes with no database changes, so patches can usually follow a shorter path. Minor releases may change the database and code your customizations depend on, so rehearse each one on a staging copy built with the same load balancer, shared storage and replica layout as production. Keep a change log, a topology diagram, failover steps, the restore procedure and a list of customizations to retest. Confirm the upgrade calendar and rollback approach with your support provider before scheduling.

Questions buyers ask before bringing in help with SuiteCRM high availability

How much extra effort does high availability add to a single-node SuiteCRM setup?

The effort grows with each layer you add, because every extra node creates a new thing to configure, test and monitor. The main drivers are the number of web servers behind the load balancer, how sessions and uploaded files are shared between them, whether the database moves to a replicated MariaDB or MySQL topology, where scheduler jobs run so they do not fire twice, and how often you must prove that backup and restore work. Each driver also multiplies the test cases: a failover of the database can expose a session or file problem that a web node restart never showed. Ask any partner to list these drivers against your current setup in writing, so you can see which layers are new work and which are already in place.

Can our own team set up SuiteCRM high availability without a partner?

Yes, if your team already runs Linux web servers, database replication and shared storage in production, and can test failover without disrupting users. Most in-house gaps appear in the same few places: session handling across nodes, consistent file storage for uploads, scheduler jobs running on one node only, and restore tests that have never been timed against a real backup. Another common gap is version alignment. SuiteCRM 8.10 supports specific PHP, Apache, MariaDB and MySQL versions listed in the compatibility matrix, and a replicated database stack must stay within that list. Check these areas against your skills before deciding, and budget for admin time either way.

How long does a SuiteCRM high availability project take?

The duration depends on how many environments you need, how many integrations touch the CRM, and which tests your sign-off owners require. A single production cluster with one staging copy is a different job from a setup that also needs disaster recovery site testing, load testing and integration retesting. No duration is fixed by the platform itself, so the answer should come from your own scope. Ask for a written plan that lists each environment, each integration to retest, each failover and restore test, and the review points where your staff must approve progress. A fixed-scope agreement with written timelines lets you compare options on the same basis.

What must our organization provide before high availability work starts?

You will need to provide the work environment and the decisions that only your organization can make. Typical items include:

  • Access to the hosting accounts, data center or air-gapped network where SuiteCRM runs, with change approval paths
  • A staging instance that matches production closely enough to test failover and restore
  • Named sign-off owners for the application, database, security and business processes
  • The SuiteCRM and database versions you must meet, checked against the compatibility matrix
  • Your backup policy, including retention, recovery time expectations and who may trigger a restore

Missing items here are the most common reason schedules slip, so confirm them before the written scope is signed.

Does SuiteCRM Hosted or an external host change the high availability answer?

Yes, because the host decides which layers you control. With SuiteCRM Hosted, the vendor's hosted service may already handle parts of the stack, so your work shifts toward configuration, access, and verifying what the provider delivers. With an external host or cloud account, you still control the architecture but may depend on the host's load balancer, managed database and storage options. Ask the host in writing which failover, replication, backup and restore features it provides, what it does not, and who runs each test. A self-hosted setup inside your own infrastructure gives you full control of the design and the evidence, but also full responsibility for it.

What recurring work continues after high availability goes live?

Recurring work continues because the platform keeps changing and your load changes too. Plan for regular restore tests against the current backup set, failover drills after each significant change, monitoring of web nodes and database replicas, and patching within the supported versions. SuiteCRM minor 8.x releases arrive roughly every eight weeks, and each upgrade must be tested on staging against your clustered setup, not only on a single node. Patch releases contain only security and bug fixes, but they still need the same staging checks before production. Ask any partner whether a retainer covers these tests, upgrades and monitoring, and what it excludes, so the recurring cost is visible from the start.

Who is responsible when a failover or restore does not work as expected?

Responsibility should be written down before go-live, because a failed failover affects users immediately and the cause may span the application, database, network and host. In a fixed-scope engagement, the agreed deliverables define what the partner tests, repairs and documents, and what your team owns afterward. Ask for the escalation path, the named contacts on each side, and how a failed restore test is reported and retested. Also confirm who holds the backup encryption keys and access credentials, because a restore that no one can authorize is no restore at all.

How DeployOpen scopes, builds and hands over SuiteCRM high availability

DeployOpen plans, implements, hardens, backs up, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For SuiteCRM high availability and performance, we start from your traffic, login model and recovery targets, build the cluster in your environment, and leave your team with tested runbooks and evidence that the setup works.

How we scope

  • Written scope agreed before work starts, listing servers, load balancer, shared storage, database and scheduler components
  • Review of current hosting, PHP and MariaDB or MySQL versions against the compatibility matrix for your SuiteCRM 8 release
  • Confirmation of recovery expectations, peak user counts and maintenance windows that shape the architecture

How we build

  • Multiple SuiteCRM web nodes behind a load balancer, with session handling and shared file storage designed and tested together
  • Replicated MariaDB or MySQL configuration with failover tests run against a staging copy before production
  • Scheduler jobs run on a single controlled node, with logs and monitoring checked after each change

How we hand over

  • Documented architecture, configuration files and runbooks for failover, node replacement and scheduler recovery
  • Backup and restore tests with recorded results, so your team sees a restore completed rather than assumed
  • Walkthrough with your operations and security staff covering monitoring, alerts and who acts on each alert

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover
  • Retesting of the cluster after SuiteCRM minor or patch releases and after PHP or database changes
  • Support scope written down in advance, so responsibilities for hosting and SuiteCRM application issues are clear

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.