zoukankan      html  css  js  c++  java
  • ##6.2 Neutron计算节点-- openstack pike

    ##6.2 Neutron计算节点
    #6.2.Neutron.compute.sh
    
    #安装
    yum install -y openstack-neutron-linuxbridge ebtables ipset
    
    #配置
    cp /etc/neutron/neutron.conf{,.bak}
    echo '#
    [DEFAULT]
    auth_strategy = keystone
    transport_url = rabbit://openstack:openstack@controller
    
    [keystone_authtoken]
    auth_uri = http://controller:5000
    auth_url = http://controller:35357
    memcached_servers = controller:11211
    auth_type = password
    project_domain_id = default
    user_domain_id = default
    project_name = service
    username = neutron
    password = neutron
    
    [oslo_concurrency]
    lock_path = /var/lib/neutron/tmp
    #'>/etc/neutron/neutron.conf
    #
    echo '
    #
    [neutron]
    url = http://controller:9696
    auth_url = http://controller:35357
    auth_type = password
    project_domain_name = default
    user_domain_name = default
    region_name = RegionOne
    project_name = service
    username = neutron
    password = neutron
    #'>>/etc/nova/nova.conf
    #
    cp /etc/neutron/plugins/ml2/linuxbridge_agent.ini{,bak}
    # bond0是网卡名
    echo '
    [linux_bridge]
    physical_interface_mappings = provider:bond0
    [securitygroup]
    enable_security_group = true
    firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
    [vxlan]     
    enable_vxlan = false
    # local_ip = 10.2.1.21
    # l2_population = true
    #'>/etc/neutron/plugins/ml2/linuxbridge_agent.ini
    
    #重启相关服务
    systemctl restart openstack-nova-compute.service
    #启动neutron
    systemctl enable neutron-linuxbridge-agent.service
    systemctl start neutron-linuxbridge-agent.service
  • 相关阅读:
    面试题3(百思教育面试软件开发岗位笔试题)
    python开发工具安装
    涉及 委托事件 程序运行越来越慢
    整理收藏
    数据库作业创建
    剑指offer-面试题37:序列化二叉树及二叉树的基本操作和测试
    剑指offer-面试题41:数据流中的中位数
    快速排序及其优化
    冒泡排序算法及相应的优化
    leetcode问题:缺失数字
  • 原文地址:https://www.cnblogs.com/xuefy/p/11004188.html
Copyright © 2011-2022 走看看