Module 03 - Physical Layer
Module 03 - Physical Layer
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Building the Cl oud Infrastruct ure   1
    Module: Physical Layer
    Upon completion of this module, you should be able to:
    • Describe compute system components and types
    • Describe storage system architectures
    • Describe network connectivity and the types of network
      communication
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   2
Cloud Computing Reference Model
Physical Layer
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   3
Physical Layer Overview
• The physical layer comprises physical
  compute, storage, and network resources
• Compute systems execute software of
  providers and consumers
• Storage systems store business and
  application data
• Networks connect compute systems with
  each other and with storage systems
            – Networks also connect multiple data centers
              or multiple clouds to one another
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   4
    Lesson: Compute System
    This lesson covers the following topics:
    • Key components of a compute system
    • Software deployed on compute systems
    • Types of compute systems
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   5
Introduction to Compute System
• A computing platform (hardware, firmware, and software) that
  runs platform and application software
            – Executes the provider’s as well as the consumers’ software
            – Typically x86-based servers or hosts
• Compute systems are provided to consumers in two ways:
            – Shared hosting: Multiple consumers share compute systems
            – Dedicated hosting: Individual consumers have dedicated compute
              systems
• Typically providers use compute virtualization and offer
  compute systems in the form of virtual machines
© Copyri ght 2014 EMC Corporation. Al l rights res erved.     Module: Physical Layer   6
Key Components of a Compute System
                                                            • A PCB that holds the processor, RAM, ROM, network and I/O
                        Motherboard                           ports, and other integrated components, such as GPU and NIC
© Copyri ght 2014 EMC Corporation. Al l rights res erved.                                             Module: Physical Layer   7
Software Deployed on Compute Systems
Platform software • Includes the software that the provider offers through PaaS
Application software • Includes the applications that the provider offers through SaaS
© Copyri ght 2014 EMC Corporation. Al l rights res erved.                                              Module: Physical Layer   9
Types of Compute Systems
• Tower compute system
• Rack-mounted compute system
• Blade compute system
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   10
Tower Compute System
• Built in an upright enclosure called a “tower”
• Has integrated power supply and cooling
• A group of towers occupies significant floor
  space, requires complex cabling, and generates
  noise from cooling units
• Deploying in large environments may involve
  substantial expenditure
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   11
Rack-mounted Compute System
• Designed to be fixed on a frame called a “rack”
         – A rack is a standardized enclosure with
           mounting slots for vertically stacking compute
           systems
• Simplifies network cabling, consolidates
  network equipment, and reduces floor space
  use
• Administrators may use a console mounted on
  the rack to manage the compute systems
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   12
Blade Compute System
• Comprises an electronic circuit board with
  only the core processing components
• Multiple blades are housed in a blade chassis
            – The chassis provides integrated power supply,
              cooling, networking, and management
• Blades are interconnected via a high speed
  bus
• Modular design increases compute system
  density and scalability
© Copyri ght 2014 EMC Corporation. Al l rights res erved.     Module: Physical Layer   13
    Lesson Summary
    During this lesson the following topics were covered:
    • Key components of a compute system
    • Software deployed on compute systems
    • Types of compute systems: tower, rack-mounted, and blade
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   14
                         Module 03 - Physical Layer - part 2
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Building the Cl oud Infrastruct ure   15
    Lesson: Storage System
    This lesson covers the following topics:
    • Types of storage devices
    • Redundant Array of Independent Disks (RAID)
    • Storage system architectures
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   16
Introduction to Storage System
• A storage system is the repository for saving and retrieving
  electronic data
• Providers offer storage capacity along with compute systems, or
  as a service
            – Storage as a Service enables data backup and long-term data
              retention
• Cloud storage provides massive scalability and rapid elasticity
  of storage resources
• Typically, a provider uses virtualization to create storage pools
  that are shared by multiple consumers
© Copyri ght 2014 EMC Corporation. Al l rights res erved.    Module: Physical Layer   17
Types of Storage Devices
© Copyri ght 2014 EMC Corporation. Al l rights res erved.                                              Module: Physical Layer   18
Redundant Array of Independent Disks (RAID)
 RAID
           A storage technology in which data is written in blocks across multiple disk
           drives that are combined into a logical unit called a RAID group.
© Copyri ght 2014 EMC Corporation. Al l rights res erved.             Module: Physical Layer   20
RAID Technique: Striping
 Striping
           A RAID technique to spread data across multiple drives in order to use the
           drives in parallel.
© Copyri ght 2014 EMC Corporation. Al l rights res erved.            Module: Physical Layer   21
RAID Technique: Mirroring
 Mirroring
           A RAID technique to store the same data simultaneously on two different
           drives, yielding two copies of the data.
© Copyri ght 2014 EMC Corporation. Al l rights res erved.          Module: Physical Layer   22
RAID Technique: Parity
 Parity
           A RAID technique to protect striped data from drive failure by performing a
           mathematical operation on individual strips and storing the result on a
           portion of the RAID group.
© Copyri ght 2014 EMC Corporation. Al l rights res erved.            Module: Physical Layer   23
Common RAID Levels
RAID 3 • Striped set with parallel access and a dedicated parity disk
RAID 5 • Striped set with independent disk access and distributed parity
© Copyri ght 2014 EMC Corporation. Al l rights res erved.                                              Module: Physical Layer   24
RAID 0
                                                                        C
                                                                        B           Data from host
                                                                        A
RAID Controller
                                            A1              A2              A3       A4                      A5
                                            B1              B2              B3       B4                      B5
                                            C1              C2              C3       C4                      C5
Data Disks
© Copyri ght 2014 EMC Corporation. Al l rights res erved.                                            Module: Physical Layer   25
RAID 1                                                                F
                                                                      E
                                                                      D
                                                                                  Data from host
                                                                      C
                                                                      B
                                                                      A
RAID Controller
                                            A               A                       D                       D
                                            B               B                       E                       E
                                            C               C                       F                       F
© Copyri ght 2014 EMC Corporation. Al l rights res erved.                                          Module: Physical Layer   26
RAID 1+0
                                                                                C
                                                                                B                      Data from host
                                                                                A
                                                                              Striping
                                                                                                                    RAID Controller
                                                                 Mirroring    Mirroring        Mirroring
                                          A1                A1           A2               A2                 A3                   A3
                                          B1                B1           B2               B2                 B3                   B3
                                          C1                C1           C2               C2                 C3                   C3
© Copyri ght 2014 EMC Corporation. Al l rights res erved.                                                           Module: Physical Layer   27
RAID 3
                                                                               C
                                                                               B           Data from host
                                                                               A
RAID Controller
                                           A1               A2                  A3          A4                      AP
                                           B1               B2                  B3          B4                      BP
                                           C1               C2                  C3          C4                      CP
© Copyri ght 2014 EMC Corporation. Al l rights res erved.                                                   Module: Physical Layer   28
RAID 5
                                                                               C
                                                                               B             Data from host
                                                                               A
RAID Controller
                                           A1               A2                     A3         A4                      AP
                                           B1               B2                     B3         BP                      B4
                                           C1               C2                     CP         C3                      C4
© Copyri ght 2014 EMC Corporation. Al l rights res erved.                                                     Module: Physical Layer   29
RAID 6
                                                                              C
                                                                              B            Data from host
                                                                              A
RAID Controller
                                           A1               A2                  A3          AP                      AQ
                                           B1               B2                  BP          BQ                      B3
                                           C1               CP                  CQ          C2                      C3
© Copyri ght 2014 EMC Corporation. Al l rights res erved.                                                   Module: Physical Layer   30
RAID Impacts on Performance
• In RAID 5, every write (update) to a disk manifests as four I/O operations (2 disk reads
  and 2 disk writes)
• In RAID 6, every write (update) to a disk manifests as six I/O operations (3 disk reads and
  3 disk writes)
© Copyri ght 2014 EMC Corporation. Al l rights res erved.              Module: Physical Layer   31
RAID Penalty Calculation Example
• Total IOPS at peak workload is 1200
• Read/Write ratio 2:1
• Calculate disk load at peak activity for:
            – RAID 1/0
            – RAID 5
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   32
RAID Penalty Calculation Example
• For RAID 1/0, the disk load (read + write)
                                   = (1200 x 2/3) + (1200 x (1/3) x 2)
                                   = 800 + 800
                                   = 1600 IOPS
• For RAID 5, the disk load (read + write)
                                   = (1200 x 2/3) + (1200 x (1/3) x 4)
                                   = 800 + 1600
                                   = 2400 IOPS
© Copyri ght 2014 EMC Corporation. Al l rights res erved.                Module: Physical Layer   33
Common RAID Levels
RAID 3 • Striped set with parallel access and a dedicated parity disk
RAID 5 • Striped set with independent disk access and distributed parity
© Copyri ght 2014 EMC Corporation. Al l rights res erved.                                              Module: Physical Layer   34
Data Access Methods
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   35
Storage System Architecture
• Storage system architectures are based on the data access
  methods
• Common storage system options are:
            – Block-based
            – File-based
            – Object-based
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   36
                         Module 03 - Physical Layer - part 3
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Building the Cl oud Infrastruct ure   37
Block-based Storage System
• Enables creating and assigning storage volumes to compute
  systems
            – Compute system discovers the volumes as local drives
            – Required file system can be created on the volumes
© Copyri ght 2014 EMC Corporation. Al l rights res erved.    Module: Physical Layer   38
       Key Components of an ISS
                                                                                               Cache
                                               Connectivity
                                                    Storage
                                                    Network
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved.                                                             40
       Key Components of ISS: Front End
Cache
                                                    Storage
                                                    Network
Ports Controllers
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved.                                                                41
       Key Components of ISS: Cache
Cache
                                                    Storage
                                                    Network
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved.                                                             42
       Read Operation with Cache
                                                                                  Data found in cache = Read hit
1. Read Request
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved.                                                    43
       Write Operation with Cache
                                                                                    Write-through cache
Cache
4. Acknowledgment 3. Acknowledgment
Write-back cache
Cache
2. Acknowledgment 4. Acknowledgment
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved.                                           44
       Cache Management: Algorithms
                                 • Least recently used (LRU)
                                        Discards data that have not been accessed for a long time
                                 • Most recently used (MRU)
                                        Discards data that have been most recently accessed
New Data
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved.                          45
       Cache Management: Watermarking
                                 • Manages I/O burst through flushing process
                                        Flushing is the process of committing data from cache to the disk
                                 • Three modes of flushing to manage cache utilization are:
                                        Idle flushing
                                        High watermark flushing
                                        Forced flushing
                                       100
                                         %
                                    HWM
LWM
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved.                                               46
       Cache Data Protection
       • Protects data in the cache against power or cache failures:
              Cache mirroring
                 Provides protection to data against cache failure
                 Each write to the cache is held in two different memory locations on two independent memory
                  cards
              Cache vaulting
                 Provides protection to data against power failure
                 In the event of power failure, uncommitted data is dumped to a dedicated set of drives called
                  vault drives
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved.                                   47
       Key Components of ISS: Back End
Cache
                                                    Storage
                                                    Network
Controllers Ports
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved.                                                               48
       Key Components of ISS: Physical Disks
Cache
                                                    Storage
                                                    Network
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved.                                                             49
       Assigning Storage to Host
                                        Storage Provisioning
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved.                                     50
       Traditional Storage Provisioning
                              Host 1
                                                                                              Intelligent Storage System
                                                 LUN 0
                                                                                                                           Physical Disks
                                                                                  Front End               Back End          (RAID Set)
                                                                                                Cache
                                                                                                                                            LUN 0
                                                     Storage
                                                     Network
LUN 1
LUN 1
Host 2
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved.                                                                     51
                                 LUN Expansion
                                                                                  Base LUN     Component LUN
                      MetaLUN                                                                +
                   It is a method to expand LUNs that require
                   additional capacity or performance.
                • Created by combining two or more LUNs
                • MetaLUNs can either be concatenated or striped
                • Concatenated metaLUN                                              Concatenated MetaLUN
Striped MetaLUN
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved.                                52
       Virtual Storage Provisioning
                              Host 1                 10 TB
                                                  Thin LUN 0
                                                                          Host
                                                                    Reported Capacity
                                                                                          Intelligent Storage System
                                                      3 TB
                                                                                                                       Physical Disks
                                                   Allocated
                                                                                  Front End           Back End         (Shared Pool)
                                                                                                                                        Thin LUN 0
                                                                                              Cache
                                                      Storage
                                                      Network
Thin LUN 1
10 TB
                                                 Thin LUN 1
                                                                          Host
                                                                    Reported Capacity
                                                      4 TB
                              Host 2               Allocated
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved.                                                                      53
       Traditional Provisioning vs. Virtual Provisioning
                                                                                       150 GB
                                                                                      Available
                                                                                      Capacity
                                                                                      1500 GB                                                1650 GB
                                                                                                                              800 GB
                                                                 800 GB                   or                     550 GB                         or
                                                 550 GB                                                                                       1.65 TB
                                                                                       1.5 TB       500 GB
                                500 GB                             600 GB                                                                    Available
                                                                  Allocated           Allocated
                                  400 GB                           Unused
                                                                                       Unused                                                Capacity
                                                  500 GB          Capacity
                                 Allocated
                                  Unused
                                                 Allocated                            Capacity
                                                  Unused
                                 Capacity
                                                 Capacity                                                                                   350 GB
                                                                                      350 GB
                                 100 GB                           200 GB                            100 GB       50 GB        200 GB       Actual data
                                  Data          50 GB Data         Data              Actual data   Allocated    Allocated    Allocated
                                                                                                                Thin LUN
                                                                                  Storage System   Thin LUN 1               Thin LUN 3   Storage System
                                 LUN 1           LUN 2            LUN 3                                             2
                                                                                       2 TB                                                   2 TB
EMC Proven Professional. Copyright © 2012 EMC Corporation. All Rights Reserved.                                                                           54
    Lesson Summary
    During this lesson the following topics were covered:
    • Types of persistent data storage devices
    • RAID and RAID techniques: striping, mirroring, and parity
    • Storage system architectures: block-based, file-based,
      object-based
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   55
                         Module 03 - Physical Layer - part 4
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Building the Cl oud Infrastruct ure   56
    Lesson: Network
    This lesson covers the following topics:
    • Types of network communication
    • Compute-to-compute communication
    • Compute-to-storage communication
    • Storage area network (SAN) classification
    • Inter-cloud communication
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   57
Introduction to Networking
• Networking enables data transfer and sharing of IT resources
  between nodes across geographic regions
• Cloud consumers require a reliable and secure network to
  connect to a cloud and access cloud services
• Network connectivity also enables resource aggregation and
  service mobility across cloud data centers
• Multiple clouds may be inter-connected to enable workloads to
  be moved or distributed
            – For example: cloud bursting in a hybrid cloud model
© Copyri ght 2014 EMC Corporation. Al l rights res erved.     Module: Physical Layer   58
Types of Network Communication
• Based on the nodes connected by a network, the network
  communication is broadly categorized as:
            – Compute-to-compute communication
            – Compute-to-storage communication
            – Inter-cloud communication
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   59
Compute-to-compute Communication
• Interconnecting physical compute
  systems enables compute-to-compute
  communication
• Compute-to-compute communication
  typically uses IP-based protocols
• Compute systems connect to a network
  through physical network card(s)
• Physical switches and routers are
  common interconnecting devices
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   60
Compute-to-storage Communication
 Storage Area Network (SAN)
           A network that interconnects storage systems with compute systems,
           enabling the compute systems to access and share the storage systems.
© Copyri ght 2014 EMC Corporation. Al l rights res erved.         Module: Physical Layer   61
FC SAN
 FC SAN
           A SAN that uses Fibre Channel (FC) protocol to
           transport data, commands, and status information
           between compute and storage systems.
© Copyri ght 2014 EMC Corporation. Al l rights res erved.     Module: Physical Layer   62
Inter-cloud Communication
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   63
    Lesson Summary
    During this lesson the following topics were covered:
    • Types of network communication
    • Compute-to-compute communication
    • Compute-to-storage communication (SAN)
    • Inter-cloud communication
© Copyri ght 2014 EMC Corporation. Al l rights res erved.   Module: Physical Layer   64
    Module Summary
    Key points covered in this module:
    • Compute system components and types
    • Types of storage devices, RAID techniques, and storage
      system architectures
    • Network connectivity and the types of network
      communication
© Copyri ght 2014 EMC Corporation. Al l rights res erved. Module: Physical Layer 65