大橙子网站建设,新征程启航

为企业提供网站建设、域名注册、服务器等服务

如何重启openstack的服务

这篇文章主要介绍如何重启openstack的服务,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!

让客户满意是我们工作的目标,不断超越客户的期望值来自于我们对这个行业的热爱。我们立志把好的技术通过有效、简单的方式提供给客户,将通过不懈努力成为客户在信息化领域值得信任、有价值的长期合作伙伴,公司提供的服务项目有:申请域名、虚拟空间、营销软件、网站建设、贞丰网站维护、网站推广。

实际生产环境是juno版本,参考了官网的文档《openstack-ops-manual》,文档上是先servcie stop,后start,挺麻烦的,直接restart,整理后的重启命令如下:

1

service rabbitmq-server restart

补充:rabbitmq服务状态查看命令:rabbitmqctl status

    OpenStack Identity:

1

 service openstack-keystone restart

    OpenStack Image Service:

1

2

  service openstack-glance-api restart

  service openstack-glance-registry restart

    OpenStack Compute:

1

2

3

4

5

6

# service openstack-nova-api restart

# service openstack-nova-scheduler restart

# service openstack-nova-conductor restart

# service openstack-nova-cert restart

# service openstack-nova-consoleauth restart

# service openstack-nova-novncproxy restart

    OpenStack Block Storage:

1

2

# service openstack-cinder-api restart

# service openstack-cinder-scheduler restart

    Restart compute services:

1

2

3

# service openstack-nova-compute restart

# service openstack-nova-network restart

# service openstack-nova-metadata-api restart

 Restart ceilometer services:

1

# service ceilometer-api restart

    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的服务”这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注创新互联行业资讯频道!


标题名称:如何重启openstack的服务
标题链接:http://dzwzjz.com/article/jgoeip.html
在线咨询
服务热线
服务热线:028-86922220
TOP