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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM