After Deprec

openstack_cloud_computing_cookbook

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

Contents of this Issue

Navigation

Page 230 of 317

In the Datacenter 220 4. Finally, Juju requires SSH keys to be configured to allow it to access the deployed nodes. To create the keys, issue the following command: ssh-keygen -t rsa -N "" How it works... Juju is a very powerful tool to allow you to manage your environments very easily using simple commands. Since Ubuntu 12.04, Juju is part of the distribution and works in tandem with MAAS to allow us to provision bare-metal services using Juju commands. By configuring Juju to work with MAAS in this way, we can launch new machines with configured services by instructing MAAS to power on servers and to install that service once the relevant operating system has been installed. This, in our case, will be Ubuntu 12.04, precisely as dictated by the default-series configuration option. Ensure that we have the correct MAAS API key, where it is states maas-oauth. Finally, putting in our public SSH key into MAAS allows us to use our Juju environment using SSH keys. Installing OpenStack services using Juju With Juju installed and configured to work with MAAS, we're ready to configure Juju to install our OpenStack environment. At this point, it is assumed you have at least nine servers available, with two separate network cards in each to deploy OpenStack to, in order to provision an OpenStack environment using Juju and MAAS. This is because Juju installs each service to a new server. Getting ready Log in to a shell on the MAAS server. How to do it... To install OpenStack using Juju, carry out the following steps: 1. Create the file .juju/openstack.cfg, with the following contents: keystone: admin-password: "openstack" nova-cloud-controller: network-manager: "FlatDHCPManager" nova-volume: 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