##6.2 Neutron计算节点
##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:[email protected] [keystone_authtoken] auth_uri = http://controller:5000 auth_url = http://controller:35357 memcached_servers = controller:11211 auth_plugin = 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
时间: 2024-10-09 08:11:33