Welcome to Elvin's blog

##6.2 Neutron计算节点-- openstack pike

##6.2 Neutron计算节点

  openstack pike 安装 目录汇总 http://www.cnblogs.com/elvi/p/7613861.html

##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

 

posted @ 2017-09-30 12:39  blog-elvin-vip  阅读(1948)  评论(0编辑  收藏  举报