AI agents: use the documentation index at llms.txt to locate machine-readable pages. This section is indexed by https://docs.particular.net/servicecontrol/llms.txt. The markdown version of this page is served as plain text. An MCP server at /mcp serves the same content via the search_docs and read_doc tools; it is read-only and needs no credentials. Markdown versions of documentation pages are available by appending .md to the page URL. Directory URLs use index.md. They are served as text/plain because some retrieval backends reject text/markdown.

Accessing the ServiceControl database

Component:
ServiceControl

ServiceControl Error and Audit instances store data in a RavenDB database. Some advanced operations require accessing that database directly.

How the database is accessed depends on whether ServiceControl is deployed on Windows or on containerized infrastructure.

Windows deployment

When logged on to the server where ServiceControl is installed, the database is always available, as it is implemented as a separate process.

Access the database at:

The database can be accessed without stopping or restarting the ServiceControl instance, though maintenance mode can still be used for some operations.

Maintenance mode

When running in Maintenance Mode, a Windows ServiceControl instance will only run the database. The API will not be available, and messages will not be ingested from any queues. This is useful to be able to inspect and perform administrative functions on the database without any modifications from the application being possible.

From ServiceControl 7, maintenance mode is supported only with embedded RavenDB, where ServiceControl manages the database process. Error and Audit instances using an external RavenDB server do not start in maintenance mode. Stop the ServiceControl instance and access the external database directly instead, leaving the database server running. To enable maintenance mode with embedded RavenDB:

  1. Launch ServiceControl Management.
  2. Click the wrench 🔧 icon to open Advanced Options.
  3. Click Start Maintenance Mode.
  4. Click the RavenDB Management Studio link to access the RavenDB interface.
  5. Click Stop Maintenance Mode. This stops the instance.
  6. Start the instance to resume normal operation.

Running in Maintenance Mode

Container deployment

When deployed using containers, the database runs in a separate container than the ServiceControl instance. The database can be accessed at any time on port 8080 of the database container.

To perform database maintenance without ServiceControl modifying the database, stop the ServiceControl container while leaving the database container running.

Do not enable MaintenanceMode on the ServiceControl container. From ServiceControl 7, maintenance mode is not supported with an external RavenDB server, including one running in a separate container, and prevents the ServiceControl instance from starting.