Skip to main content

ONEOFFICEAUTOMATION infrastructure guide

Product version 0.2.0. This collection describes how to plan, install, connect, protect and run the servers and runners of ONEOFFICEAUTOMATION (OOA).

What this covers / audience​

Written for IT operations, platform engineering, database administrators, network teams and security teams. It assumes you know Windows Server or Linux administration, TLS certificates and relational databases. It does not explain how to build agents or use the console day to day; those topics are in the functional and user-guide collections.

The facts in these pages were checked against the product's code and scripts (the platform/cli, platform/control-room, platform/agent, platform/customer-setup, platform/docker and platform/linux folders, and the CI workflow). Where an older document says something different, the code was followed.

The parts you operate​

PartWhat it isWhere it runsNetwork
One CommandCenterThe central Java server: web console, REST API, the runner API, webhooks, Agent APIs, the MCP endpoint, schedules, triggers, work queues, vault, audit trailWindows Server, or Linux (package or container)Listens on TCP 8720 by default (HTTP or HTTPS)
OneAgentStudioThe agent editor, served by One CommandCenter at /studio/ when started with ooa server, or on its own with ooa studio (port 8710)The builder's own computerLoopback (127.0.0.1) only
OneRunnerThe process that takes work from One CommandCenter and runs agents, each in its own worker processWindows (desktop or service); headless runners also on Linux and macOSOutbound only, to One CommandCenter
DatabaseEverything One CommandCenter keeps: users, agents, runs, schedules, vault values, audit trailSQL Server 2019+, PostgreSQL 14+, or the embedded H2 for evaluationOne CommandCenter connects out to it
Data folderConfiguration files, the vault key file (if used), repository files, backups, logs, audit checkpointsLocal disk, or shared storage for several nodes-
Browser connectorExtension plus a native messaging host so agents can drive the user's own Edge, Chrome or FirefoxRunner and builder computersLocal only
SaaS region / directoryMulti-tenant operation of One CommandCenter for many customersContainers on any cloud, with PostgreSQLOne port per region behind a load balancer

The documents​

#DocumentRead it when you
01System requirements and sizingplan hardware, operating systems, databases, browsers and disk
02Installation on Windowsinstall with the setup package or the MSI, run services, uninstall, install on a cloud virtual machine
03Installation on Linux and in containersuse the Linux package with systemd, or the container image and compose files
04Network, ports, proxies and certificatesopen firewalls, set up proxies, turn on HTTPS, make runners trust certificates
05Databaseschoose and set up SQL Server or PostgreSQL, accounts, Windows sign-in, schema upgrades
06High availability and scalingrun several One CommandCenter nodes, plan load balancers, scale runners
07Backup, restore and disaster recoveryplan backups, restore, build a second site and rehearse failover
08Security hardeningprotect the vault key, TLS, accounts, audit trail and network
09SaaS and multi-region operationsoperate the multi-tenant service in India, US and EU regions
10Upgrades, releases and patchingverify downloads, upgrade in the right order, update runners; the vendor's release procedure
11Monitoring, logging and troubleshootingwatch health, find logs and fix common problems

Deployment decision guide​

Choose the smallest topology that meets the need. Every topology runs the same product; you can move from one to the next with a backup and restore (see 07).

Step 1: what is the purpose?​

NeedTopologyDatabaseHow to install
Try the product, build first agents on one PCA. Single computer, all in one (ooa server: One CommandCenter, Studio and a local runner in one process)Embedded H2Setup package, guided, or START-OOA.cmd
A pilot or a small team, a few runnersB. One CommandCenter server, separate runnersSQL Server or PostgreSQL (needed for a licence)Setup package -Service -DbServer ..., or MSI and ooa db commands
Production in one data centreC. Two or more One CommandCenter nodes behind a load balancerSQL Server (Always On) or PostgreSQL with high availabilityAs B on each node, shared repository folder, same vault key
Production with a second siteD. Active site plus a cold standby siteSQL Server availability group with an asynchronous replica, log shipping, or PostgreSQL streaming replicationAs C on both sites, standby nodes stopped
Your own cloud account (AWS, Azure, Google Cloud)B or C on cloud machines or containersManaged SQL Server or PostgreSQLWindows VM with the MSI (02, section 13), Linux package with systemd, or the container image (03)
Run OOA as a service for many customersE. SaaS region(s)PostgreSQL per regionContainer image with region start; optional global directory

Step 2: where do runners go?​

Agent needsRunner placement
The screen (keyboard, mouse, windows, images, desktop dialogs)A Windows computer with a signed-in, unlocked session, started at sign-in (ooa agent install-task). A Windows service has no desktop.
Only web services, files and data (no screen)A Windows service (ooa service install --mode agent, or the MSI with ROLE=Runner), or a headless runner on Linux or macOS
Pooled virtual desktops or short-lived machinesRegister with Temporary runner ticked; offline runners are removed after temporary_runner_hours (8 by default)
Calls to web services only, no runner at allServerless Agent APIs inside One CommandCenter (at most 4 at once per node, 5 minutes each)

Step 3: which constraints apply?​

ConstraintConsequence
A licence will be installedOne CommandCenter must run on SQL Server or PostgreSQL; the embedded database refuses a licence (LICENSE.DB_REQUIRED).
Other machines connect to One CommandCenterTurn on HTTPS (ooa tls) or put a TLS load balancer or reverse proxy in front, and make the server listen on more than 127.0.0.1 (see 02 and 04).
The vault key must not be on diskUse OOA_MASTER_KEY, or OOA_MASTER_KEY_SOURCE with Azure Key Vault, AWS Secrets Manager, Google Secret Manager, or prompt (see 08).
Several nodesSQL Server or PostgreSQL, a shared repo_files_folder, the same vault key on every node.
Runners sit behind a proxyRunners use the Windows proxy by default, or a fixed proxy with optional user name and password; NTLM-only proxies are not supported.
Windows sign-in to SQL Server (service account or gMSA)One CommandCenter must run on Windows; the Linux package and container cannot use it.

Typical layouts​

A. Evaluation B. One server C. Several nodes
+----------------------+ +---------------+ +---------+ +----+ +--------------+ +-------------+
| PC: ooa server | | One CommandCenter|-->| SQL/PG | | LB |->| CC node 1..n |-->| SQL Server |
| CC + Studio + runner| | (service) | +---------+ +----+ +--------------+ | or PG (HA) |
| embedded H2 | +---------------+ ^ | +-------------+
+----------------------+ ^ ^ | v
| | | shared repo-files folder
runners (outbound HTTPS) runners (outbound HTTPS)

Conventions used in these pages​

  • ooa means bin\ooa.bat on Windows and bin/ooa on Linux, in the installed product folder.
  • DATA means One CommandCenter data folder. Unless --data is given, it is %USERPROFILE%\OOA Command Center (or ~/OOA Command Center) of the account that runs the command. An older folder named OOA Control Room is still used when it already holds a database. Because the default depends on the account, always pass --data on servers.
  • Settings named in code style (for example backup_hours) are the names used by the settings API and by Administration > Settings in the console.