The path to the cloud training
Guy Carmin
RHCE, RHCI, RHCVA, RHCSA Solution Architect IGC,
Red Hat
Roei Goldenberg
RHCE
Linux Consultant and Cloud expert, Matrix
RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM R T F M ! ! ! ! ! !
https://access.redhat.com/documen
tation/en-US/Red_Hat_Enterprise_L
inux_OpenStack_Platform/6/html-si
ngle/Deploying_OpenStack_Proof_of
_Concept_Environments/index.html
https://docs.redhat.com
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)
RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM
PackStack All In On
● Very Easy to deploy ● Fast and cleanPreparing 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
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
RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM
Installation DEMO
● Packstack --allinone ● Logs: ● /var/tmp/packstack/ ● /var/log/{messages,yum}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
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
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
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
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
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
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.
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 - cli
● source keystonerc_adminRED HAT ENTERPRISE LINUX OPENSTACK PLATFORM