openstack 各服务重启命令

2021/07/25 openstack restart cli 共 2632 字,约 8 分钟

重启 openstack 的整个服务

openstack-service restart

重启 dashboard

service httpd  restart 
service memcached restart

重启 ceilometer

cinder

service mongod restart

controller

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

compute

service openstack-nova-compute restart

controller

service openstack-glance-api restart
service openstack-glance-registry restart
Block Storage service

controller node

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

cinder

service    openstack-cinder-volume  restart

重启 Fuel 服务

docker restart fuel-core-6.1-nailgun
docker restart fuel-core-6.1-keystone
docker restart fuel-core-6.1-rsync
docker restart fuel-core-6.1-mcollective
docker restart fuel-core-6.1-ostf
docker restart fuel-core-6.1-astute
docker restart fuel-core-6.1-rsyslog
docker restart fuel-core-6.1-postgres
docker restart fuel-core-6.1-rabbitmq
docker restart fuel-core-6.1-nginx
docker restart fuel-core-6.1-cobbler

Neutron 服务

控制节点

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

网络节点

service openvswitch restart
#(fuel 控制节点默认 stop)
service 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

计算节点

service neutron-openvswitch-agent restart
service openvswitch restart

重启 cinder 服务

控制节点

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

存储节点

service openstack-cinder-volume restart

重启 glance 服务

控制节点

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

重启 Swift 服务

控制节点

service openstack-swift-proxy restart
service memcached restart

存储节点

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

重启 Nova 服务

控制节点

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

计算节点

service libvirtd restart
service openstack-nova-compute restart

文档信息

Search

    Table of Contents