X-Road Security Server maintenance mode

Maintenance mode lets a member announce planned downtime on its X-Road Security Server so consumers can plan around it. This page explains what to confirm, how to configure and verify it, and what your team or a partner needs to own.

On this page

When X-Road Security Server maintenance mode fits planned downtime

Maintenance mode fits a member organization that must take its Security Server offline for planned work, such as operating system patching, moving the PostgreSQL database it depends on, or replacing hardware, while other organizations keep calling the services it publishes. Without an announcement, consumers see failed requests with no explanation and open incidents with their own teams. Maintenance mode is the mechanism for announcing that downtime, and it has three parts: the message returned to clients during the window, propagation of the planned state through global configuration so that consumers' Security Servers learn about it, and an exception for management services providers, whose role during the window you must confirm. Each part is a point where a plan can fail, so check them separately.

Do not treat the exact behavior as settled from this page. Confirm the message text returned to clients, how the planned state reaches consumers' Security Servers through global configuration, and which requests, including those from management services providers, still pass during the window in the official user guide for your version, which is the X-Road Security Server user guide. Then rehearse the full sequence in a test environment that matches your Security Server version, your database setup and your consumers' configuration distribution. Record what a consumer actually sees at each step, because the rehearsal shows whether your notice window is long enough. Ask key consumers to confirm they received the notice and can act on it, since a configuration step that works in test can still leave a consumer's systems unaware.

Maintenance mode options and when each fits

This table compares three ways to take X-Road Security Server capacity offline: a planned window announced through maintenance mode, removing one node from a clustered setup, and an unannounced stop. Read each row for the consumer impact, the coordination it needs and the situations where it fits. Use the high availability guidance for clustered designs, and confirm each option's exact behavior in the official documentation before you plan around it.

OptionConsumer impactCoordination and when it fits
Planned window announced through maintenance modeConsumers receive the maintenance message while the service is unavailable, which gives their teams a chance to plan.Agree the window with consumer members and confirm with the operator how the state propagates. Fits a planned change with a known window.
Removing one node from a clustered setupConsumers should see little or no interruption if the load balancer routes requests to the remaining nodes. Confirm this for your design.Remove the node from load balancer rotation, then confirm shared database and in-flight request behavior. Fits redundant Security Servers; see the high availability guidance.
Unannounced stop of servicesConsumers get failed requests or timeouts with no explanation, so their retries, alerts and failed transactions are harder to trace.No advance coordination is possible, so it fits only unplanned failures. Send a follow-up notice and review the incident with affected consumers.
Maintenance touching management servicesImpact depends on which services the window touches and whether consumers rely on them during the change.Confirm the exception for management services and its propagation in the docs before scheduling. Fits only after that check is complete.

How the maintenance notice reaches consumers through global configuration

Consumers do not learn about planned downtime from the provider directly. They learn about it through the global configuration, the shared set of member, service and security data that every X-Road Security Server downloads from the Central Server side. When a provider puts a service into maintenance mode, that change has to be published in the global configuration before consumer Security Servers can act on it. The provider therefore depends on a path it does not run itself: the Central Server operator publishes the change, and each consumer's Security Server picks it up on its own schedule.

Since version 7.4, the X-Road security hardening guidelines recommend publishing global configuration over HTTPS. For a maintenance notice this matters in two ways: the download is protected in transit, and an operator still on an older publication setup has a weaker channel for the one message that tells consumers a service will be unavailable. Start with an inventory. List the X-Road version on the Central Server and on each Security Server you run, and confirm how each instance fetches global configuration. Mixed versions across the ecosystem are where a notice can quietly fail to arrive, so record those gaps before you schedule any planned downtime.

The timing risk sits in the gap between publication and the last download. Until every consumer has refreshed its global configuration, some clients will still send requests to a service that is already in maintenance, and some will receive the notice while others do not. Plan the notice period with that gap in mind, and ask the Central Server operator how and when configuration changes are published and how consumer Security Servers refresh them. Then rehearse the path in your own environment with a planned change on a test service before the production window. The propagation timing has to be confirmed in the X-Road documentation and on your own environment, so do not set a notice period from assumptions.

Planned downtime reaches consumers through global configuration

The flow starts with the provider operator enabling maintenance mode on the provider's Security Server. That change is distributed through global configuration, the shared configuration that Security Servers in the instance use, so consumer Security Servers can pick it up. The management services provider path is drawn separately because it is handled on its own track, so do not assume it behaves like the consumer path. Check the current maintenance mode documentation for what each consumer sees and when, and rehearse the sequence in a non-production environment before the planned window.

Maintenance notice flows from provider to consumers via global configuration.

Setting up a planned maintenance window step by step

This sequence takes a Security Server from normal operation through a planned window and back to normal, with a check at each stage. Each check confirms what consumers see, so the window closes with evidence that they received the notice and that normal exchange has resumed.

  1. Confirm the installed version is supported

    Check the Security Server version on every node that serves consumers before you schedule the window. The supported versions are 7.8.3, 7.7.4 and 7.6.5, and 7.8.3 is the current release. Keep version changes out of the window and schedule any upgrade separately. Record each node's version in the change ticket. The step is done when every node appears on the supported list and the platform owner has signed off the inventory.

  2. Identify the admin role for maintenance mode

    Read the Security Server user guide for your exact version to find which of the five user roles may enable maintenance mode. The roles are Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Name the person who will run the window, assign that role, and confirm they can log in to the admin UI from the internal network. If admin users authenticate through LDAP, test that the group mapping gives them the role before the window. The step is done when the named operator has logged in with that role and the test is recorded.

  3. Notify consumers before the window opens

    Tell every organization that calls services through this Security Server about the planned window. The notice should name the affected services, the start and end times agreed in your change process, and a contact who can answer questions during the window. Ask each consumer to confirm receipt and to tell you which of their systems call your services, so you know who will see the maintenance message. The step is done when every consumer has acknowledged the notice in writing and the list is attached to the change ticket.

  4. Enable maintenance mode from the internal network

    Log in to the admin UI, which is reachable on TCP 4000 from the internal network, and enable maintenance mode with the role identified in the previous step. Enter the message consumers will receive and check that its wording matches the notice they already have. Before and after the change, record the global configuration version shown by the Security Server and confirm it has changed. The step is done when maintenance mode shows as enabled, the message is saved, and the version change is in the change record.

  5. Verify the notice from a consumer

    From a consumer system outside your network, or from a consumer test client, send a request to one affected service. The expected result is the maintenance message returned to the client, which should be distinguishable from a generic connection or authentication error. Confirm the message matches the wording agreed in the notice. Run the same test in a non-production environment beforehand so the consumer team knows what to expect. Confirm how any management services provider is treated during the window. The step is done when the consumer side has captured the notice for at least one affected service and the result is in the ticket.

  6. Perform the planned work

    Carry out the planned work inside the agreed window and limit it to that work. Keep changes to packages, databases, certificates and configuration within the change plan, and log each action with a time. If the work reaches a point where the plan must change, decide before continuing and tell consumers if the expected end time moves. The step is done when the work log lists every completed item, each open issue has an owner, and the operator is ready to disable maintenance mode.

  7. Disable maintenance mode and verify again

    Disable maintenance mode with the same role used to enable it, then confirm the global configuration version has updated again. From the consumer side, send the same test request and confirm the service answers with its normal response instead of the maintenance message. Notify consumers that the window has closed and ask them to report any errors. The step is done when the consumer test succeeds, consumers have confirmed normal exchange, and the change ticket records both verification results.

What maintenance mode means for each team

The provider operator runs the Security Server that hosts the services going offline. This team decides when the window opens, sets the expectations consumers will rely on, and makes sure the announcement reaches client Security Servers through global configuration. Confirm the steps and their order in the current Security Server documentation before the first planned window.

  • Enable the window deliberately: Turn on maintenance mode only for the period and services you have announced, and confirm in the docs how the window is set and cleared.
  • Announce before the window: Tell consumer teams the start time, the expected end and that their applications will receive a maintenance message.
  • Confirm propagation: Check that the announcement reaches client Security Servers, and measure the delay in a test setup before you depend on it.
  • Test the exception path: Verify that management services traffic behaves as the documentation describes during the window, before the real window begins.
  • Clear the window and verify: Turn off maintenance mode after the work and confirm that consumers see normal service again.

Before you publish any window, check the exact steps, message handling and propagation behavior for your X-Road version in the official documentation.

Security and operational risks during a maintenance window

A maintenance window opens the admin interface, changes who can sign in and sends a new message to every member. The four cards below set a control for each of those exposures, from admin access to account protection to global configuration.

Admin access during the window

The Security Server admin UI listens on TCP 4000 from internal networks, so an open window is also an open admin surface. Restrict TCP 4000 to named administration hosts for the duration of the change, and close it again afterwards. Keep the Security Officer and System Administrator roles with different people where your policy allows, so one person cannot both alter sensitive settings and operate the server. Confirm who holds each role before the window opens.

Installation guide

Admin login through PAM and LDAP

Admin logins go through PAM, and LDAP integration runs via SSSD with LDAP groups mapped to X-Road roles. During a window, group membership is the access control that matters, so a group change made for the work can outlive it. Review the group-to-role mapping before the window and again when it closes. Test one account per role to confirm that login and role assignment behave as expected. Remove temporary contractor accounts from the mapped groups when the work ends.

User guide

Lockout and key-only SSH

The hardening guide recommends locking an account for 15 minutes after 3 failed logins and using passwords of at least 16 characters. Maintenance work often adds temporary access, and a shared or reused credential weakens both controls. Keep SSH key-only for the window and confirm that password authentication is disabled in the SSH daemon configuration. Check that lockout applies to the accounts used for admin UI logins as well as shell logins, and test it on a non-production server first.

Hardening guidelines

Unexpected changes through global configuration

Maintenance mode is announced through global configuration, so a wrong flag, message or scheduling setting can reach every member that consumes it. Treat the change as a configuration release. Have a second person review the exact change before it is published, and record the expected state so you can compare it after propagation. The hardening guide expects global configuration to be published over HTTPS from version 7.4, so confirm your deployment uses it before the change. Confirm propagation timing with the operator of the Central Server.

Questions buyers ask about planning maintenance mode

What drives the cost of planning an X-Road maintenance window?

The effort depends mainly on how many services and consuming organizations rely on the provider role of your Security Server, how many people must approve and announce the window, and whether the change is a one-off or part of a recurring routine. Switching maintenance mode on and off is rarely the largest part of the work. Most of the effort sits around it: agreeing timing with consumers, preparing the message clients will see, confirming how the change reaches global configuration, and writing down the rollback. Ask for each of these as a separate line in the written scope. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so a quote can follow directly from that list.

How long does a maintenance mode change take to plan?

No duration can be stated for this work until the scope is written, so treat any number as something to confirm. The time depends on how many Security Servers are in the change, how many services and consumers are affected, whether you have a test environment that matches production, and how quickly consuming organizations can respond to notice. Planning usually runs alongside change approval, so the calendar is often set by approval cycles and notice periods, while the technical steps can be scheduled in a short slot once approvals are in place. Ask any provider for a written timeline that shows which tasks depend on consumer replies and which can run in parallel. DeployOpen sets timelines in the written scope before work starts.

What does the member team need to provide for the work?

The member team supplies access, decisions and knowledge of its own services. A written scope should confirm each of these items:

  • Administrator access to the Security Server, its PostgreSQL database and the hosts it runs on, under your change process.
  • A named owner for each service and client relationship who can confirm which consumers depend on it.
  • Contact details and notice periods agreed with the consuming organizations.
  • A test environment or agreed test window, and a rollback plan approved by your change board.

Check which of these already exist before you ask for a quote. Gaps in ownership or notice are often the main source of delay. DeployOpen can prepare the technical plan and runbook, but approvals and consumer contacts stay with your organization.

Can our own team plan and run the maintenance window alone?

Yes, if your team already runs the Security Server, its administrators know which consumers depend on each service, and your change process allows the team to approve its own window. Confirm the exact steps for your release in the Security Server user guide before you plan. Check three points first: whether the people who know the consumer dependencies are available during planning, whether anyone has done a Security Server change on your current release, and whether policy requires an outside reviewer. A partner adds the most value when many consumers depend on the services, the environment is shared across several services, or the team wants an independent review of the rollback. DeployOpen plans and implements fixed-scope engagements, so you can compare an in-house plan with a partner plan on the same written task list.

Will consumers still reach our services during maintenance mode?

Yes, consumers can be affected even when your provider side is in maintenance, because services that depend on your Security Server are unavailable to them while the mode is on. The message clients receive, and how quickly the change reaches their own Security Servers, depend on the maintenance mode behavior and global configuration distribution in your release, so confirm both before the window. Check also how the exception for management services providers applies to your setup, because it determines which parties are treated differently. Send notice early, name the affected services, state the start and end times, and give consumers one contact for questions during the window.

What should we check on the Security Server before and after the window?

Check that the server is back in normal operation, that the expected services and access rights are still in place, and that a test call from a consuming system succeeds after maintenance mode is turned off. Record the current state before the window so you can compare afterwards. Useful items include the installed version, the database connection, the admin user list and the status of the TLS and signing certificates. The Security Server listens on TCP 5500 for message exchange and TCP 5577 for OCSP from external networks, and on TCP 4000 for the admin UI from internal networks, so confirm that firewall rules are unchanged once the window closes. Keep the record with your change ticket.

Which roles should approve and run a maintenance window?

Assign the change to people who hold the roles that can make it, and keep approval separate from execution where your policy requires it. The Security Server defines five user roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Confirm in the user guide which role can switch maintenance mode on your release, and give no one broader rights than that role needs. Keep Observer access for the reviewer who checks the change afterward. If admin users sign in through PAM with LDAP via SSSD, check that the LDAP group mapping gives the right people the right role before the window opens.

Limits to confirm in your environment before relying on maintenance mode

Maintenance mode is only as predictable as the environment it runs in, so each item below needs an answer from your own test before you announce downtime. The results depend on the exact release, the client behavior and the cluster layout you run. Treat the findings as a checklist for your change record.

Exact message returned to clients

Maintenance mode changes what a consumer receives while a Security Server is unavailable for exchange, so the exact response drives how client systems react. Capture the response from a test consumer on your deployed version, including the HTTP status, headers and body, before you publish a maintenance window. Then confirm that your client applications parse it correctly, because a message that only a person can read may still break an automated retry or alert rule.

Scope of the management services exception

Maintenance mode has an exception for management services providers, so the exact requests that still pass must be established on your version. Send one sample of each management request type from the affected Security Server during a test window and record whether it succeeds. Do not assume the exception covers every service you publish, and document the result so operators and consumers know what still works during downtime.

Security Server user guide

Clustered Security Server behavior

A clustered deployment behind a load balancer raises a question a single server does not: whether maintenance on one node reaches consumers at all. Confirm whether the setting applies per node or across the cluster, and how it propagates through global configuration. Test with the load balancer in place, since a node that still passes health checks may keep receiving traffic during its own maintenance.

Security Server user guide

Differences across supported releases

The supported releases are 7.8.3, 7.7.4 and 7.6.5, and you should not assume they behave the same way during maintenance. Repeat the message and exemption tests on each release still in your estate, including the older ones. Record the results in the change record and rerun them after any upgrade, because a version change can alter the response consumers receive.

X-Road releases page

Target version is not settled

X-Road 7.8.0 is the last new-feature release of the 7 line. NIIS intends to keep maintaining it with bug fixes and security patches, but the maintenance period has not been decided. X-Road 8 is still in beta, so procedures written against it may change before its production release. Confirm which line you will run before you write a maintenance procedure that depends on either one.

X-Road 8 test build
8.0.0 Beta 2
Production release target
December 2026
NIIS 7.8.0 announcement

How DeployOpen scopes and delivers maintenance planning for X-Road

DeployOpen plans, implements and documents X-Road Security Server maintenance mode inside your own infrastructure, so planned downtime is announced to clients in a way your operations and member teams can verify. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ongoing support is available as a retainer once the planned downtime process is in place.

How we scope

  • The written scope names which Security Servers, provider services and client members are covered by the maintenance mode change.
  • It records the client-facing message, the planned window, and who approves the announcement before any change is made.
  • Scope confirms which management services providers keep access during downtime, and which team owns each exception.

How we build

  • Confirm the Security Server version in use, since supported 7.x releases are 7.8.3, 7.7.4 and 7.6.5.
  • Configure the maintenance mode message and the global configuration change in a staging X-Road instance first.
  • Test client behavior from a consumer Security Server, including the management services provider exception, before the window.

How we hand over

  • A written runbook covering announcement steps, enable and disable steps, and the rollback path for each Security Server.
  • Documentation of the agreed message text, the planned window template, and the contacts notified before each change.
  • Walkthrough with the operations and member support teams who will run and announce planned downtime.

How we support

  • A retainer can cover re-testing the maintenance mode procedure after each X-Road upgrade on your Security Servers.
  • Keep the message text and window template current with your member communications and change calendar.
  • Ask in the quote whether support covers announcements during incidents, and who holds approval authority.

Sources and further reading

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.