After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 168 of 317

Nova Volumes 158 4. We can now restart the nova-compute service as follows: sudo service nova-compute restart 5. We can verify that we have all services running correctly, by running the following: sudo nova-manage service list This should present us with an extra service line, now saying that nova-volume is happily running on openstack1. How it works... The host running nova-volume is known as an iSCSI Target. The host running our compute service is known as the iSCSI Initiator. The iSCSI Initiator package is started, which our OpenStack Compute service then controls. To make our OpenStack Compute host aware of our new nova-volume service, we add the following to /etc/nova/nova.conf: --iscsi_ip_address=NOVA-VOLUME-ADDRESS --iscsi_helper=tgtadm These lines tell the OpenStack Compute where the iSCSI Target is (which is the address of our nova-volume server), and the service to use to locate the iSCSI services. Creating volumes Now that we have a usable nova-volume service, we can create volumes for use by our instances. We do this under our Ubuntu client using one of the euca2ools, euca-create- volumes, or the Nova Client tool, so we are creating volumes specific to our tenancy (project). Getting ready To begin with, ensure you are logged in to your Ubuntu client that has access to the euca2ools or Nova Client tools. These packages can be installed using the following command: sudo apt-get update sudo apt-get install euca2ools python-novaclient www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook