澳门新葡萄京娱乐网站-澳门新葡萄京888官网-所有平台

热门关键词: 澳门新葡萄京娱乐网站,澳门新葡萄京888官网

OpenStack实例的互联网联通性难题,重启的劳务命

作者: MySQL数据库  发布:2020-01-04

系统:windows

重启openstack的漫天服务

那是突发性发掘的主题素材,设置好网桥后,开掘重启服务器后实例的情况能够活动还原到重启前,于是各样高兴,可是却发掘了实例的互连网联通性难点。

重启mysql服务现身 Server] Can't read from messagefile 等错误时候,

openstack-service restart

后面提到过,调节节点上nova-network运营后,会将br100的ip设置成10.0.0.1,并透过iptables的NST效能映射原本设置的ip地址。这样在支配节点就足以ping能实例或通过ssh连接实例,也可通过原来的ip访问调控节点。

应先举行 mysqld --initialize-insecure 进项起先化操作

  1. 重启dashboard

可是重启服务器后,实例是苏醒了,但运营相关服务后在决定节点用ping命令来ping各实例时却出标题了:

接下来重启服务成功

1.在调控节点运维除nova-compute的劳务后,调整节点实例不能够ping通,运营nova-compute,若无安装让实例随nova-compute的运作重启,仍旧鞭长不比ping能,倘诺实例随nova-compute重启了就可以ping通。

service httpd  restart 
service memcached restart

2.万生龙活虎总括节点重启在支配节点的各服务运营后,即便不运转nova-compute也行从调节节点ping通其上的实例,如若总计节点在调节节点各服务运作前运转了,其上的实例ping结果跟调控节点是如出后生可畏辙的。

  1. 重启 ceilometer
    2.1 cinder

3.在决定节点和计量节点实例都能从调整节点ping能的气象下,重启控制节点并运行相关服务,不只怕ping通计算节点的实例,设置总计节点的实例随nova-compute重启而重启后,重启nova-compute,总结节点的实例能ping通了。

4.在支配节点和总结节点实例都能从决定节点ping能的情景下,三个贰个重启调节节点的劳务,测验各实例的ping结果,发现nova-scheduler终止后拥有实例都无能为力ping通,重启后也爱莫能助ping后,即便那时候重启全数nova服务包蕴nova-compute并让实例随其重启也回天无力ping通(以致自个儿还重启了libvirtd卡塔尔,一定要重启调整节点才行。

service mongod restart

从以上实验能够得出以下结论:

2.2 controller

在nova相关服务运作前意气风发度运转的实例不可能ping通(需求重启实例才行),在其后开发银行的实例固然未有运营nova-compute也能ping通。要是nova-scheduler被甘休再开发银行,应当要重启调整节点,不然不论如何也无从ping实例!

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

澳门新葡萄京888官网 1

2.3 compute

service  openstack-nova-compute restart

2.4 controller

service  openstack-glance-api restart
service  openstack-glance-registry restart
Block Storage service

2.5 controller node

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

2.6 cinder

service    openstack-cinder-volume  restart
  1. 重启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. 重启 Neutron 服务
    4.1 调节节点
service openstack-nova-api restart
service openstack-nova-scheduler restart
service openstack-nova-conductor restart
service neutron-server restart

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)

4.3 总计节点

service neutron-openvswitch-agent restart
service openvswitch restart
  1. 重启cinder服务
    5.1 调整节点
service openstack-cinder-api restart
service openstack-cinder-scheduler restart

5.2 存款和储蓄节点

service openstack-cinder-volume restart
  1. 重启glance服务
    6.1 调节节点
service openstack-glance-api restart
service openstack-glance-registry restart
  1. 重启Swift服务
    7.1 调控节点
service openstack-swift-proxy restart
service memcached restart

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. 重启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

8.2 总结节点

service libvirtd restart
service openstack-nova-compute restart

本文由澳门新葡萄京娱乐网站发布于MySQL数据库,转载请注明出处:OpenStack实例的互联网联通性难题,重启的劳务命

关键词:

上一篇:没有了
下一篇:没有了