7.1 nova计算节点

7-nova计算节点

7-nova计算节点

7-nova计算节点


7.2 nova计算节点的安装

1
yum install openstack-nova-compute

7.3 修改nova的配置文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[[email protected] ~]# grep -E "^[a-Z]"  /etc/nova/nova.conf 
auth_strategy=keystone  #开启keystone认证 【DEFAULT】模块
my_ip=192.168.56.11  #计算节点上的管理网络接口的IP【DEFAULT】模块
use_neutron=false      #使用neutron网络 【DEFAULT】模块
enabled_apis=osapi_compute,metadata #只启用计算和元数据API 【DEFAULT】模块
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver #去除 Compute 内置的防火墙服务。【DEFAULT】模块
transport_url=rabbit://openstack:[email protected] #[DEFAULT] 消息队列
api_servers= #【】keystone_authtoken】
auth_uri = http://192.168.56.11:5000
auth_url = http://192.168.56.11:35357
memcached_servers = 192.168.56.11:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = nova
lock_path=/var/lib/nova/tmp #【oslo_concurrency】模块  配置锁路径
enabled = True
vncserver_listen = 0.0.0.0 #vnclisten  【vnc】模块
vncserver_proxyclient_address = 192.168.56.11
novncproxy_base_url =  #控制节点的地址

7.3 控制节点验证

1
2
3
4
5
6
7
8
9
[[email protected] ~]# openstack host  list
+-------------+-------------+----------+
| Host Name   | Service     | Zone     |
+-------------+-------------+----------+
| linux-node1 | consoleauth | internal |
| linux-node1 | conductor   | internal |
| linux-node1 | scheduler   | internal |
| linux-node2 | compute     | nova     |  #OK
+-------------+-------------+----------+









本文转自 小小三郎1 51CTO博客,原文链接:http://blog.51cto.com/wsxxsl/1884509,如需转载请自行联系原作者

相关文章:

  • 2021-12-07
  • 2022-12-23
  • 2021-09-29
  • 2021-12-26
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-18
  • 2022-12-23
  • 2021-07-02
  • 2021-11-19
  • 2021-10-17
  • 2021-07-29
相关资源
相似解决方案