NB the network range here, should *not* be the one used on your existing physical network. It should be a range dedicated for the network that OpenStack will configure. So if 10.0.0.0/24 clashes with your local network, pick another range

−

−

== Register an Image ==

−

−

To run an instance, you are going to need an image. There are prebuilt Fedora 16 JEOS (Just Enough OS) images that can be downloaded.

If you use the Chrome browser, kill it before embarking on this section, as it has been [https://bugzilla.redhat.com/show_bug.cgi?id=727925 known] to cause the lvcreate command to fail with 'incorrect semaphore state' errors.

−

−

Start the SCSI target daemon

−

−

$> sudo systemctl start tgtd.service

−

$> sudo systemctl enable tgtd.service

−

−

Create a new 1GB volume

−

−

$> VOLUME=$(euca-create-volume -s 1 -z nova | awk '{print $2}')

−

−

View the status of the new volume, and wait for it to become 'available'

Now everything should be running as before, except the VMs are launched either on controller or node.

−

−

== Manual Setup of MySQL ==

−

−

As of <code>openstack-nova-2011.3-9.el6</code> and <code>openstack-nova-2011.3-8.fc16</code>, <code>openstack-nova</code> is now set up to use MySQL by default. If you're updating an older installation or prefer to set up MySQL manually instead of using the <code>openstack-nova-db-setup</code> script, this section shows how to do it.

−

−

First install and enable MySQL:

−

−

$> sudo yum install -y mysql-server

−

$> sudo service mysqld start

−

$> sudo chkconfig mysqld on

−

−

Set a password for the root account and delete the anonymous accounts: