devstack 重启服务
| Service name | Restart procedure |
|---|---|
| Ceilometer |
|
| Cinder |
|
| Corosync/Pacemaker |
|
| Glance |
|
| Horizon | Since the Horizon service is available through the Apache server, you should restart the Apache service on all controller nodes:
|
| Ironic |
|
| Keystone | Since the Keystone service is available through the Apache server, complete the following steps on all controller nodes:
|
| MySQL |
Warning Use the pcs commands instead of crm for restarting the service. The pcs tool correctly stops the service according to the quorum policy preventing MySQL failures. |
| Neutron | Use the following restart steps for the DHCP Neutron agent as an example for all Neutron agents.
|
| Nova |
|
| RabbitMQ |
|
| Swift |
|
Operating on more than one unit at a time
Systemd supports wildcarding for unit operations. To restart every service in devstack you can do that following:
sudo systemctl restart devstack@*
Or to see the status of all Nova processes you can do:
sudo systemctl status devstack@n-*
We’ll eventually make the unit names a bit more meaningful so that it’s easier to understand what you are restarting.

