Open-Xchange App Suite database and storage design

How to design the MariaDB InnoDB data store, Galera clustering and NFS or object storage for OX Drive files and attachments, sized to your mailbox counts.

On this page

Open-Xchange App Suite database and storage design starts with three data types

A team planning an OX App Suite v8 platform in its own infrastructure has to decide where three kinds of data live before any Helm chart is installed: metadata and account data, session and cache data, and file content. MariaDB with the InnoDB storage engine is the primary data store, holding the relational data the middleware depends on. Redis holds caching and session storage, and it is deployed by default through the littlered operator, with unmanaged or custom Redis setups also configurable. OX Drive files and PIM attachments are a separate case: they must sit on a distributed file system, not on a database host or a single node's local disk. Each of the three has its own availability, backup and sizing questions, so they should be designed together rather than handled as one database project.

Teams need this design work early because the storage choices shape the cluster, not just the database. The supported MariaDB versions are 10.6.x, 10.11.x, 11.4.x and 11.8.x, and Galera Cluster is supported, so the first decision is whether a single instance is acceptable or whether replication across nodes is required from the start. A Galera cluster adds quorum, node count, network latency and state transfer behavior that a single database host does not have. The file tier adds a second decision: NFS is the stated option for small to mid-size deployments, while object storage such as AWS S3, Ceph RadosGW or Scality RING is the option for larger ones. Changing either choice after go-live means data migration, so the reader should confirm the expected deployment size with Open-Xchange before fixing the design.

Storage growth tracks mailbox and file counts, not the number of users alone. Each mailbox adds message metadata in the database, attachments on the file tier, and calendar and contact records that grow with use. OX Drive adds file versions and shares, and the total depends on how much users store and attach. The practical step is to ask for sizing guidance for your mailbox and file profile, measure average mailbox and attachment sizes from your current system or pilot, and plan database and object or NFS capacity with headroom for growth. Backup and restore scope must cover all three tiers together, because a database restored without matching file content produces broken attachment references.

Which components hold mail metadata, files and sessions

An OX App Suite v8 platform splits its state across several stores, each with a narrow job. Knowing what each one holds, and what it deliberately does not hold, tells you what to back up, what to replicate and what to size separately from mailbox counts.

MariaDB with InnoDB

MariaDB with the InnoDB storage engine is the primary data store for OX App Suite v8. It holds the relational data the middleware depends on, so it is the store your database team will own most closely. The supported versions are 10.6.x, 10.11.x, 11.4.x and 11.8.x, so confirm the minor version you plan to run against the requirements page before you pick a base image. It does not hold OX Drive files or PIM attachments, which live in the file store.

Requirements page

Galera Cluster replication

Galera Cluster is a supported option for replicating the MariaDB data store across nodes. It adds write-set certification and synchronous replication, which changes how you handle node count, quorum and failover testing. Ask Open-Xchange which Galera topology it validates for your release before you commit to one. Galera does not replace backups, because a bad write or dropped table replicates to every node.

Distributed file storage

OX Drive files and PIM attachments must sit on a distributed file system, not on local pod volumes. NFS is the documented choice for small to mid-size deployments, while object storage such as AWS S3, Ceph RadosGW or Scality RING is the option for larger ones. Confirm with Open-Xchange which backends and access modes it supports for your release, and plan backup and restore for this store separately from the database. It holds file content, not the metadata that points to it.

Storage requirements

Redis for cache and sessions

Redis 7.4.x handles caching and session storage for OX App Suite v8. It is deployed by default through the littlered operator, and unmanaged or custom Redis setups are also configurable. Losing this store typically means users re-authenticate and caches rebuild, so the risk is availability and login disruption rather than data loss. Decide early whether your platform team will run Redis through the operator or as a managed service, because that decision changes your failover and monitoring design.

Helm values that wire pods to stores

The official Helm charts reference container images and set the connection details that point each middleware pod at MariaDB, Redis and the file store. Those values, including hostnames, credentials references and storage class settings, are where a misconfigured store most often shows up. Keep the values per environment under version control and review them whenever you change a store. The chart does not provision the stores themselves, so the database, cache and storage backends must exist and be sized before the first install.

Operations guide

Which MariaDB topology and storage backend to choose

This table compares the database topology and file storage options for OX App Suite v8 against the scale guidance in the requirements, along with the operational work each option adds. Read each row as a decision: the first column names the choice, and the cells show when it fits and what your team will carry afterward.

OptionWhen it fitsOperational cost
Single MariaDB instanceSmaller deployments where the requirements scale guidance supports one database node and a restore-based recovery plan is acceptable to the businessSimplest backup and restore, but failover is a manual recovery exercise that must be rehearsed; confirm the single-node approach against the requirements page
Galera Cluster on MariaDBDeployments that need multi-node database redundancy, where the requirements page lists Galera as supported for the chosen OX releaseAdds node count, quorum handling, state transfer planning and failover testing; requires staff comfortable with synchronous replication behavior
NFS for Drive files and attachmentsSmall to mid-size deployments, as the requirements page describes for the distributed file systemLower tooling overhead, but the NFS server, its exports, capacity growth and its own resilience become your responsibility
Object storage (AWS S3, Ceph RadosGW or Scality RING)Larger deployments, as the requirements page describes, where file volume and growth justify a dedicated object platformRequires bucket policies, lifecycle and replication settings, key rotation and storage administration skills; Ceph or Scality may need in-house platform staff
Operator-managed databaseTeams that want the database lifecycle handled by a Kubernetes operator and accept the operator's upgrade and configuration modelLower day-to-day administration, but operator versions, custom resources and upgrade sequencing must be tested before each OX rollout
Self-managed databaseTeams with established MariaDB administration practice that need direct control over configuration, backup tooling and maintenance windowsFull responsibility for backup verification, patching, Galera recovery runbooks and monitoring; requires experienced database administrators
Version choice (MariaDB and Galera)Any topology; the supported MariaDB series are listed on the requirements page for each OX releaseConfirm the exact MariaDB and Galera versions against the requirements page for your chosen release before ordering or building infrastructure

How to sequence the MariaDB, Galera and storage build

This sequence builds the data tier for OX App Suite v8 in an order that keeps each store verifiable before the next one depends on it. The result is a database, cache and file backend that Helm can point at during first-time initialization.

  1. Confirm the release and its requirements

    The platform team selects the OX App Suite v8 release it will deploy and reads the requirements for that release, including the Helm version, Kubernetes and Istio versions, and the supported MariaDB and Redis versions. Confirm the release is inside the support window for the update channel you plan to use. Done means a written record of the release number, the Helm version, and the store versions that the release accepts, signed off by the platform owner and the security lead.

  2. Choose a supported MariaDB version

    Pick one MariaDB version from the list the requirements document gives for OX App Suite v8, which covers the 10.6.x, 10.11.x, 11.4.x and 11.8.x lines. Match that choice to your database team's patch process and to the Galera build you plan to use if you cluster. Confirm the version on a lab server before any production node is built. Done means the chosen version string is recorded in the design document and the lab instance reports that exact version.

  3. Build the InnoDB schema and least-privilege users

    Create the databases with the InnoDB storage engine as the default, then create separate accounts for the middleware, the migration and administration tasks, and any reporting or backup jobs. Grant each account only the privileges its role needs, and restrict host access so the accounts can connect only from the cluster network range. Confirm the database and user settings are set in the deployment values or initialization scripts that your team will version. Done means a login test succeeds for each account from its intended source and fails from an unlisted host.

  4. Stand up Galera if you cluster

    If you chose a clustered store, bootstrap a Galera Cluster from the MariaDB version selected earlier, join the remaining nodes, and confirm that the cluster is in the synced state on every node. Test a write on one node and a read on another before anything depends on the cluster. Galera is an option the requirements allow, so the decision to cluster should be recorded with your recovery targets. Done means the cluster size, the synced state, and a successful cross-node write and read are documented.

  5. Provision the file storage and set permissions

    Provision the distributed file system for OX Drive files and PIM attachments. The requirements name NFS for small to mid-size deployments and object storage such as AWS S3, Ceph RadosGW or Scality RING for larger ones. For NFS, set the export and the owner and group IDs that the middleware containers run under, and for object storage, create a bucket and an access key scoped to that bucket only. Done means one test file written from a pod on one node is readable from a pod on a second node, and a write from an unauthorized identity is refused.

  6. Configure Redis for caching and sessions

    Deploy Redis 7.4.x for caching and session storage. The requirements state the default deployment uses the littlered operator, and an unmanaged or custom Redis is also possible if your team operates it. Set authentication and restrict network access to the cluster. Confirm the Redis version reported by the server matches the requirement before continuing. Done means a Redis round trip succeeds: a SET from one pod returns the value on a GET from another pod, and the version check passes.

  7. Point the Helm values at each store

    Set the database host, port, account names, and secret references, the file storage path or bucket endpoint, and the Redis connection in the Helm values for each environment, keeping credentials in your secret manager rather than in plain chart files. Render the chart with these values and review the output so every store address matches what you built. Done means the rendered manifests contain the expected endpoints and no credential appears in plain text in the output.

  8. Run first-time initialization and verify

    Run the first-time initialization against the empty stores, then confirm the middleware connects to the database, reads and writes to the file backend, and reaches Redis. Check the Galera state again after initialization and run a test mailbox or Drive file through the full path. Record the initialization output and the checks as the baseline for later upgrades and failover tests. Done means every check passes from the running environment and the baseline record is stored with the design document.

How OX App Suite pods reach the database, cache and file store

The diagram starts at the OX App Suite pods running in the Kubernetes cluster and shows three hand-offs leaving it: SQL traffic to MariaDB InnoDB (with Galera nodes if clustering is used), session and cache traffic to Redis, and file and attachment reads and writes to the distributed file or object store. The trust boundary wraps the cluster and the storage network, so the reader can see which links cross it. Check that every crossing has encryption and access control, and confirm with Open-Xchange which Redis setup and storage type your scale requires.

Pods reach MariaDB, Redis and the file store across a trust boundary.

How the data layer changes for small, high-availability and air-gapped deployments

For small to mid-size deployments, the supported storage option for persistent data is NFS, paired with a single MariaDB instance using the InnoDB storage engine. The topology is simpler: one database endpoint, one file share, and fewer moving parts to patch and monitor. The trade-off is that the database and the file share are each a single point of failure, so recovery depends on backups and a tested restore rather than on automatic failover. Backups must cover both the database and the NFS export, and the two should be captured close enough in time that attachment references and stored files stay consistent.

  • Single database endpoint: One MariaDB instance holds the primary data store. Confirm the supported version from the requirements page (10.6.x, 10.11.x, 11.4.x or 11.8.x) and the sizing guidance for your mailbox count.
  • NFS for persistent files: OX Drive files and PIM attachments sit on the share. Confirm the NFS server's own redundancy, export options and performance under your user load.
  • Coordinated backups: Schedule database dumps or snapshots and NFS snapshots together, then test a full restore of both into a separate environment.
  • Restore-based recovery: Measure how long a restore takes for your data volume, because that figure, not a failover time, defines your outage window.
  • Redis placement: Confirm whether Redis runs in the cluster with the default operator or as an external service, since that affects what must be backed up.

Before go-live, check the vendor's guidance on single-instance database limits and whether your NFS design meets the file durability you have committed to internally.

What sizes the database and storage tier to mailbox counts

This table lists the drivers that set the size and effort of the MariaDB, Galera and file storage tier, and how each one moves cost. Read each row as a question to answer in the written scope, since the mailbox count alone does not produce storage or database figures. The main takeaway is that mailbox count is only the starting input, and retention, backup and skills decide much of the long-term workload.

DriverWhy it changes effort or costHow to keep it down
Mailbox and user countSets the size of the MariaDB schema and the volume of Drive and attachment data. OX sizing guidance in the requirements and product guide is the reference for converting counts into estimates.Confirm the active mailbox count, not only licensed seats, and size the first phase to it with a planned growth step.
Expected file and attachment volumeDrive files and PIM attachments must sit on a distributed file system, so average file size and sharing habits drive the storage capacity and backup load.Measure current mailbox and file-share usage, set attachment and quota policies early, and document the assumption in the scope.
Retention and backup windowsLonger retention multiplies stored data and backup copies, and a restore test needs time and capacity that scale with the data set.Agree retention periods with legal and compliance owners before design, and keep backup scope tied to the written recovery targets.
Number of environmentsEach environment (test, staging, production) needs its own database and storage footprint, and some need a copy of production-scale data to test migrations and upgrades.Use smaller non-production datasets where the test goal allows, and confirm which environments must match production sizing.
Galera node countA Galera Cluster adds nodes for availability, which increases infrastructure, replication overhead and monitoring work. Galera is supported with MariaDB, per the requirements.Confirm the node count against the availability target in the high availability plan, and avoid adding nodes without a failover test.
Storage backend choiceNFS suits small to mid-size deployments, while object storage such as AWS S3, Ceph RadosGW or Scality RING fits larger ones. The choice changes setup, licensing and operating effort.Match the backend to the confirmed volume and the team's existing skills, and confirm supported options in the requirements guide.
Skills needed to run the tierOperating MariaDB, Galera, the storage backend and backups requires database and storage administration experience in addition to Kubernetes skills.Name the owner for each component before go-live, and ask the partner for a handover plan in the quote.

How to prove the data tier survives a node loss

The data tier passes only when each component is failed on purpose, in a non-production copy of the environment, and the client sees the behavior it expects. Run four tests before go-live. First, stop one Galera Cluster node under write load, confirm the remaining nodes stay in the primary component and keep accepting writes, then restart the node and confirm it rejoins and completes state transfer before its cluster status returns to synced. Second, fail the active MariaDB writer and either promote a replica or restore the latest backup into a clean instance, then time how long OX App Suite takes to reconnect and confirm that data written before the failure is present. Third, restart Redis while users are signed in and record whether sessions survive, which depends on how your Redis setup is configured. Fourth, interrupt the NFS server or one object storage node while users upload and download files in Drive and open PIM attachments.

A test fails when any of these happens: writes are lost or silently accepted and then missing, a node rejoins with inconsistent data, users receive errors without explanation, or a session is dropped in a way users cannot recover from. Decide the fail-safe behavior before the test, not during it. A sound design puts the platform into a read-only or maintenance state rather than accepting writes it cannot persist, shows a plain message that says what is unavailable and what to retry, and never reports an upload as complete until the file is confirmed on the storage tier. Ask the vendor and your own team to confirm how OX App Suite behaves in each of these states for your chosen versions, because the exact read-only and retry behavior depends on configuration rather than on defaults you can assume.

Record every test as a dated entry with the component, the failure injected, the expected result, the observed result, the time to recover and the person who witnessed it. Keep the MariaDB and Galera logs, Redis status output and storage health records alongside the entries. Any failed test needs a root cause, a fix and a retest before sign-off. The go-live sign-off should list the recovery times you accepted and the owner of each one, so the decision to proceed is written down and traceable to evidence. Keep the same test set in your change process so it runs again after each chart or database upgrade.

How to protect mail data, file storage and database credentials

The database, Redis, file storage and backup layers each hold mail and files that a breach would expose, so they need separate access paths. The controls below connect network isolation, identity, encryption and credential handling across the data design. Confirm each one against the documentation of the database, storage and backup products you select.

Restrict database and Redis access to the OX namespace

Use Kubernetes network policies so that only the OX App Suite workloads can open connections to MariaDB and Redis, and deny traffic from other namespaces by default. Check that backup jobs, monitoring agents and administrative tools each have an explicit, documented path rather than general cluster access. Confirm with your cluster network plugin that network policies are enforced, because some configurations accept the policy objects without applying them. Test the rules by attempting a connection from an unrelated pod.

Use least-privilege database users

Create separate MariaDB accounts for each OX component that needs database access, and grant each account only the schemas and privileges it uses. Keep schema change rights for the upgrade procedure and off the runtime account, so a compromised middleware process cannot alter tables. Review grants after each Helm chart upgrade, since chart changes can introduce new database roles. Ask the OX deployment documentation which accounts the chart creates and which you must create yourself.

Encrypt storage and backups where supported

Decide whether encryption at rest applies to the NFS server, the Ceph or Scality cluster, the S3 bucket and the MariaDB data volumes, and where each key is held. Encrypt backups before they leave the cluster, and confirm that restores can read them with keys your team controls. Encryption on the storage layer does not protect data from anyone who can read the mounted volume through the application, so pair it with access controls. Confirm the options in the vendor documentation for your chosen backend.

Control NFS exports and bucket access

On NFS, restrict each export to the cluster subnet or specific nodes, and avoid root-squash exemptions unless the storage vendor requires them. On object storage, use bucket policies or per-service credentials that allow only the object operations OX Drive and attachments need, and block public access at the bucket level. Enable access logging where the backend offers it, and review who can change export or bucket policies. Confirm the exact export options and policy syntax in your storage product's documentation.

Handle credentials as Kubernetes secrets

Store database passwords, Redis credentials and storage keys in Kubernetes Secrets, or in an external secret manager that syncs into them, and never place them in Helm values files committed to version control. Limit Secret read access with RBAC to the namespaces and service accounts that need it. Plan rotation, including how a password change propagates to running pods without an outage. Confirm with your secret tooling whether Secrets are encrypted at rest in etcd.

Separate backup credentials from runtime credentials

Give backup jobs their own database account, storage key and write-only bucket path, so a compromised application pod cannot delete or overwrite backups. Restrict the backup account to read and dump operations, and keep the restore account separate and used only during recovery tests. Record which identity wrote each backup so that audit logs can show tampering. Confirm with your backup tool whether it supports immutable or object-locked retention.

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

Go-live is the point where the database and storage design starts being tested by ongoing operations. The MariaDB InnoDB cluster under Galera needs continuous watch on cluster state, meaning the reported cluster size, whether each node is in the primary component, and replication or flow-control delay that could cause writes to slow across all mailboxes at once. Watch InnoDB health as well: buffer pool hit rates, lock waits, deadlocks and the error log on each node. Redis, which OX App Suite v8 uses for caching and session storage, needs availability checks and memory headroom, because a Redis failure affects logins and sessions even when the database is healthy. On the file side, track capacity growth and latency for the NFS or object storage that holds OX Drive files and PIM attachments, since attachment volume often grows faster than mailbox counts. Set alert thresholds with your platform team and confirm the monitoring agents and exporters with your Galera and Redis versions before you rely on them.

Backups need two parts that are tested separately: a database backup for MariaDB, and a copy of the file store, which must stay consistent with the database because attachment and file metadata live in both places. Agree on backup frequency, retention and where copies are kept, then run restore tests on a schedule and record how long a restore took and whether the restored data opened correctly in a test environment. Do not treat a successful backup job as proof of recovery. Keep the retention period aligned with your legal hold and records policies, which your compliance team, not the implementation partner, should set.

Version moves on the data tier follow the OX release calendar. Check the MariaDB versions listed in the OX App Suite requirements (10.6.x, 10.11.x, 11.4.x and 11.8.x) and the Redis 7.4.x line against each target release before you schedule a move. Support windows matter here: a standard release is supported for 12 weeks, and an LTS release is supported until the next LTS release plus six months, so a database version that is no longer on the supported list can block the next OX upgrade. Keep a written record of the topology, storage paths and mount points, backup retention settings, and the results of each failover test, and update that record after every change. Ask your partner to hand over this record as a deliverable with the runbook, and confirm the review cadence in the written scope.

What buyers ask about OX App Suite database and storage design

Is a single MariaDB instance enough, or do we need Galera Cluster?

A single MariaDB instance can serve a small deployment, but the choice depends on how much downtime your mail and collaboration service can tolerate and how many replicas of the middleware you run. OX App Suite v8 uses MariaDB with the InnoDB storage engine as its primary data store, and Galera Cluster is a supported option for high availability. Ask your OX partner to map your recovery targets to a single node with tested backups or a Galera design, then confirm the supported MariaDB versions (10.6.x, 10.11.x, 11.4.x or 11.8.x) against the requirements page before you pick a build.

Does NFS or object storage fit our size for OX Drive and attachments?

OX App Suite requires persistent data such as OX Drive files and PIM attachments to sit on a distributed file system. NFS is the documented option for small to mid-size deployments, while object storage such as AWS S3, Ceph RadosGW or Scality RING is intended for larger ones. The deciding factors are your file volume, your existing storage skills and whether your data center already runs an object platform. Confirm the exact storage backend and its support status with Open-Xchange before you commit budget.

How do mailbox counts change the database and storage design?

Mailbox count drives the size of the database, the number of middleware replicas, the cache layer and the capacity of the file store, and these scale at different rates. Open-Xchange positions OX App Suite for deployments from thousands to millions of mailboxes, so the design for a few thousand users looks very different from one for a large provider. For illustrative planning, ask for the expected mailbox count, average attachment volume, growth rate and peak concurrent sessions, then have the design show how each tier grows.

What does our team need to provide for this work?

Your team needs to supply the infrastructure the design lives in: a Kubernetes cluster that meets the supported versions, storage that can be provisioned, database hosts or a managed database platform you control, backup targets and network paths between them. You also need people who can approve the data residency, retention and access rules, and who will own the platform after handover. Expect to provide access to change windows, DNS and identity systems, since the database and storage layout interacts with each of them.

How long do the design and build take in our environment?

Duration depends on your existing infrastructure, the storage option chosen, whether Galera is needed, how many environments you run and how much testing your compliance team requires. No general figure is reliable across those variables. DeployOpen works on fixed-scope engagements, so the timeline is agreed in writing after the environment and requirements are reviewed. Ask for the milestones, the dependencies on your infrastructure teams and the testing included before go-live.

What are the main cost drivers for database and storage?

The largest costs are usually the infrastructure itself (database nodes, storage capacity, backup capacity and network), the design and build effort, and the testing needed to prove backup and recovery work. Recurring costs include storage growth, backup retention, patching within the support window and staff time. Open-Xchange states that certain modules may carry separate fees set in the license agreement, so confirm licensing before you size the storage. Ask any quote to separate one-time design and build work from recurring operations.

Can our in-house team design and build this without a partner?

Yes, if your team already runs Kubernetes, MariaDB clustering and a distributed file system, and has time to test failover and restore before go-live. The OX App Suite code is published under AGPL-3.0 on GitHub, but the code mirror does not replace the support commitment or licensing terms that apply to your deployment. Many teams use a partner for the first design review and the failover tests, then take over operations. Compare the skills your team has against the requirements before deciding.

How DeployOpen scopes, builds and hands over the data tier

DeployOpen plans and implements the Open-Xchange App Suite data tier inside your own infrastructure, covering the MariaDB InnoDB store, Galera clustering and the distributed file or object storage behind OX Drive files and attachments. Each step is sized to your mailbox counts and written down so your compliance and platform teams can review it.

How we scope

  • Engagements are fixed-scope, with the data tier scope, deliverables and timelines agreed in writing before work starts.
  • We confirm mailbox counts, file volumes and growth expectations so storage and database sizing is based on your figures.
  • We confirm whether NFS or an object store such as S3, Ceph RadosGW or Scality RING fits your deployment size and existing platform.

How we build

  • We deploy MariaDB with InnoDB and Galera Cluster on your Kubernetes environment, using supported versions confirmed against the requirements.
  • We configure the distributed file or object storage for OX Drive files and PIM attachments, with access paths and backup settings documented.
  • We test failover and restore for the database and storage tiers before any production cutover.

How we hand over

  • You receive architecture records, sizing notes, configuration values and runbooks for the database and storage tiers.
  • We document backup, restore and capacity-review procedures so your operations staff can run the tier without us.
  • Handover includes a walkthrough of failover tests, results and the open items that remain for your team to confirm.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Retainer work can include aligning database and storage versions with the OX App Suite support window you choose.
  • We recommend re-checking sizing whenever mailbox counts or file volumes change materially.

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.