openstack O版 配置compute节点 nova 和 Neutron安装
发表于:2026-11-03 作者:千家信息网编辑
千家信息网最后更新 2026年11月03日,配置nova.conf[root@compute ~]# yum install openstack-selinux python-openstackclient yum-plugin-priorit
千家信息网最后更新 2026年11月03日openstack O版 配置compute节点 nova 和 Neutron安装
- 配置nova.conf
[root@compute ~]# yum install openstack-selinux python-openstackclient yum-plugin-priorities openstack-nova-compute openstack-utils ntpdate -y
[root@compute ~]# cp /etc/nova/nova.conf /etc/nova/nova.conf.bak
[root@compute ~]# >/etc/nova/nova.conf
[DEFAULT]
auth_strategy = keystone
my_ip = 192.168.0.112
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver
transport_url = rabbit://openstack:devops@controller
[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 = nova
password = devops
[placement]
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 = placement
password = devops
os_region_name = RegionOne
[vnc]
enabled = True
keymap = en-us
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 192.168.0.112
novncproxy_base_url = http://192.168.0.111:6080/vnc_auto.html
[glance]
api_servers = http://controller:9292
[oslo_concurrency]
lock_path = /var/lib/nova/tmp
[libvirt]
virt_type = qemu - 设置libvirtd.service 和openstack-nova-compute.service开机启动
[root@compute ~]# systemctl enable libvirtd.service openstack-nova-compute.service
[root@compute ~]# systemctl restart libvirtd.service openstack-nova-compute.service
[root@compute ~]# systemctl status libvirtd.service openstack-nova-compute.service - 到controller上执行验证
[root@controller ~]# source admin-openrc
[root@controller ~]# openstack compute service list
二、安装Neutron - 安装相关软件包
[root@compute ~]# yum install openstack-neutron-linuxbridge ebtables ipset -y
[root@compute ~]# cp /etc/neutron/neutron.conf /etc/neutron/neutron.conf.bak
[root@compute ~]# >/etc/neutron/neutron.conf
[DEFAULT]
auth_strategy = keystone
advertise_mtu = True
dhcp_agents_per_network = 2
control_exchange = neutron
nova_url = http://controller:8774/v2
transport_url = rabbit://openstack:devops@controller
[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 = devops
[oslo_concurrency]
lock_path = /var/lib/neutron/tmp - 配置/etc/neutron/plugins/ml2/linuxbridge_agent.ini
[root@compute ~]# cat /etc/neutron/plugins/ml2/linuxbridge_agent.ini | grep -v "^#" | grep -v "^$"
[DEFAULT]
[agent]
[linux_bridge]
physical_interface_mappings = provider:ens33
[securitygroup]
enable_security_group = True
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
[vxlan]
enable_vxlan = True
local_ip = 192.168.0.112
l2_population = True - 配置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 = nova
password = devops - 重启和enable相关服务
[root@compute ~]# systemctl restart libvirtd.service openstack-nova-compute.service
[root@compute ~]# systemctl enable neutron-linuxbridge-agent.service
[root@compute ~]# systemctl restart neutron-linuxbridge-agent.service
[root@compute ~]# systemctl status libvirtd.service openstack-nova-compute.service neutron-linuxbridge-agent.service
三.在controler上执行验证
[root@controller ~]# source admin-openrc
[root@controller ~]# neutron agent-list
[root@controller ~]# nova host-list
配置
验证
软件
软件包
服务
节点
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
互联网新科技
互联网电商科技
圆梦互联网科技
鑫亿盛互联网科技
广州凡科互联网科技
互联网养老 桔豆科技
山东吉时兔互联网科技有限公司
互联网系的金融科技公司
汽车互联网创新科技园
健康食品互联网创新科技园项目
互联网科技创新的路径
科技大学互联网
济南有互联网科技公司吗
易企秀互联网科技是做什么的
普陀区互联网教育科技管理办法
互联网公司属于科技吗
悟空问答互联网科技
互联网科技的前景
安徽九吞吴互联网科技有限公司
广东猫王互联网科技有限公司电话
互联网与科技
科技互联网政务服务
互联网巨头科技公司
互联网金融与金融科技
互联网科技英文
互联网科技革命
科技创新互联网企业
北京禾田雨橡互联网科技
互联网保险科技创业
深圳无忧互联网科技