一.1.2.3 Nova优化

举报
yuminghao 发表于 2024/09/24 13:04:37 2024/09/24
【摘要】 #答案[root@controller~] vim /etc/nova/nova.conf [database]max_pool_size=10max_overflow=10#重启服务[root@compute~]# systemctl restart openstack-nova-compute

#答案
[root@controller~] vim /etc/nova/nova.conf 
[database]
max_pool_size=10
max_overflow=10


#重启服务
[root@compute~]# systemctl restart openstack-nova-compute

返回

[root@controller ~]# cat /etc/nova/nova.conf | grep -Ev ^'(#|$|\[)'
enabled_apis = osapi_compute,metadata
transport_url = rabbit://openstack:000000@controller
my_ip = 192.168.100.202
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver
vif_plugging_is_fatal=false
auth_strategy = keystone
connection = mysql+pymysql://nova:000000@controller/nova_api
max_pool_size=10
max_overflow=10
os_region_name = RegionOne
connection = mysql+pymysql://nova:000000@controller/nova
api_servers = http://controller:9292
www_authenticate_uri = http://controller:5000
auth_url = http://controller:5000
memcached_servers = controller:11211
auth_type = password
project_domain_name = demo
user_domain_name = demo
project_name = service
username = nova
password = 000000
auth_url = http://controller:5000
auth_type = password
project_domain_name = demo
user_domain_name = demo
region_name = RegionOne
project_name = service
username = neutron
password = 000000
service_metadata_proxy = true
metadata_proxy_shared_secret = 000000
lock_path = /var/lib/nova/tmp
region_name = RegionOne
project_domain_name = demo
project_name = service
auth_type = password
user_domain_name = demo
auth_url = http://controller:5000/v3
username = placement
password = 000000
discover_hosts_in_cells_interval = 300
enabled = true
server_listen = 192.168.100.202
server_proxyclient_address = 192.168.100.202

【版权声明】本文为华为云社区用户原创内容,未经允许不得转载,如需转载请自行联系原作者进行授权。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。