你好,游客 登录 注册 搜索
背景:
阅读新闻

重启openstack的服务命令集合

[日期:2019-02-13] 来源:  作者: [字体: ]

重启openstack的整个服务

 

openstack-service restart1

 

 

1. 重启dashboard

 

service httpd  restart service memcached restart12

 

 

2. 重启 ceilometer

 

2.1 cinder

 

service mongod restart1

 

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 restart123456

 

2.3 compute

 

service  openstack-nova-compute restart1

 

2.4 controller

 

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

Block Storage service

 

2.5 controller node

 

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

 

2.6 cinder

 

service    openstack-cinder-volume  restart1

 

 

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-cobbler1234567891011

 

 

4. 重启 Neutron 服务

 

4.1 控制节点

 

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

 

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)12345

 

4.3 计算节点

 

service neutron-openvswitch-agent restart service openvswitch restart12

 

 

5. 重启cinder服务

 

5.1 控制节点

 

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

 

5.2 存储节点

 

service openstack-cinder-volume restart1

 

 

6. 重启glance服务

 

6.1 控制节点

 

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

 

 

7. 重启Swift服务

 

7.1 控制节点

 

service openstack-swift-proxy restart service memcached restart12

 

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 restart123456789101112

 

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 restart123456

 

8.2 计算节点

 

service libvirtd restart service openstack-nova-compute restart

 

收藏 推荐 打印 | 阅读:
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数
点评:
       
评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款
相关新闻      
热门评论