7.1 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】模块
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:11211auth_type = passwordproject_domain_name = defaultuser_domain_name = defaultproject_name = serviceusername = novapassword = novalock_path=/var/lib/nova/tmp #【oslo_concurrency】模块 配置锁路径
enabled = Truevncserver_listen = 0.0.0.0 #vnclisten 【vnc】模块
vncserver_proxyclient_address = 192.168.56.11novncproxy_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,如需转载请自行联系原作者