openstack的重启命令整理
OpenStack的重启命令整理:
1、重启整个OpenStack环境:
在控制节点上使用以下命令:
service openstack-nova-api restart
service openstack-nova-cert restart
service openstack-nova-conductor restart
service openstack-nova-consoleauth restart
service openstack-nova-scheduler restart
service openstack-glance-api restart
service openstack-glance-registry restart
service openstack-neutron-server restart
service openstack-cinder-api restart
service openstack-cinder-scheduler restart
service openstack-cinder-volume restart
service openstack-ceilometer-api restart
service openstack-ceilometer-collector restart
service openstack-ceilometer-notification restart
service openstack-ceilometer-central restart
service openstack-ceilometer-alarm-evaluator restart
service openstack-ceilometer-alarm-notifier restart
2、重启单个OpenStack服务:
Nova:
在控制节点上使用以下命令:
service openstack-nova-api restart
service openstack-nova-cert restart
service openstack-nova-conductor restart
service openstack-nova-consoleauth restart
service openstack-nova-scheduler restart
Glance:
在控制节点上使用以下命令:
service openstack-glance-api restart
service openstack-glance-registry restart
Neutron:
在控制节点上使用以下命令:
service openstack-neutron-server restart
Cinder:
在控制节点上使用以下命令:
service openstack-cinder-api restart
service openstack-cinder-scheduler restart
service openstack-cinder-volume restart
Ceilometer:
在控制节点上使用以下命令:
service openstack-ceilometer-api restart
service openstack-ceilometer-collector restart
service openstack-ceilometer-notification restart
service openstack-ceilometer-central restart
service openstack-ceilometer-alarm-evaluator restart
service openstack-ceilometer-alarm-notifier restart
3、重启单个计算节点:
在计算节点上使用以下命令:
service openstack-nova-compute restart
service openstack-neutron-openvswitch-agent restart
service openstack-cinder-volume restart
4、重启单个存储节点:
在存储节点上使用以下命令:
service openstack-cinder-volume restart
service openstack-cinder-scheduler restart
5、重启单个网络节点:
在网络节点上使用以下命令:
service openstack-neutron-openvswitch-agent restart
service openstack-neutron-l3-agent restart
service openstack-neutron-dhcp-agent restart
service openstack-neutron-metadata-agent restart
总之,重启OpenStack服务的命令取决于您所使用的OpenStack组件,以及您所在的节点。在控制节点上,您可以使用上述命令重启OpenStack服务,而在计算节点、存储节点和网络节点上,您可以使用上述命令重启OpenStack服务。
相关文章