OpenStack服务组件重启命令

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/violet_echo_0908/article/details/52097706

###重启openstack的整个服务

openstack-service restart

   
   
  • 1

###1. 重启dashboard

service httpd  restart 
service memcached restart

   
   
  • 1
  • 2

###2. 重启 ceilometer

####2.1 cinder

service mongod restart

   
   
  • 1

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

   
   
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

####2.3 compute

service  openstack-nova-compute restart

   
   
  • 1

####2.4 controller

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

   
   
  • 1
  • 2

Block Storage service

####2.5 controller node

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

   
   
  • 1
  • 2

####2.6 cinder

service    openstack-cinder-volume  restart

   
   
  • 1

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

   
   
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11

###4. 重启 Neutron 服务

####4.1 控制节点

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

   
   
  • 1
  • 2
  • 3
  • 4

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

   
   
  • 1
  • 2
  • 3
  • 4
  • 5

####4.3 计算节点

service neutron-openvswitch-agent restart
service openvswitch restart

   
   
  • 1
  • 2

###5. 重启cinder服务

####5.1 控制节点

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

   
   
  • 1
  • 2

####5.2 存储节点

service openstack-cinder-volume restart

   
   
  • 1

###6. 重启glance服务

####6.1 控制节点

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

   
   
  • 1
  • 2

###7. 重启Swift服务

####7.1 控制节点

service openstack-swift-proxy restart
service memcached restart

   
   
  • 1
  • 2

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

   
   
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12

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

   
   
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

####8.2 计算节点

service libvirtd restart
service openstack-nova-compute restart

   
   
  • 1
  • 2

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值