Issue link: https://read.uberflip.com/i/1334488
Installing OpenStack Storage 80 How to do it... To create our sandbox environment within VirtualBox, we will create a single virtual machine that allows us to run all of the OpenStack Storage services. This virtual machine will be configured with at least 2 GB of RAM and two 20 GB hard drives with two network interfaces. The first will be a NAT interface that allows our virtual machine to connect to the network outside of VirtualBox to download packages, and the second interface will be the public interface of our OpenStack Storage host. Carry out the following steps to create the virtual machine that will be used to run OpenStack Storage services: 1. In VirtualBox, create a new virtual machine with the following specification: One CPU 2048 MB RAM Two 20 GB hard disks Two network adapters, with the attached Ubuntu 12.04 ISO This can either be done using the VirtualBox New Virtual Machine Wizard or by running the following commands in a shell on our computer: # Create VirtualBox Machine VBoxManage createvm --name openstack2 --ostype Ubuntu_64 --register VBoxManage modifyvm openstack2 --memory 1024 --nic1 nat --nic2 hostonly --hostonlyadapter2 vboxnet0 # Create CD-Drive and Attach ISO VBoxManage storagectl openstack2 --name "IDE Controller" --add ide --controller PIIX4 --hostiocache on --bootable on VBoxManage storageattach openstack2 --storagectl "IDE Controller" --type dvddrive --port 0 --device 0 --medium Downloads/ubuntu-12.04-server-amd64.iso # Create and attach SATA Interface and Hard Drive VBoxManage storagectl openstack2 --name "SATA Controller" --add sata --controller IntelAHCI --hostiocache on --bootable on VBoxManage createhd --filename openstack2.vdi --size 20480 VBoxManage storageattach openstack2 --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium openstack2.vdi www.it-ebooks.info

