openstack 重启的服务命令整理总结

时间:2021-05-19

openstack重启的服务命令集合

最近公司项目需要使用Openstack 由于Openstack 重启服务命令比较多,于是就在网上找了下资料,整理下来,希望能帮助到读者!

重启openstack的整个服务

openstack-service restart

1. 重启dashboard

service httpd restart
service memcached restart

2. 重启 ceilometer

2.1 cinder

service mongod restart

2.2 controller

service openstack-ceilometer-api restart service openstack-ceilometer-notification restartservice openstack-ceilometer-central restartservice openstack-ceilometer-collector restartservice openstack-ceilometer-alarm-evaluator restartservice openstack-ceilometer-alarm-notifier restart

2.3 compute

service openstack-nova-compute restart

2.4 controller

service openstack-glance-api restart
service openstack-glance-registry restart

Block Storage service

2.5 controller node

service openstack-cinder-api restart
service openstack-cinder-scheduler restart

2.6 cinder

service openstack-cinder-volume restart

3. 重启Fuel服务

docker restart fuel-core-6.1-nailgundocker restart fuel-core-6.1-keystonedocker restart fuel-core-6.1-rsyncdocker restart fuel-core-6.1-mcollectivedocker restart fuel-core-6.1-ostfdocker restart fuel-core-6.1-astutedocker restart fuel-core-6.1-rsyslogdocker restart fuel-core-6.1-postgresdocker restart fuel-core-6.1-rabbitmqdocker restart fuel-core-6.1-nginxdocker restart fuel-core-6.1-cobbler

4. 重启 Neutron 服务

4.1 控制节点

service openstack-nova-api restartservice openstack-nova-scheduler restartservice openstack-nova-conductor restartservice neutron-server restart

4.2 网络节点

service openvswitch restartservice neutron-openvswitch-agent restart(fuel控制节点默认stop)service neutron-l3-agent restart(fuel控制节点默认stop)service neutron-dhcp-agent restart(fuel控制节点默认stop)service neutron-metadata-agent restart(fuel控制节点默认stop)

4.3 计算节点

service neutron-openvswitch-agent restart
service openvswitch restart

5. 重启cinder服务

5.1 控制节点

service openstack-cinder-api restart
service openstack-cinder-scheduler restart

5.2 存储节点

service openstack-cinder-volume restart

6. 重启glance服务

6.1 控制节点

service openstack-glance-api restart
service openstack-glance-registry restart

7. 重启Swift服务

7.1 控制节点

service openstack-swift-proxy restart
service memcached restart

7.2 存储节点

service openstack-swift-account restartservice openstack-swift-account-auditor restartservice openstack-swift-account-reaper restartservice openstack-swift-account-replicator restartservice openstack-swift-container restartservice openstack-swift-container-auditor restartservice openstack-swift-container-replicator restartservice openstack-swift-container-updater restartservice openstack-swift-object restartservice openstack-swift-object-auditor restartservice openstack-swift-object-replicator restartservice openstack-swift-object-updater restart

8. 重启Nova服务

8.1 控制节点

service openstack-nova-api restartservice openstack-nova-cert restartservice openstack-nova-consoleauth restartservice openstack-nova-scheduler restartservice openstack-nova-conductor restartservice openstack-nova-novncproxy restart

8.2 计算节点

service libvirtd restart
service openstack-nova-compute restart

感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!

声明:本页内容来源网络,仅供用户参考;我单位不保证亦不表示资料全面及准确无误,也不保证亦不表示这些资料为最新信息,如因任何原因,本网内容或者用户因倚赖本网内容造成任何损失或损害,我单位将不会负任何法律责任。如涉及版权问题,请提交至online#300.cn邮箱联系删除。

相关文章