The administrative surface is how a person or a tool administers one running instance from the
inside. Through it an operator sees which units run and how each is doing, decides what each plugin
may do, starts and stops units, asks a unit a question, and reads the log. It reaches what the Core
holds and nothing else. Starting or stopping the instance itself, installing an application and
changing the version it runs belong to the manager, the guardian or the init system. This page draws
that line and gives the one pair of addresses every instance has.
What it reaches
| The question | Answered from | Changed by this surface |
|---|
| which units are running, and how each is doing | the lifecycle and the supervisor, derived at the moment of asking | never — observed state is not stored |
| what a plugin may do | the Registry | yes: enablement and grants |
| what has been logged | the log store | no: it is written by the capture path and by the Core |
| what policy is in force | the description as it was read, plus what this surface has changed since | yes: in the Registry, or in the log store for a retention override |
What is outside it
| Not on this surface | Where it is |
|---|
| stopping or starting the instance | the instance record and the guardian (application form), or the init system (service form) |
| changing the version an instance runs, or a parameter value | the manager, and the next start |
| the set of instances on this account, and which are alive | the guardian's channel, or the init system |
| the size of a unit's own data | the manager, which reads the filesystem |
| installing, updating or removing an application | the manager |
| anything about another instance | that instance's own pair of addresses |
- There is no operation that stops the instance, on either projection. The orderly stop itself is
the Core's; this surface is only not the party that may ask for it.
- The version and the parameter values are read here and changed elsewhere. A running instance does
not re-read its declaration, and a read of the instance carries both.
One pair of addresses per instance
| Path | Bound | Mode |
|---|
| the operator projection | <instance root>/operator.sock | by the Core, before any unit is launched | 0660 service form, 0600 application form |
| the shell projection | <instance root>/shell.sock | as above | as above |
- Both addresses are derived from the instance's identity. Nothing is looked up: a client that knows
the instance's name knows both addresses.
- A host running six instances has six pairs, and nothing aggregates them.
- Neither socket is ever bound on a network address.
The question no instance answers
Which instances exist on this account, and which of them are alive, is not asked of any instance. An
instance knows itself, its units and its channels, and nothing about its neighbours. The question is
asked of whatever holds the declarations: the guardian in the application form, the init system in the
service form. There is no host-level administrative endpoint.