Skip to main content
Version: 0.16.0

What it administers

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 questionAnswered fromChanged by this surface
which units are running, and how each is doingthe lifecycle and the supervisor, derived at the moment of askingnever — observed state is not stored
what a plugin may dothe Registryyes: enablement and grants
what has been loggedthe log storeno: it is written by the capture path and by the Core
what policy is in forcethe description as it was read, plus what this surface has changed sinceyes: in the Registry, or in the log store for a retention override

What is outside it​

Not on this surfaceWhere it is
stopping or starting the instancethe instance record and the guardian (application form), or the init system (service form)
changing the version an instance runs, or a parameter valuethe manager, and the next start
the set of instances on this account, and which are alivethe guardian's channel, or the init system
the size of a unit's own datathe manager, which reads the filesystem
installing, updating or removing an applicationthe manager
anything about another instancethat 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​

PathBoundMode
the operator projection<instance root>/operator.sockby the Core, before any unit is launched0660 service form, 0600 application form
the shell projection<instance root>/shell.sockas aboveas 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.