Install the base environment
[email protected] ~]# Yum install-y http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
[email protected] ~]# Yum install-y centos-release-openstack-liberty
[email protected] ~]# Yum install-y python-openstackclient
installation Nova-compute
[email protected] ~]# Yum install-y openstack-nova-compute sysfsutils
Configuration Nova Compute
The configuration of the control node and the compute node is almost identical, with only a small amount of modification, so you can copy the configuration file of the control node directly to the compute node. You can also follow the steps of the control node again.
[Email protected] ~]# scp/etc/nova/nova.conf compute:/etc/nova/
[Email protected] ~]# vim/etc/nova/nova.conf
124 my_ip=192.168.1.12
1819 novncproxy_base_url=http://192.168.1.11:6080/vnc_auto.html
1827 vncserver_listen=0.0.0.0
1834 Vnc_enabled=true
1837 Vnc_keymap=en-us
2333 host=192.168.1.11
2726 VIRT_TYPE=KVM// to determine the support KVM , not supported can be changed to Qemu
Start the service
[Email protected] ~]# Systemctl enable LIBVIRTD Openstack-nova-compute
[Email protected] ~]# systemctl start LIBVIRTD openstack-nova-compute
View Validation
Viewing on the control node
[[email protected] ~]# OpenStack host list
+------------+-------------+----------+
| Host Name | Service | Zone |
+------------+-------------+----------+
| Controller | Consoleauth | Internal |
| Controller | Scheduler |internal |
| Controller | Cert |internal |
| Controller | Conductor |internal |
| Compute | Compute | Nova |
+------------+-------------+----------+
If the last line appears, the installation is successful
Linux OPS Development Group: 298324302
Beijing Linux operation and maintenance recruitment group: 153677549
This article is from the "Night Passers-by" blog, please be sure to keep this source http://kevinhao.blog.51cto.com/5204735/1729835
CentOS 7 Deployment OpenStack (5)-Deploy Nova Compute nodes