服务器 
首页 > 服务器 > 浏览文章

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

(编辑:jimmy 日期: 2024/11/16 浏览:3 次 )

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 restart
service openstack-ceilometer-central restart
service openstack-ceilometer-collector restart
service openstack-ceilometer-alarm-evaluator restart
service 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-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

4. 重启 Neutron 服务

4.1 控制节点

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

4.2 网络节点

service openvswitch restart
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(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 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

8. 重启Nova服务

8.1 控制节点

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

8.2 计算节点

service libvirtd restart
service openstack-nova-compute restart

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

上一篇:Linux中RPM文件操作的常用命令总结
下一篇:VMware的三种网络连接方式区别
一句话新闻
微软与英特尔等合作伙伴联合定义“AI PC”:键盘需配有Copilot物理按键
几个月来,英特尔、微软、AMD和其它厂商都在共同推动“AI PC”的想法,朝着更多的AI功能迈进。在近日,英特尔在台北举行的开发者活动中,也宣布了关于AI PC加速计划、新的PC开发者计划和独立硬件供应商计划。
在此次发布会上,英特尔还发布了全新的全新的酷睿Ultra Meteor Lake NUC开发套件,以及联合微软等合作伙伴联合定义“AI PC”的定义标准。