pnpm mono checks the file, explains it, writes the files for every host and then compares the running setup with it. This page is for IT partners and operators who host several Nodes themselves.
What you need
What you need
- A checkout of the Mono source code with Node.js 22.18 or newer and pnpm. See Run Mono from source.
- Your topology as a JSON file. The examples in the
deploy/topologies/examplesfolder serve as templates. - Access to the hosts the Nodes run on.
Apply the topology
1
Choose an example as a template
Copy the example closest to your setup and enter your tenants, hosts and addresses.
2
Check the topology
plan shows what goes where and which data classes run where, and names errors and hints. On an error, Mono stops.3
Generate the files
render writes a folder for every host with the settings of every Node, the Console’s config.json and the steps in STEPS.md. Mono never writes secrets into them.4
Run the steps on every host
Copy the host’s folder there and run the steps from
STEPS.md. You enter keys only on the host itself.5
Check the setup
doctor only reads and changes nothing. It checks every Node, every model server and every Console against the topology and ends with code 1 if something is wrong.pnpm mono doctor shows ✓ for every Node and ends without errors.What the topology governs for IT partners
- The customer list. For a partner Console, the public
config.jsonnames only your own firm’s Node.renderwrites the customers into that Node’s settings (MONO_CUSTOMERS). The Console reads them there only after sign-in. Under “Settings › Connection”, they show “From the settings of Muster IT”. They can be changed only in the topology or in the Node’s settings. - The first admins.
signIn.adminsnames the admins per tenant,signIn.setupPartnerthe IT partner who sets up the Node. Then no Node needs a setup link, and “Sign in everywhere” signs you in everywhere. - Ring and maintenance window.
updatessets them per host, per Node or for all. The Console shows them read-only. - Data boundaries. Mono refuses whatever mixes two tenants: the same state directory, the same sign-in app, the same address or the same port on a host. A GPU box for several tenants needs
sharingand never gets “confidential”.
Which commands are there?
Which commands are there?
With
--lang fr, --lang it or --lang en, pnpm mono answers in your language.What does a second “render” change?
What does a second “render” change?
A second
render and install.sh --settings take over the new values. Every line you added on the host yourself stays with its comment, and a key on the host stays even if its line in the file is empty. Never edit the generated files by hand.What does “doctor” check for a partner Console?
What does “doctor” check for a partner Console?
doctor checks whether the Console’s config.json names only its own Node. If it names customers publicly, that is an error. Under “Versions”, it compares each Node’s version with its ring. A release on its way through the rings is a hint.How does this relate to “Set up server …”?
How does this relate to “Set up server …”?
If a customer on your customer list does not answer, “All tenants” shows “Set up server …” for it. The window leads through the same four steps: enter the tenant in the topology,
render, the steps on the host, doctor. See A tenant does not answer.What the topology cannot do today
What the topology cannot do today
- A Node has exactly one writer. Mono refuses
active-active; a cold standby on a second host is available. - The commands install nothing. You run the steps on every host yourself.
In the chat
“Mono Admin” is connected to exactly one Node and reads no topology:plan, render and doctor run in the terminal. Ask a tenant’s “Mono Admin” about its Node’s state or its tenant notes:
This Node’s state: version, backup, updates.
Where the Node runs, from the tenant notes.
If something does not work
Next
Run Mono in Kubernetes
One Helm release of mono-node per tenant.
Set up the next customer in one hour
A single customer without a topology.
See updates across all customers
Ring and window in the Console.
Keep a standby Node ready
The cold standby on a second host.