云计算之openstack-newton版搭建(八)

网友投稿 330 2022-11-13

云计算之openstack-newton版搭建(八)

网络服务计算节点的安装及配置

1.安装服务

# yum install openstack-neutron-linuxbridge ebtables ipset -y

2.修改/etc/neutron/neutron.conf

[DEFAULT] ... transport_url = rabbit://openstack:RABBIT_PASS@controller auth_strategy = keystone

[keystone_authtoken] ... auth_uri = http://controller:5000 auth_url = http://controller:35357 memcached_servers = controller:11211 auth_type = password project_domain_name = Default user_domain_name = Default project_name = service username = neutron password = 123456

[oslo_concurrency] ... lock_path = /var/lib/neutron/tmp

3.修改/etc/neutron/plugins/ml2/linuxbridge_agent.ini

[linux_bridge] physical_interface_mappings = provider:PROVIDER_INTERFACE_NAME

[vxlan] enable_vxlan = False

[securitygroup] ... enable_security_group = True firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver

4.修改/etc/nova/nova.conf

[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 = 123456

5.重启nova-compute服务

# systemctl restart openstack-nova-compute.service

6.启动服务

# systemctl enable neutron-linuxbridge-agent.service # systemctl start neutron-linuxbridge-agent.service

7.验证

# openstack network agent list

[root@controller ~]# openstack network agent list +--------------------------------------+--------------------+----------------------+-------------------+-------+-------+---------------------------+ | ID                                   | Agent Type         | Host                 | Availability Zone | Alive | State | Binary                    | +--------------------------------------+--------------------+----------------------+-------------------+-------+-------+---------------------------+ | 698c8ca2-3090-4c0c-99c6-c057372b964f | Linux bridge agent | controller.novalocal | None              | True  | UP    | neutron-linuxbridge-agent | | 75342101-7cc6-449f-93aa-915b145d071e | Metadata agent     | controller.novalocal | None              | True  | UP    | neutron-metadata-agent    | | 7c8ea576-695a-4d58-bb7f-b04ac4ada40a | Linux bridge agent | compute1.novalocal   | None              | True  | UP    | neutron-linuxbridge-agent | | d8c7e1b1-52a1-4a4f-9b9b-ab5fa56e94e9 | DHCP agent         | controller.novalocal | nova              | True  | UP    | neutron-dhcp-agent        | +--------------------------------------+--------------------+----------------------+-------------------+-------+-------+---------------------------+

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:应用启动数据初始化接口CommandLineRunner和Application详解
下一篇:三星S5P4418开发板资料详解
相关文章

 发表评论

暂时没有评论,来抢沙发吧~