dr_present 1

79

Upload: ahmed-shouman

Post on 09-Jan-2017

114 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: DR_PRESENT 1
Page 2: DR_PRESENT 1

شكر و تقدير

Page 3: DR_PRESENT 1

TAB ONE TAB TWO TAB THREE TAB FOUR TAB FIVE

Page 4: DR_PRESENT 1

FaaS(Food as a service )

ICT (Information and Communication Technology)

Page 5: DR_PRESENT 1

Cloud computing

Page 6: DR_PRESENT 1

Project objectives

•1 -

Page 7: DR_PRESENT 1

Project objectives2 .

Page 8: DR_PRESENT 1

Project objectives

3 .

Page 9: DR_PRESENT 1

Project objectives4 .

Page 10: DR_PRESENT 1

Project Achievements

Page 11: DR_PRESENT 1

TAB ONE TAB TWO TAB THREE TAB FOUR TAB FIVE

Page 12: DR_PRESENT 1

Introduction to Cloud team

What, which, how and why?

Page 13: DR_PRESENT 1

• In the simplest terms, cloud computing means storing and accessing data and programs over the Internet instead of your computer's hard drive.

• When it's smarter to rent than to buy…

• Cloud computing is an emerging computing technology that uses the internet and central remote servers to maintain data and application.

Page 14: DR_PRESENT 1

But where does The Cloud come in??

Page 15: DR_PRESENT 1

Hardware

Operating System

App App App

Traditional StackHardware

OS

App App App

Hypervisor

OS OS

Virtualized Stack

Key Technology: Virtualization

Page 16: DR_PRESENT 1

A complex system consisting of complex subsystems

Page 17: DR_PRESENT 1

Architecture Cloud Computing

Hardware

CentOS

KVM

OpenStack

Big Data Web

Open Shift

Page 18: DR_PRESENT 1

Host OS. distro

Page 19: DR_PRESENT 1

Why centos?• Familiar of deploy and configure “recently released RDO”.

• Community support.

• Performance benchmarks “relating to updates”.

• Number of bugs.

Page 20: DR_PRESENT 1

Why GO open?• Multi-Vendor Virtual.

• Brings the efficiency, agility, and cost benefits of cloud.

• prevents one vendor from controlling your access to the greatest innovation

• Large supporting community.

Page 21: DR_PRESENT 1

Architecture Cloud Computing

Hardware

CentOS

KVM

OpenStack

Big Data Web

Open Shift

Page 22: DR_PRESENT 1

Virtualization

Page 23: DR_PRESENT 1
Page 24: DR_PRESENT 1
Page 25: DR_PRESENT 1

Architecture Cloud Computing

Hardware

CentOS

KVM

OpenStack

Big Data Web

Open Shift

Page 26: DR_PRESENT 1
Page 27: DR_PRESENT 1

OpenStack Architecture

Horizon

Nova

Neutron

SwiftCinder

Keystone

Glance

Ceilometer

Heat

Page 28: DR_PRESENT 1

OpenStack Installation• Preparation for installation:• Update OS.• Remove Network manager.• Add repositories.

Installation

Manual installation

Scripted installation

Page 29: DR_PRESENT 1

Installing services one by one “Manual installation”

• Service “keystone” 1. Installing the service: # yum install openstack-keystone python- keystoneclient

2. Configure the service:# openstack-config--set/etc/keystone/keystone.conf\ sqlconnectionmysql://keystone:KEYSTONE_DBPASS@controller/keystone

3. Start and enable Service#serviceopenstack-keystonestart #chkconfigopenstack-keystone on

• Service “glance”• Service “nova” • Enable networking• Add the dashboard “horizon”

Page 30: DR_PRESENT 1

OpenStack scripted deployment “RDO”

An automated installation with minimal user intervention. Answer file is a simple text file contains configurations of OS.Quick start:1. Getting software repositories.# yum update –y # yum install -y http://rdo.fedorapeople.org/rdo-release.rpm 2. Getting Packstack installer.# yum install -y openstack-packstack

3. Run Packstack to install openstack# packstack--allinone

Page 31: DR_PRESENT 1

OpenStack administration | cloud images

VM Image: Virtual disk that has a bootable operating system installed on it.

OpenStack supported image formats: RAW QCOW2: commonly used with the KVM hypervisor.

• The image size is smaller.• Support for snapshots.

VM Image metadata: CPU architecture. The OS installed on the image (Linux, Windows,… ). OS_Distro (Centos, Fedora, Ubuntu,…).

Page 32: DR_PRESENT 1

OpenStack Linux image requirements to be sure that the image supports the OpenStack features:

• Resize root partition on boot.• No hard-coded MAC address information.• Ensure ssh server runs.

• Access instance by using ssh public key.• Use cloud-init to fetch the public key. • Inject ssh key into the instance in the first boot.

• Process user data (host name, ssh key). Disable firewall and use the host firewall.

Page 33: DR_PRESENT 1

We built two cloud images: Centos cloud image: LAMP web server cloud Image:

• Linux operating system (Centos).• Apache HTTP Server is the most popular web server.• MySQL database.• PHP server-side scripting language designed for web.

Tools to modify images: Guestfish: modify the files inside image. Guestmount: mount the image's file system directly.

Page 34: DR_PRESENT 1

OpenStack administration | Internal Network Architecture

Page 35: DR_PRESENT 1

manage project. View and manage quotas. manage user. Manage flavors.

OpenStack administration | Admin user

Page 36: DR_PRESENT 1

OpenStack administration | End user

• Overview about menus.• Creating network.• Creating instances.• Setting IP’s.• Ping instances.

Page 37: DR_PRESENT 1

Architecture Cloud Computing

Hardware

CentOS

KVM

OpenStack

Big Data Web

Open Shift

Page 38: DR_PRESENT 1

What is Platform as a Service (PaaS)?

PaaS helps organizations, specifically developers, realize the benefits of cloud computing by providing a fast and scalable way to host applications in the cloud.

Technically, a PaaS is an Application Platform comprised of an operating system, middleware and other software that allows applications to run on the cloud with much of the management.

Platform as a Service is changing the way developers approach developing software.

Page 39: DR_PRESENT 1

What is OpenShift Origin? • OpenShift Origin is Red Hat’s open source Platform as a Service (PaaS)

offering.• OpenShift Origin is an application platform where application

developers and teams can build, test, deploy, and run their applications.

Code

Deploy

Enjoy

Page 40: DR_PRESENT 1

Flavors of OpenShift

origin

Public Cloud

Service

On-premise or Private

Cloud Software

Open Source Project

Page 41: DR_PRESENT 1

Modernizing App Development with PaaS

Page 42: DR_PRESENT 1

OpenShift Machines

Page 43: DR_PRESENT 1

Key OpenShift Terms• Broker – Management host, orchestration of Nodes• Node – Compute host containing Gears• Gear – Allocation of fixed memory, compute, and storage resources

for running applications• Cartridge – A technology/framework (PHP, Perl, Java/JEE, Ruby,

Python, MySQL, etc.) to build applications.

Page 44: DR_PRESENT 1

Simple Application Creation

Page 45: DR_PRESENT 1

Architecture Cloud Computing

Hardware

CentOS

KVM

OpenStack

Big Data Web

Open Shift

Page 46: DR_PRESENT 1

TAB ONE TAB TWO TAB THREE TAB FOUR TAB FIVE

Page 47: DR_PRESENT 1

Big Data Architecture

Cloud Architecture

HDFS / MapReduce

Hive SqoopCloudera Platform

Eco Systems

Page 48: DR_PRESENT 1

Introduction to hadoop

Page 49: DR_PRESENT 1

What Makes it Big Data?

Page 50: DR_PRESENT 1

Introduction to hadoop

Big Data

How to store? How to work?

Page 51: DR_PRESENT 1
Page 52: DR_PRESENT 1

Hadoop environment

Page 53: DR_PRESENT 1

High level hadoop architecture

Page 54: DR_PRESENT 1

Introduction to HDFS

Page 55: DR_PRESENT 1

Introduction to MapReduce

Page 56: DR_PRESENT 1

The important thing in hadoop is configuration file

Page 57: DR_PRESENT 1

Practice work at lab

Page 58: DR_PRESENT 1

Big Data Architecture

Cloud Architecture

HDFS / MapReduce

Hive Sqoop Cloudera Manager and New Solutions

Eco Systems

Page 59: DR_PRESENT 1

What’s the problem?

2 TB(compresed) raw data per day today

Page 60: DR_PRESENT 1

What’s the solution ?HIVE

Page 61: DR_PRESENT 1

Data Warehousing at Facebook Today

Web ServersScribe Servers

Filers

Hive on Hadoop Cluster

Oracle RAC Federated MySQL

Page 62: DR_PRESENT 1

HIVE Components

Page 63: DR_PRESENT 1

HIVE x BIG

Page 64: DR_PRESENT 1

Big Data Architecture

Cloud Architecture

HDFS / MapReduce

Hive Sqoop Cloudera Manager and New Solutions

Eco Systems

Page 65: DR_PRESENT 1

Sqoop

•Why Sqoop•What’s Sqoop

•How Sqoop works

Page 66: DR_PRESENT 1

Import data

1. Run Import2. Pull metadata

3. Lunch MapReduce job

4. Pull data from database

5. Writ to data sink

sqoop import --connect jdbc:mysql://vm2.faas.com/sqoop --username root --password root --table yelid --target-dir /input/

Page 67: DR_PRESENT 1

Export data

1. Run Sqoop Export

2. Launch MapReduce Job

3. Write to staging table

4. sql> INSERT INTO target (SELECT*FROM staging)

sqoop export --connect jdbc:mysql://vm2.faas.com/sqoop --username root --password root --table location --export-dir location

Page 68: DR_PRESENT 1
Page 69: DR_PRESENT 1

Big Data Architecture

Cloud Architecture

HDFS / MapReduce

Hive Sqoop Cloudera Manager and New Solutions

Eco Systems

Page 70: DR_PRESENT 1

What’s Cloudera CDH?• CDH : Is 100% Open Source Distribution including the core elements of Hadoop plus

several open source projects.

Page 71: DR_PRESENT 1

What's Inside ?• Apache Yarn : (Yet Another Resource Negotiator) Is the data operating system of Hadoop that enablesyou to process data simultaneously in multiple ways.

Page 72: DR_PRESENT 1

What's Inside?• Apache HUE : Hue is a suite of applications that provide web-based access to CDH

components and a platform for building custom applications.

Page 73: DR_PRESENT 1

What’s Cloudera Manager C.M?• Cloudera Manager : is a unified management interface that makes it easy to install, configure, and manage a CDH cluster through a web interface “Admin

Console”

Page 74: DR_PRESENT 1

Other Solutions1-Hortonworks : 100% Open Source Enterprise Apache Hadoop.

Page 75: DR_PRESENT 1

TAB ONE TAB TWO TAB THREE TAB FOUR TAB FIVE

Page 76: DR_PRESENT 1

System Overview

Web Design and

Development

Big Data Solution

Cloud Computing

Web Design and Development

Page 77: DR_PRESENT 1

TAB ONE TAB TWO TAB THREE TAB FOUR TAB FIVE

Page 78: DR_PRESENT 1

Our Next Step.!• Cloud: Integrate openShift with openStack.

• Big Data: Online data processing (real time) using HBase.

• Web: Automate matching between farmer and food processor.

Page 79: DR_PRESENT 1

Thank You