From af73200d70fbc4084d881f2d2e883d28143060a3 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Thu, 20 Sep 2018 12:37:57 +0100 Subject: [PATCH] MNAIO: Correct README regarding DATA_DISK_DEVICE The DATA_DISK_DEVICE environment variable no longer exists. In this patch we correct the README with the appropriate instructions for changing the data disk device. Change-Id: I2790b6d848a2960d89f122b0f5bb1cf714c68809 --- multi-node-aio/README.rst | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/multi-node-aio/README.rst b/multi-node-aio/README.rst index df80d155..77f0aff9 100644 --- a/multi-node-aio/README.rst +++ b/multi-node-aio/README.rst @@ -24,12 +24,19 @@ an Ubuntu 14.04/16.04/18.04 LTS Operating system. System assumes that you have a unpartitioned device with at least 1TB of storage, however you can customize the size of each VM volume by setting the option ``${VM_DISK_SIZE}``. If you're using the Rackspace OnMetal servers the drive partitioning will be done for you -by detecting the largest unpartitioned device. If you're doing the deployment on -something other than a Rackspace OnMetal server you may need to set the -``${DATA_DISK_DEVICE}`` variable accordingly. the playbooks will look for a -volume group named "vg01", if this volume group exists no partitioning or setup -on the data disk will take place. To effectively use this process for testing -it's recommended that the host machine have at least 32GiB of RAM. +by detecting the largest unpartitioned device. If you wish to use a different +device, then set the ``mnaio_data_disk`` extra var when running the playbooks or +by exporting the extra var before running build.sh, eg: + +.. code-block:: bash + + export MNAIO_ANSIBLE_PARAMETERS="-e mnaio_data_disk=sdb" + ./build.sh + +The playbooks will look for a volume group named "vg01", if this volume group +exists no partitioning or setup on the data disk will take place. To effectively +use this process for testing it's recommended that the host machine have at least +32GiB of RAM. =========== ======== ============ Physical Host Specs known to work well