After Deprec

openstack_cloud_computing_cookbook

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

Contents of this Issue

Navigation

Page 25 of 317

Chapter 1 15 3. We then issue a command that ensures the database has the correct tables schema installed and initial data populated with the right information: sudo nova-manage db sync 4. We can then proceed to create the private network that will be used by our OpenStack Compute instances internally: sudo nova-manage network create vmnet --fixed_range_v4=10.0.0.0/8 --network_size=64 --bridge_interface=eth2 5. And finally we can create the public network that will be used to access the instances from our personal computer: sudo nova-manage floating create --ip_range=172.16.1.0/24 How it works... The following are the flags that are present in our /etc/nova/nova.conf configuration file--dhcpbridge_flatfile= is the location of the configuration (flag) file for the dhcpbridge service. f --dhcpbridge= is the location of the dhcpbridge service. f --force_dhcp_release releases the DHCP assigned IP address when the instance is terminated. f --logdir=/var/log/nova writes all service logs to here. This area will be written to as the root user. f --state_path=/var/lib/nova is an area on your host that Nova will use to maintain various states about the running service. f --lock_path=/var/lock/nova is where Nova can write its lock files. f --connection_type=libvirt specifies the connection to use libvirt. f --libvirt_use_virtio_for_bridges uses the virtio driver for bridges. f --root_helper=sudo nova-rootwrap specifies a helper script to allow the OpenStack Compute services to obtain root privileges. f --use_deprecated_auth tells Nova to not use the new Keystone authentication service. f --sql_connection=mysql://root:nova@172.16.0.1/nova is our SQL Connection line created in the previous section. It denotes the user:password@ Host Address/database name (in our case nova). f --s3_host=172.16.0.1 tells OpenStack services where to look for the nova- objectstore service. f --rabbit_host=172.16.0.1 tells OpenStack services where to find the rabbitmq message queue service. 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