openstack 重启的服务命令整理总结
openstack重启的服务命令集合
最近公司项目需要使用Openstack 由于Openstack重启服务命令比较多,于是就在网上找了下资料,整理下来,希望能帮助到读者!
重启openstack的整个服务
openstack-servicerestart
1.重启dashboard
servicehttpd restart
servicememcachedrestart
2.重启ceilometer
2.1cinder
servicemongodrestart
2.2controller
serviceopenstack-ceilometer-apirestart serviceopenstack-ceilometer-notificationrestart serviceopenstack-ceilometer-centralrestart serviceopenstack-ceilometer-collectorrestart serviceopenstack-ceilometer-alarm-evaluatorrestart serviceopenstack-ceilometer-alarm-notifierrestart
2.3compute
service openstack-nova-computerestart
2.4controller
service openstack-glance-apirestart
service openstack-glance-registryrestart
BlockStorageservice
2.5controllernode
service openstack-cinder-apirestart
service openstack-cinder-schedulerrestart
2.6cinder
service openstack-cinder-volume restart
3.重启Fuel服务
dockerrestartfuel-core-6.1-nailgun dockerrestartfuel-core-6.1-keystone dockerrestartfuel-core-6.1-rsync dockerrestartfuel-core-6.1-mcollective dockerrestartfuel-core-6.1-ostf dockerrestartfuel-core-6.1-astute dockerrestartfuel-core-6.1-rsyslog dockerrestartfuel-core-6.1-postgres dockerrestartfuel-core-6.1-rabbitmq dockerrestartfuel-core-6.1-nginx dockerrestartfuel-core-6.1-cobbler
4.重启Neutron服务
4.1控制节点
serviceopenstack-nova-apirestart serviceopenstack-nova-schedulerrestart serviceopenstack-nova-conductorrestart serviceneutron-serverrestart
4.2网络节点
serviceopenvswitchrestart serviceneutron-openvswitch-agentrestart(fuel控制节点默认stop) serviceneutron-l3-agentrestart(fuel控制节点默认stop) serviceneutron-dhcp-agentrestart(fuel控制节点默认stop) serviceneutron-metadata-agentrestart(fuel控制节点默认stop)
4.3计算节点
serviceneutron-openvswitch-agentrestart
serviceopenvswitchrestart
5.重启cinder服务
5.1控制节点
serviceopenstack-cinder-apirestart
serviceopenstack-cinder-schedulerrestart
5.2存储节点
serviceopenstack-cinder-volumerestart
6.重启glance服务
6.1控制节点
serviceopenstack-glance-apirestart
serviceopenstack-glance-registryrestart
7.重启Swift服务
7.1控制节点
serviceopenstack-swift-proxyrestart
servicememcachedrestart
7.2存储节点
serviceopenstack-swift-accountrestart serviceopenstack-swift-account-auditorrestart serviceopenstack-swift-account-reaperrestart serviceopenstack-swift-account-replicatorrestart serviceopenstack-swift-containerrestart serviceopenstack-swift-container-auditorrestart serviceopenstack-swift-container-replicatorrestart serviceopenstack-swift-container-updaterrestart serviceopenstack-swift-objectrestart serviceopenstack-swift-object-auditorrestart serviceopenstack-swift-object-replicatorrestart serviceopenstack-swift-object-updaterrestart
8.重启Nova服务
8.1控制节点
serviceopenstack-nova-apirestart serviceopenstack-nova-certrestart serviceopenstack-nova-consoleauthrestart serviceopenstack-nova-schedulerrestart serviceopenstack-nova-conductorrestart serviceopenstack-nova-novncproxyrestart
8.2计算节点
servicelibvirtdrestart
serviceopenstack-nova-computerestart
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!