When a multi-node midPoint cluster is worth the effort
A multi-node midPoint cluster is worth the effort when a production midPoint must keep working through the loss of one node, or when synchronization, reconciliation and approval workload is heavy enough that one node becomes the bottleneck. If neither applies yet, a single well-sized node with a tested recovery plan may be the better starting point. The cluster design rests on one shared repository: every node connects to the same central database, and midPoint's documentation describes live synchronization, reconciliation and approvals running on any node on a first-come, first-served basis. That model is what lets you add capacity or lose a node without splitting the identity state, but it also means every node depends on the same database being available and correctly configured.
Be clear about what the cluster does not do. midPoint is an identity governance and administration platform, so the cluster is a deployment concern that improves availability of the service, not a substitute for a recovery plan. A failed database, a bad configuration change pushed to all nodes, or an unintended provisioning run will affect every node at once. Before you commit to a cluster, confirm with your own team which outages you must survive, what recovery time and recovery point you need, and who owns the database. Those answers determine whether a second node adds real protection or just a second copy of the same failure.
If you proceed, plan the cluster as part of the platform and its operations together. Ask your implementation partner to document node identification, the intra-cluster URLs each node uses, the load balancer behavior and how the Quartz scheduler distributes tasks, and check these against the Evolveum clustering and high availability documentation before you rely on them. Then test node loss, database failover and a rolling restart in a non-production environment, and record the results. That evidence, not the node count, is what your security and operations reviewers will ask for.
How the nodes, load balancer and database fit together
The diagram starts with users and administrators sending HTTPS requests to a sticky load balancer inside the internal network. The balancer routes each session to one of two or more midPoint nodes, each with its own node identifier. All nodes read and write the same PostgreSQL repository, where Quartz keeps task scheduling state. Nodes also call each other over HTTPS to invalidate caches. Check that every node points at the same database and that the cache calls can reach every peer.
Two midPoint nodes share one repository behind a sticky load balancer.
Cluster configuration options and when each fits
This table compares the four decisions a team makes when setting up a midPoint cluster: how each node is identified, how nodes address each other, how the load balancer routes sessions, and whether nodes split web and task work. Read each row against your topology and traffic pattern, then confirm exact property names in the clustering documentation for your release.
| Decision | Option | When it fits | Trade-off to weigh |
|---|---|---|---|
| Node identification | Static per-node identifier set in each node's configuration | Fixed VMs or hosts where each node has a stable name you can track in logs and monitoring | Every node needs a unique value written by hand, so config management must enforce uniqueness |
| Node identification | Platform-generated identifier (for example, from a Kubernetes pod name) | Containerized or autoscaled deployments where nodes are replaced and names change | Log lines and task ownership follow pod names, so confirm how your platform injects the value and how it behaves on restart |
| Intra-cluster URL | Each node advertises a stable address reachable by every other node | Nodes sit on a private network where cache invalidation traffic can reach peers directly | Wrong or unreachable addresses cause silent cache staleness, so test invalidation between nodes after every change |
| Intra-cluster URL | Advertised address routed through the external load balancer | Network rules prevent direct node-to-node traffic | Invalidation traffic then depends on the balancer and its health checks, which adds a failure point |
| Load balancer stickiness | Sticky HTTP sessions bound to one node per user | Interactive administration and self-service sessions that rely on node-local session state | A failed node drops its sessions, so users must sign in again; plan for that in the runbook |
| Load balancer stickiness | Round-robin without stickiness | Stateless API clients only, and only after you confirm the release supports it for your traffic | Session state is not shared across nodes in the way the sticky model assumes, so interactive use can break intermittently |
| Node role | Shared web and task work on every node | Small clusters where simplicity and redundancy matter more than isolating background load | Heavy reconciliation or approval processing can slow the user interface on the same node |
| Node role | Dedicated task-focused node excluded from the balancer pool | Large imports, reconciliations or frequent live synchronization that would compete with interactive users | Adds a node to size, patch and monitor, and tasks still run on any node first-come-first-served unless you configure otherwise |
Setup sequence for a two-node midPoint cluster
This sequence takes a two-node midPoint deployment from a shared PostgreSQL repository to a verified cluster where both nodes share one database, distribute scheduled work and see each other's configuration changes. Each step ends with a check you can run before moving on.
Size and provision the shared PostgreSQL repository
The infrastructure or database team provisions one PostgreSQL repository that both nodes will use, ideally on a separate database server as midPoint recommends. Confirm the PostgreSQL version against the midPoint system requirements for your release, and confirm that both planned node addresses can reach the database port through your firewall. Sizing follows user count and audit retention, so request sizing guidance before fixing the instance class. The step is done when a test connection from each planned node host succeeds with the production credentials.
Install identical midPoint versions on each node
The platform team installs the same midPoint version, with the same Java runtime, on both nodes, whether from the distribution archive, a virtual machine or Docker images. Version mismatches between nodes are a common source of cluster problems, so record the version string on each host and compare them. Each node also needs its own unique node identifier in its configuration, so the two nodes can be told apart in the cluster view. The step is done when both nodes start against an empty test repository and report the same version in the administration interface.
Set intra-cluster URLs reachable over HTTPS
Each node must publish an intra-cluster URL that the other node can reach over HTTPS, because cache invalidation between nodes runs over that channel. Confirm the hostname or address for each node, the certificate chain that each node presents, and that the trust store on each node accepts the other node's certificate. Keep these URLs out of the public load balancer path so internal traffic does not depend on user-facing routing. The step is done when a request from node A to node B's intra-cluster URL returns a successful response, and the reverse request also succeeds.
Configure the sticky HTTP load balancer
The network or platform team configures a load balancer in front of both nodes with session stickiness, so each user session stays on one node while the sessions are active. Confirm with your load balancer documentation how stickiness is set up, such as cookie-based affinity, and set the health check to the midPoint endpoint your release documents. Assign one virtual hostname to the pool so users and API clients use a single address. The step is done when repeated logins from one browser keep the same backend node and a health check marks both nodes as healthy.
Start the nodes one at a time
Start the first node and wait until it has completed repository initialization and is serving the user interface. Only then start the second node, so the two nodes do not race to create or migrate the same repository objects. Watch both logs during startup for errors about schema, database connections or cluster membership. The step is done when the second node joins without repository errors and both nodes are running with no migration or initialization messages still pending.
Verify both nodes in the cluster view
Open the cluster or node status view in the administration interface and confirm that both nodes appear with their own identifiers, versions and last-seen times. A node that is missing usually points to a database connection or intra-cluster URL problem, so check those first before changing anything else. Record the screen or export as evidence for your change record. The step is done when both nodes are listed as active and each one shows the identifier you configured for it.
Verify task distribution across nodes
Run a small, low-risk scheduled or manual task, such as a reconciliation against a test resource, and check which node picks it up. In a cluster, tasks run on any node on a first-come-first-served basis, so the node that executes the task can differ between runs. Confirm the task completes once and does not run twice, and that the result is visible from the other node. Repeat with a second task if you need to confirm scheduling behavior under load. The step is done when the task completes on one node, the run is recorded once in the task history and the other node shows the same result.
Verify cache invalidation with a test change
Make a harmless change on one node, such as updating a description on a test user or organization object, and then read that object through the other node. The change should appear without a restart, which shows that cache invalidation between nodes is working over the intra-cluster URLs. If the change does not appear, check the intra-cluster URL configuration and the certificate trust between nodes before retesting. The step is done when the test change is visible on both nodes, and you have removed the test object or reverted the change in your records.
How Quartz spreads live sync, reconciliation and approvals across nodes
In a midPoint cluster, live synchronization, reconciliation and approvals can run on any node, and midPoint uses the Quartz scheduler to decide which node picks up each task. Tasks are claimed first come, first served, so you cannot assume that a given resource always syncs from the same machine. A task you started on one node may be picked up by another after a restart, a node failure or a rebalance. Before go-live, confirm the scheduler and clustering properties for your release in the midPoint clustering and high availability documentation, including the node identifier settings and any Quartz properties that control how nodes check in and claim work. Do not rely on defaults you have not read for your version.
The operational consequences show up quickly. Log lines for one reconciliation run can be split across several servers, so a troubleshooting session that starts on one node may find only part of the story. Resource load also lands wherever the task is claimed, which means a heavy reconciliation against a directory or HR feed can hit a node that is also serving administrator logins. Plan central log collection from every node before the cluster carries production traffic, and record which fields identify the node in each entry so you can reconstruct a task's path. Size each node for the work it may pick up, not for the average.
Test failover of a running task in a non-production environment before you rely on it. Start a long reconciliation or synchronization, stop the node that is executing it, and confirm that another node resumes or restarts the work, that the resource is not left in a partial state, and that alerts fire for the interrupted run. Repeat the test with an approval-related task, because a stalled approval affects a person waiting for access. Record the observed behavior against the release you run, and check your monitoring endpoints and task views so that a task stuck on a failed node is visible to the operations team.
Common cluster issues and where they usually come from
Most multi-node midPoint faults trace back to a short list of configuration choices made at install time: node identity, reachability, routing, versions, and the database each node uses. The cards below describe the symptom an operator usually sees and the first check to make, so the team can narrow the cause before changing anything.
Duplicate or missing node identifiers
Each node needs its own node identifier so the cluster can tell its members apart and record which node runs a given task. When two nodes share an identifier, or a node starts without one, task state and cluster membership become unreliable, and operators may see tasks that appear to be running on a node that is no longer there. The first check is the node identifier configured on every node, compared side by side, along with the node identifiers recorded in the cluster view of the administration interface. Container deployments are a common source of this fault when the same configuration file is copied into every replica.
Clustering docsIntra-cluster URLs not reachable
Nodes notify each other about cache changes over HTTPS using intra-cluster URLs. If a node cannot resolve or reach the URL of a peer, changes made on one node may not reach the others, and the cluster can look healthy from the browser while its nodes disagree. The first check is whether each node's intra-cluster URL resolves to that node's own address and whether every other node can open it over HTTPS, including through any firewall or internal DNS zone that sits between them. Certificates trusted by the other nodes must also match the URL.
System requirementsLogin loops behind the load balancer
midPoint's sticky HTTP load balancer setup depends on each user's session staying on one node. A load balancer without session stickiness sends the same user's requests to different nodes, so the login page reappears after successful authentication, or sessions expire without warning. The first check is the load balancer's persistence setting for the midPoint pool, the cookie or header it uses, and whether the proxy forwards that cookie unchanged. Test with a single browser session that is pinned to one node, then with one that is not, to confirm the difference.
Mismatched versions or Java runtimes
All nodes in one cluster must run the same midPoint version and a Java runtime that midPoint supports for that version. Mixed versions can leave the repository schema, task handling, or cache messages in a state that one node does not understand, and a node on a different Java runtime can start but behave differently under load. The first check is the image tag or distribution version and the Java version on every node, compared before any other troubleshooting. Confirm the supported Java versions for your release on the requirements page before you rebuild any node.
Nodes pointing at different databases
Every node must use the same central PostgreSQL repository. A node configured with a different database host, database name, or schema holds its own copy of users, roles, and tasks, so changes appear on some nodes and not others, and tasks can run against data the operator is not looking at. The first check is the repository connection settings on each node, including host, port, database name, and schema, along with a check that the same objects show the same values from each node's interface. Connection settings often diverge when one node was rebuilt from an older template.
Stale cache after administrative changes
midPoint caches objects in each node's memory and relies on cache invalidation messages to keep the nodes consistent after an administrative change, such as editing a role, a resource, or a configuration object. If those messages do not arrive, one node can keep applying the old definition until its cache expires or the node restarts. Symptoms include an edited mapping that takes effect on some requests but not others. The first check is whether the intra-cluster URLs and HTTPS trust are working between all nodes, and whether the nodes log cache messages after the change. Restarting a single node to confirm the diagnosis is a useful test only if the cause has already been ruled out.
Questions buyers ask before configuring a midPoint cluster
Is a single midPoint node enough for our identity governance workload?
A single node can be enough for some environments, but the answer depends on user count, the number of connectors running reconciliation and live synchronization, and how much availability your business expects from the platform. A second node adds redundancy and spreads background work, but it also adds a load balancer, shared configuration discipline and more to monitor. Start from Evolveum's sizing reference for your user count, then ask whether a planned outage for upgrades or node failure is acceptable. If the answer is no, a cluster is the usual next step. Confirm the sizing guidance for your user count with Evolveum before you decide.
What does a midPoint cluster require from our internal team?
A cluster needs people who own the parts outside midPoint itself. Typically this means:
- Database administrators who run the shared PostgreSQL repository and its backups
- Network or platform engineers who configure the sticky HTTP load balancer and the URLs nodes use to reach each other
- Identity engineers who understand the role model, connectors and approval flows that run on whichever node picks up a task
- Change owners who control configuration so every node runs the same version and settings
Decide early who approves configuration changes and who is on call when a node fails.
Can our own team set up a midPoint cluster without a partner?
Yes, many teams do this in-house, provided they have Java, PostgreSQL and load balancer skills and time to read Evolveum's clustering documentation closely. The harder part is usually not the first start but the ongoing discipline: keeping node settings aligned, testing failover, and handling upgrades across nodes. A partner is useful when the team lacks midPoint experience, needs a fixed-scope build with written verification steps, or wants a runbook handed over. Ask which option gives you the evidence your change board expects.
How does cluster effort grow with more nodes and integrations?
Effort grows less with the number of nodes than with the number of things each node must agree on. Adding a node is usually simple in midPoint terms, but every extra node adds configuration to keep identical, cache invalidation traffic over HTTPS to test, and another instance to include in failover tests. Integrations add more work: each connector, scheduled reconciliation and approval workflow needs verification that it behaves correctly no matter which node runs it. Ask any partner to show how they will test those paths.
What should a quote for a midPoint cluster build include?
A useful quote lists the work in writing before it starts:
- Environment review of the database, load balancer, network paths and certificates
- Node build and configuration, including node identification and intra-cluster URLs
- Failover and task distribution tests with recorded results
- Runbook, handover session and any training
- Assumptions about your environments and change control
- Items excluded, such as connector development or role design
Ask which parts are one-time and which recur, such as retained support or retesting after upgrades. Fixed scope and deliverables should be agreed in writing before work starts.
How long does a cluster build take across environments and change control?
Duration depends mainly on how many environments you run, how strict your change control is, and how ready your infrastructure is. Building in development first, then test, then production means each step needs its own verification and approval, and the approval cycle often takes longer than the technical work. Access to load balancers, DNS and database servers can also add waiting time. No duration figure is given here; ask a partner for a timeline that lists each environment, each approval gate and the infrastructure dependencies they have assumed.
Does a midPoint cluster replace backups or disaster recovery?
No. A cluster gives you redundancy for running nodes, but it does not protect against corrupted data, accidental deletion, a bad configuration change replicated to every node, or loss of the shared database. Those risks need tested backups of the PostgreSQL repository and audit database, documented restore steps, and a recovery plan for the whole platform. Ask your team to confirm restore timings and recovery points with their own infrastructure and risk owners, since these depend on your environment.
Where to verify cluster behavior for your release
Before you build the cluster, check the configuration details against the official reference for your exact release. The clustering and high availability reference in the Evolveum documentation describes how nodes share one repository, how they invalidate caches between each other over HTTPS, and how task distribution works. Treat that page as the authority for setting values, and confirm that the version you are installing still matches the examples you copied from earlier documentation or internal notes. Release lines differ in support windows, so the page you read should belong to the same release you will deploy.
Next, confirm the platform combination on the system requirements page. It lists the Java versions midPoint recommends for each release line and the PostgreSQL versions it supports as the native repository, and it states that the database should sit on a separate server. A cluster multiplies any mismatch across every node, so a Java or PostgreSQL version outside the listed combination is a risk you should resolve before the first node starts, not after the second one joins. Ask your platform team to record the exact JDK build and database version that will run in each environment.
Finally, write the release, the node identifiers and the load balancer settings into the runbook before go-live. Record the midPoint version and image tag, the identifier assigned to each node, the intra-cluster URL each node advertises, and the sticky session method and timeout configured on the load balancer. Add the health endpoint the load balancer checks and the owner who approves changes to any of these values. When an incident happens at two in the morning, this record tells the on-call engineer which node is which and whether a failed node was ever configured to receive traffic.
How DeployOpen scopes and delivers a midPoint cluster
DeployOpen approaches a multi-node midPoint cluster as a written, fixed-scope engagement inside your own infrastructure. We agree the node count, repository, load balancer and task layout up front, then build, test and document the cluster so your team can run it after handover.
How we scope
- Written scope names the node count, PostgreSQL repository, load balancer and network paths for the cluster.
- Scope records how node identification, intra-cluster URLs and sticky sessions will be set for your environment.
- Scope lists which failure cases, such as a node restart or database failover, are tested before sign-off.
How we build
- We configure each node with its own identifier, intra-cluster URL and shared repository connection.
- We set up sticky HTTP load balancing and check that user sessions stay on one node.
- We confirm Quartz task distribution by running live sync, reconciliation and approval tasks across nodes.
How we hand over
- Handover covers a runbook with node settings, load balancer rules and the checks used during verification.
- Documentation describes the common cluster issues we hit during testing and how your team diagnoses them.
- Your team receives configuration files in your repository, and we walk through a node restart with them.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Retainers can cover rolling upgrades across nodes and re-testing after changes to the load balancer or database.
- Confirm response expectations and any Evolveum subscription needs in the written scope before work starts.

