After Deprec

openstack_cloud_computing_cookbook

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

Contents of this Issue

Navigation

Page 233 of 317

Chapter 11 223 12. Finally, we connect Horizon OpenStack Dashboard to Keystone: juju add-relation openstack-dashboard keystone 13. Congratulations! Our environment has been deployed. To discover the node that has the OpenStack Dashboard installed, we execute the following command that will return the address we need to use to put in our web browser: juju status openstack-dashboard How it works... Juju is a powerful tool for deploying environments and services. With Juju, we're able to utilize the power of apt with the ability to link services together known as "relations" in Juju terminology. We first set up a configuration file that we can refer to when installing some components of OpenStack. This adds an important level of flexibility to our Juju use. With the configuration of OpenStack ready, we are now ready to begin using Juju. The first step is to bootstrap the environment. This sets up a server that is used to provision our environment. Following this, we install the services one by one. Currently, Juju only supports installation of services onto their own nodes—so every Juju deployment step utilizes a new node. With the services deployed, we simply define the relationships between the services—which is another term for connecting the services together. For example, we connect our keystone server with the MySQL server. We also connect keystone to compute, glance, and so on, as they all rely on OpenStack Identity Service. Similarly, the services that rely on mysql are all connected together. This continues until all relationships have been set up. Once completed, given that Juju decides where to install the services, we need to discover which node has the OpenStack Dashboard installed. To do this, we simply ask for status information about openstack-dashboard, which returns the URL for us to use. Increasing OpenStack Compute capacity Adding extra Compute capacity is very simple with OpenStack. You essentially add in as many compute nodes as required, each having the same configuration file that tells OpenStack of its existence. 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