Openstack(十二)部署neuron(計算節點)

在計算節點安裝linux

12.1安裝neuron(計算節點)

# yum install openstack-neutron-linuxbridge ebtables ipset –yvim

12.2配置neutron計算節點

12.2.1編輯neutron.conf配置文件

# vim  /etc/neutron/neutron.conf網絡

27 auth_strategy = keystoneapp

571 transport_url = rabbit://openstack:123456@192.168.10.205dom

846 [keystone_authtoken]memcached

 847 auth_uri = http://192.168.10.100:5000url

 848 auth_url = http://192.168.10.100:35357代理

 849 memcached_servers = 192.168.10.100:11211rest

 850 auth_type = password日誌

 851 project_domain_name = default

 852 user_domain_name = default

 853 project_name = service

 854 username = neutron

 855 password = neutron

1188 lock_path = /var/lib/neutron/tmp

12.2.2配置linuxbridge代理

# vim /etc/neutron/plugins/ml2/linuxbridge_agent.ini

1:[DEFAULT]

113:[agent]

144:[linux_bridge]

155:physical_interface_mappings = internal:band0

161:[securitygroup]

168:firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver

173:enable_security_group = true

180:[vxlan]

188:enable_vxlan = false

12.3.3配置nova調用使用網絡

# 計算節點配置

# vim  /etc/nova/nova.conf

6933 [neutron]

 6934 url = http://192.168.10.100:9696

 6935 auth_url = http://192.168.10.100:35357

 6936 auth_type = password

 6937 project_domain_name = default

 6938 user_domain_name = default

 6939 region_name = RegionOne

 6940 project_name = service

 6941 username = neutron

 6942 password = neutron

12.3.4重啓nova服務

# 計算節點配置

# systemctl restart openstack-nova-compute.service

12.4 啓動neutron服務

# 計算節點配置

# systemctl enable neutron-linuxbridge-agent.service

# systemctl start neutron-linuxbridge-agent.service

12.5驗證neutron日誌

# tail -f /var/log/neutron/*.log

12.6neutron控制端驗證計算節點是否註冊成功

#控制端配置

# neutron agent-list

12.8驗證neutron server進程是否正常運行

# openstack extension list –network

相關文章
相關標籤/搜索