Kolla Newton Installing Cinder LVM

Source: Internet
Author: User

First, the Environment preparation

1. Host

Deploy
Installing Kolla
Controller
Node0
Compute
Node3
Storage
Node5
Network
Node7

2. Software version

Kolla
Stable/newton
Docker-engine 1.12.2
Python-docker-py 1.7.2-1

3. Preparing LVM for Cinder volume

Execute the following command on the NODE5

Pvcreate/dev/sdcvgcreate CINDER-VOLUMES/DEV/SDC


Second, install Kolla, and build images

See: Kolla Newton Configuration

Third, configuration Kolla

1. Edit/etc/kolla/globals.yml

kolla_base_distro:  "CentOS" kolla_install_type:  "source" openstack_release:  "3.0.1" kolla_internal _vip_address:  "192.168.1.10" kolla_external_vip_address:  "{{ kolla_internal_vip_address }}" docker_registry:  "Registry_ip_address:registry_ip_port" docker_namespace:  "Kolla" Docker_registry_ username:  "admin" docker_registry_password:  "Registry_password" network_interface:  "eth0" Neutron_ external_interface:  "eth1" neutron_plugin_agent:  "Linuxbridge" nova_console:  "Novnc" Enable_ haproxy:  "No" enable_keystone:  "yes" enable_glance:  "yes" enable_neutron:  "yes" Enable_heat:   "No" enable_nova:  "yes" enable_horizon:  "yes" enable_cinder:  "yes" ENABLE_CINDER_BACKEND_LVM:   "Yes"  #  if set to No, although Cinder volume can be created, volume cannot be mounted to instanceenable_central_logging:  "no" enable_ceph:  "No" enable_ceilometer:  "no" enable_mongodb:  "no" enable_sahara:  "no"

2. Generate Password for/ETC/KOLLA/PASSWORDS.YML

Kolla-genpwd

3. Edit/usr/share/kolla/ansible/inventory/multinode

Note: Comment out each section, the original hostname [CONTROL]NODE0 ... [Network]node7 ... [Compute]node3 ... [Monitoring] #monitoring01 ... [Storage]node5

Iv. Deployment of OpenStack

1. Enable Mountflags shared for Docker on the network and execute on NODE7

Mkdir-p/etc/systemd/system/docker.service.d# Create the drop-in unit filetee/etc/systemd/system/docker.service.d/ kolla.conf <<-' EOF ' [service]mountflags=sharedeofsystemctl daemon-reloadsystemctl restart Docker


2. Use Qemu to execute on the Kolla host

Mkdir-p/etc/kolla/config/nova/cat <<EOF>>/etc/kolla/config/nova/nova-compute.conf[libvirt]virt_type =qemueof

3. Perform pre-installation inspection

Kolla-ansible-i/usr/share/kolla/ansible/inventory/multinode Prechecks

4, Pull images

Kolla-ansible-i/usr/share/kolla/ansible/inventory/multinode Pull

5. Deploying OpenStack

Kolla-ansible-i/usr/share/kolla/ansible/inventory/multinode Deploy

6. Perform post-installation configuration

Kolla-ansible-i/usr/share/kolla/ansible/inventory/multinode Post-deploy

7, perform initialization, execute on Kolla host

/usr/share/kolla/init-runonce

At this point, the deployment is complete


This article is from the "Wuling Grassland" blog, please make sure to keep this source http://penguintux.blog.51cto.com/3021117/1865832

Kolla Newton Installing Cinder LVM

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.