这篇文章主要介绍如何重启openstack的服务,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!
实际生产环境是juno版本,参考了官网的文档《openstack-ops-manual》,文档上是先servcie stop,后start,挺麻烦的,直接restart,整理后的重启命令如下:
1 |
|
补充:rabbitmq服务状态查看命令:rabbitmqctl status
OpenStack Identity:
1 |
|
OpenStack Image Service:
1 2 |
|
OpenStack Compute:
1 2 3 4 5 6 |
|
OpenStack Block Storage:
1 2 |
|
Restart compute services:
1 2 3 |
|
Restart ceilometer services:
1 |
|
neutron部分参照下面列出的服务名:
[root@node-9 ~]# chkconfig --list|grep neutron
neutron-dhcp-agent0:off1:off2:on3:on4:on5:on6:off
neutron-l3-agent0:off1:off2:on3:on4:on5:on6:off
neutron-lbaas-agent0:off1:off2:off3:off4:off5:off6:off
neutron-metadata-agent0:off1:off2:on3:on4:on5:on6:off
neutron-openvswitch-agent0:off1:off2:on3:on4:on5:on6:off
neutron-ovs-cleanup0:off1:off2:on3:on4:on5:on6:off
neutron-server 0:off1:off2:on3:on4:on5:on6:off
具体命令就是service + 上面的服务名 + restart ,这里就不重复了。
最后,可以通过下面的命令检查一下是不是有遗漏的服务没有重启,一般来说,上面的重启命令应该就足够了,有一些不是关键进程,可以不重启,具体需要看你的需求了。
[root@node-9 ~]# chkconfig --list|grep openstack
openstack-cinder-api0:off1:off2:on3:on4:on5:on6:off
openstack-cinder-backup0:off1:off2:off3:off4:off5:off6:off
openstack-cinder-scheduler0:off1:off2:on3:on4:on5:on6:off
openstack-cinder-volume0:off1:off2:off3:off4:off5:off6:off
openstack-glance-api0:off1:off2:on3:on4:on5:on6:off
openstack-glance-registry0:off1:off2:on3:on4:on5:on6:off
openstack-glance-scrubber0:off1:off2:off3:off4:off5:off6:off
openstack-heat-api0:off1:off2:on3:on4:on5:on6:off
openstack-heat-api-cfn0:off1:off2:on3:on4:on5:on6:off
openstack-heat-api-cloudwatch0:off1:off2:on3:on4:on5:on6:off
openstack-heat-engine0:off1:off2:on3:on4:on5:on6:off
openstack-keystone0:off1:off2:on3:on4:on5:on6:off
openstack-nova-api0:off1:off2:on3:on4:on5:on6:off
openstack-nova-cert0:off1:off2:on3:on4:on5:on6:off
openstack-nova-conductor0:off1:off2:on3:on4:on5:on6:off
openstack-nova-console0:off1:off2:off3:off4:off5:off6:off
openstack-nova-consoleauth0:off1:off2:on3:on4:on5:on6:off
openstack-nova-metadata-api0:off1:off2:off3:off4:off5:off6:off
openstack-nova-novncproxy0:off1:off2:on3:on4:on5:on6:off
openstack-nova-objectstore0:off1:off2:on3:on4:on5:on6:off
openstack-nova-scheduler0:off1:off2:on3:on4:on5:on6:off
openstack-nova-xvpvncproxy0:off1:off2:off3:off4:off5:off6:off
以上是“如何重启openstack的服务”这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注亿速云行业资讯频道!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。