Service Manager (SM)
Introduction
Service Manager (SM) is the AosEdge unit component that allows installing, running and managing third-party services. It also provides the AosCloud with monitoring data, unit logs and info and all the management capabilities.
Packages
Service Manager includes the following packages:
| Module | Description |
|---|---|
| config | provides configuration for all SM packages |
| database | stores local services, layers configuration description |
| smclient | handles the communication manager connection |
| launcher | prepare resources, file system, network for service instance and trigger start/stop service instances |
| runner | executes starting instances as systems service and manages their life cycle |
| servicemanager | installs/removes AosEdge services |
| layermanager | installs/removes service's layers |
| networkmanager | prepare network infrastructure for the service instances |
| device manager | provides access to system resources such as devices, RAM and CPU to AosEdge services |
| monitoring | monitors system and AosEdge services resource usage |
| alerts | sends alerts to AosCloud |
| logging | provides systemd and services log to the cloud |
| iamclient | used for getting identity data, certificate for secure communications and registering service secrets |
Components diagram
See the Service Manager components in the below diagram.
loading...