S1_ OpenStack to build a distributed cluster _07 nova service configuration (compute nodes)

First, the service is installed (calculation node)
to install the software:
# yum the install OpenStack Compute -Y-Nova-

edit /etc/nova/nova.conf file and set the following:
# Vim /etc/nova/nova.conf
[the DEFAULT]
enabled_apis osapi_compute =, the Metadata
transport_url = The Rabbit: // OpenStack: [email protected]
my_ip = 10.10.11.12
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver
[API]
auth_strategy = Keystone
[keystone_authtoken]
auth_uri = HTTP: //10.10 .11.11: 5000
auth_url = http://10.10.11.11:35357
memcached_servers = 10.10.11.11:11211
AUTH_TYPE = password
project_domain_name = default
USER_DOMAIN_NAME default =
project_name-Service =
Nova = username
password = nova123
[VNC]
Enabled = True
server_listen = 0.0.0.0
server_proxyclient_address = $ my_ip
novncproxy_base_url = http://10.10.11.11:6080/vnc_auto.html
[Glance]
api_servers = http://10.10.11.11:9292
[oslo_concurrency]
lock_path = / var / lib / Nova / tmp
[Placement]
os_region_name = RegionOne
project_domain_name the Default =
project_name-Service =
AUTH_TYPE = password
USER_DOMAIN_NAME the Default =
auth_url = http://10.10.11.11:35357/v3
username = Placement
password = placement123

It detects the current computing node supports hardware virtualization
# egrep -c '(vmx | svm )' / proc / cpuinfo

virtual machine I use, where 0 is returned, obviously I do not support hardware virtualization
You can edit the file settings /etc/nova/nova.conf qemu virtualization software to provide
# vim /etc/nova/nova.conf
[the libvirt]
virt_type = qemu

boot settings of the service from the start, and start computing services:
# systemctl enable libvirtd OpenStack-Nova-compute.service .service
# systemctl Start libvirtd.service OpenStack-Nova-compute.service
# systemctl Status libvirtd.service OpenStack Nova-compute.service-

II was added to the cell database compute nodes (control node)
was added environment admin variables:
# Source ADMIN-OpenRC

execute the following command to check compute node information is already in the database:
# OpenStack compute Service List --service Nova-compute


found compute nodes:
# su -s / bin / SH -c "Nova-the Manage cell_v2 discover_hosts --verbose "nova

three, verify the availability (the control node)
was added admin environment variables:
# Source OpenRC admin-

listed operating state of the computing services:
# Openstack compute service list

listed certification service port:
# OpenStack Cataog List

lists the image information to confirm access to services Mirror:
# OpenStack Image List


to confirm the successful placement api cells and run:
#-Nova upgrade the Check Status

Guess you like

Origin www.cnblogs.com/luwei0915/p/11334504.html