Chapter 5. Comparing Systemd services to containerized services
This chapter provides some reference material to show how containerized services differ from Systemd services.
5.1. Systemd service commands vs containerized service commands
The following table shows some similarities between Systemd-based commands and their Docker equivalents. This helps identify the type of service operation you aim to perform.
Function | Systemd-based | Docker-based |
---|---|---|
List all services |
|
|
List active services |
|
|
Check status of service |
|
|
Stop service |
|
|
Start service |
|
|
Restart service |
|
|
Show service configuration |
|
|
Show service logs |
|
|
5.2. Systemd services vs containerized services
The following table shows Systemd-based OpenStack services and their container-based equivalents.
OpenStack service | Systemd services | Docker containers |
---|---|---|
aodh |
|
|
ceilometer |
|
|
cinder |
|
|
glance |
|
|
gnocchi |
|
|
heat |
|
|
horizon |
|
|
keystone |
|
|
neutron |
|
|
nova |
|
|
panko |
| |
swift |
|
|
5.3. Systemd log locations vs containerized log locations
The following table shows Systemd-based OpenStack logs and their equivalents for containers. All container-based log locations are available on the physical host and are mounted to the container.
OpenStack service | Systemd service logs | Docker container logs |
---|---|---|
aodh |
|
|
ceilometer |
|
|
cinder |
|
|
glance |
|
|
gnocchi |
|
|
heat |
|
|
horizon |
|
|
keystone |
|
|
databases |
|
|
neutron |
|
|
nova |
|
|
panko |
| |
rabbitmq |
|
|
redis |
|
|
swift |
|
|
5.4. Systemd configuration vs containerized configuration
The following table shows Systemd-based OpenStack configuration and their equivalents for containers. All container-based configuration locations are available on the physical host, are mounted to the container, and are merged (via kolla
) into the configuration within each respective container.
OpenStack service | Systemd service configuration | Docker container configuration |
---|---|---|
aodh |
|
|
ceilometer |
|
|
cinder |
|
|
glance |
|
|
gnocchi |
|
|
haproxy |
|
|
heat |
|
|
horizon |
|
|
keystone |
|
|
databases |
|
|
neutron |
|
|
nova |
|
|
panko |
| |
rabbitmq |
|
|
redis |
|
|
swift |
|
|