From 971ad0b9cc2da3879face9943c996745cff3bd3d Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Wed, 6 Feb 2019 17:00:22 +0000 Subject: [PATCH] Document support for configuring LVM on seed hypervisor Change-Id: Ib721f8658284ba1419a4f8f81548d1cd88b0a89c --- doc/source/configuration/hosts.rst | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/source/configuration/hosts.rst b/doc/source/configuration/hosts.rst index d62b33e91..c4cde65f3 100644 --- a/doc/source/configuration/hosts.rst +++ b/doc/source/configuration/hosts.rst @@ -368,18 +368,28 @@ Logical Volume Manager (LVM) physical volumes, volume groups, and logical volumes may be configured via the ``lvm_groups`` variable. For convenience, this is mapped to the following variables: +* ``seed_hypervisor_lvm_groups`` * ``seed_lvm_groups`` * ``compute_lvm_groups`` * ``controller_lvm_groups`` * ``monitoring_lvm_groups`` * ``storage_lvm_groups`` -Note that LVM is not configured on the seed hypervisor. - The format of these variables is as defined by the ``lvm_groups`` variable of the `mrlesmithjr.manage-lvm `__ Ansible role. +LVM for libvirt +--------------- + +LVM is not configured by default on the seed hypervisor. It is possible to +configure LVM to provide storage for a ``libvirt`` storage pool, typically +mounted at ``/var/lib/libvirt/images``. + +To use this configuration, set the ``seed_hypervisor_lvm_groups`` variable to +``"{{ seed_hypervisor_lvm_groups_with_data }}"`` and provide a list of disks +via the ``seed_hypervisor_lvm_group_data_disks`` variable. + LVM for Docker --------------