Files
8bd63e3f0ce0f53ef176378a459df0d936953771
training-guides /labs /README.md

201 lines
4.0 KiB
Markdown
Raw Normal View History

=============
About
-----
**Note:** Training Labs are specifically meant for OpenStack Training and are
Pre-requisite
-------------
* Download and install [VirtualBox](https://www.virtualbox.org/wiki/Downloads).
How to run the scripts
----------------------
1. Clone the training-guides repo which contains scripts in the labs section that will install multi-node OpenStack automatically.
$ git clone git://git.openstack.org/openstack/training-guides
2. Go to the labs folder
$ cd training-guides/labs
3. Run the script:
$ ./osbash -b cluster
This will do the complete installation for all the nodes - Controller, Compute and Network.
For more help you can check
$ ./osbash --help
This will take some time to run the first time.
What the script installs
------------------------
Running this will automatically spin up 3 virtual machines in VirtualBox:
* Controller node
* Network node
* Compute node
Now you have a multi-node deployment of OpenStack running with the below services installed.
OpenStack services installed on Controller node:
* Keystone
* Horizon
* Glance
* Nova
* nova-api
* nova-scheduler
* nova-consoleauth
* nova-cert
* nova-novncproxy
* python-novaclient
* Neutron
* neutron-server
* Cinder
Openstack services installed on Network node:
* Neutron
* neutron-plugin-openvswitch-agent
* neutron-l3-agent
* neutron-dhcp-agent
* neutron-metadata-agent
Openstack Services installed on Compute node:
* Nova
* nova-compute
* Neutron
* neutron-plugin-openvswitch-agent
How to access the services
--------------------------
There are two ways to access the services:
* OpenStack Dashboard (horizon)
You can access the dashboard at: http://192.168.100.51/horizon
Admin Login:
*Username:* `admin`
*Password:* `admin_pass`
*Demo User Login:*
*Username:* `demo`
*Password:* `demo_pass`
* SSH
$ ssh osbash@10.10.10.51
$ ssh osbash@10.10.10.52
$ ssh osbash@10.10.10.53
Credentials for all nodes:
*Username:* `osbash`
*Password:* `osbash`
After you have ssh access, you need to source the OpenStack credentials in order to access the services.
Two credential files are present on each of the nodes:
demo-openstackrc.sh
admin-openstackrc.sh
Source the following credential files
For Admin user privileges:
$ source admin-openstackrc.sh
For Demo user privileges:
$ source demo-openstackrc.sh
Now you can access the OpenStack services via CLI.
* Training Labs : https://blueprints.launchpad.net/openstack-training-guides/+spec/openstack-training-labs
------------------
or write an e-mail to the OpenStack Manuals mailing list
you want to post your e-mail instantly. It may take some time for
unregistered users, as it requires admin's approval.
--------------
* Roger Luethi
** Email: `rl@patchworkscience.org`
** IRC: `rluethi`
* Pranav Salunke
** Email: `dguitarbite@gmail.com`
** IRC: `dguitarbite`
Meetings
--------
To follow the weekly meetings for OpenStack Training, please refer
to the following link.
For IRC meetings, refer to the wiki page on training manuals.
Wiki
----