zoukankan      html  css  js  c++  java
  • Centos7安装部署openstack--Networking 网络服务(计算节点)

    一、安装服务

    yum install openstack-neutron-linuxbridge ebtables ipset -y

    二、修改配置文件

      1、修改配置文件

     cp /etc/neutron/neutron.conf{,.bak}
     grep '^[a-z[]' /etc/neutron/neutron.conf.bak >/etc/neutron/neutron.conf
     openstack-config --set /etc/neutron/neutron.conf DEFAULT rpc_backend rabbit
     openstack-config --set /etc/neutron/neutron.conf DEFAULT auth_strategy keystone
     openstack-config --set /etc/neutron/neutron.conf keystone_authtoken auth_uri http://controller:5000
     openstack-config --set /etc/neutron/neutron.conf keystone_authtoken auth_url http://controller:35357
     openstack-config --set /etc/neutron/neutron.conf keystone_authtoken memcached_servers controller:11211
     openstack-config --set /etc/neutron/neutron.conf keystone_authtoken auth_type password
     openstack-config --set /etc/neutron/neutron.conf keystone_authtoken project_domain_name default
     openstack-config --set /etc/neutron/neutron.conf keystone_authtoken user_domain_name default
     openstack-config --set /etc/neutron/neutron.conf keystone_authtoken project_name service
     openstack-config --set /etc/neutron/neutron.conf keystone_authtoken username neutron
     openstack-config --set /etc/neutron/neutron.conf keystone_authtoken password NEUTRON_PASS
     openstack-config --set /etc/neutron/neutron.conf oslo_concurrency lock_path /var/lib/neutron/tmp
     openstack-config --set /etc/neutron/neutron.conf oslo_messaging_rabbit rabbit_host controller
     openstack-config --set /etc/neutron/neutron.conf oslo_messaging_rabbit rabbit_userid openstack
     openstack-config --set /etc/neutron/neutron.conf oslo_messaging_rabbit rabbit_password RABBIT_PASS

      2、复制控制节点的配置文件

    scp -rp 10.0.0.11:/etc/neutron/plugins/ml2/linuxbridge_agent.ini /etc/neutron/plugins/ml2/linuxbridge_agent.ini

       3、修改/etc/nova/nova.conf文件

    openstack-config --set /etc/nova/nova.conf neutron url http://controller:9696
    openstack-config --set /etc/nova/nova.conf neutron auth_url http://controller:35357
    openstack-config --set /etc/nova/nova.conf neutron auth_type password
    openstack-config --set /etc/nova/nova.conf neutron project_domain_name default
    openstack-config --set /etc/nova/nova.conf neutron user_domain_name default
    openstack-config --set /etc/nova/nova.conf neutron region_name RegionOne
    openstack-config --set /etc/nova/nova.conf neutron project_name service
    openstack-config --set /etc/nova/nova.conf neutron username neutron
    openstack-config --set /etc/nova/nova.conf neutron password NEUTRON_PASS

    三、启动服务

      1、重启compute服务

    systemctl restart openstack-nova-compute.service

      2、启动服务

    systemctl start neutron-linuxbridge-agent.service
    systemctl enable neutron-linuxbridge-agent.service

       3、验证

    neutron agent-list

       4、查看kestone上得访问地址

  • 相关阅读:
    [转载]IntelliJ IDEA常用设置
    sql server字段合并逗号隔开
    sql server字段合并逗号隔开
    [转载]Hana 学习资源
    SQL Server数据库实现异地备份
    SQL Server数据库实现异地备份
    SQL Server blocked access to procedure 'sys.xp_cmdshell'
    调用另一个进程,createprocess返回值正确,但被调进程连入口函数都没进入。
    需求做完后,需要拉相关人员确认下结果
    exe崩溃用windbgattach后有宝贵现场,可看程序退出线程等,千万不要清屏
  • 原文地址:https://www.cnblogs.com/aqicheng/p/13279604.html
Copyright © 2011-2022 走看看