6. OpenStack 설치 Neutron-3

1945 단어 openstackneutron
Compute 노드에서
# nano/etc/sysctl.conf
net.ipv4.ip_forward=1
net.ipv4.conf.all.rp_filter=0
net.ipv4.conf.default.rp_filter=0
net.bridge.bridge-nf-call-arptables=1
net.bridge.bridge-nf-call-iptables=1
net.bridge.bridge-nf-call-ip6tables=1

# sysctl -p
#apt-get install neutron-common neutron-plugin-ml2 neutron-plugin-openvswitch-agent openvswitch-datapath-dkms # nano/etc/neutron/neutron.conf
[DEFAULT] ...
verbose = True
rpc_backend = rabbit rabbit_host = controller rabbit_password = openstack ... auth_strategy = keystone core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin service_plugins = neutron.services.l3_router.l3_router_plugin.L3RouterPlugin allow_overlapping_ips = True
[keystone_authtoken] ...auth_host = controller auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = neutron admin_password = openstack
# nano/etc/neutron/plugins/ml2/ml2_conf.ini
[ml2] ... type_drivers = flat,gre tenant_network_types = gre mechanism_drivers = openvswitch [ml2_type_gre] ... tunnel_id_ranges = 1:100
[securitygroup] ... enable_security_group = True enable_ipset = True firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver [ovs] local_ip = 10.20.20.11 enable_tunneling = True [agent] tunnel_types = gre
# service openvswitch-switch restart
# nano/etc/nova/nova.conf
[DEFAULT] ... network_api_class = nova.network.neutronv2.api.API security_group_api = neutron linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver firewall_driver = nova.virt.firewall.NoopFirewallDriver
[neutron] auth_strategy = keystone auth_host = controller auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = neutron admin_password = openstack # service nova-compute restart # service neutron-plugin-openvswitch-agent restart

좋은 웹페이지 즐겨찾기