Changes

From Amahi Wiki
Jump to: navigation, search
systemctl restart network
* Extend cinder-volumes past 20GB to allow for creating additional volumes to attach to instances.
** Followed the [https://udaraliyanage.wordpress.com/2014/05/23/openstack-increase-volume-capacity OpenStack Increase Volume Capacity] tutorial (substitute any name for ** Created ''/usr/bin/ext-cinder-volumesvol'')script:** After <code> #!/bin/bash /usr/sbin/losetup -f /var/lib/cinder/cinder-volumes<-ext /code> in ''usr/etcsbin/rc.local'' filevgchange --activationmode partial -a y cinder-volumes**# Added <code>&& losetup /usr/bin/systemctl restart openstack-cinder-f volume /mntusr/backupbin/stacksystemctl restart openstack-volumes<cinder-api /usr/bin/code>**# When extending ''systemctl restart openstack-cinder-volumes'', add <code>&& losetup -f</code> and location of new LVM file to sequence.scheduler**# Do <code>pvs -v</code> Add to verify, then reboot and recheck.root crontab:**# This change is required to ensure the LVM remains intact on @reboot./usr/bin/ext-cinder-vol
** Created 130Gb additional space for volumes (''/mnt/backup/stack-volumes'').
** Total volume space available is now 150GB.
12,424

edits