© 2004 hewlett-packard development company, l.p. the information contained herein is subject to...

35
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module 5

Upload: raymundo-seiler

Post on 01-Apr-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

© 2004 Hewlett-Packard Development Company, L.P.The information contained herein is subject to change without notice

Volume Concepts

HP Restricted

Module 5

Page 2: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 2

Objectives• Describe basic RAID theory• Describe the concepts of XP Parity Group and Free Space

as they apply to drives with RAID theory• Describe how Free Space is used in the XP array, including

a discussion of emulation type and fixed volume creation• Describe the various XP array volume types including

normal, custom, and expanded, including the process to create each type

• Describe how XP volumes are made available for use by mapping a volume to a port

• Describe the difference between an LDEV, a volume, and a LUN

• Describe OPEN-V volume details and functionality, including benefits and implementation mechanisms

Page 3: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 3

A solution

RAID

• Provides for highly available data despite a disk failure

• Provides for online reconstruction of lost data

• Costs space

• Industry-standard redundancy algorithms

Page 4: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 4

XP array Parity Group (1 of 2)

(A RAID group)

XP marketing array group

RAID control

XP array Parity Group

Protected data

From an array group of independent disks to an XP array Parity Group

Unprotected data

(A group of disks)

Page 5: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 5

XP array Parity Group (2 of 2)

RAID protected available space

• Usable space

• Free Space

• How is Free Space created?

XP array Parity Group

Protected data

(A RAID group)

Page 6: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 6

The four steps to using Free Space

1. Define an emulation type for the Parity Group

2. Assign volume information

3. Map the volumes to a CHIP port

4. Connect the server

Page 7: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 7

Emulation types and normal volumes

• Predefined (virtual) drive size

• Defined for at the Parity Group level

• Defining an emulation type creates a volume

• Normal volumes are fixed in size

• Open systems have OPEN-* emulation types

Page 8: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 8

Applying an emulation type

Assign an emulation type to the Parity Group

Parity Group

Free space

Emulation type defined

OPEN-E

OPEN-E

OPEN-E

OPEN-E

Free space

OPEN-E

Define

emulation

type

OPEN-E

Page 9: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 9

Creating volumes

Exercise

Creating volumes from Free Space

Problem

• A Parity Group with 32GB Free Space

• An emulation type with a fixed size of 3.0GB

Questions

After setting the emulation type

• How many normal volumes are created?

• How much Free Space is left?

Page 10: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 10

Volume designation

The unique CU:LDEV number identifying the logical storage device

• CU is control unit

• LDEV is a logical device within a control unit

• The CU and the LDEV number uniquely identify a virtual XP array disk or volume

Example

For volume 01:2a CU=01, LDEV=2a

Page 11: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 11

XP array volumes

In the XP array a volume refers to the CU:LDEV number

• The CU number is used by the XP internal data structures to manage virtual disks

• One CU number can contain 256 LDEVs

• The LDEV number is an arbitrary number from 0 – FF

• Together, the CU and the LDEV number uniquely identify a virtual XP Array disk called a volume

Example

CU=1 and LDEV=2a, the volume = 1:2a

Page 12: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 12

Assigning volume information

• After specifying an emulation type for a Parity Group, assign numbers to the OPEN-E volumes

• The volume number uniquely identifies the virtual disk

Emulation type defined

OPEN-E

OPEN-E

OPEN-E

OPEN-E

Free Space

OPEN-E

Volume assignments

00:00

01:0001:01

Free Space02:01

Assign

volume

numbers

OPEN-E

02:00

OPEN-E

Page 13: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 13

Array configuration — addressing

Hardware XP12000Number Of CUs 64

Number of volumes/subsystem Maximum 16384 (64CU x 256LDEV)

Emulation type OPEN-3/8/9/E/L/V, CVS, LUSE

Number of LUNs/path 1024

Page 14: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 14

Solution: Banding (ZBR)

Outer Band

Inner Band

12 Sectors Per Track

6 Sectors Per Track

Page 15: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 15

Disk zones of a 72GB 15k rpm drive

ldev performace on a single Raid Group

150.0

160.0

170.0

180.0

190.0

ldev1

/2

ldev3

/4

ldev5

/6

ldev7

/8

ldev9

/10

ldev1

1/12

ldev1

3/14

ldev1

5/16

MB

/s

outer zone

middle zone inner

zone

Thruput differenc outer disk zone to inner disk zone

0.0%

20.0%

40.0%

60.0%

80.0%

100.0%

read write

outer zone inner zone

For sequential I/O loads a noticeable performance difference of about 20% between outer and inner tracks can be observed

Comparing the performance of the ldevs across the drive surface it appears that there are three zones on the disk

Thruput difference outer disk zone to inner disk zone

0.0

50.0

100.0

150.0

200.0

read write

MB

/s

outer zone inner zone

Page 16: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 16

Data Placement on Drive

Outer tracks have a higher transfer rate than inner tracks

Preferably place sequential work areas on the outer tracks if performance needs to be optimized (e.g. Redo Logs)

In standard configurations the outer ldevs have the lower ldev numbers in the array group

The latency (affects random access) depends on the rotational speed and therefore is the same on the inner and outer tracks

Page 17: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 17

LUN mapping (mapping volumes)

• Volume mapping

• Mapping a volume to one or more CHIP ports

• Alternate paths

• How to uniquely identify the XP disk seen by server?

Page 18: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 18

Volume types

• Normal volumes have a fixed size

• Custom volumes have a smaller CVS

• LUSE volumes are groupings of identical volumes to produce an extended volume

Page 19: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 19

Creating different volume types

Logical unit creation and sizes

Fixedsize LU(normal volume)

Smallsize LU(CVS volume)

Largesize LU(LUSE volume)

OPEN-3(2.4GB)

OPEN-3(2.4GB)

OPEN-3(2.4GB)

LU

LU

LU

CVS(1.2GB)

CVS(1.2GB)

CVS(1.2GB)

CVS(1.2GB) LUSE

Page 20: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 20

CVS

• Smaller sized volumes

• CVS are created from Free Space or from LDEVs that have been added to the free space

• Used for XP command devices

Page 21: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 21

LUSE

• Licensed functionality to create expanded volumes

• Volumes must be similar (same CU, size, RAID type, and emulation)

OPEN-9 * 1 Volume 0:02

OPEN-9 * 1 Volume 0:04

OPEN-9 * 3

OPEN-9 * 1

OPEN-9 * 1 Volume 0:03

OPEN-9 * 1 Volume 0:01

Page 22: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 22

LUSE functional description

LUSE combines two or more LDEVs to function as one large LDEV

(01:00)

(01:01)

(01:03)

(01:04)

(01:05)

LUSE (01:00)

Page 23: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 23

OPEN-V overview

OPEN-V is a virtual emulation

• A process and an emulation

• Easily provides a custom volume size

• Extension/combination of CVS and LUSE functionality

• Volume sizes from 46.8MB to 2TB

• Volume size is specified in either MB or cylinders orthe number of volumes to create

Page 24: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 24

OPEN-V creation

LU creation with OPEN-V

Flexible size LU

FreeSpace

Specify

capacity

LU

LU

LU

Page 25: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 25

Basic specifications

Items Specification

Specified unit MB or cylinder

Capacity (GB/)vol 46.8MB to 2TB

RAID level RAID5 and RAID1

Drives supported All

Inquiry production ID OPEN-V

OPEN-V*n (volume over 62GB)

OPEN-V-CM or

OPEN-V*n-CM (command device)

(n = maximum 36)

Supported platform(at initial release)

Solaris, HP-UX, AIX, Windows NT, Windows 2000

Page 26: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 26

Function support

Functions Contents

CVS Open-V includes CVS capability

LUSE Support

Cache LUN Support

CA Support(Pair volume must also be OPEN-V)

BC Support(Pair volume must both be OPEN-V)

AutoLun Support(Source/target volumes must both be OPEN-V)

Data exchange oto Support

Data exchange mto, otm Not supported

Page 27: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 27

Ways to create OPEN-V volumes

OPEN-V volumes can be created three ways

• Specify volume size and number of volumes

• Specify number of volumes

• Specify the size of the volumes

Page 28: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 28

Initial volume creation method 1

Specify the volume size and number of volumes

ExampleSize = 40GBNumber = 2

Parity Group(VDEV)

Free Space

OPEN-V(40GB)

OPEN-V(40GB)

FreeSpace

Page 29: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 29

Initial volume creation method 2

Specify the number of volumes

ExampleNumber = 4

Parity Group(VDEV)

FreeSpace

OPEN-V

OPEN-V

OPEN-V

OPEN-V

Page 30: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 30

Initial volume creation method 3

Specify the size of the volumes

Example Size = 10GB

Parity Group(VDEV)

FreeSpace

OPEN-V

OPEN-VOPEN-V

OPEN-V

OPEN-V

Free Space

Page 31: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 31

OPEN-V volume addition

Specify volume size and number of volumes

ExampleSize = 3GBNumber = 2

Parity Group(VDEV)

OPEN-V(3GB)

OPEN-V(40GB)

OPEN-V(40GB)

Free Space OPEN-VOPEN-V

OPEN-V(40GB)

OPEN-V(40GB)

Free Space

Page 32: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 32

Internal mechanism (OPEN-V greater than 62GB)

Internal CVS and LUSE procedures

Create OPEN-Vvolume size = 100GB

Parity Group(VDEV)

CreateOPEN-V

CVS

LUSE

User view

FreeSpace

Free Space

OPEN-V*2(100GB)

OPEN-V(50GB)

OPEN-V(50GB)

Free Space

Page 33: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 33

Learningcheck

Page 34: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 34

Labactivity

Page 35: © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Volume Concepts HP Restricted Module

Sept 2004 HP Restricted 35