Managing several servers
One console can manage several Antelao servers. Each registered server is an environment, and the console switches between them the way a Docker management UI switches between endpoints.
This is the chapter for hosting companies. If you run one server, you already have exactly one environment, the built-in local one, and nothing here applies.
Quotas
| Environments | Unregistered | Community | Developer | Professional | Provider |
|---|---|---|---|---|---|
| Limit | 1 | 1 | Unlimited | 3 | Unlimited |
The count includes the built-in local environment. Professional's three means the local one plus two registered servers.
Environments already registered keep working whatever your edition. Only registering another one is refused, in keeping with every other quota in the product.
Registering
Environments in the console. Each environment needs the target server's management API URL and an API key for it.
Read the key on the target server:
# odoocli server info --show-secretsThe same value is what odoocli connection add stores, so a server you can already reach from the
CLI is one you can register here.
User scoping across environments
Users are scoped per environment as well as per instance. A customer's operator can be given access to their instances on one environment and nothing at all on another.
This is what makes a shared console usable across customers who must not see each other.
What runs where
Each environment is a full Antelao server with its own API, job queue, scheduler, licence and master database. The console is a client of all of them.
Consequences worth internalising:
- Licences are per server. Registering an environment does not extend your licence to it. Each server needs its own, and each enforces its own quotas.
- Jobs run on the server they belong to. There is no cross-server queue.
- An unreachable environment is unreachable, not broken. The console reports it and carries on with the others.
The local environment is always there
It cannot be removed and does not count against a registration. A console with no licence still manages its own server.