designing and implementing hp san solutions - lab guide - aug 2005

Upload: o0000o

Post on 03-Apr-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    1/16

    Designing and Implementing HP SANSolutions

    TSG26696LG0508

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    2/16

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    3/16

    HP Training

    Lab guide

    Designing and Implementing HP SANSolutions

    TSG26696LG0508

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    4/16

    Copyright 2005 Hewlett-Packard Development Company, L.P.

    The information contained herein is subject to change without notice. The only warranties for HP

    products and services are set forth in the express warranty statements accompanying such productsand services. Nothing herein should be construed as constituting an additional warranty. HP shallnot be liable for technical or editorial errors or omissions contained herein.

    This is an HP copyrighted work that may not be reproduced without the written permission of HP.You may not use these materials to deliver training to any person outside of your organizationwithout the written permission of HP.

    Printed in USA

    Designing and Implementing HP SAN SolutionsLab Guide v.5.31August 2005

    HP Restricted

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    5/16

    Rev. 5.31 HP Restricted L1 1

    Working with the HP StorageWorks SANDesign Reference Guide

    Lab 1 - Module 5

    ObjectiveWhen designing a SAN it is necessary to review and understand theHP

    StorageWorks SAN Design Reference Guide to ensure that the SAN design andimplementation will be supported by HP.

    After completing this lab, you should be able to use the HP SAN Design Guide to

    prepare a SAN design that adheres to the HP support guidelines and meets

    customer requirements.

    RequirementsTo complete this lab you will need an HP ProLiant server with access to the latestedition of theHP StorageWorks SAN Design Reference Guide.

    ScenarioDatablox Corporation wants to design a SAN using the following hardware and

    operating systems:

    One HP StorageWorks Enterprise Virtual Array 5000 (EVA5000)

    Two HP StorageWorks 2/32 B-Series SAN switches

    Four HP ProLiant servers:

    HP-UX

    Microsoft Windows Exchange server

    Linux file/print

    AIX database server

    Questions

    1. What are the zoning requirements for a SAN containing the operating

    systems listed in the scenario?............................................................................................................................

    2. How did you arrive at your answer?

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    6/16

    Designing and Implementing HP SAN Solutions

    L1 2 HP Restricted Rev. 5.31

    3. What other design considerations must Datablox consider?

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    4. What other design considerations must Datablox consider if it used anM-Series switch?

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    7/16

    Rev. 5.31 HP Restricted L2 1

    SAN PerformanceLab 2 - Module 7

    ObjectivesThe purpose of the lab is to help you become more familiar with SANperformance

    After completing this lab, you should be able to:

    Understand what effects the rotational speed of a disk drive has on

    performance.

    Understand what effects the rotational speed of a disk drive has on

    performance.

    Understand how to calculate the number of I/Os per second and the number

    of MB/sec that particular disk drives are capable of.

    RequirementsTo complete this lab, you will need access to the latest edition of theHP

    StorageWorks SAN Design Reference Guide and the following equipment:

    Minimum equipment per group

    Four HP StorageWorks SAN switches

    One HP StorageWorks storage array

    Two HP ProLiant servers Small form-factor pluggable transceivers (SFPs) or gigabit interface

    converters (GBICs)

    SC to SC cables

    Optional equipment

    HP StorageWorks Fibre Channel bridge and router

    HP StorageWorks XXXX tape library

    SAN management appliance

    Software licenses (Data Protector, HP Secure Path, and Platform kit ifavailable)

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    8/16

    Designing and Implementing HP SAN Solutions

    L2 2 HP Restricted Rev. 5.31

    Disk rotational latencies

    Calculate the worse case rotational latency and average rotational latency for the

    disks with the following RPMs.

    Spindle Speed

    (RPM)

    Worst Case

    Latency (FullRotation) (ms)

    Average Latency

    (Half Rotation)(ms)

    3,600 16.7 8.3

    4,500 13.3 6.7

    5,200 11.5 5.8

    5,400 11.1 5.6

    6,300 9.5 4.8

    7,200 8.3 4.2

    10,000 6.0 3.0

    15,000 4.0 2.0

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    9/16

    SAN Performance Lab

    Rev. 5.31 HP Restricted L2 3

    To calculate the worse case rotational latency, take the spindle speed which is inrevolutions per minute and convert it to revolutions per second.

    Example: 3600 RPM = 60 RPS

    If the disk drive can do 60 RPS then that is 60 RPS in 1000ms and so to calculate

    how long it takes to do one revolution divide 1000/60 and the answer is 1.67ms.

    That is the Worse Case Latency.

    An Average Latency is the time taken to revolve the disk half a revoltion and inthis case that is 1.67/2 = 8.3ms.

    It is important to understand that some applications require high I/O per second

    and this can only be achieved by using multiple disk drives, even if one disk drive

    has enough capacity for the application.

    Many people tend to configure solutions based on the latest disk technology

    (usually the higher capacity drives) but this can lead to lower performance.

    The previous diagram showed that the higher the RPM of a disk, the more I/Os per

    second and MB per second that can be achieved. This is an over-simplification andother factors need to be taken into account:

    The number of sectors per track

    The number of platters on each drive

    Both these factors affect how much data passes under the read/write heads during a

    set period of time and hence how many MB/sec can be achieved.

    The number of drives used also needs to be considered. Will two small capacitydrives outperform one high capacity drive?

    Complete the following table by inserting the Full Rotational Latency and then

    calculating the times to read 1, 16 and 128 block for the four example disks.

    Calculate the Average Rotational Latency as Average Data Access Average Seek

    Time. The Full Rotational Latency is 2x the Average Rotational Latency.

    The read/write time for one block is calculated as the time for one block to passunder the read/write heads. We then divide the full rotation time by the number of

    sectors and this gives us the time for one block of data to pass under the read/write

    heads. For the time for 16 and 128 blocks we simply multiple the time for oneblock by 16 or 128.

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    10/16

    Designing and Implementing HP SAN Solutions

    L2 4 HP Restricted Rev. 5.31

    Disk rotational speeds

    Understand how to calculate the time to read and write different amounts (blocks)

    of data from various disk drives.

    Complete the following table by inserting the Full Rotational Latency and then

    calculating the times to read 1, 16 and 128 block for the four example disks.Calculate the Average Rotational Latency as Average Data Access Average Seek

    Time. The Full Rotational Latency is 2x the Average Rotational Latency.

    The read/write time for one block is calculated as the time for one block to passunder the read/write heads. We then divide the full rotation time by the number of

    sectors and this gives us the time for one block of data to pass under the read/write

    heads. For the time for 16 and 128 blocks we simply multiple the time for oneblock by 16 or 128.

    Capacity (GB) 1.05 2.1 4.3 36

    Average data access time (ms) 15.1 15.1 12.2 9.05

    Average seek time (ms) 9.5 9.5 8.0 6.05

    Rotational speed (RPM) 5400 5400 7200 10000

    Average Sectors per Track 62 62 124 429

    Average Rotational Latency (ms):

    Read/Write Time (ms)

    1 Block:

    16 Blocks:

    128 Blocks:

    Capacity (GB) 1.05 2.1 4.3 36

    Average data access time (ms) 15.1 15.1 12.2 9.05

    Average seek time (ms) 9.5 9.5 8.0 6.05

    Rotational speed (RPM) 5400 5400 7200 10000

    Average Sectors per Track 62 62 124 429

    Average Rotational Latency (ms):

    Read/Write Time (ms)

    1 Block:

    16 Blocks:

    128 Blocks:

    Capacity (GB)Capacity (GB) 1.051.05 2.12.1 4.34.3 3636

    Average data access time (ms)Average data access time (ms) 15.115.1 15.115.1 12.212.2 9.059.05

    Average seek time (ms)Average seek time (ms) 9.59.5 9.59.5 8.08.0 6.056.05

    Rotational speed (RPM)Rotational speed (RPM) 54005400 54005400 72007200 1000010000

    Average Sectors per TrackAverage Sectors per Track 6262 6262 124124 429429

    Average Rotational Latency (ms):Average Rotational Latency (ms):

    Read/Write Time (ms)Read/Write Time (ms)

    1 Block:1 Block:

    16 Blocks:16 Blocks:

    128 Blocks:128 Blocks:

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    11/16

    SAN Performance Lab

    Rev. 5.31 HP Restricted L2 5

    Disk read/write times

    Understand how to calculate the number of I/Os per second and the number of

    MB/sec that particular disk drives are capable of.

    A sector is 512 bytes (and most are but there are some exceptions). We will

    assume that there are a fixed number of sectors per track. In reality this is not truebut as long as the assumptions are made known and we use an average then the

    examples work easier and the students will understand the concepts.

    Disk Drive Performance - 1GB, 5400RPM disk

    62 sectors per track (1 sector = 512 byes = 1 block)

    IO size 1 Block(0.5KB)

    16 Blocks(8KB)

    128 Blocks(64KB)

    1024 Blocks(512KB)

    Average Seek Time 9.5ms 9.5ms 9,5ms 9,5ms

    Average RotationalLatency

    5.6ms 5.6ms 5.6ms 5.6ms

    Read/Write Time 0.18ms 2.88ms 23.04ms 184.32ms---------- ---------- ---------- ----------

    Total time for one IO 15.28ms 17.98ms 38.14ms 199.42ms

    I/Os per second

    MB/sec

    Disk Drive Performance - 4GB, 7200-rpm disk

    124 sectors per track (1 sector = 512 byes = 1 block)

    IO size 1 Block(0.5KB)

    16 Blocks(8KB)

    128 Blocks(64KB)

    1024 Blocks(512KB)

    Average Seek Time 8.0ms 8.0ms 8.0ms 8.0ms

    Average RotationalLatency

    4.2ms 4.2ms 4.2ms 4.2ms

    Read/Write Time 0.068ms 1.008ms 8.7ms 69.63ms

    ---------- ---------- ---------- ----------

    Total time for one IO 12.268ms 13.008ms 20.9ms 81.83ms

    I/Os per second

    MB/sec

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    12/16

    Designing and Implementing HP SAN Solutions

    L2 6 HP Restricted Rev. 5.31

    Disk Drive Performance - 36GB, 10000RPM disk

    429 sectors per track (1 sector = 512 byes = 1 block)

    IO size 1 Block(0.5KB)

    16 Blocks(8KB)

    128 Blocks(64KB)

    1024 Blocks(512KB)

    Average Seek Time 6.05ms 6.05ms 6.05ms 6.05msAverage RotationalLatency

    3.0ms 3.0ms 3.0ms 3.0ms

    Read/Write Time 0.014ms 0.224ms 1.765ms 14.336ms

    ---------- ---------- ----------

    Total time for one IO 9.05ms 9.274ms 10.08ms 23.39ms

    I/Os per second

    MB/sec

    1. What conclusions can you draw about the effects of disk drive capacity onperformance?

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    2. What conclusions can you draw about the effects of disk drive rotationalspeed on performance?

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    3. What conclusions can you draw about the relationship between I/Os persecond and MB/sec?

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

    ............................................................................................................................

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    13/16

    Rev. 5.31 HP Restricted L3 1

    Designing a SANLab 3 - Module 10

    ObjectivesThe purpose of the lab is to help you become more familiar with theHPStorageWorks SAN Design Reference Guide and to show you how to install the

    various components that are part of a SAN.

    After completing this lab, you should be able to:

    Design an HP supported SAN

    Trade designs with another development team and review their design

    Build an HP supported SAN based on the other teams design

    RequirementsTo complete this lab, you will need access to the latest edition of theHPStorageWorks SAN Design Reference Guide and the following equipment:

    Minimum equipment per group

    Four HP StorageWorks SAN switches

    One HP StorageWorks storage array

    Two HP ProLiant servers

    Small form-factor pluggable transceivers (SFPs) or gigabit interface

    converters (GBICs)

    SC to SC cables

    Optional equipment

    HP StorageWorks Fibre Channel bridge and router

    HP StorageWorks XXXX tape library

    SAN management appliance

    Software licenses (Data Protector, HP Secure Path, and Platform kit ifavailable)

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    14/16

    Designing and Implementing HP SAN Solutions

    L3 2 HP Restricted Rev. 5.31

    Exercise 1 Designing a SANUsing the SAN Design Guide and the available equipment in the classroom, design

    an HP supported SAN. Consider the following when creating your design:

    HP support

    Firmware requirements

    Performance requirements

    Interoperability

    Software compatibility

    Zoning

    Document your design in full detail.

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    15/16

    Designing a SAN

    Rev. 5.31 HP Restricted L3 3

    Exercise 2 Trading designsTrade your SAN design with another team in your class. Review the SAN design

    you receive for:

    Adherence toHP StorageWorks SAN Design Reference Guide rules and

    guidelines

    Sufficient detail to build the SAN

    Exercise 3 Building a SANExamine the design your classmates created to ensure it adheres to all HP supportguidelines.

    Build the SAN designed by your classmates.

    Document any changes to the current design and the reasons for the changes.

  • 7/28/2019 Designing and Implementing Hp San Solutions - Lab Guide - Aug 2005

    16/16

    Designing and Implementing HP SAN Solutions

    L3 4 HP Restricted Rev. 5.31