the path to the cloud training - matrix hat may 15/deploy and... · the path to the cloud training...

20
The path to the cloud training Guy Carmin RHCE, RHCI, RHCVA, RHCSA Solution Architect IGC, Red Hat May 2015 Roei Goldenberg RHCE Linux Consultant and Cloud expert, Matrix

Upload: hoangliem

Post on 22-Jun-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

The path to the cloud training

Guy Carmin

RHCE, RHCI, RHCVA, RHCSASolution Architect IGC, Red Hat

May 2015

Roei Goldenberg

RHCE Linux Consultant and Cloud expert, Matrix

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

First stage –

● A fresh and clean RHEL 7.1 minimal installation● One server (VM) for allinone● Multiple server depends on arch.

● Choosing the deployment method:● Learning Environments - Manual Setup (Blood and tears)● Proof-of-Concept Environments – Packstack (better but you

needs a good understanding and preparations)● Enterprise Environments - RHEL-OSP Installer

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

PackStack All In On

● Very Easy to deploy

● Fast and clean

● Fast-trax to working with OSP.

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Preparing the repo's

● subscription-manager register

● subscription-manager list --available

● subscription-manager attach --pool=POOL_ID

● subscription-manager repos --disable="*"

● subscription-manager repos --enable=rhel7-server-rpms --enable=rhel-7-server-rh-common-rpms –enable=rhel-7-server-openstack-6.0-rpms

● yum install bash-completion.noarch vim-common.x86_64 vim-enhanced.x86_64 screen

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Installing

● Disable the Network Manager service● systemctl disable NetworkManager.service● systemctl stop NetworkManager.service● systemctl disable NetworkManager.service

● yum update -y

● yum install openstack-packstack -y

● packstack --gen-answer-file=answerfile.001

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Installation DEMO

● Packstack --allinone

● Logs:● /var/tmp/packstack/● /var/log/{messages,yum}

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Quiz – Deploy RHEL-OSP with packstack

Name the configuration management service Packstack users to deploy and manage OpenStack service

1.Chef

2.Puppet

3.Ansible

4.The answer file

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Quiz – Deploy RHEL-OSP with packstack

Name the configuration management service Packstack users to deploy and manage OpenStack service

1.Chef

2.Puppet

3.Ansible

4.The answer file

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Quiz – Deploy RHEL-OSP with packstack

Name the Automated installation approach Packsatck can use to install or upgrade OpenStack services with minimal user intervention

1.Statless configuration

2.Autodeployments

3.Unattended installation

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Quiz – Deploy RHEL-OSP with packstack

Name the Automated installation approach Packsatck can use to install or upgrade OpenStack services with minimal user intervention

1.Statless configuration

2.Autodeployments

3.Unattended installation

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Quiz – Deploy RHEL-OSP with packstack

Name the multilayer virtual switch software, that supports standard management interface ans protocols

1.Open vFlow

2.Linux NAT

3.Open vSwitch

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Quiz – Deploy RHEL-OSP with packstack

Name the multilayer virtual switch software, that supports standard management interface ans protocols

1.Open vFlow

2.Linux NAT

3.Open vSwitch

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Quiz – Deploy RHEL-OSP with packstack

True or Fals: Is it possible to run Packstack multiple times to make changes to the OpenStack deployment

1.False, Packstack being statless, the servers needs to be reinstalled prior to a redeployment.

2.True, Packstack reconfigured the current deployment with the new values provided.

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Quiz – Deploy RHEL-OSP with packstack

True or Fals: Is it possible to run Packstack multiple times to make changes to the OpenStack deployment

1.False, Packstack being statless, the servers needs to be reinstalled prior to a redeployment.

2.True, Packstack reconfigured the current deployment with the new values provided.

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Verifying the installation

**** Installation completed successfully ******

Additional information:

* A new answerfile was created in: /root/packstack-answers-20150519-110204.txt

* Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.

* File /root/keystonerc_admin has been created on OpenStack client host 192.168.100.188. To use the command line tools you need to source the file.

* To access the OpenStack Dashboard browse to http://192.168.100.188/dashboard .

Please, find your login credentials stored in the keystonerc_admin in your home directory.

* To use Nagios, browse to http://192.168.100.188/nagios username: nagiosadmin, password: 690bdb6251bc40a3

* The installation log file is available at: /var/tmp/packstack/20150519-110204-Ew0wwo/openstack-setup.log

* The generated manifests are available at: /var/tmp/packstack/20150519-110204-Ew0wwo/manifests

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Verifying the installation – web ui + login

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Verifying the installation - cli

● source keystonerc_admin

[root@localhost ~(keystone_admin)]# openstack-status

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Thank You