目录
neutron的计算节点,只在该结算节点上操作即可。
一、neutron计算节点安装
1.安装模块
yum install openstack-neutron-linuxbridge ebtables ipset -y
2.配置nova.conf
[neutron]
url = http://vip:9696
auth_url = http://vip:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = neutron用户的密码
3.配置neutron.conf
[DEFAULT]
auth_strategy = keystone
transport_url = rabbit://openstack:rabbit用户密码@rabbit部署节点1的ip:5672,rabbit部署节点2的ip:5672
[keystone_authtoken]
auth_uri = http://vip:5000
auth_url = http://vip:35357
memcached_servers = 缓存部署节点1的ip:11211,缓存部署节点2的ip: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
4.配置linuxbridge_agent.ini
#配置
[linux_bridge]
physical_interface_mappings = provider:计算节点管理网卡名称
[securitygroup]
enable_security_group = true
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
[vxlan]
enable_vxlan = false
# local_ip = 10.27.31.108
# l2_population = true
#启动
systemctl restart openstack-nova-compute.service
systemctl enable neutron-linuxbridge-agent.service
systemctl start neutron-linuxbridge-agent.service